Fault signal generation method, device, equipment, medium and program product

By generating fault signals in the laboratory, the problem of scarce fault data in the distribution network was solved, a rich data sample set was provided, and the accuracy and reliability of deep learning models in the prediction and detection of faults in the distribution network were improved.

CN119892612BActive Publication Date: 2026-07-24PEKING UNIV +2
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
PEKING UNIV
Filing Date
2024-12-03
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

The scarcity of fault data in power distribution networks limits the effectiveness of deep learning in fault prediction and detection, making it difficult to provide sufficient dataset support.

Method used

Fault signals are generated in a laboratory environment. By acquiring signal type information, target fault signals are generated using a target signal generator according to a preset communication protocol, simulating different types of fault signals and providing a rich data sample set for deep learning models.

Benefits of technology

It improves the accuracy and reliability of power distribution network fault prediction and detection, and provides a rich data sample set for the training and validation of deep learning models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892612B_ABST
    Figure CN119892612B_ABST
Patent Text Reader

Abstract

The application discloses a fault signal generation method, device, equipment, medium and program product. The method comprises the following steps: in response to a fault signal generation request, obtaining signal type information of a fault signal in the fault signal generation request; in a preset correspondence between signal types and time sequence data, obtaining first time sequence data corresponding to the signal type information of the fault signal; converting the first time sequence 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; and generating a target fault signal corresponding to the data message by using the target signal generator. According to the embodiment of the application, the fault signal can be simulated and generated in a laboratory environment, a rich data sample set is provided for training and verification of a deep learning model, and the accuracy and reliability of power distribution network fault prediction and detection are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electronic information wireless communication technology, and in particular relates to a method, apparatus, device, medium and program product for generating fault signals. Background Technology

[0002] As a crucial link between the transmission network and end users, the operation of the distribution network directly affects users' electricity experience. However, the distribution network has a higher probability of failure than the transmission network, which is a major cause of power outages throughout the entire power system.

[0003] Some related technologies utilize deep learning for distribution network fault prediction and detection. Deep learning, with its powerful data analysis capabilities, excels in tasks such as classification, identification, and prediction. It can extract potential patterns and features from massive amounts of data, offering new possibilities for distribution network fault prediction and detection. However, the effectiveness of deep learning technology largely depends on sufficient datasets. The rarity of distribution network faults leads to a scarcity of fault data, posing a challenge to the application of deep learning. Summary of the Invention

[0004] This application provides a method, apparatus, device, medium, and program product for generating fault signals, which 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 power distribution network fault prediction and detection.

[0005] In a first aspect, embodiments of this application provide a method for generating a fault signal, comprising:

[0006] In response to a fault signal generation request, obtain the signal type information of the fault signal in the fault signal generation request;

[0007] Based on the preset correspondence between signal types and timing data, obtain the first timing data corresponding to the signal type information of the fault signal;

[0008] According to the preset communication protocol, the first timing data is converted into a data packet of preset format and the data packet is input to the target signal generator;

[0009] The target fault signal corresponding to the data message is generated using the target signal generator.

[0010] In one 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 signal type and timing data includes the correspondence between attenuation type, frequency, and amplitude and timing data.

[0011] In one possible embodiment of the first aspect, before converting the first timing data into a data packet of a preset format according to a preset communication protocol and inputting the data packet to the target signal generator, the method further includes:

[0012] A driver is generated based on a preset configuration file, which includes information about a preset communication protocol.

[0013] The driver program is burned into the signal generator to obtain the target signal generator;

[0014] The target fault signal corresponding to the data packet is generated using a target signal generator, including:

[0015] Using a target signal generator, the data packet is parsed according to a preset communication protocol to obtain the first timing data in the data packet; based on the first timing data, a target fault signal is generated.

[0016] In one possible embodiment of the first aspect, converting first timing data into a data packet of a preset format according to a preset communication protocol and inputting the data packet to a target signal generator includes:

[0017] The first time sequence data is decomposed to obtain the first time sequence data corresponding to the carrier signal and the first time sequence data corresponding to the attenuation signal;

[0018] According to the preset communication protocol, the first time sequence data corresponding to the carrier signal is converted into a first data message in a preset format, and the first time sequence data corresponding to the attenuation signal is converted into a second data message in a preset format.

[0019] The first data packet and the second data packet are respectively input to the target signal generator;

[0020] The target fault signal corresponding to the data packet is generated using a target signal generator, including:

[0021] Using a target signal generator, the first data packet and the second data packet are parsed according to a preset communication protocol to obtain the first time sequence data corresponding to the carrier signal in the first data packet and the first time sequence data corresponding to the attenuation signal in the second data packet.

[0022] A target carrier signal is generated based on the first timing data corresponding to the carrier signal in the first data message; a target attenuation signal is generated based on the first timing data corresponding to the attenuation signal in the second data message.

[0023] Using a pre-set mixer, a target fault signal is generated based on the target carrier signal and the target attenuation signal.

[0024] In one possible embodiment of the first aspect, it further includes:

[0025] In response to a fault signal generation request, obtain the ambient noise intensity information from the fault signal generation request;

[0026] Based on environmental noise intensity information, generate environmental noise information;

[0027] Environmental noise information is applied between the first preset position and the second preset position.

[0028] In one possible embodiment of the first aspect, it further includes:

[0029] The target fault signal is amplified to obtain the amplified target fault signal;

[0030] At the first preset position, a target fault signal is sent.

[0031] In one possible embodiment of the first aspect, it further includes:

[0032] At the second preset position, the target fault signal is received.

[0033] In one possible embodiment of the first aspect, it further includes:

[0034] The received target fault signal is filtered to obtain the filtered target fault signal;

[0035] The filtered target fault signal is sampled to obtain the second time-series data.

[0036] In one possible embodiment of the first aspect, it further includes:

[0037] The received target fault signal is decomposed to obtain the target carrier signal and the target attenuation signal;

