Fault signal generation method and device, equipment, medium and program product
By simulating and generating fault signals in a laboratory environment, the problem of scarce failure data in distribution networks is solved, and the application effect of deep learning in fault prediction and detection is improved.
Patent Information
- Application Number
- CN202411766222.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2044-12-03
AI Technical Summary
The scarcity of distribution network fault data has led to challenges in the application of deep learning in fault prediction and detection.
Simulate and generate a fault signal in a laboratory environment, obtain signal type information in the fault signal generation request, convert it into a preset format data packet, and use the target signal generator to generate a target fault signal.
It provides a rich data sample set, improving the accuracy and reliability of distribution network fault prediction and detection.
Smart Images

Figure CN119892612A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic information wireless communication technology, and in particular, relates to a method, device, equipment, medium and program product for generating a fault signal. Background Art
[0002] As an important link between the transmission network and end users, the operation of the distribution network is directly related to the user's electricity experience. However, the distribution network has a higher probability of failure than the transmission network, which has become the main cause of power outages in the entire power system.
[0003] Some related technologies use deep learning technology to predict and detect distribution network faults. With its powerful data analysis capabilities, deep learning performs well in classification, recognition, prediction and other processing tasks. It can mine potential patterns and features from massive data, providing new possibilities for distribution network fault prediction and detection. However, the effectiveness of deep learning technology depends largely on sufficient data sets. However, due to the rarity of distribution network faults, distribution network fault data is scarce, which brings challenges to the application of deep learning. Summary of the invention
[0004] The embodiments of the present application provide a method, apparatus, device, medium and program product for generating a fault signal, which can simulate and generate fault signals in a laboratory environment, provide a rich data sample set for the training and verification of deep learning models, and improve the accuracy and reliability of distribution network fault prediction and detection.
[0005] In a first aspect, an embodiment of the present application provides a method for generating a fault signal, comprising:
[0006] In response to the fault signal generation request, obtaining signal type information of the fault signal in the fault signal generation request;
[0007] In the preset correspondence between the signal type and the time series data, obtaining the first time series data corresponding to the signal type information of the fault signal;
[0008] According to a preset communication protocol, converting the first time series data into a data message in a preset format and inputting the data message into a target signal generator;
[0009] A target signal generator is used to generate a target fault signal corresponding to the data message.
[0010] In a possible embodiment of the first aspect, the signal type information of the fault signal includes attenuation type information, frequency information and amplitude information; the correspondence between the signal type and the timing data includes the correspondence between the attenuation type, frequency and amplitude and the timing data.
[0011] In a possible embodiment of the first aspect, before converting the first time series data into a data message in a preset format according to a preset communication protocol and inputting the data message into the target signal generator, the method further includes:
[0012] Generate a driver based on a preset configuration file, wherein the configuration file includes information of a preset communication protocol;
[0013] Burn the driver to the signal generator to obtain the target signal generator;
[0014] The target signal generator is used to generate a target fault signal corresponding to the data message, including:
[0015] The target signal generator is used to parse the data message according to the preset communication protocol to obtain the first time sequence data in the data message; and the target fault signal is generated based on the first time sequence data.
[0016] In a possible embodiment of the first aspect, according to a preset communication protocol, converting the first time series data into a data message in a preset format and inputting the data message into a target signal generator includes:
[0017] Decomposing the first time series data to obtain first time series data corresponding to the carrier signal and first time series data corresponding to the attenuation signal;
[0018] According to a preset communication protocol, converting the first time series data corresponding to the carrier signal into a first data message in a preset format, and converting the first time series data corresponding to the attenuation signal into a second data message in a preset format;
[0019] inputting the first data message and the second data message into the target signal generator respectively;
[0020] The target signal generator is used to generate a target fault signal corresponding to the data message, including:
[0021] Using a target signal generator, respectively parse the first data message and the second data message according to a preset communication protocol to obtain first time series data corresponding to a carrier signal in the first data message and first time series data corresponding to an attenuation signal in the second data message;
[0022] Generate a target carrier signal based on the first time series data corresponding to the carrier signal in the first data message; generate a target attenuation signal based on the first time series data corresponding to the attenuation signal in the second data message;
[0023] A target fault signal is generated based on a target carrier signal and a target attenuation signal by using a preset mixer.
[0024] In a possible embodiment of the first aspect, the present invention further includes:
[0025] In response to the fault signal generation request, obtaining environmental noise intensity information in the fault signal generation request;
[0026] generating environmental noise information based on the environmental noise intensity information;
[0027] Between the first preset position and the second preset position, the environmental noise information is applied.
[0028] In a possible embodiment of the first aspect, the present invention further includes:
[0029] amplifying the target fault signal to obtain an amplified target fault signal;
[0030] At the first preset position, a target fault signal is sent.
[0031] In a possible embodiment of the first aspect, the present invention further includes:
[0032] At the second preset position, a target fault signal is received.
[0033] In a possible embodiment of the first aspect, the present invention further includes:
[0034] Performing filtering processing on the received target fault signal to obtain a filtered target fault signal;
[0035] The filtered target fault signal is sampled to obtain second time series data.
[0036] In a possible embodiment of the first aspect, the present invention further includes:
[0037] The received target fault signal is disassembled to obtain a target carrier signal and a target attenuation signal;
[0038] The target carrier signal and the target attenuation signal are filtered to obtain a filtered target carrier signal and a filtered target attenuation signal;
[0039] The filtered target carrier signal is sampled to obtain third time series data; and the filtered target attenuation signal is sampled to obtain fourth time series data.
[0040] In a possible embodiment of the first aspect, the present invention further includes:
[0041] Displaying the first type of waveform information corresponding to the received target fault signal and the second type of waveform information corresponding to the preset simulated fault signal on the target page, wherein the simulated fault signal is obtained by simulation based on the fault signal generation request;
[0042] The first type of waveform information is compared with the second type of waveform information to obtain a comparison result.
[0043] Based on the same inventive concept, in a second aspect, an embodiment of the present application further provides a device for generating a fault signal, comprising:
[0044] An acquisition module, configured to acquire, in response to a fault signal generation request, signal type information of a fault signal in the fault signal generation request;
[0045] The acquisition module is further used to acquire first time series data corresponding to the signal type information of the fault signal in a preset correspondence relationship between the signal type and the time series data;
[0046] A format conversion module, used for converting the first time series data into a data message in a preset format according to a preset communication protocol and inputting the data message into a target signal generator;
[0047] The generating module is used to generate a target fault signal corresponding to the data message by using a target signal generator.
[0048] Based on the same inventive concept, in the third aspect, an embodiment of the present application also provides a device for generating a fault signal, which includes a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the first aspect, or the method for generating a fault signal in any embodiment of the first aspect.
[0049] Based on the same inventive concept, in the fourth aspect, an embodiment of the present application further provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method for generating a fault signal in the first aspect or any embodiment of the first aspect is implemented.
[0050] Based on the same inventive concept, in the fifth aspect, an embodiment of the present application also provides a computer program product. When the instructions in the computer program product are executed by the processor of the device, the device can execute the method for generating a fault signal in the first aspect or any embodiment of the first aspect.
[0051] The method, device, equipment, medium and program product for generating a fault signal of an embodiment of the present application, the method obtains the signal type information of the fault signal in the fault signal generation request in response to the user's fault signal generation request, and then obtains the first time series data corresponding to the signal type information of the fault signal in the correspondence between the preset signal type and the time series data, and then converts the first time series data into a data message of a preset format according to the preset communication protocol and inputs the data message into the target signal generator, and then uses the target signal generator to generate a target fault signal corresponding to the data message. The embodiment of the present application can generate different target fault signals by configuring the signal type information of different types of fault signals, can simulate and generate fault signals in a laboratory environment, and provides a rich data sample set for the training and verification of deep learning models, and improves the accuracy and reliability of distribution network fault prediction and detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Other features, objects and advantages of the present application will become more apparent by reading the following detailed description of non-limiting embodiments with reference to the accompanying drawings, in which the same or similar reference numerals represent the same or similar features and the accompanying drawings are not drawn to scale.
[0053] Figure 1 It is a flow chart of a method for generating a fault signal provided in an embodiment of the present application;
[0054] Figure 2 It is another flow chart of the method for generating a fault signal provided in an embodiment of the present application;
[0055] Figure 3 is another flow chart of a method for generating a fault signal provided in an embodiment of the present application;
[0056] Figure 4 This is another flow chart of the method for generating a fault signal provided in an embodiment of the present application;
[0057] Figure 5 It is another flow chart of the method for generating a fault signal provided in an embodiment of the present application;
[0058] Figure 6 It is another flow chart of the method for generating a fault signal provided in an embodiment of the present application;
[0059] Figure 7 It is another flow chart of the method for generating a fault signal provided in an embodiment of the present application;
[0060] Figure 8 It is another flow chart of the method for generating a fault signal provided in an embodiment of the present application;
[0061] Fig. 9 It is another flow chart of the method for generating a fault signal provided in an embodiment of the present application;
[0062] Fig.10 It is another flow chart of the method for generating a fault signal provided in an embodiment of the present application;
[0063] Fig.11 It is a signal waveform diagram of a signal in a single exponential decay form and a signal in a double exponential decay form in the method for generating a fault signal provided in an embodiment of the present application;
[0064] Fig.12 It is a simulation schematic diagram of an actual scenario in the method for generating a fault signal provided in an embodiment of the present application;
[0065] Fig.13 is a comparison result under noise-free conditions in the method for generating a fault signal provided in an embodiment of the present application;
[0066] Fig.14 is a comparison result under noise conditions in the method for generating a fault signal provided in an embodiment of the present application;
[0067] Fig.15 It is a structural schematic diagram of a device for generating a fault signal provided in an embodiment of the present application;
[0068] Fig.16 It is a structural schematic diagram of a fault signal generating device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0069] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present application and are not configured to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0070] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0071] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0072] It is obvious to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit or scope of the present application. Therefore, the present application is intended to cover modifications and changes of the present application that fall within the scope of the corresponding claims (technical solutions for protection) and their equivalents. It should be noted that the implementation methods provided in the embodiments of the present application can be combined with each other without contradiction.
[0073] Before describing the technical solutions provided by the embodiments of the present application, in order to facilitate the understanding of the embodiments of the present application, the present application first specifically describes the problems existing in the related art:
[0074] As an important link between the transmission network and end users, the operation of the distribution network is directly related to the user's electricity experience. However, the distribution network has a higher probability of failure than the transmission network, which has become the main cause of power outages in the entire power system.
[0075] Some related technologies use deep learning technology to predict and detect distribution network faults. With its powerful data analysis capabilities, deep learning performs well in processing tasks such as classification, recognition, and prediction. It can mine potential patterns and features from massive data, providing new possibilities for distribution network fault prediction and detection. However, the effectiveness of deep learning is highly dependent on the availability of large data sets, and the rarity of distribution network faults makes it a challenge to collect enough real data. Therefore, simulating and generating fault signals in a laboratory environment to obtain sufficient data sets is crucial to improving the application effect of deep learning in distribution network fault prediction and detection.
[0076] Based on this, the embodiments of the present application provide a method, device, equipment, medium and program product for generating fault signals, which can simulate and generate fault signals in a laboratory environment, provide a rich data sample set for the training and verification of deep learning models, and improve the accuracy and reliability of distribution network fault prediction and detection.
[0077] The method for generating a fault signal provided in an embodiment of the present application is described in detail below with reference to the accompanying drawings.
[0078] Figure 1 FIG. 1 is a flow chart of a method for generating a fault signal provided in an embodiment of the present application. Figure 1 As shown, the method may include steps S110 to S140.
[0079] S110 , in response to a fault signal generation request, obtaining signal type information of a fault signal in the fault signal generation request.
[0080] The fault signal generation request is a request input by a user for generating a specific fault signal. For example, the user may input signal type information of a fault signal to be generated in the first page, and the fault signal generation request may be generated based on the signal type information of the fault signal.
[0081] The signal type information of the fault signal refers to the specific type information of the fault signal.
[0082] Specifically, after receiving the fault signal generation request, signal type information about the required fault signal may be obtained therefrom.
[0083] S120, obtaining first time series data corresponding to the signal type information of the fault signal in a preset correspondence relationship between the signal type and the time series data.
[0084] Among them, the correspondence between the preset signal type and the timing data is a preset relationship table or calculation rule between the signal type and the timing data, which can associate different signal types with their respective corresponding timing data.
[0085] Time series data refers to a series of data points arranged in time order, which can describe the dynamic changes of fault signals.
[0086] The first time series data refers to the time series data found in the preset correspondence between the signal type and the time series data and matching the signal type information of the fault signal.
[0087] Specifically, according to a preset correspondence between a signal type and time series data, the first time series data matching the specific signal type information of the fault signal can be determined according to the correspondence.
[0088] S130, converting the first time series data into a data message in a preset format according to a preset communication protocol and inputting the data message into a target signal generator.
[0089] The preset communication protocol is a communication rule agreed upon in advance, and may include elements such as data format, transmission speed, and verification method.
[0090] Specifically, according to a pre-defined communication protocol, the first timing data may be converted into a specified data message format, and then the formatted data message may be transmitted to the target signal generator.
[0091] S140, using a target signal generator to generate a target fault signal corresponding to the data message.
[0092] Specifically, the target signal generator may generate a corresponding target fault signal according to information in an input data message.
[0093] The method for generating a fault signal provided in an embodiment of the present application obtains the signal type information of the fault signal in the fault signal generation request in response to the user's fault signal generation request, and then obtains the first time series data corresponding to the signal type information of the fault signal in the correspondence between the preset signal type and the time series data, and then converts the first time series data into a data message in a preset format according to the preset communication protocol and inputs the data message into the target signal generator, and then uses the target signal generator to generate a target fault signal corresponding to the data message. The embodiment of the present application can generate different types of target fault signals by configuring the signal type information of different fault signals, and can simulate and generate fault signals in a laboratory environment, providing a rich data sample set for the training and verification of deep learning models, and improving the accuracy and reliability of distribution network fault prediction and detection.
[0094] In some embodiments, the signal type information of the fault signal includes attenuation type information, frequency information and amplitude information; the correspondence between the signal type and the timing data includes the correspondence between the attenuation type, frequency and amplitude and the timing data.
[0095] Among them, the signal type information is refined into three key parameters: attenuation type information, frequency information and amplitude information.
[0096] Attenuation type information refers to the type or way in which the fault signal weakens over time during propagation. Different attenuation types reflect different characteristics of signal propagation in space, such as single exponential attenuation, double exponential attenuation, and other attenuation types.
[0097] Frequency information refers to the number of times the fault signal changes per unit time, expressed in Hertz (Hz).
[0098] Amplitude information refers to the amplitude or strength of the fault signal, that is, the difference between the maximum or minimum value of the signal and the reference value.
[0099] The embodiment of the present application can accurately describe the characteristics of the fault signal by refining the signal type information of the fault signal into attenuation type information, frequency information and amplitude information, and establishing a corresponding relationship with the time series data. Therefore, the user can accurately generate different types of target fault signals by configuring the signal type information (attenuation type information, frequency information and amplitude information) of different fault signals, and can simulate and generate fault signals in a laboratory environment, providing a rich data sample set for the training and verification of deep learning models, thereby improving the accuracy and reliability of distribution network fault prediction and detection.
[0100] Figure 2 This is another flow chart of the method for generating a fault signal provided in an embodiment of the present application.
[0101] For example, Figure 2 As shown, S110 obtains signal type information of the fault signal in the fault signal generation request in response to the fault signal generation request, which may include step S111.
[0102] S111 , in response to a fault signal generation request, obtaining attenuation type information, frequency information, and amplitude information of a fault signal in the fault signal generation request.
[0103] Specifically, after receiving the fault signal generation request, the detailed type information of the fault signal contained in the request may be extracted, specifically including the attenuation type information, frequency information and amplitude information of the fault signal.
[0104] In step S120, in the preset correspondence between the signal type and the time series data, obtaining the first time series data corresponding to the signal type information of the fault signal may include step S121.
[0105] S121, obtaining first time series data corresponding to attenuation type information, frequency information and amplitude information of a fault signal in a preset correspondence relationship between attenuation type, frequency and amplitude and time series data.
[0106] Specifically, in the preset correspondence between the attenuation type, frequency, amplitude and timing data, the first timing data corresponding to the attenuation type information, frequency information and amplitude information of the fault signal can be obtained. For example, according to the preset relationship table between the attenuation type, frequency, amplitude and timing data, the first group of timing data matching the attenuation type, frequency and amplitude information of the fault signal in the request can be found in the existing timing data set. For another example, according to the preset calculation rules of the attenuation type, frequency, amplitude and timing data, the corresponding first timing data can be calculated based on the attenuation type, frequency and amplitude information of the fault signal in the request.
[0107] The embodiment of the present application allows the user to customize the attenuation type, frequency and amplitude information of the fault signal, and then accurately search or calculate the first time series data that matches these signal characteristics in a preset correspondence, which can significantly improve the accuracy and efficiency of fault signal generation.
[0108] Figure 3 This is another flow chart of the method for generating a fault signal provided in an embodiment of the present application.
[0109] In some embodiments, Figure 3 As shown, before converting the first timing data into a data message of a preset format according to a preset communication protocol in step S130 and inputting the data message into the target signal generator, the method for generating a fault signal may further include steps S151 and S152.
[0110] S151, generating a driver program based on a preset configuration file, wherein the configuration file includes information of a preset communication protocol.
[0111] The preset configuration file is a file prepared in advance, which contains configuration information required to perform a specific task or operation, such as information about a preset communication protocol, serial port initialization configuration information, and other configuration information.
[0112] Specifically, based on a pre-set configuration file, a corresponding driver program can be written.
[0113] S152, burning the driver to the signal generator to obtain a target signal generator.
[0114] Specifically, the programmed driver can be burned into the signal generator, and after restarting, a target signal generator with specific functions can be obtained, and the target signal generator can support a preset communication protocol.
[0115] Step S140 generates a target fault signal corresponding to the data message using a target signal generator, and may include step S141.
[0116] S141, using a target signal generator, parsing a data message according to a preset communication protocol to obtain first time sequence data in the data message; and generating a target fault signal based on the first time sequence data.
[0117] Specifically, the configured target signal generator can decode and analyze the received data message according to the preset communication protocol, so as to extract the first timing data contained in the data message, and then further generate the required target fault signal based on the extracted first timing data.
[0118] The embodiment of the present application can write a driver based on a preset configuration file, and burn it to the signal generator to obtain a target signal generator that supports the preset communication protocol. This enables the target signal generator to accurately parse the data message according to the preset communication protocol, extract the first timing data in the data message, and generate a corresponding target fault signal based on the first timing data, thereby ensuring the high compatibility and accuracy of the signal generator when generating the target fault signal.
[0119] Figure 4 This is another flow chart of the method for generating a fault signal provided in an embodiment of the present application.
[0120] In some embodiments, Figure 4 As shown, step S130 converts the first timing data into a data message in a preset format according to a preset communication protocol and inputs the data message to the target signal generator, which may include steps S131 to S133.
[0121] S131, disassemble the first time series data to obtain first time series data corresponding to the carrier signal and first time series data corresponding to the attenuation signal.
[0122] Since the fault signal includes a carrier signal and an attenuation signal, the first time series data corresponding to the fault signal represents a composite signal.
[0123] Specifically, the first time series data can be split into two parts, one part is the time series data corresponding to the carrier signal, and the other part is the time series data corresponding to the attenuation signal. For example, signal processing techniques, such as filtering, Fourier transform, etc., are used to identify the different components in the first time series data and separate the carrier signal and the attenuation signal. After separation, the time series data corresponding to the carrier signal is obtained. This set of data can be the sampling points of a high-frequency sine wave. They are arranged in time sequence and accurately represent the waveform of the carrier signal. After disassembly, another set of time series data corresponding to the attenuation signal can be obtained. This set of data can be an amplitude value that changes with time, also arranged in time sequence, representing the change of the attenuation signal.
[0124] S132, according to a preset communication protocol, converting the first time series data corresponding to the carrier signal into a first data message in a preset format, and converting the first time series data corresponding to the attenuation signal into a second data message in a preset format.
[0125] Specifically, according to a pre-agreed communication protocol, the timing data representing the carrier signal is converted into a data message that meets specific format requirements, and the data message can be called a first data message; at the same time, the timing data representing the attenuation signal is converted into another data message that meets the same or different format requirements, and the data message can be called a second data message.
[0126] S133, inputting the first data message and the second data message into the target signal generator respectively.
[0127] Specifically, the first data message (including carrier signal information) and the second data message (including attenuation signal information) converted into a preset format are respectively input into the target signal generator. For example, the target signal generator has at least two inputs, one of which can receive the first data message and the other can receive the second data message.
[0128] Step S140 generates a target fault signal corresponding to the data message using a target signal generator, and may include steps S142 to S144.
[0129] S142, using a target signal generator, respectively parse the first data message and the second data message according to a preset communication protocol to obtain first timing data corresponding to the carrier signal in the first data message and first timing data corresponding to the attenuation signal in the second data message.
[0130] Specifically, the configured target signal generator can parse and process the input first data message and the second data message separately according to the preset communication protocol, and can accurately extract the timing data corresponding to the carrier signal from the first data message, and at the same time extract the timing data corresponding to the attenuation signal from the second data message.
[0131] S143, generating a target carrier signal based on the first timing data corresponding to the carrier signal in the first data message; generating a target attenuation signal based on the first timing data corresponding to the attenuation signal in the second data message.
[0132] Specifically, the target signal generator can use the timing data corresponding to the carrier signal parsed from the first data message to generate the required target carrier signal; at the same time, use the timing data corresponding to the attenuation signal parsed from the second data message to generate the corresponding target attenuation signal.
[0133] S144, using a preset mixer, generating a target fault signal based on the target carrier signal and the target attenuation signal.
[0134] Specifically, by using a preset mixer device, the generated target carrier signal and the target attenuation signal can be synthesized to generate a target fault signal.
[0135] The embodiment of the present application can disassemble the first timing data to obtain the first timing data corresponding to the carrier signal and the first timing data corresponding to the attenuation signal, and then convert the first timing data corresponding to the carrier signal into a first data message of a preset format according to the preset communication protocol, and convert the first timing data corresponding to the attenuation signal into a second data message of a preset format. Then, the target signal generator is used to parse the first data message and the second data message respectively according to the preset communication protocol to obtain the first timing data corresponding to the carrier signal in the first data message and the first timing data corresponding to the attenuation signal in the second data message. Next, the target signal generator can generate a target carrier signal based on the first timing data corresponding to the carrier signal in the first data message, and generate a target attenuation signal based on the first timing data corresponding to the attenuation signal in the second data message. Finally, a target fault signal can be generated based on the target carrier signal and the target attenuation signal using a preset mixer, thereby ensuring the accurate generation of the fault signal.
[0136] Figure 5 This is another flow chart of the method for generating a fault signal provided in an embodiment of the present application.
[0137] In some embodiments, Figure 5 As shown, the method for generating a fault signal may further include steps S161 to S163.
[0138] S161, in response to a fault signal generation request, obtaining environmental noise intensity information in the fault signal generation request.
[0139] The fault signal generation request may include not only attenuation type information, frequency information and amplitude information, but also ambient noise intensity information. In other words, the user may generate a specific target fault signal by setting parameters such as attenuation type information, frequency information, amplitude information and ambient noise intensity information.
[0140] Specifically, in response to a fault signal generation request, the environmental noise intensity information contained in the request can be captured, which can ensure that the generated fault signal can be identified and analyzed under a specific noise background. By considering the environmental noise intensity, the received target fault signal can be closer to the actual application scenario, improving the authenticity and accuracy of the received target fault signal, which is of great significance for improving the accuracy and reliability of fault diagnosis.
[0141] S162: Generate environmental noise information based on the environmental noise intensity information.
[0142] Specifically, according to the environmental noise intensity information configured by the user, the environmental noise information can be generated by using the noise generating device.
[0143] S163, applying environmental noise information between the first preset position and the second preset position to simulate the environmental noise information corresponding to the environmental noise intensity information set by the user
[0144] Specifically, by applying environmental noise generated according to environmental noise intensity information between the first preset position and the second preset position, the transmission of the target fault signal in the actual application environment, especially in the presence of background noise, can be evaluated, and a large number of real and accurate training samples can be obtained at the receiving end, which is crucial to the accuracy of subsequent fault signal analysis.
[0145] The embodiments of the present application can simulate real fault scenarios by acquiring and applying environmental noise intensity information to simulate noise conditions in an actual environment, thereby receiving fault signals under background noise, and obtaining a large number of real and accurate fault signals at the receiving end as training sample sets, thereby providing a large number of real and accurate training samples for subsequent fault signal analysis, thereby improving the accuracy and reliability of fault diagnosis.
[0146] Figure 6 This is another flow chart of the method for generating a fault signal provided in an embodiment of the present application.
[0147] In some embodiments, Figure 6 As shown, the method for generating a fault signal may further include steps S171 and S172.
[0148] S171, amplify the target fault signal to obtain an amplified target fault signal.
[0149] Specifically, the target fault signal may be amplified by using an amplifier, thereby obtaining an amplified target fault signal.
[0150] S172, sending a target fault signal at a first preset position.
[0151] Specifically, the target fault signal may be transmitted through an antenna at the first preset position.
[0152] The embodiment of the present application enhances the strength and transmission distance of the fault signal by amplifying the target fault signal and sending it at a first preset position, and can effectively simulate long-distance transmission situations in actual scenarios under laboratory conditions.
[0153] Figure 7This is another flow chart of the method for generating a fault signal provided in an embodiment of the present application.
[0154] In some embodiments, Figure 7 As shown, the method for generating a fault signal may further include step S180.
[0155] S180, receiving a target fault signal at a second preset position.
[0156] The embodiment of the present application can receive the target fault signal at the second preset position, and the basic data for subsequent analysis and diagnosis can quickly collect a large number of real and accurate training samples, thereby improving the accuracy and reliability of subsequent fault diagnosis.
[0157] In some embodiments, you can continue to see Figure 7 The method for generating a fault signal may further include steps S191 and S192.
[0158] S191, filtering the received target fault signal to obtain a filtered target fault signal.
[0159] Specifically, after receiving the target fault signal, filtering is performed on the received target fault signal to remove noise and interference components in the signal, thereby obtaining a purer and clearer filtered target fault signal.
[0160] S192, sampling the filtered target fault signal to obtain second time series data.
[0161] Specifically, a sampling operation is performed on the target fault signal after filtering, which can accurately capture and record the state of the signal at different time points, and then generate second time series data, which accurately depicts the dynamic changes of the fault signal after filtering.
[0162] The embodiment of the present application can generate second time series data that accurately depicts the dynamic changes of the target fault signal by filtering and sampling the received target fault signal, thereby providing a detailed and reliable information basis for subsequent fault feature extraction, pattern recognition, and fault diagnosis steps.
[0163] Figure 8 This is another flow chart of the method for generating a fault signal provided in an embodiment of the present application.
[0164] In some embodiments, Figure 8 As shown, the method for generating a fault signal may further include steps S193 to S195.
[0165] S193, disassemble the received target fault signal to obtain a target carrier signal and a target attenuation signal.
[0166] Specifically, by disassembling the received target fault signal, it can be decomposed into two key components: a target carrier signal and a target attenuation signal.
[0167] S194, filtering the target carrier signal and the target attenuation signal respectively to obtain a filtered target carrier signal and a filtered target attenuation signal.
[0168] Specifically, filtering is performed on the target carrier signal and the target attenuation signal respectively, so that noise and interference in the respective signals can be removed, thereby obtaining a purer and clearer filtered target carrier signal and filtered target attenuation signal.
[0169] S195, sampling the filtered target carrier signal to obtain third time series data; sampling the filtered target attenuation signal to obtain fourth time series data.
[0170] Specifically, by sampling the filtered target carrier signal and the target attenuated signal respectively, their states at different time points can be accurately recorded, thereby generating the third time series data and the fourth time series data respectively. These two sets of data accurately depict the dynamic changes of the filtered carrier signal and the attenuated signal.
[0171] The embodiments of the present application can more deeply analyze and understand the intrinsic characteristics of the fault signal by disassembling, filtering and sampling the received target fault signal, obtain purer and clearer carrier signals and attenuation signals, and generate timing data that accurately depicts their dynamic changes, thereby significantly improving the accuracy and reliability of fault signal analysis and providing more detailed and accurate information support for subsequent fault diagnosis.
[0172] Fig. 9 This is another flow chart of the method for generating a fault signal provided in an embodiment of the present application.
[0173] In some embodiments, Fig. 9 As shown, the method for generating a fault signal may further include steps S210 and S220.
[0174] S210, displaying the first type of waveform information corresponding to the received target fault signal and the second type of waveform information corresponding to the preset simulated fault signal on the target page, wherein the simulated fault signal is simulated based on the fault signal generation request.
[0175] The simulated fault signal may be obtained by simulation based on information such as attenuation type information, frequency information, and amplitude information in the fault signal generation request.
[0176] The first type of waveform information of the target fault signal may include the time domain waveform and frequency domain waveform of the received target fault signal, and may also include the time domain waveform of the disassembled attenuation signal. The second type of waveform is a waveform obtained by simulation corresponding to the first type of waveform.
[0177] Specifically, on the target page, the first type of waveform information of the received target fault signal and the second type of waveform information of the preset simulated fault signal obtained by simulating the fault signal generation request can be displayed simultaneously to facilitate comparative analysis and diagnosis.
[0178] S220, comparing the first type of waveform information with the second type of waveform information to obtain a comparison result.
[0179] Specifically, by comparing and matching the first type of waveform information of the received target fault signal with the second type of waveform information obtained based on the fault signal generation request simulation, the similarity or difference between the two, ie, the matching result, can be obtained.
[0180] The embodiment of the present application displays and compares the waveform information of the target fault signal received in the experiment and the simulated fault signal on the target page, and compares the two types of waveform information to obtain a comparison result, so as to intuitively and accurately evaluate the similarity or difference between the fault signal obtained in the experiment and the simulated signal.
[0181] Fig.10 This is another flow chart of the method for generating a fault signal provided in an embodiment of the present application.
[0182] In one embodiment, Fig.10 As shown, the method for generating the fault signal may include steps S01 to S08.
[0183] S01 , in response to a fault signal generation request, acquiring attenuation type information, frequency information, amplitude information and environmental noise information of the fault signal.
[0184] In one example, the user can set two types of decay, single exponential decay and double exponential decay, according to the selected fault signal type, and also needs to set the signal frequency and amplitude information, and add a noise signal of a set intensity, and generate a fault signal generation request based on these parameter information input by the user. Fig.11 As shown, Fig.11 are the basic patterns of analog signals, namely signals in the form of single exponential decay and signals in the form of double exponential decay.
[0185] S02, obtaining first time series data corresponding to attenuation type information, frequency information, and amplitude information.
[0186] In one example, a corresponding time series (first time series data) is generated and the real and imaginary signals are saved as corresponding ".mat" files, respectively. Thus, a corresponding data file can be generated according to the characteristics of the partial discharge fault signal of the distribution network (attenuation type, frequency, amplitude).
[0187] S03, after disassembling the first time series data, converting the data into a first data message and a second data message according to a preset communication protocol.
[0188] In other words, the first timing data may be compiled into a data format that can be recognized by the target signal generator.
[0189] S04, using a target signal generator to generate a target carrier signal corresponding to the first data message and a target attenuation signal corresponding to the second data message.
[0190] For example, the signal generator may be a Universal Software Radio Peripheral (USRP). The signal generator after activating the serial port and matching the communication protocol is the target signal generator. In other words, the signal generator after initialization is the target signal generator.
[0191] The Universal Software Radio Peripheral (USRP) is a high-performance, low-cost software-defined radio (SDR) device developed by Ettus Research, which provides a flexible platform for wireless communication research, development, and education. It is widely used in academic research, industrial applications, government projects, and amateur radio.
[0192] It should be noted that the Universal Software Radio Peripheral (USRP) has a flexible software architecture that allows users to define the functions of the radio system through software. This architecture includes a separate design of the Radio Frequency (RF) front end and the baseband processing unit, so that the Universal Software Radio Peripheral (USRP) can support various wireless communication standards and frequency bands. Therefore, the embodiment of the present application uses the Universal Software Radio Peripheral (USRP) to simulate the generation of fault signals, and its feasibility is verified by experimental results.
[0193] S05, using a preset mixer, mixing the target carrier signal and the target attenuation signal to obtain a target fault signal.
[0194] S06, amplifying the target fault signal and transmitting the amplified target fault signal at a first preset position.
[0195] In one example, a target carrier signal and a target attenuation signal generated by a universal software radio peripheral (USRP) are transmitted through a mixer and an amplifier at a first preset position through a double-ridged horn antenna. Thus, the universal software radio peripheral (USRP) can be used as a signal source to simulate the propagation of a distribution network fault signal through a double-ridged horn antenna.
[0196] S07, based on the environmental noise intensity information, generate environmental noise information and apply it between the first preset position and the second preset position.
[0197] Actual scene such as Fig.12 As shown, the actual scene contains a large amount of noise interference information. The fault signal generation method provided in the embodiment of the present application can effectively model the noise in the actual scene so that the data can be used to test the subsequent signal processing algorithm.
[0198] S08, at a second preset position, receiving a target fault signal and analyzing the target fault signal.
[0199] For example, another double-ridged horn antenna is used for reception, and the received signal is divided and filtered. The simulation results generated by MATLAB are used to verify the consistency between the simulation results and the experimental data. Specifically, the collected data is first imported into the MATLAB program, and the time alignment of multiple experimental results is performed, and then compared with the simulation signal to verify the consistency between the experimental data and the simulation data, and then subsequent data processing steps are performed based on the experimental data.
[0200] The embodiment of the present application uses a universal software radio peripheral (USRP) to complete the system design of signal transmission and reception. The method for generating fault signals provided is easy to operate, reduces the difficulty of simulating partial discharge fault signals in the distribution network, and can be implemented in the laboratory without using complex devices. The simulation process is closer to the received data of the actual situation, can support the generation of a large amount of data, and can provide a large number of training samples for the deep learning method.
[0201] In one example, the feasibility and accuracy of the Universal Software Radio Peripheral (USRP) as a signal simulation platform is verified through MATLAB simulation. Specifically:
[0202] According to the previous modeling results, the frequency of partial discharge signals is mainly concentrated at 300MHz and 600MHz. Therefore, these two frequency points were selected for experiments during simulation to test the signal characteristics under single exponential and double exponential attenuation respectively.
[0203] Under noise-free conditions, the experimental results are as follows Fig.13 As shown in the figure, the double exponential decay signal generated by the Universal Software Radio Peripheral (USRP) is consistent with the simulation results in the time domain and frequency domain. Among them, (a) and (b) are the time domain comparison results of the envelope signal (attenuation signal) in the target fault signal received during a partial discharge fault and the corresponding simulation signal, (c) and (d) are the time domain comparison results of the target fault signal received during a partial discharge fault and the corresponding simulation signal, (e) and (f) are the frequency domain comparison results of the target fault signal received during a partial discharge fault and the corresponding simulation signal. Among them, the fault signal shows obvious attenuation consistency in the time domain, and the frequency domain performance is relatively close.
[0204] In addition, different levels of Gaussian noise are introduced to simulate interference factors in the real environment, and the impact of noise on the simulation results is analyzed.
[0205] As the noise level increases, the experimental results are as follows Fig.14 As shown, (a) and (b) are the time domain comparison results of the envelope signal (attenuation signal) in the target fault signal received during partial discharge fault and the corresponding simulation signal, (c) and (d) are the time domain comparison results of the target fault signal received during partial discharge fault and the corresponding simulation signal, and (e) and (f) are the frequency domain comparison results of the target fault signal received during partial discharge fault and the corresponding simulation signal. The experimental results show that the signal simulation results under the double exponential decay condition are highly consistent with the theoretical model, while the single exponential decay signal shows a certain attenuation error in the time domain. This phenomenon may be related to the hardware characteristics and signal processing algorithms of the Universal Software Radio Peripheral (USRP), so the hardware characteristics and signal processing algorithms of the Universal Software Radio Peripheral (USRP) can be further optimized. In general, under high noise conditions, the signal simulation experimental results based on the Universal Software Radio Peripheral (USRP) can have a good consistency effect in the time domain and frequency domain.
[0206] Experimental results show that the simulation performance of the Universal Software Radio Peripheral (USRP) under different signal attenuation conditions is excellent, especially under the double exponential attenuation model, the simulation results are highly consistent with the theoretical values.
[0207] It should be noted that by adjusting simulation parameters such as sampling rate, bandwidth, signal gain, etc., the impact of these parameters on the simulation results can be evaluated. The results show that higher sampling rate and bandwidth can improve the frequency domain resolution of the signal, but at the same time it also increases the computational burden of the system and the complexity of data transmission. Therefore, in practical applications, a trade-off needs to be made between simulation accuracy and computational complexity.
[0208] The embodiment of the present application can simulate and generate fault signals when a partial discharge fault occurs in a distribution network based on a software radio peripheral (Universal Software Radio Peripheral, USRP). The fault signal of the power distribution network is successfully simulated by the universal software radio peripheral (Universal Software Radio Peripheral, USRP). On the one hand, the feasibility and accuracy of the universal software radio peripheral (Universal Software Radio Peripheral, USRP) as a signal simulation platform are verified. On the other hand, the simulation difficulty of the partial discharge fault signal of the distribution network is reduced, and it can be realized in the laboratory without using complex devices, which is convenient for post-processing algorithm verification, and enhances the flexibility and operability of the simulation. The simulation has the characteristics of high simulation accuracy, convenient operation, simple device, and flexible application.
[0209] Based on the same inventive concept, the embodiment of the present application also provides a device for generating a fault signal, such as Fig.15 As shown, the device 1500 may include an acquisition module 1510 , a format conversion module 1520 , and a generation module 1530 .
[0210] An acquisition module 1510 is used to acquire signal type information of a fault signal in the fault signal generation request in response to the fault signal generation request;
[0211] The acquisition module 1510 is further used to acquire first time series data corresponding to the signal type information of the fault signal in a preset correspondence relationship between the signal type and the time series data;
[0212] The format conversion module 1520 is used to convert the first time series data into a data message in a preset format according to a preset communication protocol and input the data message to the target signal generator;
[0213] The generating module 1530 is used to generate a target fault signal corresponding to the data message by using a target signal generator.
[0214] According to the fault signal generating device provided by the embodiment of the present application, by responding to the fault signal generating request of the user, the signal type information of the fault signal in the fault signal generating request is obtained, and then in the correspondence relationship between the preset signal type and the time series data, the first time series data corresponding to the signal type information of the fault signal is obtained, and then according to the preset communication protocol, the first time series data is converted into a data message of a preset format and the data message is input into the target signal generator, and then the target signal generator is used to generate the target fault signal corresponding to the data message. The embodiment of the present application can generate different target fault signals by configuring the signal type information of different types of fault signals, and can simulate and generate fault signals in a laboratory environment, providing a rich data sample set for the training and verification of deep learning models, and improving the accuracy and reliability of distribution network fault prediction and detection.
[0215] In some embodiments, the signal type information of the fault signal includes attenuation type information, frequency information and amplitude information; the correspondence between the signal type and the timing data includes the correspondence between the attenuation type, frequency and amplitude and the timing data.
[0216] In some embodiments, the format conversion module is used to convert the first timing data into a data message of a preset format according to a preset communication protocol and input the data message into the target signal generator. The device also includes a burning module:
[0217] A generating module, used to generate a driver based on a preset configuration file, wherein the configuration file includes information of a preset communication protocol;
[0218] A burning module is used to burn the driver to the signal generator to obtain a target signal generator;
[0219] The generation module is used to generate a target fault signal corresponding to the data message using a target signal generator, which can be used to:
[0220] The target signal generator is used to parse the data message according to the preset communication protocol to obtain the first time sequence data in the data message; and the target fault signal is generated based on the first time sequence data.
[0221] In some embodiments, the format conversion module is used to convert the first time series data into a data message in a preset format according to a preset communication protocol and input the data message into the target signal generator, which can be specifically used for:
[0222] Decomposing the first time series data to obtain first time series data corresponding to the carrier signal and first time series data corresponding to the attenuation signal;
[0223] According to a preset communication protocol, converting the first time series data corresponding to the carrier signal into a first data message in a preset format, and converting the first time series data corresponding to the attenuation signal into a second data message in a preset format;
[0224] inputting the first data message and the second data message into the target signal generator respectively;
[0225] The generation module is used to generate a target fault signal corresponding to the data message using a target signal generator, which can be used to:
[0226] Using a target signal generator, respectively parse the first data message and the second data message according to a preset communication protocol to obtain first time series data corresponding to a carrier signal in the first data message and first time series data corresponding to an attenuation signal in the second data message;
[0227] Generate a target carrier signal based on the first time series data corresponding to the carrier signal in the first data message; generate a target attenuation signal based on the first time series data corresponding to the attenuation signal in the second data message;
[0228] A target fault signal is generated based on a target carrier signal and a target attenuation signal by using a preset mixer.
[0229] In some embodiments, a noise application module is further included:
[0230] The acquisition module is further used to obtain the environmental noise intensity information in the fault signal generation request in response to the fault signal generation request;
[0231] The generating module is further used to generate the environmental noise information based on the environmental noise intensity information;
[0232] The noise applying module is used to apply environmental noise information between the first preset position and the second preset position.
[0233] In some embodiments, an amplification module and a sending module are also included:
[0234] an amplification module, used for amplifying the target fault signal to obtain an amplified target fault signal;
[0235] The sending module is used to send a target fault signal at a first preset position.
[0236] In some embodiments, a receiving module is further included:
[0237] The receiving module is used to receive a target fault signal at a second preset position.
[0238] In some embodiments, a filtering module and a sampling module are also included:
[0239] A filtering module, used for filtering the received target fault signal to obtain a filtered target fault signal;
[0240] The sampling module is used to sample the filtered target fault signal to obtain second time series data.
[0241] In some embodiments, a disassembly module is also included:
[0242] A disassembly module, used to disassemble the received target fault signal to obtain a target carrier signal and a target attenuation signal;
[0243] The filtering module is further used to filter the target carrier signal and the target attenuation signal respectively to obtain a filtered target carrier signal and a filtered target attenuation signal;
[0244] The sampling module is also used to sample the filtered target carrier signal to obtain third time series data; and to sample the filtered target attenuation signal to obtain fourth time series data.
[0245] In some embodiments, a display module and a comparison module are also included:
[0246] A display module, used for displaying the first type of waveform information corresponding to the received target fault signal and the second type of waveform information corresponding to the preset simulated fault signal on the target page, wherein the simulated fault signal is obtained by simulation based on the fault signal generation request;
[0247] The comparison module is used to compare the first type of waveform information with the second type of waveform information to obtain a comparison result.
[0248] Each module in the fault signal generating device provided in the embodiment of the present application can realize Figures 1 to 10 The functions of each step of the provided method for generating a fault signal and the ability to achieve the corresponding technical effects are described briefly and will not be repeated here.
[0249] Fig.16 A schematic diagram of the hardware structure of a fault signal generating device provided in an embodiment of the present application is shown.
[0250] The fault signal generating device may include a processor 1601 and a memory 1602 storing computer program instructions.
[0251] Specifically, the processor 1601 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0252] The memory 1602 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 1602 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory 1602 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 1602 may be inside or outside the generating device of the fault signal. In a particular embodiment, the memory 1602 is a non-volatile solid-state memory.
[0253] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present disclosure.
[0254] The processor 1601 implements any one of the methods for generating a fault signal in the above embodiments by reading and executing computer program instructions stored in the memory 1602 .
[0255] In one example, the fault signal generating device may further include a communication interface 1603 and a bus 1604. Fig.16 As shown, the processor 1601, the memory 1602, and the communication interface 1603 are connected via a bus 1604 and communicate with each other.
[0256] The communication interface 1603 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0257] The bus 1604 includes hardware, software or both, coupling the components of the fault signal generating device to each other. For example and not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Linear Predictive Coding (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (Peripheral Component Interconnect-X, PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VESA Local Bus, VLB) bus or other suitable buses or a combination of two or more of these. Where appropriate, the bus 1604 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
[0258] The device can execute the fault signal generation method in the embodiment of the present application based on each unit / component in the fault signal generation device, thereby realizing the combination of Figures 1 to 10 Describes the method of generating the fault signal.
[0259] In addition, in combination with the method for generating a fault signal in the above embodiment, the embodiment of the present application may provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any method for generating a fault signal in the above embodiment is implemented.
[0260] The present application also provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes each process of implementing any one of the above-mentioned fault signal generation method embodiments.
[0261] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0262] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (Read-Only Memory, ROM), flash memory, erasable read-only memory (Erasable Read Only Memory, EROM), floppy disks, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical discs, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0263] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0264] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0265] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for generating a fault signal, characterized in that: include: In response to a fault signal generation request, obtaining signal type information of a fault signal in the fault signal generation request; In the preset correspondence between the signal type and the time series data, obtaining the first time series data corresponding to the signal type information of the fault signal; According to a preset communication protocol, converting the first time series data into a data message in a preset format and inputting the data message into a target signal generator; The target signal generator is used to generate a target fault signal corresponding to the data message.
2. The method according to claim 1, characterized in that The signal type information of the fault signal includes attenuation type information, frequency information and amplitude information; the corresponding relationship between the signal type and the time series data includes the corresponding relationship between the attenuation type, frequency and amplitude and the time series data.
3. The method according to claim 1, characterized in that: Before converting the first time series data into a data message in a preset format according to a preset communication protocol and inputting the data message into a target signal generator, the method further includes: Generate a driver based on a preset configuration file, wherein the configuration file includes information of the preset communication protocol; Burning the driver to the signal generator to obtain a target signal generator; The step of using the target signal generator to generate the target fault signal corresponding to the data message includes: The target signal generator is used to parse the data message according to the preset communication protocol to obtain the first timing data in the data message; and a target fault signal is generated based on the first timing data.
4. The method according to claim 3, characterized in that The step of converting the first time series data into a data message in a preset format according to a preset communication protocol and inputting the data message into a target signal generator comprises: Decomposing the first time series data to obtain first time series data corresponding to a carrier signal and first time series data corresponding to an attenuation signal; According to a preset communication protocol, converting the first time series data corresponding to the carrier signal into a first data message in a preset format, and converting the first time series data corresponding to the attenuation signal into a second data message in a preset format; inputting the first data message and the second data message into a target signal generator respectively; The step of using the target signal generator to generate the target fault signal corresponding to the data message includes: Utilizing the target signal generator, respectively parsing the first data message and the second data message according to the preset communication protocol to obtain first timing data corresponding to the carrier signal in the first data message and first timing data corresponding to the attenuation signal in the second data message; Generate a target carrier signal based on the first time series data corresponding to the carrier signal in the first data message; generate a target attenuation signal based on the first time series data corresponding to the attenuation signal in the second data message; A target fault signal is generated based on the target carrier signal and the target attenuation signal by using a preset mixer.
5. The method according to claim 1, characterized in that Also includes: In response to a fault signal generation request, obtaining environmental noise intensity information in the fault signal generation request; Based on the environmental noise intensity information, generate environmental noise information; Between the first preset position and the second preset position, the environmental noise information is applied.
6. The method according to any one of claims 1 to 5, characterized in that: Also includes: amplifying the target fault signal to obtain an amplified target fault signal; At a first preset position, the target fault signal is sent.
7. The method according to claim 6, characterized in that Also includes: At a second preset position, the target fault signal is received.
8. The method according to claim 7, characterized in that Also includes: Filtering the received target fault signal to obtain a filtered target fault signal; The filtered target fault signal is sampled to obtain second time series data.
9. The method according to claim 7, characterized in that: Also includes: Decomposing the received target fault signal to obtain a target carrier signal and a target attenuation signal; Performing filtering processing on the target carrier signal and the target attenuation signal respectively to obtain a filtered target carrier signal and a filtered target attenuation signal; The filtered target carrier signal is sampled to obtain third time series data; and the filtered target attenuation signal is sampled to obtain fourth time series data.
10. The method according to claim 6, characterized in that Also includes: Displaying, on a target page, first type waveform information corresponding to the received target fault signal and second type waveform information corresponding to a preset simulated fault signal, wherein the simulated fault signal is obtained by simulation based on the fault signal generation request; The first type of waveform information is compared with the second type of waveform information to obtain a comparison result.
11. A device for generating a fault signal, characterized in that: include: an acquisition module, configured to acquire, in response to a fault signal generation request, signal type information of a fault signal in the fault signal generation request; The acquisition module is further used to acquire the first time series data corresponding to the signal type information of the fault signal in the preset correspondence relationship between the signal type and the time series data; A format conversion module, used for converting the first time series data into a data message in a preset format according to a preset communication protocol and inputting the data message into a target signal generator; A generating module is used to generate a target fault signal corresponding to the data message by using the target signal generator.
12. A device for generating a fault signal, characterized in that: The device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the method for generating a fault signal according to any one of claims 1 to 10 is implemented.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for generating a fault signal according to any one of claims 1 to 10 is implemented.
14. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of a device, the device is enabled to execute the method for generating a fault signal according to any one of claims 1 to 10.
Citation Information
Patent Citations
Software fault injection method and system
CN103559112A
Automatic test platform and method for fault diagnosis algorithm of distribution network and application of automatic test platform and method
CN109813999A
Spacecraft attitude control nozzle fault data generating system and method
CN110286607A
Fault simulation-oriented data preparation method, apparatus and device, and medium
CN118897792A
Method and device for generating simulation data, computer device and storage medium
US20240097991A1