Method, system and equipment for drawing partial discharge signal spectrum and signal generator
Through the user-defined original localized signal map processing, the coordinates of the main point and attached point are determined, density calculation and color matching are performed, and the problem of single and low efficiency of localized signal map generation in the existing technology is solved, achieving high efficiency and variety Generate a locally distributed signal map.
Patent Information
- Application Number
- CN202411444508.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-02-21
AI Technical Summary
The existing locally-scattered analog signal generators have single and regular map types when generating locally-scattered signal maps, and it is difficult to quickly generate designated maps in real time, resulting in low map generation efficiency.
By obtaining the user-defined original locally distributed signal map, initializing the drawing parameters, determining the main point coordinates and attached point coordinate sets, performing density calculations and color matching, verifying and normalizing data, and finally drawing the target locally distributed signal based on the graph data set. Map.
It realizes the generation of rich and diverse localized signal maps, reduces manual parameter adjustment, and improves the efficiency of map generation.
Smart Images

Figure CN119493976A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of partial discharge signal spectrum processing, and in particular to a method, system, device and signal generator for drawing a partial discharge signal spectrum. Background Art
[0002] The PD simulation signal generator is a very useful auxiliary tool in PD testing. It can provide standard simulation signals for PD detection equipment to calibrate the measurement accuracy and sensitivity of the equipment, verify the effectiveness and reliability of PD detection methods, etc. The PD simulation signal generator can simulate different PD events or signal sequences, and generate the corresponding PD phase distribution map (Phase Resolved Partial Discharge, PRPD) by recording the phase information of the PD events or signal sequences. However, the existing PD simulation signal generator has the following problems:
[0003] 1) The simulated partial discharge signal spectrum is relatively simple and regular: it only simulates the partial discharge signal of a specific shape. However, in fact, due to the influence of different electrical equipment, discharge positions and external interference, the partial discharge signal spectrum will show diverse and irregular characteristics, and will also be mixed with environmental noise;
[0004] 2) It is difficult to quickly draw and generate a specified partial discharge spectrum in real time: Existing partial discharge signal generators require professionals to import the spectrum data of the partial discharge measured on site through a complex process or to generate a partial discharge spectrum through fine-tuning parameters by professional technicians. The generation process is complex and time-consuming, and the spectrum generation efficiency is low. Summary of the invention
[0005] The main purpose of the embodiments of the present invention is to provide a signal generator, method and system for drawing a partial discharge signal spectrum, which can provide rich spectrum and improve the efficiency of spectrum generation.
[0006] To achieve the above object, an embodiment of the present invention provides a method for drawing a partial discharge signal spectrum, the method comprising:
[0007] Obtaining an original partial discharge signal spectrum, and initializing a drawing area and drawing parameters; wherein the original partial discharge signal spectrum is drawn by a user, the drawing area includes the height, width and origin coordinates of the canvas area, and the drawing parameters include the coordinates and density of the points;
[0008] Determine the main point coordinates according to the original partial discharge signal spectrum, and calculate according to the main point coordinates and a preset algorithm to obtain a set of additional point coordinates;
[0009] Density calculation is performed based on the main point coordinates and the auxiliary point coordinate set to obtain density levels of the main point and the auxiliary point; color information of the main point coordinates is determined by matching the density levels with a preset corresponding relationship;
[0010] The principal point coordinates and the auxiliary point coordinate set are checked according to the initialized drawing parameters to obtain a first coordinate data set; the first coordinate data set is normalized to obtain a map data set; and the original signal source is determined according to the color information and the map data set;
[0011] The target partial discharge signal spectrum is obtained by drawing according to the original signal source.
[0012] In some embodiments, the calculation based on the principal point coordinates and a preset algorithm to obtain the set of additional point coordinates specifically includes:
[0013] Taking the principal point coordinate as the center, randomly generating according to the preset algorithm and preset parameters to obtain an attachment point offset set; wherein the preset parameters include a preset number of attachment points and a preset maximum offset value;
[0014] The attachment point coordinate set is obtained by performing calculation according to the principal point coordinates and the attachment point offset set.
[0015] In some embodiments, the checking of the principal point coordinates and the auxiliary point coordinate set according to the initialized drawing parameters to obtain the first coordinate data set specifically includes:
[0016] Determine a drawing area according to the initialized drawing parameters, and compare the principal point coordinates and the auxiliary point coordinate set with the drawing area respectively;
[0017] If the principal point coordinates fall within the drawing area, or the additional point coordinates in the additional point coordinate set fall within the drawing area, marking the principal point coordinates or the additional point coordinates as first coordinates, and determining the first coordinate data set according to the first coordinates;
[0018] If the main point coordinates do not fall within the drawing area, or the additional point coordinates in the additional point coordinate set do not fall within the drawing area, the main point coordinates or the additional point coordinates are deleted.
[0019] To achieve the above-mentioned purpose, another aspect of an embodiment of the present invention provides a signal generator for drawing a partial discharge signal spectrum, comprising a storage touch control module, a partial discharge signal generation module, a first microcontroller unit and a synchronization signal processing module; wherein,
[0020] The storage touch control module is used to obtain an original partial discharge signal spectrum, process and store the original partial discharge signal spectrum, and generate an original signal source according to the original partial discharge signal spectrum; the output end of the storage touch control module is connected to the input end of the first microcontroller unit;
[0021] The first microcontroller unit is used to generate a control signal according to the original signal source, and send the control signal to the partial discharge signal generation module and the synchronization signal processing module respectively; the first output end of the first microcontroller unit is connected to the input end of the partial discharge signal generation module, and the second output end of the first microcontroller unit is connected to the input end of the synchronization signal processing module;
[0022] The synchronization signal processing module is used to generate a synchronization signal according to the control signal, and send the synchronization signal to the partial discharge signal generating module;
[0023] The partial discharge signal generating module is used to draw a target partial discharge signal spectrum according to the control signal and the synchronization signal.
[0024] In some embodiments, the storage touch module includes a touch display unit, a storage unit and a second microcontroller unit, wherein:
[0025] The touch display unit is used to obtain the original partial discharge signal spectrum;
[0026] The second microcontroller unit is used to process the original partial discharge signal spectrum to obtain an original signal source, and send the original signal source to the first microcontroller unit;
[0027] The storage unit is used to store the original signal source.
[0028] In some embodiments, the partial discharge signal generation module includes a high voltage unit, a high voltage amplifier, a pulse signal generation unit and a partial discharge signal output unit, wherein:
[0029] The high voltage unit is used to generate a voltage signal;
[0030] The high-voltage amplifier is used to generate a first amplified signal according to the voltage signal and the control signal; the first input end of the high-voltage amplifier is connected to the first output end of the first microcontroller unit, the second input end of the high-voltage amplifier is connected to the high-voltage unit, and the output end of the high-voltage amplifier is connected to the input end of the pulse signal generating unit;
[0031] The pulse signal generating unit is used to generate a pulse signal according to the first amplified signal and the synchronization signal; the output end of the pulse signal generating unit is connected to the input end of the partial discharge signal output unit;
[0032] The partial discharge signal output unit is used to draw the target partial discharge signal spectrum according to the pulse signal, and generate a target partial discharge signal according to the pulse signal.
[0033] In some embodiments, the synchronization signal processing module includes an operational amplifier, a filtering unit and a synchronization signal output unit, wherein:
[0034] The operational amplifier is used to receive the control signal and amplify the control signal to obtain an amplified control signal; the input end of the operational amplifier is connected to the second output end of the first microcontroller unit, and the output end of the operational amplifier is connected to the input end of the filtering unit;
[0035] The filtering unit is used to perform a filtering operation on the amplified control signal to obtain a filtered control signal; the output end of the filtering unit is connected to the synchronization signal output unit;
[0036] The synchronization signal output unit is used to generate a synchronization signal according to the filtering control signal.
[0037] To achieve the above object, another aspect of an embodiment of the present invention provides a system for drawing a partial discharge signal spectrum, comprising:
[0038] The first module is used to obtain the original partial discharge signal spectrum and initialize the drawing area and drawing parameters; wherein the original partial discharge signal spectrum is drawn by the user, the drawing area includes the height, width and origin coordinates of the canvas area, and the drawing parameters include the coordinates and density of the points;
[0039] The second module is used to determine the main point coordinates according to the original partial discharge signal spectrum, and calculate according to the main point coordinates and a preset algorithm to obtain a set of additional point coordinates;
[0040] The third module is used to perform density calculation based on the main point coordinates and the auxiliary point coordinate set to obtain the density level of the main point and the auxiliary point; match the density level with a preset corresponding relationship to determine the color information of the main point coordinates;
[0041] The fourth module is used to check the principal point coordinates and the auxiliary point coordinate set according to the initialized drawing parameters to obtain a first coordinate data set; normalize the first coordinate data set to obtain a map data set; and determine the original signal source according to the color information and the map data set;
[0042] The fifth module is used to draw according to the original signal source to obtain a target partial discharge signal spectrum.
[0043] To achieve the above objective, another aspect of an embodiment of the present invention provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above-mentioned method when executing the computer program.
[0044] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.
[0045] Implementation of the embodiments of the present invention includes the following beneficial effects: the embodiments provide a method, system, device and signal generator for drawing a partial discharge signal spectrum, the scheme initializes the drawing parameters by obtaining the original signal spectrum customized by the user; determines the main point coordinates according to the original signal spectrum, calculates according to the main point coordinates and a preset algorithm to obtain an additional point coordinate set; performs density calculation according to the main point coordinates and the additional point coordinate set to obtain the density level of the main point and the additional point; matches according to the density level and the preset correspondence relationship to determine the color information of the main point coordinates; checks the main point coordinates and the additional point coordinate set according to the initialized drawing parameters to obtain a first coordinate data set; normalizes the first coordinate data set to obtain a spectrum data set; determines the original signal source according to the color information of the spectrum data set, and draws the target partial discharge signal spectrum according to the original signal source. Data extraction is performed based on the user-defined original partial discharge signal spectrum, and the target partial discharge signal spectrum is drawn according to the extracted data, enriching the generation types of partial discharge signal spectra; the main point coordinates and additional point coordinates are generated according to the customized original partial discharge signal, and the generated data are calculated, tested and normalized, and the original partial discharge signal spectrum parameters are automatically adjusted to reduce manual adjustments and improve the efficiency of partial discharge signal spectrum generation. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a schematic diagram of the steps of a method for drawing a partial discharge signal spectrum provided by an embodiment of the present invention;
[0047] Figure 2 It is a schematic flow chart of steps for obtaining a set of point coordinates in a method for drawing a partial discharge signal spectrum provided by an embodiment of the present invention;
[0048] Figure 3 It is a schematic flow chart of the steps of obtaining a first data set in a method for drawing a partial discharge signal spectrum provided by an embodiment of the present invention;
[0049] Figure 4 It is a structural schematic diagram of a signal generator for drawing a partial discharge signal spectrum provided by an embodiment of the present invention;
[0050] Figure 5It is a structural schematic diagram of a storage touch control module in a signal generator for drawing a partial discharge signal spectrum provided by an embodiment of the present invention;
[0051] Figure 6 It is a structural schematic diagram of a partial discharge signal generating module in a signal generator for drawing a partial discharge signal spectrum provided by an embodiment of the present invention;
[0052] Figure 7 It is a structural schematic diagram of a synchronous signal processing module in a signal generator for drawing a partial discharge signal spectrum provided by an embodiment of the present invention.
[0053] Figure 8 It is a structural schematic diagram of injecting a partial discharge signal into a partial discharge signal detection device in a specific embodiment provided by an embodiment of the present invention;
[0054] Fig. 9 It is a schematic flow chart of the steps of drawing a partial discharge signal spectrum in a specific embodiment provided by an embodiment of the present invention;
[0055] Fig.10 a to Fig.10 b is a schematic diagram of user-defined atlas data and point generation in a specific embodiment provided by an embodiment of the present invention;
[0056] Fig.11 a to Fig.11 b is another schematic diagram of generating user-defined atlas data and attached points in a specific embodiment provided by an embodiment of the present invention;
[0057] Fig.12 It is a structural schematic diagram of a system for drawing a partial discharge signal spectrum provided by an embodiment of the present invention;
[0058] Fig.13 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0059] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The step numbers in the following embodiments are only provided for the convenience of explanation and description, and the order between the steps is not limited in any way. The execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.
[0060] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0061] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present invention described herein can be implemented in an order other than that illustrated or described herein.
[0062] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present invention have the same meanings as those commonly understood by those skilled in the art of the present invention. The terms used in the embodiments of the present invention are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.
[0063] In the related art, the partial discharge simulation signal can be used to calibrate the measurement accuracy and sensitivity of the partial discharge detection equipment; or to help verify the effectiveness and reliability of the partial discharge detection method or technology; or to train the detection personnel to recognize the characteristics of the partial discharge signal and the operation of the detection equipment, so as to maintain the power equipment; the existing partial discharge simulation signal is generated by the partial discharge simulation signal generator, which is a very useful auxiliary tool in the partial discharge test work. In actual use, the partial discharge simulation signal generator can also output the PRPD spectrum of the partial discharge signal, so that the detection personnel can intuitively observe the characteristics of the partial discharge signal; but the existing partial discharge simulation signal is generated by the partial discharge simulation signal generator, which is a very useful auxiliary tool in the partial discharge test work. Some partial discharge simulation signal generators have problems. On the one hand, the simulated partial discharge signal spectrum is relatively simple and regular: it only simulates the generation of partial discharge signals of a specific shape, but in fact, due to the influence of different electrical equipment, discharge positions and external interference, the partial discharge signal spectrum will present diverse and irregular characteristics, and will also be mixed with environmental noise; on the other hand, it is difficult to quickly draw and generate a specified partial discharge spectrum in real time: the existing partial discharge signal generators require professionals to import the spectrum data of the actual partial discharge measured on site through a complex process or to generate a partial discharge spectrum through fine-tuning parameters by professional technicians. The generation process is complex and time-consuming, and the spectrum generation efficiency is low.
[0064] In view of this, an embodiment of the present invention provides a signal generator, method and system for drawing a partial discharge signal spectrum. The solution obtains partial discharge signal spectrum data customized by an external user by setting a storage touch module, processes the partial discharge signal spectrum data customized by the user, automatically generates a corresponding partial discharge signal and draws a corresponding signal spectrum, and enriches the spectrum types and partial discharge signal types generated by the signal generator; obtains principal point coordinate data by processing the user-defined partial discharge signal spectrum data; generates auxiliary point coordinates based on the principal point coordinate data, and calculates, verifies and normalizes the generated data to obtain valid spectrum data, draws a corresponding partial discharge signal spectrum according to the spectrum data, reduces parameter adjustment by professional and technical personnel, reduces the time consumption of signal spectrum generation, and improves the efficiency of signal spectrum generation.
[0065] See also Figure 1 , Figure 1 is an optional flow chart of a method for drawing a partial discharge signal spectrum provided by an embodiment of the present invention. Figure 1 The method may include but is not limited to steps S101 to S105.
[0066] Step S101, obtaining an original partial discharge signal spectrum, and initializing a drawing area and drawing parameters; wherein the original partial discharge signal spectrum is drawn by a user, the drawing area includes the height, width and origin coordinates of the canvas area, and the drawing parameters include the coordinates and density of the points;
[0067] Step S102, determining the main point coordinates according to the original partial discharge signal spectrum, and performing calculations according to the main point coordinates and a preset algorithm to obtain a set of auxiliary point coordinates;
[0068] Step S103, performing density calculation based on the main point coordinates and the auxiliary point coordinate set to obtain the density levels of the main point and the auxiliary point; matching the density levels with the preset corresponding relationships to determine the color information of the main point coordinates;
[0069] Step S104, checking the main point coordinates and the auxiliary point coordinates according to the initialized drawing parameters to obtain a first coordinate data set; normalizing the first coordinate data set to obtain a map data set; determining the original signal source according to the color information and the map data set;
[0070] Step S105, drawing is performed according to the original signal source to obtain a target partial discharge signal spectrum.
[0071] In step S101 of some embodiments, the signal generator obtains an original partial discharge signal spectrum custom-drawn by the user, and before drawing a target partial discharge signal spectrum according to the obtained original partial discharge signal spectrum, initializes a pre-set drawing area; illustratively, in the signal generator provided in an embodiment of the present invention, a drawing area is created on a touch display unit and initialized; a coordinate system is established in the created drawing area for subsequent drawing of the partial discharge signal spectrum.
[0072] In step S102 of some embodiments, after the drawing area is initialized, the acquired original partial discharge signal spectrum is processed to extract the principal point and the corresponding principal point coordinates therein, and the processor in the signal generator performs calculations based on the extracted principal point coordinates and a preset algorithm to draw a number of additional points in the drawing area; the processor in the signal generator performs subsequent drawing of the target partial discharge signal spectrum based on the calculated additional point coordinates and the extracted principal point coordinates.
[0073] In step S103 of some embodiments, after obtaining the coordinates of the principal point and the coordinates of several generated auxiliary points, the signal generator calculates the density level of each principal point, and constructs a density array to record the density level information of each principal point, determines the color of the target partial discharge signal spectrum when drawing according to a preset density color comparison table, and represents the signal density of each location of the drawn target partial discharge signal spectrum by color; illustratively, create a two-dimensional array density[x][y], initialize the two-dimensional array to 0, and each array position (x, y) represents the number of points at that position; update the data in the two-dimensional array according to each valid point, and update the data by density[new x ][new y ]++Record the number of valid points; after calculating all the main point coordinates and auxiliary point coordinates, take the number of points corresponding to each main point as the corresponding density value n, and determine the color information corresponding to each main point and auxiliary point according to the preset relationship between density value and color. The relationship is as follows:
[0074] Table 1
[0075] N≤10 green 10<n≤20 yellow 20<n≤50 brown N>50 red
[0076] In step S104 of some embodiments, after the color information of each principal point is determined, the principal point coordinates and the coordinates of several auxiliary points are checked according to the initialized drawing parameters to determine whether the principal point coordinates or the auxiliary point coordinates are valid, and the valid points are extracted, thereby reducing the time consumption of the spectrum generation and improving the efficiency of the spectrum generation; at the same time, the filtered effective points are normalized according to the following formula, and the abscissa of the normalized effective point coordinates represents the phase of the effective point, and the ordinate represents the amplitude of the effective point,
[0077]
[0078] Among them, P is the normalized horizontal coordinate, Q is the normalized vertical coordinate, x is the horizontal coordinate of the current principal point coordinate or the auxiliary point coordinate, y is the vertical coordinate of the current principal point coordinate or the auxiliary point coordinate, W is the width of the painting area, H is the height of the painting area, x0 is the horizontal coordinate of the origin coordinate of the painting area, and y0 is the vertical coordinate of the origin coordinate of the painting area; the normalized valid point data and the color information representing the density are sorted to obtain the original signal source.
[0079] In step S105 of some embodiments, after the data processing of steps S101 to S104, the original signal source obtained according to the coordinate information of each effective point and the color information corresponding to each main point is drawn point by point in the initialized drawing area to obtain a spectrum of the target partial discharge signal.
[0080] See also Figure 2In some embodiments, step S102 may include but is not limited to steps S201 to S202:
[0081] Step S201, taking the main point coordinate as the center, randomly generating according to a preset algorithm and preset parameters to obtain an attachment point offset set; wherein the preset parameters include a preset number of attachment points and a preset maximum offset value;
[0082] Step S202, performing calculations based on the principal point coordinates and the attachment point offset set to obtain an attachment point coordinate set.
[0083] In step S201 of some embodiments, data is extracted from the original partial discharge signal spectrum to obtain several principal point coordinates drawn by the user; with each principal point coordinate as the center, the number of generated algorithms and the random generation range are set to generate several coordinate offsets, and further, the coordinate offset includes a horizontal coordinate offset and a vertical coordinate offset; illustratively, in an embodiment of the present invention, the coordinate offset is generated according to the following formula:
[0084]
[0085] in, is the randomly generated horizontal coordinate offset, is the randomly generated ordinate offset, offset x is the maximum value of the horizontal axis offset, offset y is the maximum value of the vertical coordinate offset, and a is a randomly generated integer.
[0086] In step S202 of some embodiments, calculation is performed based on the generated coordinate offset and the corresponding principal point coordinates to obtain the attachment point coordinates corresponding to each attachment point. Exemplarily, in an embodiment of the present invention, the attachment point coordinates of each attachment point are calculated according to the following calculation formula:
[0087]
[0088] Among them, new x is the horizontal coordinate of the current point coordinate, new y is the ordinate of the current point coordinate, is the randomly generated horizontal coordinate offset, is the randomly generated ordinate offset, x is the horizontal coordinate of the principal point coordinate corresponding to the current attachment point, and y is the vertical coordinate of the principal point coordinate corresponding to the current attachment point.
[0089] See also Figure 3 In some embodiments, step S104 may include but is not limited to steps S301 to S303:
[0090] Step S301, determining a drawing area according to the initialized drawing parameters, and comparing the main point coordinates and the auxiliary point coordinate sets with the drawing area respectively;
[0091] Step S302, if the main point coordinates fall into the drawing area, or the additional point coordinates in the additional point coordinate set fall into the drawing area, mark the main point coordinates or the additional point coordinates as first coordinates, and determine a first coordinate data set according to the first coordinates;
[0092] Step S303: if the main point coordinates do not fall into the drawing area, or the auxiliary point coordinates in the auxiliary point coordinate set do not fall into the drawing area, the main point coordinates or the auxiliary point coordinates are deleted.
[0093] In step S301 of some embodiments, before drawing the target partial discharge signal spectrum, it is necessary to check the coordinates of each principal point and the coordinates of the additional points to screen out valid coordinate points; determine the spectrum drawing area according to the initialized drawing parameters, including the boundary coordinates of the spectrum drawing area; compare the coordinates of each principal point and the coordinates of the additional points with the boundary coordinates of the determined spectrum drawing area, and perform screening based on the comparison results.
[0094] In step S302 of some embodiments, if the current principal point coordinates or the auxiliary point coordinates fall within the range defined by the boundary coordinates of the map drawing area, the current principal point coordinates or the auxiliary point coordinates are marked as the first coordinates, i.e., the valid point; and the valid point set is determined based on all principal point coordinates or auxiliary point coordinates marked as the first coordinates.
[0095] In step S303 of some embodiments, if the current principal point coordinates or the auxiliary point coordinates do not fall within the range defined by the boundary coordinates of the atlas drawing area, it means that the current principal point coordinates or the auxiliary point coordinates are not valid points, and the current principal point coordinates or the auxiliary point coordinates are deleted.
[0096] Figure 4 is an optional structural block diagram of a signal generator for drawing a partial discharge signal spectrum provided by an embodiment of the present invention. Figure 4 The signal generator includes a storage touch module, a partial discharge signal generation module, a first microcontroller unit and a synchronization signal processing module; wherein,
[0097] A storage touch control module is used to obtain an original partial discharge signal spectrum, process and store the original partial discharge signal spectrum, and generate an original signal source according to the original partial discharge signal spectrum; the output end of the storage touch control module is connected to the input end of the first microcontroller unit;
[0098] A first microcontroller unit is used to generate a control signal according to an original signal source, and send the control signal to the partial discharge signal generation module and the synchronization signal processing module respectively; a first output end of the first microcontroller unit is connected to an input end of the partial discharge signal generation module, and a second output end of the first microcontroller unit is connected to an input end of the synchronization signal processing module;
[0099] A synchronization signal processing module, used for generating a synchronization signal according to the control signal, and sending the synchronization signal to the partial discharge signal generating module;
[0100] The partial discharge signal generation module is used to draw a target partial discharge signal spectrum according to the control signal and the synchronization signal.
[0101] In the structural block diagram of the signal generator shown in the embodiment of the present application, the storage touch module is used for human-computer interaction with the user, and the storage touch module provides the user with the function of manually customizing the partial discharge signal spectrum data. After the storage touch module obtains the partial discharge signal spectrum data manually customized by the user, the partial discharge signal spectrum data is first stored to facilitate subsequent data call and management; at the same time, the acquired partial discharge signal spectrum data is processed to extract the original signal data therein; data transmission and communication between the storage touch module, the partial discharge signal generation module and the synchronization signal processing module are realized through the first microcontroller unit; at the same time, the first microcontroller unit determines the control instruction or control signal according to the original signal data generated by the storage touch module, and drives the partial discharge signal generation module and the synchronization signal processing module to coordinate through the control instruction or control signal The first microcontroller unit is used to generate a target partial discharge signal and a corresponding partial discharge signal spectrum; the synchronization signal processing module amplifies and filters the signal data input by the first microcontroller unit, generates a synchronization signal based on the amplified and filtered signal data, and transmits the synchronization signal to the partial discharge signal generation module through the first microcontroller unit. The partial discharge signal generation module generates a voltage signal upon receiving the control signal, generates a pulse signal based on the voltage signal, generates a target partial discharge signal according to the pulse signal and the synchronization signal, and draws a corresponding partial discharge signal spectrum; the target partial discharge signal can also be parameter-adjusted by the pulse signal and the synchronization signal; the generated partial discharge signal and the corresponding signal spectrum are transmitted to the storage touch control module by the first microcontroller unit, and the partial discharge signal and the partial discharge signal spectrum generated based on the user-defined spectrum data are displayed to the user by the touch control module. Through the signal generator of the embodiment of the present invention, the user can manually customize the input partial discharge signal spectrum data, and the signal generator generates the corresponding partial discharge signal based on the input customized spectrum data, draws the partial discharge signal spectrum, enriches the types of partial discharge signals that can be output by the signal generator, provides human-computer interaction functions, and improves user experience.
[0102] In some embodiments, the user-defined graph data input by the user through the storage touch control module in the embodiments of the present invention may be a plurality of discrete points defined by the user, or may be a user-defined signal curve graph.
[0103] See also Figure 5 , Figure 5 is an optional structural block diagram of a storage touch control module in a signal generator for drawing a partial discharge signal spectrum provided by an embodiment of the present invention, Figure 5 The storage touch module includes a touch display unit, a storage unit and a second microcontroller unit, wherein:
[0104] A touch display unit, used to obtain the original partial discharge signal spectrum;
[0105] The second microcontroller unit is used to process the original partial discharge signal spectrum to obtain the original signal source, and send the original signal source to the first microcontroller unit;
[0106] The storage unit is used to store the original signal source.
[0107] In some embodiments, the touch display unit in the storage touch module is used for human-computer interaction. The user can customize and quickly draw a partial discharge signal spectrum through the touch display unit. The touch display unit will simply process the spectrum data customized by the user to quickly draw, extract the data therein and generate corresponding control instructions to drive subsequent partial discharge signal generation and spectrum drawing; the touch display unit can also display the generated partial discharge signal and the drawn spectrum to the user so that the user can detect and adjust the parameters of the generated partial discharge signal; the storage unit in the storage touch module stores the spectrum data extracted by the touch display unit as the original signal source. The signal generator obtains the extracted spectrum data one by one from the original signal source through an algorithm in the subsequent spectrum drawing for drawing. When storing the spectrum data, the storage unit stores them one by one according to the user's drawing process to improve the data accuracy of the partial discharge signal spectrum drawing; the second microcontroller unit in the storage touch module can receive the control instructions generated by the touch display unit, communicate with the first microcontroller unit through the serial port, and can also manage the data stored in the storage unit and retrieve the data as the original signal source for subsequent target partial discharge signal generation and spectrum drawing.
[0108] See also Figure 6 , Figure 6 It is an optional structural block diagram of a partial discharge signal generation module in a signal generator for drawing a partial discharge signal spectrum provided by an embodiment of the present invention. The partial discharge signal generation module in the figure includes a high-voltage amplifier, a high-voltage unit, a pulse signal generation unit and a partial discharge signal output unit, wherein:
[0109] A high voltage unit, for generating a voltage signal;
[0110] A high-voltage amplifier, used to generate a first amplified signal according to the voltage signal and the control signal; a first input end of the high-voltage amplifier is connected to a first output end of the first microcontroller unit, a second input end of the high-voltage amplifier is connected to the high-voltage unit, and an output end of the high-voltage amplifier is connected to an input end of the pulse signal generating unit;
[0111] A pulse signal generating unit, used for generating a pulse signal according to the first amplified signal and the synchronization signal; an output end of the pulse signal generating unit is connected to an input end of the partial discharge signal output unit;
[0112] The partial discharge signal output unit is used to draw a target partial discharge signal spectrum according to the pulse signal and generate a target partial discharge signal according to the pulse signal.
[0113] In some embodiments, the partial discharge signal generating module in the signal generator generates a target partial discharge signal according to the control signal input by the first microcontroller unit and the original signal source; the high-voltage unit in the partial discharge signal generating module provides voltage signals of different sizes to the high-voltage amplifier, and the high-voltage amplifier, driven by the control signal input by the first microcontroller unit, amplifies the voltage signals of different sizes provided by the high-voltage unit, and transmits the amplified signals to the pulse signal generating unit, and the pulse signal generating unit generates a pulse signal under the coordination of the high-voltage amplifier output signal and the synchronization signal to drive the partial discharge signal output unit to work; the partial discharge signal output unit generates a partial discharge signal according to the received pulse signal.
[0114] See also Figure 7 , Figure 7 This is an optional structural block diagram of a synchronous signal processing module in a signal generator for drawing a partial discharge signal spectrum provided by an embodiment of the present invention. The synchronous signal processing module in the figure includes an operational amplifier, a filtering unit and a synchronous signal output unit, wherein:
[0115] An operational amplifier, used for receiving a control signal and amplifying the control signal to obtain an amplified control signal; an input end of the operational amplifier is connected to the second output end of the first microcontroller unit, and an output end of the operational amplifier is connected to an input end of the filter unit;
[0116] A filtering unit is used to perform a filtering operation on the amplified control signal to obtain a filtered control signal; an output end of the filtering unit is connected to the synchronization signal output unit;
[0117] The synchronization signal output unit is used to generate a synchronization signal according to the filtering control signal.
[0118] In some embodiments, the synchronization signal processing module in the signal generator can generate a synchronization signal under the drive of the first microcontroller unit, and transmit the generated synchronization signal to the partial discharge signal generation module via the first microcontroller unit to generate a target partial discharge signal and draw a target partial discharge signal spectrum; the partial discharge signal generation module generates a target partial discharge signal according to the original signal source sent by the first microcontroller unit, and the original signal source is obtained by acquiring the spectrum data in the storage unit one by one by the second microcontroller unit. The synchronization signal processing module generates a synchronization signal under the control of the first microcontroller, and the synchronization signal is sent to the partial discharge signal generation module together with the original signal source to ensure the accuracy of the generated target partial discharge signal;
[0119] In some embodiments, the operational amplifier in the synchronization signal processing module amplifies the control signal of the first microcontroller unit, then filters the amplified control signal through the filtering unit, and sends the filtered control signal to the synchronization signal output unit to drive the synchronization signal output unit to generate a synchronization signal.
[0120] The following is a detailed description of the solution provided by the embodiment of the present invention in conjunction with a specific application example:
[0121] See also Figure 8 In a specific embodiment, a partial discharge signal spectrum is drawn by a signal generator for drawing a partial discharge signal spectrum provided by an embodiment of the present invention, and it is detected whether the partial discharge signal spectrum drawn by the signal generator is consistent with the spectrum of the input signal generator. The partial discharge signal generation module in the signal generator provided by an embodiment of the present invention is connected to the partial discharge signal sensor to collect the partial discharge signal generated by the signal generator and output it to the partial discharge test host; the synchronization signal data module of the signal generator is connected to the partial discharge test host, and the partial discharge test host sends the test result to the partial discharge test computer;
[0122] See also Fig. 9 , the storage touch module in the signal generator first creates and initializes the drawing area of the partial discharge signal spectrum, cuts the created drawing area according to preset parameters, creates a coordinate system and sets the coordinate origin position, obtains the canvas object and displays it on the touch screen of the signal generator; the user manually draws a custom partial discharge signal spectrum on the touch screen, the storage touch module in the signal generator obtains the custom partial discharge signal spectrum, processes the custom spectrum, determines the main point coordinates in the user-defined spectrum, and randomly generates a number of attached points with the main point coordinates as the center; further, the user manually clicks on the storage touch module to generate discrete points as a custom spectrum, such as Fig.10 As shown in a, the attached points generated by the signal generator are as follows Fig.10 b; if the user manually draws a line on the storage touch module to obtain a custom map, such as Fig.11As shown in a, the attached points generated by the signal generator are as follows Fig.11 b; then, determine the coordinates of several generated attachment points, calculate the density according to the user-defined main point and the randomly generated attachment points, and obtain the drawing color corresponding to each main point; at the same time, check the user-defined main point and the randomly generated attachment points, delete the points falling outside the canvas object, and mark the points falling inside the canvas object as valid points; normalize the coordinates of the valid points, and draw a spectrum according to the normalized valid points in the canvas object to obtain a simulated partial discharge signal spectrum with parameters consistent with the parameters of the user-defined spectrum, which parameters include the phase, amplitude, density, phase period, etc. of the signal; at the same time, the signal generator generates a driving signal according to the user-defined spectrum parameters, drives the partial discharge signal generation module in the signal generator to generate a pulse signal, and outputs the corresponding partial discharge signal; the signal generator drives the synchronization signal processing module to generate a synchronization signal according to the user-defined spectrum parameters, and sends it to the test equipment.
[0123] Implementation of the embodiments of the present invention includes the following beneficial effects: the embodiments provide a method, system, device and signal generator for drawing a partial discharge signal spectrum, the scheme initializes the drawing parameters by obtaining the original signal spectrum customized by the user; determines the main point coordinates according to the original signal spectrum, calculates according to the main point coordinates and a preset algorithm to obtain an additional point coordinate set; performs density calculation according to the main point coordinates and the additional point coordinate set to obtain the density level of the main point and the additional point; matches according to the density level and the preset correspondence relationship to determine the color information of the main point coordinates; checks the main point coordinates and the additional point coordinate set according to the initialized drawing parameters to obtain a first coordinate data set; normalizes the first coordinate data set to obtain a spectrum data set; determines the original signal source according to the color information of the spectrum data set, and draws the target partial discharge signal spectrum according to the original signal source. Data extraction is performed based on the user-defined original partial discharge signal spectrum, and the target partial discharge signal spectrum is drawn according to the extracted data, enriching the generation types of partial discharge signal spectra; the main point coordinates and additional point coordinates are generated according to the customized original partial discharge signal, and the generated data are calculated, tested and normalized, and the original partial discharge signal spectrum parameters are automatically adjusted to reduce manual adjustments and improve the efficiency of partial discharge signal spectrum generation.
[0124] like Fig.12 As shown, an embodiment of the present invention further provides a system for drawing a partial discharge signal spectrum, including:
[0125] The first module is used to obtain the original partial discharge signal spectrum and initialize the drawing area and drawing parameters; wherein the original partial discharge signal spectrum is drawn by the user, the drawing area includes the height, width and origin coordinates of the canvas area, and the drawing parameters include the coordinates and density of the points;
[0126] The second module is used to determine the main point coordinates according to the original partial discharge signal spectrum, and calculate according to the main point coordinates and a preset algorithm to obtain a set of additional point coordinates;
[0127] The third module is used to perform density calculation based on the main point coordinates and the auxiliary point coordinate set to obtain the density level of the main point and the auxiliary point; match the density level with a preset corresponding relationship to determine the color information of the main point coordinates;
[0128] The fourth module is used to check the principal point coordinates and the auxiliary point coordinate set according to the initialized drawing parameters to obtain a first coordinate data set; normalize the first coordinate data set to obtain a map data set; and determine the original signal source according to the color information and the map data set;
[0129] The fifth module is used to draw according to the original signal source to obtain a target partial discharge signal spectrum.
[0130] It can be seen that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0131] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned method of drawing a partial discharge signal spectrum when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0132] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0133] See also Fig.13 , Fig.13 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0134] The processor 1301 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0135] The memory 1302 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1302 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1302, and the processor 1301 calls and executes the method for drawing a partial discharge signal spectrum in the embodiment of the present application;
[0136] Input / output interface 1303, used to implement information input and output;
[0137] The communication interface 1304 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0138] A bus 1305 that transmits information between the various components of the device (e.g., the processor 1301, the memory 1302, the input / output interface 1303, and the communication interface 1304);
[0139] The processor 1301 , the memory 1302 , the input / output interface 1303 and the communication interface 1304 are connected to each other in communication within the device via a bus 1305 .
[0140] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method for drawing a partial discharge signal spectrum is implemented.
[0141] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0142] Among them, the memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. The memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a remote memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0143] In addition, the embodiment of the present application also discloses a computer program product or a computer program, and the computer program product or the computer program is stored in a computer-readable storage medium. The processor of the computer device can read the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device performs the above method. Similarly, the contents in the above method embodiment are all applicable to the storage medium embodiment, and the functions specifically implemented by the storage medium embodiment are the same as those in the above method embodiment, and the beneficial effects achieved are also the same as those achieved by the above method embodiment.
[0144] An embodiment of the present invention further provides a computer-readable storage medium, which stores a program executable by a processor. The program executable by the processor is used to implement the above method when executed by the processor.
[0145] It is understood that all or some steps and systems in the disclosed method above can be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0146] The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A method for drawing a partial discharge signal spectrum, characterized in that: The method comprises: Obtaining an original partial discharge signal spectrum, and initializing a drawing area and drawing parameters; wherein the original partial discharge signal spectrum is drawn by a user, the drawing area includes the height, width and origin coordinates of the canvas area, and the drawing parameters include the coordinates and density of the points; Determine the main point coordinates according to the original partial discharge signal spectrum, and calculate according to the main point coordinates and a preset algorithm to obtain a set of additional point coordinates; Density calculation is performed based on the main point coordinates and the auxiliary point coordinate set to obtain density levels of the main point and the auxiliary point; color information of the main point coordinates is determined by matching the density levels with a preset corresponding relationship; The principal point coordinates and the auxiliary point coordinate set are checked according to the initialized drawing parameters to obtain a first coordinate data set; the first coordinate data set is normalized to obtain a map data set; and the original signal source is determined according to the color information and the map data set; The target partial discharge signal spectrum is obtained by drawing according to the original signal source.
2. The method according to claim 1, characterized in that The calculation is performed according to the principal point coordinates and a preset algorithm to obtain a set of additional point coordinates, specifically including: Taking the principal point coordinate as the center, randomly generating according to the preset algorithm and preset parameters to obtain an attachment point offset set; wherein the preset parameters include a preset number of attachment points and a preset maximum offset value; The attachment point coordinate set is obtained by performing calculation according to the principal point coordinates and the attachment point offset set.
3. The method according to claim 1, characterized in that The checking of the principal point coordinates and the auxiliary point coordinate set according to the initialized drawing parameters to obtain a first coordinate data set specifically includes: Determine a drawing area according to the initialized drawing parameters, and compare the principal point coordinates and the auxiliary point coordinate set with the drawing area respectively; If the principal point coordinates fall within the drawing area, or the additional point coordinates in the additional point coordinate set fall within the drawing area, marking the principal point coordinates or the additional point coordinates as first coordinates, and determining the first coordinate data set according to the first coordinates; If the main point coordinates do not fall within the drawing area, or the additional point coordinates in the additional point coordinate set do not fall within the drawing area, the main point coordinates or the additional point coordinates are deleted.
4. A signal generator for drawing a partial discharge signal spectrum, used to implement the method according to any one of claims 1 to 3, characterized in that: It includes a storage touch module, a partial discharge signal generation module, a first microcontroller unit and a synchronization signal processing module; wherein, The storage touch control module is used to obtain an original partial discharge signal spectrum, process and store the original partial discharge signal spectrum, and generate an original signal source according to the original partial discharge signal spectrum; the output end of the storage touch control module is connected to the input end of the first microcontroller unit; The first microcontroller unit is used to generate a control signal according to the original signal source, and send the control signal to the partial discharge signal generation module and the synchronization signal processing module respectively; the first output end of the first microcontroller unit is connected to the input end of the partial discharge signal generation module, and the second output end of the first microcontroller unit is connected to the input end of the synchronization signal processing module; The synchronization signal processing module is used to generate a synchronization signal according to the control signal, and send the synchronization signal to the partial discharge signal generating module; The partial discharge signal generating module is used to draw a target partial discharge signal spectrum according to the control signal and the synchronization signal.
5. The signal generator according to claim 4, characterized in that: The storage touch module includes a touch display unit, a storage unit and a second microcontroller unit, wherein: The touch display unit is used to obtain the original partial discharge signal spectrum; The second microcontroller unit is used to process the original partial discharge signal spectrum to obtain an original signal source, and send the original signal source to the first microcontroller unit; The storage unit is used to store the original signal source.
6. The signal generator according to claim 4, characterized in that: The partial discharge signal generation module includes a high voltage unit, a high voltage amplifier, a pulse signal generation unit and a partial discharge signal output unit, wherein: The high voltage unit is used to generate a voltage signal; The high-voltage amplifier is used to generate a first amplified signal according to the voltage signal and the control signal; the first input end of the high-voltage amplifier is connected to the first output end of the first microcontroller unit, the second input end of the high-voltage amplifier is connected to the high-voltage unit, and the output end of the high-voltage amplifier is connected to the input end of the pulse signal generating unit; The pulse signal generating unit is used to generate a pulse signal according to the first amplified signal and the synchronization signal; the output end of the pulse signal generating unit is connected to the input end of the partial discharge signal output unit; The partial discharge signal output unit is used to draw the target partial discharge signal spectrum according to the pulse signal, and generate a target partial discharge signal according to the pulse signal.
7. The signal generator according to claim 4, characterized in that: The synchronization signal processing module includes an operational amplifier, a filtering unit and a synchronization signal output unit, wherein: The operational amplifier is used to receive the control signal and amplify the control signal to obtain an amplified control signal; the input end of the operational amplifier is connected to the second output end of the first microcontroller unit, and the output end of the operational amplifier is connected to the input end of the filtering unit; The filtering unit is used to perform a filtering operation on the amplified control signal to obtain a filtered control signal; the output end of the filtering unit is connected to the synchronization signal output unit; The synchronization signal output unit is used to generate a synchronization signal according to the filtering control signal.
8. A system for drawing a partial discharge signal spectrum, characterized in that: include: The first module is used to obtain the original partial discharge signal spectrum and initialize the drawing area and drawing parameters; wherein the original partial discharge signal spectrum is drawn by the user, the drawing area includes the height, width and origin coordinates of the canvas area, and the drawing parameters include the coordinates and density of the points; The second module is used to determine the main point coordinates according to the original partial discharge signal spectrum, and calculate according to the main point coordinates and a preset algorithm to obtain a set of additional point coordinates; The third module is used to perform density calculation based on the main point coordinates and the auxiliary point coordinate set to obtain the density level of the main point and the auxiliary point; match the density level with a preset corresponding relationship to determine the color information of the main point coordinates; The fourth module is used to check the principal point coordinates and the auxiliary point coordinate set according to the initialized drawing parameters to obtain a first coordinate data set; normalize the first coordinate data set to obtain a map data set; and determine the original signal source according to the color information and the map data set; The fifth module is used to draw according to the original signal source to obtain a target partial discharge signal spectrum.
9. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 3.
10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to perform the method according to any one of claims 1 to 3 when executed by the processor.