[0038] The target carrier signal and the target attenuation signal are filtered separately to obtain the filtered target carrier signal and the filtered target attenuation signal.

[0039] The filtered target carrier signal is sampled to obtain the third time-series data; the filtered target attenuation signal is sampled to obtain the fourth time-series data.

[0040] In one possible embodiment of the first aspect, it further includes:

[0041] The target page displays 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. The simulated fault signal is obtained by simulating 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 the comparison result.

[0043] Based on the same inventive concept, in a second aspect, embodiments of this application also provide a fault signal generation apparatus, comprising:

[0044] The acquisition module is used to acquire the signal type information of the fault signal in the fault signal generation request in response to the fault signal generation request.

[0045] The acquisition module is also used to acquire the first time-series data corresponding to the signal type information of the fault signal from the preset correspondence between signal type and time-series data;

[0046] The format conversion module is used to convert the first timing data into a data packet of a preset format according to a preset communication protocol and input the data packet to the target signal generator;

[0047] The generation module is used to generate the target fault signal corresponding to the data packet using the target signal generator.

[0048] Based on the same inventive concept, in a third aspect, embodiments of this application also provide a fault signal generation device, the device including a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the fault signal generation method of the first aspect or any embodiment of the first aspect.

[0049] Based on the same inventive concept, in a fourth aspect, embodiments of this application also provide a computer storage medium, on which computer program instructions are stored, which, when executed by a processor, implement the first aspect, or the method for generating a fault signal in any embodiment of the first aspect.

[0050] Based on the same inventive concept, in a fifth aspect, embodiments of this application also provide a computer program product, wherein instructions in the computer program product, when executed by a processor of a device, enable the device to execute the method for generating a fault signal in the first aspect or any embodiment of the first aspect.

[0051] This application discloses a method, apparatus, device, medium, and program product for generating fault signals. The method, in response to a user's fault signal generation request, obtains the signal type information of the fault signal from the request. Then, based on a preset correspondence between signal types and time-series data, it retrieves the first time-series data corresponding to the signal type information of the fault signal. Next, according to a preset communication protocol, it converts the first time-series data into a data packet of a preset format and inputs the data packet to a target signal generator. The target signal generator then generates the target fault signal corresponding to the data packet. This application embodiment can generate different target fault signals by configuring the signal type information of different types of fault signals. It 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 power distribution network fault prediction and detection. Attached Figure Description

[0052] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings, in which the same or similar reference numerals denote the same or similar features, and the drawings are not drawn to scale.

[0053] Figure 1 This is a schematic flowchart of a fault signal generation method provided in an embodiment of this application;

[0054] Figure 2 This is another flowchart illustrating the method for generating fault signals provided in the embodiments of this application;

[0055] Figure 3 This is another flowchart illustrating the method for generating fault signals provided in this application embodiment;

[0056] Figure 4 This is another flowchart illustrating the fault signal generation method provided in the embodiments of this application;

[0057] Figure 5 This is another flowchart illustrating the method for generating fault signals provided in the embodiments of this application;

[0058] Figure 6 This is another flowchart illustrating the method for generating fault signals provided in the embodiments of this application;

[0059] Figure 7 This is another flowchart illustrating the method for generating fault signals provided in the embodiments of this application;

[0060] Figure 8 This is another flowchart illustrating the method for generating fault signals provided in the embodiments of this application;

[0061] Figure 9 This is another flowchart illustrating the method for generating fault signals provided in the embodiments of this application;

[0062] Figure 10 This is another flowchart illustrating the method for generating fault signals provided in the embodiments of this application;

[0063] Figure 11 This is a schematic diagram of a single-exponential decay form and a double-exponential decay form of a signal in the fault signal generation method provided in the embodiments of this application;

[0064] Figure 12 This is a simulation diagram of an actual scenario in the fault signal generation method provided in the embodiments of this application;

[0065] Figure 13 This is a comparison result under noise-free conditions in the fault signal generation method provided in the embodiments of this application;

[0066] Figure 14 This is a comparison result under noisy conditions in the fault signal generation method provided in the embodiments of this application;

[0067] Figure 15 This is a schematic diagram of a fault signal generation device provided in an embodiment of this application;

[0068] Figure 16 This is a schematic diagram of a fault signal generation device provided in an embodiment of this application. Detailed Implementation

[0069] The features and exemplary embodiments of various aspects of this application will now be described in detail. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only configured to explain this application and are not configured to limit this application. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples of this application.

[0070] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.

[0071] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0072] Various modifications and variations can be made to this application without departing from its spirit or scope, which will be apparent to those skilled in the art. Therefore, this application is intended to cover modifications and variations falling within the scope of the corresponding claims (the claimed technical solutions) and their equivalents. It should be noted that the embodiments provided in this application can be combined with each other without contradiction.

[0073] Before describing the technical solutions provided in the embodiments of this application, in order to facilitate understanding of the embodiments of this application, this application first specifically explains the problems existing in the related technologies:

[0074] As a crucial link between the transmission network and end users, the operation of the distribution network directly affects users' electricity experience. However, the distribution network has a higher probability of failure than the transmission network, which is a major cause of power outages throughout the entire power system.

[0075] Some related technologies utilize deep learning for distribution network fault prediction and detection. Deep learning, with its powerful data analysis capabilities, excels in tasks such as classification, identification, and prediction. It can extract potential patterns and features from massive amounts of data, offering new possibilities for distribution network fault prediction and detection. However, the effectiveness of deep learning is highly dependent on the availability of large datasets, and the rarity of distribution network faults makes collecting sufficient real-world data a significant challenge. Therefore, simulating and generating fault signals in a laboratory environment to obtain sufficient datasets is crucial for improving the application of deep learning in distribution network fault prediction and detection.

[0076] Based on this, embodiments of this application provide a method, apparatus, device, medium, and program product for generating fault signals, which 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 power distribution network fault prediction and detection.

