Method and apparatus for electromagnetic transient modeling of high-pass filter, and electronic device
By constructing a piecewise time-domain electromagnetic transient model of a high-pass filter using the inverse Laplace transform and the trapezoidal rule, and correcting the model accuracy by using compensation components, the problem of fast and accurate electromagnetic transient modeling of high-pass filters is solved, thus improving the effect of power system simulation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- YUNNAN POWER GRID CO LTD ELECTRIC POWER RES INST
- Filing Date
- 2022-03-28
- Publication Date
- 2026-06-09
AI Technical Summary
The lack of fast and accurate electromagnetic transient modeling methods for high-pass filters in existing technologies affects the accuracy and efficiency of electromagnetic transient simulation of power systems.
The high-pass filter is modeled in the frequency and time domains using the inverse Laplace transform and the trapezoidal rule. A piecewise time-domain electromagnetic transient model is constructed, and the model accuracy is corrected by compensation components, thus realizing the electromagnetic transient modeling of the high-pass filter.
It enables fast and convenient electromagnetic transient modeling of high-pass filters, improves the accuracy and practicality of the model, and supports accurate analysis of electromagnetic transient simulation of power systems.
Smart Images

Figure CN114722757B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of filter modeling technology, and in particular to an electromagnetic transient modeling method, apparatus and electronic device for a high-pass filter. Background Technology
[0002] By accurately modeling and performing detailed and rapid electromagnetic transient simulation analysis on relevant components of the power system, we can accurately grasp the dynamic characteristics of the power system, providing important assistance for the planning, design, construction, development, and operation of the power system.
[0003] A high-pass filter is a filter circuit composed of capacitors and resistors that allows low-frequency signals above the cutoff frequency to pass through normally, while blocking or attenuating high-frequency signals below the cutoff frequency. The electromagnetic transient model of a high-pass filter is an indispensable model component in the electromagnetic transient simulation of power systems.
[0004] Currently, among the technologies related to filter modeling, there is no method that can quickly and accurately perform electromagnetic transient modeling of high-pass filters. Summary of the Invention
[0005] Based on this, it is necessary to address the above problems. This invention proposes an electromagnetic transient modeling method, device, and electronic equipment for high-pass filters, which can quickly, conveniently, and accurately perform electromagnetic transient modeling of high-pass filters, which is beneficial for electromagnetic transient simulation of power systems.
[0006] In a first aspect, the present invention provides an electromagnetic transient modeling method for a high-pass filter, comprising: first, determining the frequency domain model of the high-pass filter based on the high-pass filter; second, obtaining a time-domain integral model of the high-pass filter based on the inverse Laplace transform and the frequency domain model of the high-pass filter; and finally, obtaining a piecewise time-domain electromagnetic transient model of the high-pass filter based on the trapezoidal rule and the time-domain integral model of the high-pass filter.
[0007] In one possible implementation of the first aspect, the electromagnetic transient modeling method further includes:
[0008] Construct a piecewise time-domain electromagnetic transient model to compensate for the components of a high-pass filter;
[0009] By using the piecewise time-domain electromagnetic transient model compensation component of the high-pass filter, the piecewise time-domain integral model of the high-pass filter is compensated, thus obtaining the piecewise time-domain electromagnetic transient correction model of the high-pass filter.
[0010] In one possible implementation of the first aspect, the time-domain integral model of the high-pass filter obtained from the inverse Laplace transform and the frequency domain model of the high-pass filter includes:
[0011] The fundamental time-domain integral model of the high-pass filter is obtained by solving the frequency domain model of the high-pass filter using the inverse Laplace transform.
[0012] Based on the characteristics of the impulse function, the time-domain integral model of the high-pass filter is divided into two parts according to the range of values of the time variable, thus obtaining the piecewise time-domain integral model of the high-pass filter.
[0013] In one possible implementation of the first aspect, the piecewise time-domain electromagnetic transient model of the high-pass filter, derived from the trapezoidal rule and the time-domain integral model of the high-pass filter, includes:
[0014] The time-domain integral model of the high-pass filter is solved using the trapezoidal rule to obtain the basic time-domain electromagnetic transient model of the high-pass filter.
[0015] Based on the impulse function and the limit method, the basic time-domain electromagnetic transient model of the high-pass filter is divided into three parts according to the range of the time variable, thus obtaining the piecewise time-domain electromagnetic transient model of the high-pass filter.
[0016] Secondly, the present invention provides a modeling apparatus for performing electromagnetic transient modeling on a high-pass filter. The modeling apparatus includes: a frequency domain model determination module, a time domain model calculation module, and an electromagnetic transient model calculation module. The frequency domain model determination module is used to determine the frequency domain model of the high-pass filter based on the high-pass filter. The time domain model calculation module is used to obtain a time-segmented time-domain integral model of the high-pass filter based on the inverse Laplace transform and the frequency domain model of the high-pass filter. The electromagnetic transient model calculation module is used to obtain a piecewise time-domain electromagnetic transient model of the high-pass filter based on the trapezoidal rule and the time-segmented time-domain integral model of the high-pass filter.
[0017] In one possible implementation of the second aspect, the modeling apparatus further includes: an electromagnetic transient model compensation module, configured to perform the following operations:
[0018] Construct a piecewise time-domain electromagnetic transient model to compensate for the components of a high-pass filter;
[0019] By using the piecewise time-domain electromagnetic transient model compensation component of the high-pass filter, the piecewise time-domain integral model of the high-pass filter is compensated, thus obtaining the piecewise time-domain electromagnetic transient correction model of the high-pass filter.
[0020] Thirdly, the present invention also provides an electronic device, including a processor and a memory, wherein the memory stores executable code, and when the executable code is executed by the processor, the processor performs the method described in the first aspect and any implementation thereof.
[0021] The fourth aspect provides a computer-readable storage medium having executable code stored thereon, which, when executed by a processor of an electronic device, causes the processor to perform the method described in the first aspect and any implementation thereof.
[0022] The technical solution provided by this invention has the following beneficial effects:
[0023] This paper proposes a method to solve the fundamental time-domain electromagnetic transient model of a high-pass filter using the inverse Laplace transform and the trapezoidal rule, thereby enabling electromagnetic transient modeling of the high-pass filter. This method can quickly and conveniently establish a piecewise time-domain electromagnetic transient model of the high-pass filter, and also provides a rigorous solution formula from a mathematical perspective. The rigor of the mathematical logic can ensure the accuracy of the piecewise time-domain electromagnetic transient model, which is beneficial to the electromagnetic transient simulation of power systems and its practical applications.
[0024] Furthermore, the technical solution of the present invention constructs and compensates for the components of the piecewise time-domain electromagnetic transient model of the high-pass filter, which can correct the model accuracy of the piecewise time-domain integral model of the high-pass filter, and can effectively improve the practicality of the corrected piecewise time-domain integral correction model of the high-pass filter.
[0025] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description
[0026] The above and other objects, features and advantages of the present invention will become more apparent from the more detailed description of exemplary embodiments of the invention in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the invention.
[0027] Figure 1 This is a schematic diagram of a first-order high-pass filter circuit structure provided in an embodiment of the present invention;
[0028] Figure 2 This is a schematic diagram of an embodiment of the electromagnetic transient modeling method for a high-pass filter provided in this invention.
[0029] Figure 3 This is a schematic diagram of another embodiment of the electromagnetic transient modeling method for a high-pass filter provided in this invention;
[0030] Figure 4 This is a schematic diagram of the modeling device provided in an embodiment of the present invention;
[0031] Figure 5 This is another structural schematic diagram of the modeling device provided in an embodiment of the present invention;
[0032] Figure 6This is a schematic diagram of the composition structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0033] Embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that the invention will be more thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
[0034] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The singular forms “a,” “the,” and “the” used in this invention and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0035] It should be understood that although the terms "first," "second," "third," etc., may be used in this invention to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this invention, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Thus, features defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0036] A filter is an electronic device that allows useful frequency signals to pass through while suppressing unwanted frequency signals. It is commonly used in signal processing, data transmission, and interference suppression. A high-pass filter is an electronic filtering device that allows signals below the cutoff frequency to pass through, but blocks signals above the cutoff frequency. High-pass filters are classified according to the order in which harmonics are filtered, such as first-order high-pass filters and second-order high-pass filters. The order indicates how many times the harmonics are filtered; for example, a first-order high-pass filter filters the harmonics only once.
[0037] To facilitate understanding of the electromagnetic transient modeling method of the high-pass filter in this invention, a first-order high-pass filter will be used as an example to illustrate the high-pass filter in this invention.
[0038] Figure 1 This is a schematic diagram of a first-order high-pass filter circuit structure provided in an embodiment of the present invention.
[0039] like Figure 1As shown, the first-order high-pass filter circuit provided in this embodiment of the invention includes:
[0040] The components include a filter resistor R, a filter capacitor C, a feedback resistor R1, a balancing resistor R2, and an integrated operational amplifier (op-amp). Where u... i U is the input voltage, and u0 is the output voltage.
[0041] One end of the filter resistor R is grounded, and the other end is connected to the positive input terminal of the integrated operational amplifier; the filter capacitor C is connected to the positive input terminal of the integrated operational amplifier; the feedback resistor R1 is connected between the negative input terminal and the output terminal of the integrated operational amplifier; one end of the balancing resistor R2 is grounded, and the other end is connected to the negative input terminal of the integrated operational amplifier.
[0042] After providing a basic introduction to the power structure of the high-pass filter, the electromagnetic transient modeling method of the high-pass filter in this invention will be described below.
[0043] Figure 2 This is a schematic diagram of an embodiment of the electromagnetic transient modeling method for a high-pass filter provided in this invention.
[0044] like Figure 2 As shown, the electromagnetic transient modeling method for a high-pass filter in this embodiment of the invention includes:
[0045] 201. Determine the frequency domain model of the high-pass filter based on the high-pass filter.
[0046] Figure 1 The first-order high-pass filter shown has the following frequency domain model (i.e., the high-pass filter model in the frequency domain):
[0047]
[0048] Where Y(s) is the frequency domain output variable of the high-pass filter, X(s) is the frequency domain input variable of the high-pass filter; s is the Laplace operator, T is the time constant of the high-pass filter, a is the cutoff angular frequency coefficient of the high-pass filter, and G is the gain factor of the high-pass filter.
[0049] 202. Based on the inverse Laplace transform and the frequency domain model of the high-pass filter, the time-domain integral model of the high-pass filter is obtained.
[0050] Specifically, one option is to first use the inverse Laplace transform to solve the frequency domain model of the high-pass filter to obtain the basic time-domain integral model of the high-pass filter;
[0051] For example, by using the inverse Laplace transform to solve the frequency domain model of the high-pass filter in step 201, the basic time-domain integral model of the high-pass filter can be obtained as follows:
[0052]
[0053] Secondly, based on the characteristics of the impulse function, the time-domain integral model of the high-pass filter is divided into two parts according to the range of values of the time variable, thus obtaining the piecewise time-domain integral model of the high-pass filter.
[0054] For example, based on the characteristics of the impulse function, the basic time-domain integral model shown in the above formula can be divided into two parts according to the range of values of the time variable t, resulting in the piecewise time-domain integral model of the high-pass filter as follows:
[0055]
[0056] Where t is the time variable, Y(t) is the time-domain output variable of the high-pass filter at time t, X(t) is the time-domain input variable of the high-pass filter at time t, δ(t) is the time-domain impulse function value at time t, T is the time constant of the high-pass filter, a is the cutoff angular frequency coefficient of the high-pass filter, and G is the gain factor of the high-pass filter.
[0057] 203. Based on the trapezoidal rule and the time-domain integral model of the high-pass filter, the piecewise time-domain electromagnetic transient model of the high-pass filter is obtained.
[0058] Specifically, one option is to first use the trapezoidal rule to solve the time-domain integral model of the high-pass filter to obtain the basic time-domain electromagnetic transient model of the high-pass filter.
[0059] For example, by using the trapezoidal rule to solve the time-domain integral model obtained in step 202, the following basic time-domain electromagnetic transient model is obtained:
[0060]
[0061] Secondly, based on the impulse function and the limit method, the basic time-domain electromagnetic transient model of the high-pass filter is divided into three parts according to the range of time variables, thus obtaining the piecewise time-domain electromagnetic transient model of the high-pass filter.
[0062] For example, based on the impulse function and the limit method, the basic time-domain electromagnetic transient model shown in the above formula can be divided into three parts according to the range of the time variable t, resulting in the following piecewise time-domain electromagnetic transient model:
[0063]
[0064] Where t is the time variable, Δt is the time step, and Δt +Let Y(t) be the right limit of the time step, Y(t) be the time-domain output variable of the high-pass filter at time t, X(t) be the time-domain input variable of the high-pass filter at time t, Y(t-Δt) be the time-domain output variable of the high-pass filter at time t-Δt, X(t-Δt) be the time-domain input variable of the high-pass filter at time t-Δt, X(0) be the time-domain input variable of the high-pass filter at time 0, δ(t) be the time-domain impulse function value at time t, δ(t-Δt) be the time-domain impulse function value at time t-Δt, T be the time constant of the high-pass filter, a be the cutoff angular frequency coefficient of the high-pass filter, G be the gain factor of the high-pass filter, e be the natural constant, and b be a constant.
[0065] In summary, the electromagnetic transient modeling method for high-pass filters in this embodiment of the invention can solve the piecewise time-domain electromagnetic transient model of the high-pass filter through the inverse Laplace transform and the trapezoidal rule, thereby realizing the electromagnetic transient modeling of the high-pass filter. This method can quickly and conveniently establish the piecewise time-domain electromagnetic transient model of the high-pass filter, and also provides rigorous solution formulas from a mathematical perspective. The rigor of the mathematical logic can ensure the accuracy of establishing the piecewise time-domain electromagnetic transient model, which is beneficial to the electromagnetic transient simulation of power systems and its practical applications.
[0066] Furthermore, in application scenarios where higher accuracy of the electromagnetic transient model is required, the accuracy of the piecewise time-domain electromagnetic transient model of the above-mentioned high-pass filter can be corrected to improve its accuracy.
[0067] Figure 3 This is a schematic diagram of another embodiment of the electromagnetic transient modeling method for a high-pass filter provided in this invention.
[0068] like Figure 3 As shown, the electromagnetic transient modeling method for a high-pass filter provided in this embodiment of the invention includes:
[0069] 301. Obtain the piecewise time-domain electromagnetic transient model of the high-pass filter.
[0070] Get through Figure 2 The piecewise time-domain electromagnetic transient model of the high-pass filter obtained by the technical solution in the corresponding embodiment is as follows:
[0071]
[0072] 302. Construct a piecewise time-domain electromagnetic transient model compensation component for a high-pass filter.
[0073] Specifically, the piecewise time-domain electromagnetic transient model compensation components for constructing the high-pass filter are:
[0074]
[0075] Where t is the time variable, Δt is the time step, and Δt + Let Y'(t) be the right limit of the time step, Y'(t) be the piecewise time-domain output variable compensation component of the high-pass filter at time t, T be the time constant of the high-pass filter, a be the cutoff angular frequency coefficient of the high-pass filter, G be the gain factor of the high-pass filter, and e be the natural constant.
[0076] 303. Using the piecewise time-domain electromagnetic transient model compensation component of the high-pass filter, the piecewise time-domain integral model of the high-pass filter is compensated to obtain the piecewise time-domain electromagnetic transient correction model of the high-pass filter.
[0077] The piecewise time-domain electromagnetic transient model of the high-pass filter in step 301 is compensated by the compensation component of the piecewise time-domain electromagnetic transient model constructed in step 302. The resulting piecewise time-domain electromagnetic transient correction model of the high-pass filter is as follows:
[0078]
[0079] Where Y(t) is the time-domain output variable of the high-pass filter at time t, X(t) is the time-domain input variable of the high-pass filter at time t, Y(t-Δt) is the time-domain output variable of the high-pass filter at time t-Δt, X(t-Δt) is the time-domain input variable of the high-pass filter at time t-Δt, δ(t) is the time-domain impulse function value at time t, δ(t-Δt) is the time-domain impulse function value at time t-Δt, T is the time constant of the high-pass filter, a is the cutoff angular frequency coefficient of the high-pass filter, G is the gain factor of the high-pass filter, e is the natural constant, and b is a constant.
[0080] In summary, the electromagnetic transient modeling method for high-pass filters in this embodiment of the invention can correct the model accuracy of the piecewise time-domain integral model of the high-pass filter by constructing a piecewise time-domain electromagnetic transient model compensation component, thereby effectively improving the practicality of the corrected piecewise time-domain integral model of the high-pass filter.
[0081] Corresponding to the aforementioned application function implementation method embodiments, the present invention also provides a modeling device, electronic device, and corresponding embodiments for electromagnetic transient modeling of high-pass filters.
[0082] Figure 4 This is a schematic diagram of one embodiment of the modeling apparatus provided in this invention.
[0083] like Figure 4 As shown, the modeling device 40 in this embodiment of the invention includes:
[0084] Frequency domain model determination module 401, time domain model calculation module 402, and electromagnetic transient model calculation module 403;
[0085] Among them, the frequency domain model determination module 401 is used to determine the frequency domain model of the high-pass filter based on the high-pass filter;
[0086] The time-domain model calculation module 402 is used to obtain the time-domain integral model of the high-pass filter based on the inverse Laplace transform and the frequency domain model of the high-pass filter.
[0087] The electromagnetic transient model calculation module 403 is used to obtain the piecewise time-domain electromagnetic transient model of the high-pass filter based on the trapezoidal rule and the time-domain integral model of the high-pass filter.
[0088] Optionally, in one embodiment of the present invention, the time-domain model calculation module 402 is specifically used to perform the following operations: solve the frequency domain model of the high-pass filter using the inverse Laplace transform to obtain the basic time-domain integral model of the high-pass filter; according to the characteristics of the impulse function, divide the time-domain integral model of the high-pass filter into two parts according to the range of values of the time variable to obtain the piecewise time-domain integral model of the high-pass filter.
[0089] Optionally, in one embodiment of the present invention, the electromagnetic transient model calculation module 403 is specifically used to perform the following operations: solve the time-domain integral model of the high-pass filter using the trapezoidal rule to obtain the time-domain electromagnetic transient basic model of the high-pass filter; divide the time-domain electromagnetic transient basic model of the high-pass filter into three parts according to the range of values of the time variable based on the impulse function and the limit method to obtain the piecewise time-domain electromagnetic transient model of the high-pass filter.
[0090] Optionally, in one embodiment of the present invention, the frequency domain model of the high-pass filter obtained by the frequency domain model determination module 401 is:
[0091]
[0092] Where Y(s) is the frequency domain output variable of the high-pass filter, X(s) is the frequency domain input variable of the high-pass filter; s is the Laplace operator, T is the time constant of the high-pass filter, a is the cutoff angular frequency coefficient of the high-pass filter, and G is the gain factor of the high-pass filter.
[0093] Further optionally, in one embodiment of the present invention, the basic time-domain integral model of the high-pass filter calculated by the time-domain model calculation module 402 is:
[0094]
[0095] The time-domain model calculation module 402 further solves the above basic time-domain integral model to obtain the time-domain integral model of the high-pass filter in different time periods:
[0096]
[0097] Where t is the time variable, Y(t) is the time-domain output variable of the high-pass filter at time t, X(t) is the time-domain input variable of the high-pass filter at time t, δ(t) is the time-domain impulse function value at time t, T is the time constant of the high-pass filter, a is the cutoff angular frequency coefficient of the high-pass filter, G is the gain factor of the high-pass filter, e is the natural constant, and b is a constant.
[0098] Further optionally, in one embodiment of the present invention, the time-domain electromagnetic transient fundamental model of the high-pass filter calculated by the electromagnetic transient model calculation module 403 is as follows:
[0099]
[0100] The electromagnetic transient model calculation module 403 further solves the above-mentioned basic time-domain electromagnetic transient model to obtain the piecewise time-domain electromagnetic transient model of the high-pass filter as follows:
[0101]
[0102] Where t is the time variable, Δt is the time step, and Δt + Let Y(t) be the right limit of the time step, Y(t) be the time-domain output variable of the high-pass filter at time t, X(t) be the time-domain input variable of the high-pass filter at time t, Y(t-Δt) be the time-domain output variable of the high-pass filter at time t-Δt, X(t-Δt) be the time-domain input variable of the high-pass filter at time t-Δt, X(0) be the time-domain input variable of the high-pass filter at time 0, δ(t) be the time-domain impulse function value at time t, δ(t-Δt) be the time-domain impulse function value at time t-Δt, T be the time constant of the high-pass filter, a be the cutoff angular frequency coefficient of the high-pass filter, G be the gain factor of the high-pass filter, e be the natural constant, and b be a constant.
[0103] In summary, the modeling device and its modules in this embodiment of the invention can solve the piecewise time-domain electromagnetic transient model of a high-pass filter using the inverse Laplace transform and the trapezoidal rule, thereby achieving electromagnetic transient modeling of the high-pass filter. This not only allows for the rapid and convenient establishment of the piecewise time-domain electromagnetic transient model of the high-pass filter, but also provides rigorous mathematical formulas. The rigor of the mathematical logic ensures the accuracy of the piecewise time-domain electromagnetic transient model, which is beneficial for electromagnetic transient simulation of power systems and its practical applications.
[0104] Figure 5 This is a schematic diagram of another embodiment of the modeling device provided in this invention.
[0105] like Figure 5As shown, the modeling device 40 in this embodiment of the invention includes: a frequency domain model determination module 401, a time domain model calculation module 402, an electromagnetic transient model calculation module 403, and an electromagnetic transient model compensation module 404.
[0106] The frequency domain model determination module 401, time domain model calculation module 402, and electromagnetic transient model calculation module 403 perform the same operations and functions as described above. Figure 4 The operation is the same as in the previous section, so it will not be repeated here.
[0107] The electromagnetic transient model compensation module 404 is used to perform the following operations: construct the piecewise time-domain electromagnetic transient model compensation component of the high-pass filter; use the piecewise time-domain electromagnetic transient model compensation component of the high-pass filter to compensate the piecewise time-domain integral model of the high-pass filter, and obtain the piecewise time-domain electromagnetic transient correction model of the high-pass filter.
[0108] Optionally, in one embodiment of the present invention, the piecewise time-domain electromagnetic transient model compensation component of the high-pass filter constructed by the electromagnetic transient model compensation module 404 is:
[0109]
[0110] Furthermore, the electromagnetic transient model compensation module 404 compensates the piecewise time-domain integral model based on the above-mentioned piecewise time-domain electromagnetic transient model compensation components to obtain the piecewise time-domain electromagnetic transient correction model of the high-pass filter as follows:
[0111]
[0112] Where Y(t) is the time-domain output variable of the high-pass filter at time t, X(t) is the time-domain input variable of the high-pass filter at time t, Y(t-Δt) is the time-domain output variable of the high-pass filter at time t-Δt, X(t-Δt) is the time-domain input variable of the high-pass filter at time t-Δt, δ(t) is the time-domain impulse function value at time t, δ(t-Δt) is the time-domain impulse function value at time t-Δt, T is the time constant of the high-pass filter, a is the cutoff angular frequency coefficient of the high-pass filter, G is the gain factor of the high-pass filter, e is the natural constant, and b is a constant.
[0113] In summary, the electromagnetic transient model compensation module 404 in the modeling device of this embodiment can correct the model accuracy of the piecewise time-domain integral model of the high-pass filter by constructing the piecewise time-domain electromagnetic transient model compensation component of the high-pass filter, which can effectively improve the practicality of the corrected piecewise time-domain integral correction model of the high-pass filter.
[0114] Figure 6 This is a schematic diagram of an embodiment of the electronic device provided in this invention.
[0115] like Figure 6 As shown, in this embodiment of the invention, the electronic device 60 includes a memory 601 and a processor 602. The memory stores executable code, which, when executed by the processor, causes the processor to perform the method described in any of the above embodiments.
[0116] The processor 602 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0117] Memory 601 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. ROM may store static data or instructions required by processor 602 or other modules of the computer. Permanent storage devices may be read-write storage devices. Permanent storage devices may be non-volatile storage devices that retain stored instructions and data even when the computer is powered off. In some embodiments, permanent storage devices use mass storage devices (e.g., magnetic or optical disks, flash memory) as permanent storage devices. In other embodiments, permanent storage devices may be removable storage devices (e.g., floppy disks, optical drives). System memory may be a read-write storage device or a volatile read-write storage device, such as dynamic random access memory. System memory may store some or all of the instructions and data required by the processor during operation. Furthermore, memory 601 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, memory 601 may include a removable storage device that is readable and / or writable, such as a laser disc (CD), a read-only digital multifunction optical disc (e.g., DVD-ROM, dual-layer DVD-ROM), a read-only Blu-ray disc, an ultra-high-density optical disc, a flash memory card (e.g., SD card, mini SD card, Micro-SD card, etc.), a magnetic floppy disk, etc. Computer-readable storage media do not contain carrier waves or transient electronic signals transmitted wirelessly or via wired connections.
[0118] The memory 601 stores executable code, which, when processed by the processor 602, can cause the processor 602 to execute part or all of the methods described above.
[0119] Furthermore, the method according to the present invention can also be implemented as a computer program or computer program product, which includes computer program code instructions for performing some or all of the steps in the above-described method of the present invention.
[0120] Alternatively, the present invention can also be implemented as a computer-readable storage medium (or machine-readable storage medium) storing executable code (or computer program, or computer instruction code) thereon, which, when executed by a processor of an electronic device (or electronic device, server, etc.), causes the processor to perform part or all of the steps of the method described above according to the present invention.
[0121] The various embodiments of the present invention have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. A method for electromagnetic transient modeling of a high-pass filter, characterized in that, include: The frequency domain model of the high-pass filter is determined based on the high-pass filter. Based on the inverse Laplace transform and the frequency domain model of the high-pass filter, the time-domain integral model of the high-pass filter is obtained. Based on the trapezoidal rule and the time-domain integral model of the high-pass filter, the piecewise time-domain electromagnetic transient model of the high-pass filter is obtained. The step of obtaining the time-domain integral model of the high-pass filter based on the inverse Laplace transform and the frequency domain model of the high-pass filter includes: The fundamental time-domain integral model of the high-pass filter is obtained by solving the frequency domain model of the high-pass filter using the inverse Laplace transform. Based on the characteristics of the impulse function, the time-domain integral model of the high-pass filter is divided into two parts according to the range of values of the time variable, thus obtaining the piecewise time-domain integral model of the high-pass filter. The basic time-domain integral model of the high-pass filter is: The time-domain integral model of the high-pass filter is as follows: in, t For time variables, Y ( t ) is a high-pass filter t The time-domain output variable at time t. X ( t ) is a high-pass filter t The time-domain input variable at time t. δ ( t )for t The time-domain impulse function value at time t. T The time constant of the high-pass filter. a This represents the cutoff angular frequency coefficient of the high-pass filter. G This is the gain factor of the high-pass filter. e It is a natural constant. b It is a constant.
2. The method according to claim 1, characterized in that, Construct the piecewise time-domain electromagnetic transient model compensation component of the high-pass filter; By using the piecewise time-domain electromagnetic transient model compensation component of the high-pass filter, the piecewise time-domain integral model of the high-pass filter is compensated to obtain the piecewise time-domain electromagnetic transient correction model of the high-pass filter.
3. The method according to claim 1 or 2, characterized in that, The step of obtaining the piecewise time-domain electromagnetic transient model of the high-pass filter based on the trapezoidal rule and the time-domain integral model of the high-pass filter includes: The time-domain integral model of the high-pass filter is solved using the trapezoidal rule to obtain the basic time-domain electromagnetic transient model of the high-pass filter. Based on the impulse function and the limit method, the time-domain electromagnetic transient basic model of the high-pass filter is divided into three parts according to the range of values of the time variable, thus obtaining the piecewise time-domain electromagnetic transient model of the high-pass filter.
4. The method according to claim 1, characterized in that, The frequency domain model of the high-pass filter is as follows: in, Y ( s ) represents the frequency domain output variable of the high-pass filter. X ( s ) represents the frequency domain input variable of the high-pass filter; s For the Laplace operator, T The time constant of the high-pass filter. a This represents the cutoff angular frequency coefficient of the high-pass filter. G This represents the gain factor of the high-pass filter.
5. The method according to claim 3, characterized in that, The fundamental time-domain electromagnetic transient model of the high-pass filter is as follows: The piecewise time-domain electromagnetic transient model of the high-pass filter is as follows: in, t For time variables, Δ t For the time step, Δ t + This is the right limit of the time step. Y ( t ) is a high-pass filter t The time-domain output variable at time t. X ( t ) is a high-pass filter t The time-domain input variable at time t. Y ( t- Δ t ) is a high-pass filter t- Δ t The time-domain output variable at time t. X ( t- Δ t ) is a high-pass filter t- Δ t The time-domain input variable at time t. X (0) represents the time-domain input variable of the high-pass filter at time 0. δ ( t )for t The time-domain impulse function value at time t. δ ( t- Δ t )for t- Δ t The time-domain impulse function value at time t. T The time constant of the high-pass filter. a This represents the cutoff angular frequency coefficient of the high-pass filter. G This is the gain factor of the high-pass filter. e It is a natural constant. b It is a constant.
6. The method according to claim 2, characterized in that, The piecewise time-domain electromagnetic transient model compensation component of the high-pass filter is: The piecewise time-domain electromagnetic transient correction model for the high-pass filter is as follows: in, Y ( t ) is a high-pass filter t The time-domain output variable at time t. X ( t ) is a high-pass filter t The time-domain input variable at time t. Y ( t- Δ t ) is a high-pass filter t- Δ t The time-domain output variable at time t. X ( t- Δ t ) is a high-pass filter t- Δ t The time-domain input variable at time t. δ ( t )for t The time-domain impulse function value at time t. δ ( t- Δ t )for t- Δ t The time-domain impulse function value at time t. T The time constant of the high-pass filter. a This represents the cutoff angular frequency coefficient of the high-pass filter. G This is the gain factor of the high-pass filter. e It is a natural constant. b It is a constant.
7. A modeling apparatus, applied to the electromagnetic transient modeling method for a high-pass filter as described in claim 1, characterized in that, include: A frequency domain model determination module is used to determine the frequency domain model of the high-pass filter based on the high-pass filter. The time-domain model calculation module is used to obtain the time-domain integral model of the high-pass filter based on the inverse Laplace transform and the frequency domain model of the high-pass filter. The electromagnetic transient model calculation module is used to obtain the piecewise time-domain electromagnetic transient model of the high-pass filter based on the trapezoidal rule and the time-domain integral model of the high-pass filter.
8. An electronic device, characterized in that, include: processor; as well as A memory having executable code stored thereon, which, when executed by the processor, causes the processor to perform the method as described in any one of claims 1-6.