[0077] The method for generating fault signals provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0078] Figure 1 This is a schematic flowchart of a fault signal generation method provided in an embodiment of this application, as shown below. Figure 1 As shown, the method may include steps S110 to S140.

[0079] S110, in response to the fault signal generation request, obtains the signal type information of the fault signal in the fault signal generation request.

[0080] The fault signal generation request is a user-input request to generate a specific fault signal. For example, a user can input the signal type information of the fault signal they wish to generate on the first page, and a fault signal generation request can be generated based on this signal type information.

[0081] The signal type information of a fault signal refers to the specific type information of the fault signal.

[0082] Specifically, upon receiving a fault signal generation request, information about the signal type of the required fault signal can be obtained from it.

[0083] S120: Based on the preset correspondence between signal type and timing data, obtain the first timing data corresponding to the signal type information of the fault signal.

[0084] The preset correspondence between signal types and timing data is a pre-defined table or calculation rule that associates different signal types with their respective timing data.

[0085] Time-series data refers to a series of data points arranged in chronological order, which can describe the dynamic changes of fault signals.

[0086] The first timing data refers to the timing data found in the preset correspondence between signal types and timing data that matches the signal type information of the fault signal.

[0087] Specifically, based on the pre-defined correspondence between signal types and timing data, the first timing data that matches the specific signal type information of the fault signal can be determined.

[0088] S130: According to the preset communication protocol, the first timing data is converted into a data message of preset format and the data message is input to the target signal generator.

[0089] The preset communication protocol is a pre-agreed communication rule. The preset communication protocol 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 can be converted into a specified data message format, and then this formatted data message can be transmitted to the target signal generator.

[0091] S140 uses the target signal generator to generate the target fault signal corresponding to the data message.

[0092] Specifically, the target signal generator can generate a corresponding target fault signal based on the information in the input data message.

[0093] The fault signal generation method provided in this application responds to a user's fault signal generation request by obtaining the signal type information of the fault signal in the request. Then, based on a preset correspondence between signal types and time-series data, it retrieves the first time-series data corresponding to the signal type information of the fault signal. Next, according to a preset communication protocol, the first time-series data is converted into a data packet of a preset format and input to a target signal generator. The target signal generator then generates the target fault signal corresponding to the data packet. This application embodiment can generate different types of target fault signals by configuring different fault signal type information. It 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 power 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 signal type and timing data includes the correspondence between attenuation type, frequency, and amplitude and 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 manner in which a 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 a fault signal changes per unit time, expressed in Hertz (Hz).

[0098] Amplitude information refers to the amplitude or intensity of the fault signal, that is, the difference between the maximum or minimum value of the signal and the reference value.

[0099] This application embodiment refines the signal type information of fault signals into attenuation type information, frequency information, and amplitude information, and establishes a correspondence with time-series data. This can accurately describe the characteristics of fault signals. Therefore, users 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. It 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 power distribution network fault prediction and detection.

[0100] Figure 2 This is another flowchart illustrating the fault signal generation method provided in the embodiments of this application.

[0101] For example, such as Figure 2 As shown, S110 responds to the fault signal generation request by obtaining the signal type information of the fault signal in the fault signal generation request, which may include step S111.

[0102] S111, in response to the fault signal generation request, obtain the attenuation type information, frequency information and amplitude information of the fault signal in the fault signal generation request.

[0103] Specifically, upon receiving a fault signal generation request, the detailed type information of the fault signal contained in the request can be extracted, including the attenuation type information, frequency information, and amplitude information of the fault signal.

[0104] Step S120, in the preset correspondence between signal type and timing data, obtaining the first timing data corresponding to the signal type information of the fault signal may include step S121.

[0105] S121, based on the preset correspondence between attenuation type, frequency and amplitude and timing data, obtain the first timing data corresponding to the attenuation type information, frequency information and amplitude information of the fault signal.

[0106] Specifically, based on a pre-defined correspondence between attenuation type, frequency, and amplitude and time-series data, the first time-series data corresponding to the attenuation type, frequency, and amplitude information of the fault signal can be obtained. For example, according to a pre-defined table of relationships between attenuation type, frequency, and amplitude and time-series data, the first set of time-series data matching the attenuation type, frequency, and amplitude information of the requested fault signal can be found in an existing time-series dataset. Alternatively, according to pre-defined calculation rules for attenuation type, frequency, and amplitude and time-series data, the corresponding first time-series data can be calculated based on the attenuation type, frequency, and amplitude information of the requested fault signal.

[0107] This application embodiment allows users to define the attenuation type, frequency, and amplitude information of fault signals. Then, the first time-series data that matches these signal characteristics can be accurately found or calculated in a preset correspondence, which can significantly improve the accuracy and efficiency of fault signal generation.

[0108] Figure 3 This is another flowchart illustrating the fault signal generation method provided in the embodiments of this application.

[0109] In some embodiments, such as Figure 3 As shown, before step S130 converts the first timing data into a data packet of a preset format according to a preset communication protocol and inputs the data packet to the target signal generator, the method for generating the fault signal may further include steps S151 and S152.

[0110] S151 generates a driver based on a preset configuration file, wherein the configuration file includes information about a preset communication protocol.

[0111] The preset configuration file is a pre-prepared file that contains the configuration information required to perform a specific task or operation, such as information on the preset communication protocol and serial port initialization configuration.

[0112] Specifically, a corresponding driver can be written based on a pre-defined configuration file.

[0113] S152, burn the driver program to the signal generator to obtain the target signal generator.

[0114] Specifically, the written driver can be burned into the signal generator, and after restarting, a target signal generator with specific functions can be obtained, which can support a preset communication protocol.

[0115] Step S140 uses the target signal generator to generate the target fault signal corresponding to the data packet, which may include step S141.

[0116] S141, using a target signal generator, the data packet is parsed according to a preset communication protocol to obtain the first timing data in the data packet; based on the first timing data, a target fault signal is generated.

[0117] Specifically, the pre-configured target signal generator can decode and analyze the received data packets according to a preset communication protocol, thereby extracting the first timing data contained in the data packets. Then, based on the extracted first timing data, the required target fault signal can be further generated.

[0118] This application embodiment allows for the development of a driver program based on a preset configuration file, which is then burned into a signal generator to obtain a target signal generator that supports a preset communication protocol. This enables the target signal generator to accurately parse data packets according to the preset communication protocol, extract the first timing data from the data packets, and generate the corresponding target fault signal based on the first timing data, ensuring high compatibility and accuracy of the signal generator when generating the target fault signal.

[0119] Figure 4 This is another flowchart illustrating the fault signal generation method provided in the embodiments of this application.

[0120] In some embodiments, such as Figure 4 As shown, step S130 converts the first timing data into a data packet of a preset format according to a preset communication protocol and inputs the data packet to the target signal generator, which may include steps S131 to S133.

[0121] S131, the first timing data is decomposed to obtain the first timing data corresponding to the carrier signal and the first timing data corresponding to the attenuation signal.

[0122] Since the fault signal contains both a carrier signal and an attenuation signal, the first timing 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 corresponds to the carrier signal, and the other part corresponds to the attenuation signal. For example, signal processing techniques, such as filtering and Fourier transform, can be 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 a sampling point of a high-frequency sine wave, arranged in chronological order, accurately representing the waveform of the carrier signal. The split also yields another set of time-series data corresponding to the attenuation signal. This set of data can be an amplitude value that varies with time, also arranged in chronological order, representing the changes in the attenuation signal.

[0124] S132, according to the preset communication protocol, the first timing data corresponding to the carrier signal is converted into a first data message in a preset format, and the first timing data corresponding to the attenuation signal is converted 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 conforms to a specific format requirement, and this data message can be called the first data message; at the same time, the timing data representing the attenuation signal is converted into another data message that conforms to the same or different format requirements, and this data message can be called the second data message.

[0126] S133, input the first data message and the second data message to the target signal generator respectively.

[0127] Specifically, a first data packet (containing carrier signal information) and a second data packet (containing attenuation signal information), which have been 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 packet and the other of which can receive the second data packet.

[0128] Step S140 uses the target signal generator to generate the target fault signal corresponding to the data message, which may include steps S142 to S144.

[0129] S142, using the target signal generator, the first data packet and the second data packet are parsed according to the preset communication protocol to obtain the first timing data corresponding to the carrier signal in the first data packet and the first timing data corresponding to the attenuation signal in the second data packet.

[0130] Specifically, the pre-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. It can accurately extract the timing data corresponding to the carrier signal from the first data message and extract the timing data corresponding to the attenuation signal from the second data message.

[0131] S143, generate a target carrier signal based on the first timing data corresponding to the carrier signal in the first data message; generate 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 packet to generate the required target carrier signal; at the same time, it can use the timing data corresponding to the attenuation signal parsed from the second data packet to generate the corresponding target attenuation signal.

[0133] S144 uses a preset mixer to generate 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] This embodiment of the application can decompose 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. Then, according to a preset communication protocol, the first timing data corresponding to the carrier signal is converted into a first data packet of a preset format, and the first timing data corresponding to the attenuation signal is converted into a second data packet of a preset format. Next, a target signal generator is used to parse the first and second data packets according to a preset communication protocol to obtain the first timing data corresponding to the carrier signal in the first data packet and the first timing data corresponding to the attenuation signal in the second data packet. 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 packet, and simultaneously generate a target attenuation signal based on the first timing data corresponding to the attenuation signal in the second data packet. Finally, using a preset mixer, a target fault signal can be generated based on the target carrier signal and the target attenuation signal, ensuring the accurate generation of the fault signal.

[0136] Figure 5 This is another flowchart illustrating the fault signal generation method provided in the embodiments of this application.

[0137] In some embodiments, such as Figure 5 As shown, the method for generating the fault signal may further include steps S161 to S163.

[0138] S161, in response to the fault signal generation request, obtain the ambient noise intensity information in the fault signal generation request.

[0139] In addition to attenuation type, frequency, and amplitude information, the fault signal generation request can also include ambient noise intensity information. In other words, users can generate specific target fault signals by setting parameters such as attenuation type, frequency, amplitude, and ambient noise intensity.

[0140] Specifically, in response to a fault signal generation request, the environmental noise intensity information contained in the request can be captured, ensuring that the generated fault signal can be identified and analyzed under specific noise conditions. By considering the environmental noise intensity, the received target fault signal can be made closer to the real 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, Based on the environmental noise intensity information, generate environmental noise information.

[0142] Specifically, environmental noise information can be generated using noise generation equipment based on the user-configured environmental noise intensity information.

[0143] S163, between the first preset position and the second preset position, apply environmental noise information to simulate the environmental noise intensity information set by the user.

[0144] Specifically, by applying ambient noise generated based on ambient noise intensity information between the first and second preset positions, the transmission of the target fault signal in the actual application environment, especially in the presence of background noise, can be evaluated. This allows for the acquisition of a large number of real and accurate training samples at the receiving end, which is crucial for the accuracy of subsequent fault signal analysis.

[0145] This application embodiment acquires and applies environmental noise intensity information to simulate noise conditions in the actual environment, thereby simulating real fault scenarios and receiving fault signals under background noise. It can obtain a large number of real and accurate fault signals at the receiving end as a training sample set, providing a large number of real and accurate training samples for subsequent fault signal analysis, thus improving the accuracy and reliability of fault diagnosis.

[0146] Figure 6 This is another flowchart illustrating the fault signal generation method provided in the embodiments of this application.

[0147] In some embodiments, such as Figure 6 As shown, the method for generating the fault signal may further include steps S171 and S172.

[0148] S171, amplify the target fault signal to obtain the amplified target fault signal.

[0149] Specifically, an amplifier can be used to amplify the target fault signal, thereby obtaining an amplified target fault signal.

[0150] S172, at the first preset position, send the target fault signal.

[0151] Specifically, the target fault signal can be transmitted via an antenna at a first preset position.

[0152] This application embodiment amplifies the target fault signal and sends it at a first preset location, thereby enhancing the strength and transmission distance of the fault signal and effectively simulating long-distance transmission in real-world scenarios under laboratory conditions.

[0153] Figure 7This is another flowchart illustrating the fault signal generation method provided in the embodiments of this application.

[0154] In some embodiments, such as Figure 7 As shown, the method for generating the fault signal may further include step S180.

[0155] S180, at the second preset position, receives the target fault signal.

[0156] The embodiments of this application can receive the target fault signal at a second preset location, and the basic data for subsequent analysis and diagnosis can be collected quickly, resulting in a large number of real and accurate training samples, which improves the accuracy and reliability of subsequent fault diagnosis.

[0157] In some embodiments, see [link to relevant documentation]. Figure 7 The method for generating the fault signal may further include steps S191 and S192.

[0158] S191, the received target fault signal is filtered to obtain the filtered target fault signal.

[0159] Specifically, after receiving the target fault signal, filtering the received target fault signal can remove noise and interference components from the signal, thereby obtaining a purer and clearer filtered target fault signal.

[0160] S192, sample the filtered target fault signal to obtain the second time-series data.

[0161] Specifically, sampling the filtered target fault signal can accurately capture and record the signal's state at different time points, thereby generating second time-series data. The second time-series data accurately depicts the dynamic changes of the filtered fault signal.

[0162] This application embodiment 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, providing a detailed and reliable information foundation for subsequent steps such as fault feature extraction, pattern recognition and fault diagnosis.

[0163] Figure 8 This is another flowchart illustrating the fault signal generation method provided in the embodiments of this application.

[0164] In some embodiments, such as Figure 8 As shown, the method for generating the fault signal may further include steps S193 to S195.

[0165] S193, the received target fault signal is decomposed to obtain the target carrier signal and the target attenuation signal.

[0166] Specifically, by disassembling the received target fault signal, it can be broken down into two key components: the target carrier signal and the target attenuation signal.

[0167] S194, the target carrier signal and the target attenuation signal are filtered respectively to obtain the filtered target carrier signal and the filtered target attenuation signal.

[0168] Specifically, by performing filtering on the target carrier signal and the target attenuation signal respectively, noise and interference in each signal can be removed, thereby obtaining a cleaner and clearer filtered target carrier signal and filtered target attenuation signal.

[0169] S195, sample the filtered target carrier signal to obtain the third time-series data; sample the filtered target attenuation signal to obtain the fourth time-series data.

[0170] Specifically, by sampling the filtered target carrier signal and the target attenuation signal separately, their states at different time points can be accurately recorded, thereby generating third and fourth time-series data respectively. These two sets of data accurately depict the dynamic changes of the filtered carrier signal and the attenuation signal.

[0171] This application embodiment, by disassembling, filtering, and sampling the received target fault signal, can more deeply analyze and understand the intrinsic characteristics of the fault signal, obtain a purer and clearer carrier signal and attenuation signal, and generate time-series data that accurately describes its 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] Figure 9 This is another flowchart illustrating the fault signal generation method provided in the embodiments of this application.

[0173] In some embodiments, such as Figure 9 As shown, the method for generating the fault signal may further include steps S210 and S220.

[0174] S210, 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 are displayed on the target page, wherein the simulated fault signal is obtained by simulation based on the fault signal generation request.

[0175] The simulated fault signal can be obtained by simulating information such as attenuation type, frequency, and amplitude in the fault signal generation request.

[0176] The first type of waveform information of the target fault signal can include the time-domain and frequency-domain waveforms of the received target fault signal, and can also include the time-domain waveform of the decomposed attenuated signal. The second type of waveform is the waveform obtained from simulation that corresponds 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 based on the fault signal generation request simulation can be displayed simultaneously for comparative analysis and diagnosis.

[0178] S220: Compare the first type of waveform information with the second type of waveform information to obtain the 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 by simulation based on the fault signal generation request, the similarity or difference between the two can be obtained, i.e., the matching result.

[0180] This application embodiment displays and compares the waveform information of the target fault signal and the simulated fault signal received in the experiment on the target page, and compares the two types of waveform information to obtain the comparison results. This allows for an intuitive and accurate assessment of the similarity or difference between the fault signal obtained in the experiment and the simulated signal.

[0181] Figure 10 This is another flowchart illustrating the fault signal generation method provided in the embodiments of this application.

[0182] In one embodiment, such as Figure 10 As shown, the method for generating the fault signal may include steps S01 to S08.

[0183] S01, in response to the fault signal generation request, acquires the attenuation type information, frequency information, amplitude information and environmental noise information of the fault signal.

[0184] In one example, the user can select either single-exponential decay or double-exponential decay based on the chosen fault signal type. They also need to specify the signal frequency, amplitude, and add a noise signal of a set intensity. Based on these user-input parameters, a fault signal generation request is generated. For example... Figure 11 As shown, Figure 11 These are the basic styles of analog signals, namely, signals with single exponential decay and signals with double exponential decay.

[0185] S02, acquire the first timing data corresponding to the attenuation type information, frequency information, and amplitude information.

[0186] In one example, the corresponding time series (first time series data) is generated, and the real and imaginary parts of the signal are saved as corresponding ".mat" files. This allows for the generation of corresponding data files based on the characteristics of partial discharge fault signals in the distribution network (attenuation type, frequency, amplitude).

[0187] S03, the first time sequence data is decomposed and converted into a first data packet and a second data packet according to a preset communication protocol.

[0188] In other words, the first timing data can be compiled into a data format that can be recognized by the target signal generator.

[0189] S04, use the target signal generator to generate the target carrier signal corresponding to the first data packet and the target attenuation signal corresponding to the second data packet.

[0190] For example, a Universal Software Radio Peripheral (USRP) can be selected as the signal generator. 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, providing 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 a radio system through software. This architecture includes a separate design for the radio frequency (RF) front-end and the baseband processing unit, enabling the USRP to support various wireless communication standards and frequency bands. Therefore, this application embodiment utilizes the USRP to simulate the generation of fault signals, and its feasibility is verified through experimental results.

[0193] S05: Using a preset mixer, the target carrier signal and the target attenuation signal are mixed to obtain the target fault signal.

[0194] S06, amplify the target fault signal and transmit the amplified target fault signal at the first preset position.

[0195] In one example, the target carrier signal and target attenuation signal generated by the Universal Software Radio Peripheral (USRP) are mixed and amplified, and then transmitted through a double-ridged horn antenna at a first preset position. Thus, the USRP can be used as a signal source to simulate the propagation of a power distribution network fault signal via the 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] Real-world scenarios such as Figure 12 As shown, real-world scenarios contain a large amount of noise interference. The fault signal generation method provided in this application can effectively model the noise in real-world scenarios so that the data can be used to test subsequent signal processing algorithms.

[0198] S08, at the second preset position, receive the target fault signal and analyze the target fault signal.

[0199] For example, another double-ridged horn antenna is used for reception, and the received signal is frequency-divided and filtered. The consistency between the simulation results and experimental data is verified using simulation results generated by MATLAB. Specifically, the collected data is first imported into the MATLAB program, time alignment is performed on multiple experimental results, and then compared with the simulation signal to verify the consistency between the experimental and simulation data. Subsequent data processing steps are then performed based on the experimental data.

[0200] This application's embodiments utilize a Universal Software Radio Peripheral (USRP) to complete the system design for signal transmission and reception. The provided fault signal generation method is simple to operate, reducing the simulation difficulty of partial discharge fault signals in distribution networks and allowing implementation in the laboratory without the need for complex devices. The simulation process more closely resembles real-world received data, supports the generation of large amounts of data, and can provide a large number of training samples for deep learning methods.

[0201] In one example, the feasibility and accuracy of the Universal Software Radio Peripheral (USRP) as a signal simulation platform are verified using MATLAB simulation. Specifically:

[0202] Based on the preliminary modeling results, the partial discharge signal frequency is mainly concentrated at 300MHz and 600MHz. Therefore, these two frequency points were selected for the simulation to test the signal characteristics under single-exponential and double-exponential attenuation.

[0203] Under noise-free conditions, the experimental results are as follows: Figure 13 As shown, the double-exponential attenuation signal generated by the Universal Software Radio Peripheral (USRP) agrees well with the simulation results in both the time and frequency domains. Specifically, (a) and (b) show the time-domain comparison results of the envelope signal (attenuation signal) of the target fault signal received during partial discharge faults with the corresponding simulated signals; (c) and (d) show the time-domain comparison results of the target fault signal received during partial discharge faults with the corresponding simulated signals; and (e) and (f) show the frequency-domain comparison results of the target fault signal received during partial discharge faults with the corresponding simulated signals. The fault signals exhibit significant attenuation consistency in the time domain and are quite similar in the frequency domain.

[0204] Furthermore, different levels of Gaussian noise were introduced to simulate interference factors in the real environment, and the impact of noise on the simulation results was analyzed.

[0205] As the noise level increases, the experimental results are as follows: Figure 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 faults and the corresponding simulated signal; (c) and (d) are the time-domain comparison results of the target fault signal received during partial discharge faults and the corresponding simulated signal; and (e) and (f) are the frequency-domain comparison results of the target fault signal received during partial discharge faults and the corresponding simulated signal. Experimental results show that the simulated signal under double exponential attenuation conditions is in high agreement with the theoretical model, while the single exponential attenuation signal exhibits 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). Therefore, the hardware characteristics and signal processing algorithms of the Universal Software Radio Peripheral (USRP) can be further optimized. Overall, under high noise conditions, the signal simulation experimental results based on the Universal Software Radio Peripheral (USRP) show good agreement in both the time and frequency domains.

[0206] Experimental results show that the Universal Software Radio Peripheral (USRP) performs well in simulation under different signal attenuation conditions, especially under the double exponential attenuation model, where 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, and signal gain, the impact of these parameters on the simulation results can be evaluated. The results show that higher sampling rates and bandwidth can improve the frequency domain resolution of the signal, but also increase the computational burden of the system and the complexity of data transmission. Therefore, a trade-off must be struck between simulation accuracy and computational complexity in practical applications.

[0208] This application embodiment can simulate and generate fault signals during partial discharge faults in power distribution networks based on Universal Software Radio Peripheral (USRP). It successfully simulates power distribution network fault signals using USRP, which verifies the feasibility and accuracy of USRP as a signal simulation platform. On the other hand, it reduces the simulation difficulty of partial discharge fault signals in power distribution networks, avoids the use of complex devices, and can be implemented in the laboratory. This facilitates post-processing algorithm verification, enhances the flexibility and operability of the simulation, and features high simulation accuracy, convenient operation, simple device, and flexible application.

[0209] Based on the same inventive concept, embodiments of this application also provide a fault signal generation device, such as... Figure 15 As shown, the device 1500 may include an acquisition module 1510, a format conversion module 1520, and a generation module 1530.

[0210] The acquisition module 1510 is used to acquire the signal type information of the fault signal in the fault signal generation request in response to the fault signal generation request;

[0211] The acquisition module 1510 is also used to acquire the first time sequence data corresponding to the signal type information of the fault signal from the preset correspondence between signal type and time sequence data;

[0212] The format conversion module 1520 is used to convert the first timing data into a data packet of a preset format according to a preset communication protocol and input the data packet to the target signal generator;

[0213] The generation module 1530 is used to generate the target fault signal corresponding to the data message using the target signal generator.

[0214] According to the fault signal generation apparatus provided in this application embodiment, in response to a user's fault signal generation request, it obtains the signal type information of the fault signal in the fault signal generation request. Then, in a preset correspondence between signal type and time-series data, it obtains the first time-series data corresponding to the signal type information of the fault signal. Next, according to a preset communication protocol, it converts the first time-series data into a data packet of a preset format and inputs the data packet to a target signal generator. The target signal generator then generates the target fault signal corresponding to the data packet. This application embodiment can generate different target fault signals by configuring the signal type information of different types of fault signals. It 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 power 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 signal type and timing data includes the correspondence between attenuation type, frequency, and amplitude and timing data.

[0216] In some embodiments, before the format conversion module converts the first timing data into a data packet of a preset format according to a preset communication protocol and inputs the data packet to the target signal generator, the device further includes a programming module:

[0217] The generation module is used to generate a driver based on a preset configuration file, wherein the configuration file includes information about a preset communication protocol;

[0218] The programming module is used to program the driver to the signal generator to obtain the target signal generator;

[0219] The generation module is used to generate target fault signals corresponding to data packets using the target signal generator. Specifically, it can be used for:

[0220] Using a target signal generator, the data packet is parsed according to a preset communication protocol to obtain the first timing data in the data packet; based on the first timing data, a target fault signal is generated.

[0221] In some embodiments, the format conversion module is used to convert the first timing data into a data packet of a preset format according to a preset communication protocol and input the data packet to the target signal generator. Specifically, it can be used for:

[0222] The first time sequence data is decomposed to obtain the first time sequence data corresponding to the carrier signal and the first time sequence data corresponding to the attenuation signal;

[0223] According to the preset communication protocol, the first time sequence data corresponding to the carrier signal is converted into a first data message in a preset format, and the first time sequence data corresponding to the attenuation signal is converted into a second data message in a preset format.

[0224] The first data packet and the second data packet are respectively input to the target signal generator;

[0225] The generation module is used to generate target fault signals corresponding to data packets using the target signal generator. Specifically, it can be used for:

[0226] Using a target signal generator, the first data packet and the second data packet are parsed according to a preset communication protocol to obtain the first time sequence data corresponding to the carrier signal in the first data packet and the first time sequence data corresponding to the attenuation signal in the second data packet.

[0227] A target carrier signal is generated based on the first timing data corresponding to the carrier signal in the first data message; a target attenuation signal is generated based on the first timing data corresponding to the attenuation signal in the second data message.

[0228] Using a pre-set mixer, a target fault signal is generated based on the target carrier signal and the target attenuation signal.

[0229] In some embodiments, a noise application module is also included:

[0230] The acquisition module is also used to acquire environmental noise intensity information in the fault signal generation request in response to the fault signal generation request;

[0231] The generation module is also used to generate environmental noise information based on environmental noise intensity information;

[0232] The noise application module is used to apply environmental noise information between a first preset position and a second preset position.

[0233] In some embodiments, an amplification module and a transmission module are also included:

[0234] The amplification module is used to amplify the target fault signal to obtain the amplified target fault signal;

[0235] The transmitting module is used to transmit a target fault signal at a first preset position.

[0236] In some embodiments, a receiving module is also included:

[0237] The receiving module is used to receive the target fault signal at a second preset position.

[0238] In some embodiments, a filtering module and a sampling module are also included:

[0239] The filtering module is used to filter the received target fault signal to obtain the filtered target fault signal.

[0240] The sampling module is used to sample the filtered target fault signal to obtain the second time-series data.

[0241] In some embodiments, a disassembly module is also included:

[0242] The disassembly module is used to disassemble the received target fault signal to obtain the target carrier signal and the target attenuation signal;

[0243] The filtering module is also used to filter the target carrier signal and the target attenuation signal respectively to obtain the filtered target carrier signal and the filtered target attenuation signal.

[0244] The sampling module is also used to sample the filtered target carrier signal to obtain the third time-series data; and to sample the filtered target attenuation signal to obtain the fourth time-series data.

[0245] In some embodiments, a display module and a comparison module are also included:

[0246] The display module is used to display 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. 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 the comparison result.

[0248] The various modules in the fault signal generation device provided in this application embodiment can achieve... Figures 1 to 10 The functions of each step in the provided fault signal generation method, and the corresponding technical effects they achieve, will not be elaborated here for the sake of brevity.

[0249] Figure 16 A schematic diagram of the hardware structure of the fault signal generation device provided in an embodiment of this application is shown.

[0250] The fault signal generation 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), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.

[0252] Memory 1602 may include mass storage for data or instructions. For example, and not limitingly, memory 1602 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where suitable, memory 1602 may include removable or non-removable (or fixed) media. Where suitable, memory 1602 may be internal or external to a fault signal generation device. In a particular embodiment, memory 1602 is a non-volatile solid-state memory.

[0253] Memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, 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 this disclosure.

[0254] The processor 1601 reads and executes computer program instructions stored in the memory 1602 to implement any of the fault signal generation methods in the above embodiments.

[0255] In one example, the fault signal generating device may further include a communication interface 1603 and a bus 1604. Wherein, for example... Figure 16 As shown, the processor 1601, memory 1602, and communication interface 1603 are connected through bus 1604 and complete communication with each other.

[0256] The communication interface 1603 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.

[0257] Bus 1604 includes hardware, software, or both, that couples components of a fault signal generating device together. For example, and not limitingly, 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 Infinite Bandwidth 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 Bus (VESA Local Bus, VLB) bus, or other suitable buses, or a combination of two or more of these. Where appropriate, bus 1604 may include one or more buses. Although specific buses are described and illustrated in the embodiments of this application, this application considers any suitable bus or interconnection.

[0258] This device can execute the fault signal generation method in the embodiments of this application based on each unit / component in the fault signal generation device, thereby achieving a combination Figures 1 to 10 The method for generating fault signals is described.

[0259] Furthermore, in conjunction with the fault signal generation methods in the above embodiments, this application embodiment can provide a computer storage medium for implementation. This computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the fault signal generation methods in the above embodiments.

[0260] This application also provides a computer program product, wherein the instructions in the computer program product, when executed by the processor of an electronic device, cause the electronic device to perform various processes implementing any of the above-described embodiments of the fault signal generation method.

[0261] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this 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, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (ROM), flash memory, erasable read-only memory (EROM), floppy disks, compact disc read-only memory (CD-ROM), optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0263] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. 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 embodiments, or in a different order, or several steps can be performed simultaneously.

[0264] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, 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 apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. 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 is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.

[0265] The above are merely specific embodiments of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within 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, obtain the signal type information of the fault signal in the fault signal generation request; Based on the preset correspondence between signal types and timing data, the first timing data corresponding to the signal type information of the fault signal is obtained; According to a preset communication protocol, the first timing data is converted into a data packet of a preset format and the data packet is input to the target signal generator; The target signal generator is used to generate the target fault signal corresponding to the data packet; The step of converting the first timing data into a data packet of a preset format according to a preset communication protocol and inputting the data packet to the target signal generator includes: The first timing data is decomposed to obtain the first timing data corresponding to the carrier signal and the first timing data corresponding to the attenuation signal; According to a preset communication protocol, the first timing data corresponding to the carrier signal is converted into a first data message in a preset format, and the first timing data corresponding to the attenuation signal is converted into a second data message in a preset format. The first data packet and the second data packet are respectively input to the target signal generator; The step of generating the target fault signal corresponding to the data packet using the target signal generator includes: Using the target signal generator, the first data packet and the second data packet are parsed according to the preset communication protocol to obtain the first timing data corresponding to the carrier signal in the first data packet and the first timing data corresponding to the attenuation signal in the second data packet. A target carrier signal is generated based on the first timing data corresponding to the carrier signal in the first data message; a target attenuation signal is generated based on the first timing data corresponding to the attenuation signal in the second data message. Using a preset mixer, a target fault signal is generated based on the target carrier signal and the target attenuation signal.

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 correspondence between the signal type and the timing data includes the correspondence between attenuation type, frequency, and amplitude and the timing data.

3. The method according to claim 1, characterized in that, Before converting the first timing data into a data packet of a preset format according to a preset communication protocol and inputting the data packet to the target signal generator, the method further includes: A driver is generated based on a preset configuration file, wherein the configuration file includes information about the preset communication protocol; The driver program is burned into the signal generator to obtain the target signal generator; The step of generating the target fault signal corresponding to the data packet using the target signal generator includes: Using the target signal generator, the data packet is parsed according to the preset communication protocol to obtain the first timing data in the data packet; based on the first timing data, a target fault signal is generated.

4. The method according to claim 1, characterized in that, Also includes: In response to a fault signal generation request, the ambient noise intensity information in the fault signal generation request is obtained; Based on the environmental noise intensity information, environmental noise information is generated; Environmental noise information is applied between the first preset position and the second preset position.

5. The method according to any one of claims 1 to 4, characterized in that, Also includes: The target fault signal is amplified to obtain the amplified target fault signal; At the first preset position, the target fault signal is sent.

6. The method according to claim 5, characterized in that, Also includes: The target fault signal is received at the second preset position.

7. The method according to claim 6, characterized in that, Also includes: The received target fault signal is filtered to obtain the filtered target fault signal; The filtered target fault signal is sampled to obtain the second time-series data.

8. The method according to claim 6, characterized in that, Also includes: The received target fault signal is decomposed to obtain the target carrier signal and the target attenuation signal; The target carrier signal and the target attenuation signal are filtered respectively to obtain the filtered target carrier signal and the filtered target attenuation signal. The filtered target carrier signal is sampled to obtain the third time-series data; the filtered target attenuation signal is sampled to obtain the fourth time-series data.

9. The method according to claim 5, characterized in that, Also includes: The target page displays 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, 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 the comparison result.

10. A fault signal generation device, characterized in that, include: The acquisition module is used to acquire the signal type information of the fault signal in the fault signal generation request in response to the fault signal generation request; The acquisition module is also used to acquire the first time-series data corresponding to the signal type information of the fault signal from the preset correspondence between signal type and time-series data; The format conversion module is used to convert the first timing data into a data packet of a preset format according to a preset communication protocol and input the data packet to the target signal generator; The generation module is used to generate a target fault signal corresponding to the data packet using the target signal generator; The format conversion module is used to convert the first timing data into a data packet of a preset format according to a preset communication protocol and input the data packet to the target signal generator, specifically for: The first timing data is decomposed to obtain the first timing data corresponding to the carrier signal and the first timing data corresponding to the attenuation signal; According to a preset communication protocol, the first timing data corresponding to the carrier signal is converted into a first data message in a preset format, and the first timing data corresponding to the attenuation signal is converted into a second data message in a preset format. The first data packet and the second data packet are respectively input to the target signal generator; The generation module is used to generate a target fault signal corresponding to the data packet using the target signal generator, specifically for: Using the target signal generator, the first data packet and the second data packet are parsed according to the preset communication protocol to obtain the first timing data corresponding to the carrier signal in the first data packet and the first timing data corresponding to the attenuation signal in the second data packet. A target carrier signal is generated based on the first timing data corresponding to the carrier signal in the first data message; A target attenuation signal is generated based on the first timing data corresponding to the attenuation signal in the second data message; Using a preset mixer, a target fault signal is generated based on the target carrier signal and the target attenuation signal.

11. A fault signal generation device, characterized in that, The device includes: a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements the method for generating a fault signal as described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions that, when executed by a processor, implement the method for generating a fault signal as described in any one of claims 1 to 9.

13. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the device, the device is able to perform the method for generating a fault signal as described in any one of claims 1 to 9.