A filter design method, device, electronic device and storage medium
By generating an ideal filter circuit and correcting the design value according to the quality factor and insertion loss index of the actual circuit components, the problem of long filter design cycle and low efficiency caused by the complex circuit component model of PDK is solved, and a more efficient filter design is achieved.
Patent Information
- Application Number
- CN202411908346.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2044-12-24
AI Technical Summary
The circuit component model provided by PDK is complex, resulting in high complexity in filter design value optimization, long design cycle and low design efficiency.
By obtaining the filter design indicators, an ideal filter circuit is generated, the actual circuit components are selected, and the design value of the ideal circuit components is corrected according to the quality factor and insertion loss index of the actual circuit components, and the filter is finally designed.
This reduces the computational complexity of the design values of each circuit component in the filter, shortens the filter design cycle, and improves the filter design efficiency.
Smart Images

Figure CN119358500B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of filter technology, and in particular to a filter design method, device, electronic equipment and storage medium. Background Art
[0002] Filters are mainly used to control the frequency response of microwave systems and are widely used in microwave systems. In the design of filters, the quality factor of the circuit elements provided by the PDK (Process Design Kit) is low. When the circuit elements provided by the PDK are used for design, the performance of the resulting filter is significantly different from the expected performance. Therefore, it is necessary to optimize the design values of the circuit elements provided by the PDK.
[0003] However, since the models of the circuit elements provided by the PDK are relatively complex, the optimization of the design values of the circuit elements provided by the PDK is relatively complex, which also results in a longer design cycle of the filter and lower filter design efficiency. Summary of the invention
[0004] The present invention provides a filter design method, device, electronic equipment and storage medium to shorten the filter design cycle and improve the filter design efficiency.
[0005] According to one aspect of the present invention, a filter design method is provided, the filter design method comprising:
[0006] Obtaining design indicators of the filter; wherein the design indicators include a passband frequency indicator and an insertion loss indicator;
[0007] Generate an ideal filter circuit according to the design index; wherein each circuit element in the ideal filter circuit is an ideal circuit element;
[0008] Selecting actual circuit elements according to the design values of the ideal circuit elements in the ideal filter circuit; wherein the nominal values of the actual circuit elements are the same as the design values of the ideal circuit elements;
[0009] Obtaining the quality factor of each of the actual circuit elements under the passband frequency index;
[0010] Correcting the design value of each of the ideal circuit elements according to the quality factor of each of the actual circuit elements and the insertion loss index to obtain the design value of each of the actual circuit elements;
[0011] A filter is designed based on the ideal filter circuit and the design values of each actual circuit element.
[0012] Optionally, the specific method of obtaining the quality factor of each of the actual circuit elements under the passband frequency index includes:
[0013] Obtaining the real impedance and imaginary impedance of each of the actual circuit elements under the passband frequency index;
[0014] The quality factor of each actual circuit element at the passband frequency index is calculated according to the real impedance and imaginary impedance of each actual circuit element at the passband frequency index.
[0015] Optionally, the specific method of correcting the design value of each of the ideal circuit elements according to the quality factor and the insertion loss index of each of the actual circuit elements to obtain the design value of each of the actual circuit elements includes:
[0016] Substituting the quality factor of each of the actual circuit elements into each of the ideal circuit elements of the ideal filter circuit to obtain a simulated filter circuit;
[0017] Obtaining a correction range of the design value of each of the ideal circuit elements; wherein the design value of the ideal circuit element is a median value of the correction range;
[0018] Substituting the values within the correction range of each of the ideal circuit elements into the analog filter circuit one by one to form a plurality of verification filter circuits;
[0019] Calculate the insertion loss of each verification filter circuit separately;
[0020] The design value of each ideal circuit element is corrected according to the insertion loss index and the insertion loss of each verification filter circuit to obtain the design value of each actual circuit element.
[0021] Optionally, the specific method of correcting the design value of each of the ideal circuit elements according to the insertion loss index and the insertion loss of each verification filter circuit to obtain the design value of each actual circuit element includes:
[0022] Calculating the loss difference between the insertion loss of each verification filter circuit and the insertion loss index;
[0023] The values of the ideal circuit elements in the verification filter circuit with the smallest loss difference are used as the design values of the actual circuit elements.
[0024] Optionally, the design index further includes an out-of-band suppression index; after designing the filter according to the ideal filter circuit and the design values of each actual circuit element, the method further includes:
[0025] Calculating the out-of-band rejection performance of the filter;
[0026] If the out-of-band suppression performance is greater than or equal to the out-of-band suppression index, the design is terminated;
[0027] If the out-of-band suppression performance is less than the out-of-band suppression index, the filter is optimized to obtain an optimized filter.
[0028] Optionally, the specific method of optimizing the filter circuit to obtain an optimized filter includes:
[0029] adding a resonant circuit in the filter;
[0030] The design value of each actual circuit element in the filter having the resonant circuit is modified according to the out-of-band suppression index and the insertion loss index to obtain the optimized filter.
[0031] Optionally, the resonant circuit is an LC resonant circuit; and the method for determining the design value of each resonant actual circuit element in the resonant circuit includes:
[0032] Determining the zero point frequency of the out-of-band zero point according to the out-of-band suppression performance of the filter and the out-of-band suppression index;
[0033] The design value of each resonant actual circuit element in the resonant circuit is calculated according to the zero-point frequency and resonant frequency calculation formula.
[0034] According to another aspect of the present invention, there is also provided a filter design device, the filter design device comprising:
[0035] A first acquisition module is used to acquire design indicators of the filter; wherein the design indicators include a passband frequency indicator and an insertion loss indicator;
[0036] A first design module is used to generate an ideal filter circuit according to the design index; wherein each circuit element in the ideal filter circuit is an ideal circuit element;
[0037] A device selection module, configured to select actual circuit elements according to the design values of the ideal circuit elements in the ideal filter circuit; wherein the nominal values of the actual circuit elements are the same as the design values of the ideal circuit elements;
[0038] A second acquisition module, used to acquire the quality factor of each of the actual circuit elements under the passband frequency index;
[0039] A correction module, used for correcting the design value of each of the ideal circuit elements according to the quality factor of each of the actual circuit elements and the insertion loss index, so as to obtain the design value of each of the actual circuit elements;
[0040] The second design module is used to design a filter according to the ideal filter circuit and the design values of each actual circuit element.
[0041] According to another aspect of the present invention, there is also provided an electronic device, the electronic device comprising:
[0042] at least one processor; and
[0043] a memory communicatively connected to the at least one processor; wherein,
[0044] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the filter design method described in any one of the above embodiments.
[0045] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the filter design method described in any of the above embodiments when executed.
[0046] The embodiment of the present invention generates an ideal filter circuit according to the design index, selects actual circuit elements according to the design values of each ideal circuit element in the ideal filter circuit, obtains the quality factor of each actual circuit element under the passband frequency index, and then corrects the design value of each ideal circuit element according to the quality factor and insertion loss index of each actual circuit element, thereby obtaining the design value of each actual circuit element, and implements the filter design according to the design of the ideal filter circuit and each actual circuit element. The embodiment of the present invention designs the circuit structure of the filter using the ideal circuit element, determines the actual circuit element according to the design value of the ideal circuit element, and determines the design value of the actual circuit element required for the filter according to the quality factor of the actual circuit element and the design index of the filter, which is conducive to reducing the complexity of calculating the design value of each circuit element in the filter, shortening the filter design cycle, and improving the filter design efficiency.
[0047] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0049] Figure 1 is a flow chart of a filter design method provided by an embodiment of the present invention;
[0050] Figure 2 is a schematic diagram of an ideal filter circuit provided by an embodiment of the present invention;
[0051] Figure 3 is a simulation curve diagram of an ideal filter circuit provided by an embodiment of the present invention;
[0052] Figure 4 is a flow chart of another filter design method provided by an embodiment of the present invention;
[0053] Figure 5 is a flow chart of another filter design method provided by an embodiment of the present invention;
[0054] Figure 6 is a simulation curve diagram of an analog filter circuit provided by an embodiment of the present invention;
[0055] Figure 7 is a flow chart of another filter design method provided by an embodiment of the present invention;
[0056] Figure 8 is a schematic diagram of a filter with a resonant circuit provided by an embodiment of the present invention;
[0057] Fig. 9 is a schematic diagram of a filter design device provided by an embodiment of the present invention;
[0058] Fig.10 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0059] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0060] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0061] The embodiment of the present invention provides a filter design method. The filter design method designs a filter circuit using an ideal circuit element, determines an actual circuit element according to the design value of the ideal circuit element, and determines the design value of the actual circuit element required by the filter according to the quality factor of the actual circuit element and the design index of the filter, which is conducive to reducing the complexity of calculating the design value of each circuit element in the filter, shortening the filter design cycle, and improving the filter design efficiency. Figure 1 is a flow chart of a filter design method provided by an embodiment of the present invention. Figure 1 , the filter design method includes:
[0062] S110, obtaining design indicators of the filter; wherein the design indicators include a passband frequency indicator and an insertion loss indicator.
[0063] Specifically, in the process of filter design, the design index of the filter is crucial, which lays the foundation for subsequent design work. Among them, the design index covers many important aspects, especially the passband frequency index and the insertion loss index. The passband frequency index determines the signal frequency range allowed by the filter, which plays a key role in ensuring that the required signal can pass through the filter smoothly. The insertion loss index reflects the degree of power loss suffered by the signal when passing through the filter, which directly affects the performance of the filter.
[0064] S120, generating an ideal filter circuit according to the design index; wherein each circuit element in the ideal filter circuit is an ideal circuit element.
[0065] Specifically, the design index of the filter serves as the core basis for the entire filter design. Among them, the ideal filter circuit has unique characteristics, and each circuit element inside it is an ideal circuit element. These ideal circuit elements have perfect performance in theory, and there are no problems such as loss, noise, and nonlinearity that may occur in any actual circuit. They can filter the input signal in the most accurate and efficient way, and selectively pass or block signals in a specific frequency range.
[0066] Figure 2 is a schematic diagram of an ideal filter circuit provided by an embodiment of the present invention. Take the passband frequency index as DC-1GHz and the insertion loss index as less than or equal to 1.5dB as an example. According to the above design index, an ideal filter circuit is generated. For example, referring to Figure 2 , the ideal filter circuit is a seventh-order Chebyshev low-pass filter circuit. It should be noted that the type of the ideal filter circuit can be designed according to actual needs, and this embodiment does not limit this. Among them, the seventh-order Chebyshev circuit structure is a symmetrical structure, and continues to refer to Figure 2 The seventh-order Chebyshev low-pass filter circuit has only 7 circuit elements. Due to its symmetrical structure, only the design values of 4 circuit elements need to be calculated. The design of the symmetrical structure reduces the amount of calculation of the design values of the circuit elements, reduces the complexity of the circuit and the difficulty of design, and is conducive to further improving the efficiency of filter design. Figure 3 is a simulation curve diagram of an ideal filter circuit provided by an embodiment of the present invention. The ideal filter circuit is simulated and tested, and the simulation results are referenced to Figure 3 , the amplitude of the ideal filter circuit at 1Ghz frequency is 0.01dB, and the insertion loss amplitude of 0-1GHz frequency is less than or equal to 0.01dB. Based on this, it can be seen that the passband frequency index of the ideal filter circuit is DC-1GHz, and the insertion loss index is less than 1.5dB. The ideal filter circuit meets the design index requirements.
[0067] S130, selecting actual circuit elements according to the design values of the ideal circuit elements in the ideal filter circuit; wherein the nominal values of the actual circuit elements are the same as the design values of the ideal circuit elements.
[0068] Specifically, the design value of each ideal circuit element in the ideal filter circuit can be calculated according to the circuit structure of the ideal filter and the design index of the filter, and each actual circuit element can be determined according to the design value of each ideal circuit element.
[0069] S140, obtaining the quality factor of each actual circuit element under the passband frequency index.
[0070] Specifically, due to the problems of loss, noise and nonlinearity in actual circuit elements, the performance of each actual circuit element is also different. Therefore, in the filter design, it is necessary to consider the impact of the performance of the actual circuit element itself on the filter performance. Among them, the quality factor of the actual circuit element characterizes the performance of the actual circuit element itself.
[0071] S150, modifying the design value of each ideal circuit element according to the quality factor and insertion loss index of each actual circuit element to obtain the design value of each actual circuit element.
[0072] Specifically, since the performance of actual circuit elements is poorer than that of ideal circuit elements, when the filter is designed using actual circuit elements according to the design values of ideal circuit elements, the performance of the filter will have certain deviations. The influence of circuit element performance on the filter is not considered when designing the ideal filter circuit. Therefore, when designing the filter, it is necessary to correct the design values of the ideal circuit elements according to the performance of the actual circuit elements so that the performance of the filter meets the requirements of the design indicators. Among them, the design value of the corrected ideal circuit element is the design value of the actual circuit element. When correcting the design value of the ideal circuit element, the quality factor can be substituted into the ideal filter circuit, and the value of the ideal circuit element can be gradually corrected according to the insertion loss index.
[0073] S160, designing a filter according to the ideal filter circuit and the design values of each actual circuit element.
[0074] Exemplarily, the ideal filter circuit has constructed the circuit structure of the filter, therefore, the actual circuit elements are reselected according to the design values and quality factors of each actual circuit element, and each ideal circuit element in the ideal filter circuit is replaced one by one with the reselected actual circuit elements.
[0075] The embodiment of the present invention generates an ideal filter circuit according to the design index, selects actual circuit elements according to the design values of each ideal circuit element in the ideal filter circuit, obtains the quality factor of each actual circuit element under the passband frequency index, and then corrects the design value of each ideal circuit element according to the quality factor and insertion loss index of each actual circuit element, thereby obtaining the design value of each actual circuit element, and implements the filter design according to the design of the ideal filter circuit and each actual circuit element. The embodiment of the present invention designs the circuit structure of the filter using the ideal circuit element, determines the actual circuit element according to the design value of the ideal circuit element, and determines the design value of the actual circuit element required for the filter according to the quality factor of the actual circuit element and the design index of the filter, which is conducive to reducing the complexity of calculating the design value of each circuit element in the filter, shortening the filter design cycle, and improving the filter design efficiency.
[0076] Figure 4 is a flow chart of another filter design method provided by an embodiment of the present invention. Based on the above embodiment, optionally, refer to Figure 4 , the specific method of obtaining the quality factor of each actual circuit element under the passband frequency index includes:
[0077] S141. Obtain the real impedance and imaginary impedance of each actual circuit element under the passband frequency index.
[0078] Specifically, the passband frequency index determines the signal frequency range that the filter allows to pass through, and plays a key role in ensuring that the required signal can pass through the filter smoothly. Real impedance reflects the actual resistance of the circuit element to the current, which determines the resistance part encountered by the current when passing through the element. The imaginary impedance is mainly related to the inductance or capacitance characteristics of the circuit element, which reflects the influence of the element on the phase change of the current. By obtaining the real impedance and imaginary impedance of each actual circuit element under the passband frequency index, the electrical characteristics of each element at a specific frequency can be deeply understood, providing an important basis for the design and optimization of the filter. For example, the real impedance and imaginary impedance of the actual circuit element can be obtained through simulation testing.
[0079] It should be noted that after obtaining the real impedance and imaginary impedance of the actual circuit element under the passband frequency index, the nominal value of the actual circuit element under the passband frequency index can also be calculated according to the imaginary impedance of the actual circuit element to ensure that the nominal value of the actual circuit element is the same as the design value of the ideal circuit element. For example, the nominal value of the inductive element can be calculated by the following formula:
[0080] ;
[0081] Where L is the nominal value of the inductive element; imag(Z(1,1)) is the imaginary impedance of the inductive element; and freq is the frequency.
[0082] The nominal value of the capacitive element can be calculated using the following formula:
[0083] ;
[0084] Where C is the nominal value of the capacitive element; imag(Y(1,1)) is the imaginary admittance of the capacitive element; and freq is the frequency.
[0085] S142. Calculate the quality factor of each actual circuit element under the passband frequency index according to the real impedance and imaginary impedance of each actual circuit element under the passband frequency index.
[0086] Specifically, the quality factor of each actual circuit element can be calculated by the following formula:
[0087] ;
[0088] Where Q is the quality factor; imag(Z(1,1)) is the imaginary impedance of the actual circuit element; and real(Z(1,1)) is the real impedance of the actual circuit element.
[0089] Figure 5 is a flowchart of another filter design method provided by an embodiment of the present invention. Based on the above embodiments, optionally, refer to Figure 5 The specific method of correcting the design value of each ideal circuit element according to the quality factor and insertion loss index of each actual circuit element to obtain the design value of each actual circuit element includes:
[0090] S151. Substitute the quality factor of each actual circuit element into each ideal circuit element of the ideal filter circuit to obtain a simulated filter circuit.
[0091] Specifically, the ideal filter circuit is a model constructed based on theory, which provides the circuit architecture of the filter for the design of the filter. However, in practical applications, there are certain differences between ideal circuit elements and actual circuit elements. By substituting the quality factor of each actual circuit element into each ideal circuit element of the ideal filter circuit, the ideal filter circuit can be made closer to the actual situation.
[0092] Figure 6 is a simulation curve diagram of an analog filter circuit provided by an embodiment of the present invention. The analog filter circuit is simulated and tested, and the simulation results are referenced to Figure 6 , the amplitude of the analog filter circuit at 1Ghz frequency is 3.08dB. Based on this, it can be seen that the insertion loss amplitude of the analog filter circuit is greater than 1.5dB, and the analog filter circuit does not meet the design index requirements.
[0093] S152, obtaining a correction range of the design value of each ideal circuit element; wherein the design value of the ideal circuit element is the median of the correction range.
[0094] Specifically, in practical applications, due to the influence of various factors, actual circuit elements often have certain deviations from ideal circuit elements. In order to cope with this deviation, it is necessary to correct the design value of the ideal circuit element. The design value of the ideal circuit element is set as the median value of the correction range, which means that during the correction process, the design value can be adjusted up and down within a certain range to better adapt to the actual situation. Such a setting can ensure that during the correction process, the design value will not deviate too much from the theoretical value, while being able to consider the influence of the deviation of the actual circuit element. Among them, the size of the correction range can be set according to the actual situation, and this embodiment does not limit this.
[0095] S153, substitute the values within the correction range of each ideal circuit element into the analog filter circuit one by one to form a plurality of verification filter circuits.
[0096] Specifically, by substituting different values within the correction range into the analog filter circuit one by one, multiple verification filter circuits can be formed. These verification filter circuits represent filters under different parameter combinations. Each verification filter circuit carries the performance characteristics brought by a specific parameter combination. Some may perform well in passband frequency characteristics, some may be superior in insertion loss control, and others may show unique advantages in other key performance indicators. By analyzing and evaluating these verification filter circuits, we can understand the impact of different parameter combinations on filter performance, thereby providing a basis for filter design.
[0097] S154, respectively calculating the insertion loss of each verification filter circuit.
[0098] Specifically, insertion loss, as one of the key indicators to measure filter performance, directly reflects the degree of power loss suffered by the signal when passing through the filter. For different verification filter circuits, due to differences in their parameter combinations, the calculation results of insertion loss will also be different. Some verification filter circuits may exhibit lower insertion loss within a specific frequency range, which means that it has less power loss to the signal within this frequency range and can effectively transmit the signal.
[0099] S155. Correct the design value of each ideal circuit element according to the insertion loss index and the insertion loss of each verification filter circuit to obtain the design value of each actual circuit element.
[0100] Specifically, the loss difference between the insertion loss and the insertion loss index of each verification filter circuit is calculated, the loss difference between the insertion loss and the insertion loss index of each verification filter circuit is compared, and the value of each ideal circuit element in the verification filter circuit with the smallest loss difference is used as the design value of each actual circuit element.
[0101] Figure 7 is a flowchart of another filter design method provided by an embodiment of the present invention. Based on the above embodiments, optionally, refer to Figure 7 , the design index also includes the out-of-band suppression index; after designing the filter according to the ideal filter circuit and the design values of each actual circuit element, it also includes:
[0102] S170. Calculate the out-of-band suppression performance of the filter.
[0103] Specifically, the out-of-band suppression performance is a key indicator for measuring the performance of the filter, which directly reflects the filter's ability to suppress unwanted frequency signals. For example, the out-of-band suppression performance of the filter can be obtained by simulation. Take the out-of-band suppression indicators of ≥20dB@1.9GHz and ≥40dB@2.2GHz as an example. Figure 8 is a simulation curve diagram of a filter provided by an embodiment of the present invention. Figure 8 , the amplitude of the filter at 1.9GHz is 20.071dB, and the amplitude of the filter at 2.2GHz is 26.86dB. It can be determined that the filter does not meet the out-of-band suppression index.
[0104] S180, determine whether the out-of-band suppression performance is greater than or equal to the out-of-band suppression index; if so, execute S181; if not, execute S182.
[0105] Specifically, when the out-of-band suppression performance is greater than the out-of-band suppression index, it means that the amplitude of the filter at 1.9GHz frequency is greater than or equal to 20dB, and the amplitude of the filter at 2.2GHz frequency is greater than or equal to 40dB. At this time, the filter meets the design indicators and the filter design is completed; when the out-of-band suppression performance is less than the out-of-band suppression index, it means that the amplitude of the filter at 1.9GHz frequency is less than 20dB and / or the amplitude of the filter at 2.2GHz frequency is less than 40dB. At this time, the out-of-band suppression performance of the filter does not meet the out-of-band suppression index, and the filter needs to be optimized to make the filter meet the design indicators.
[0106] S181. End the design.
[0107] S182. Optimize the filter to obtain an optimized filter.
[0108] Specifically, the circuit structure of the filter is optimized, and a resonant circuit is added to the filter to add an out-of-band zero point to the out-of-band suppression performance of the filter. The frequency of the out-of-band zero point is a frequency whose amplitude fails to meet the out-of-band suppression index. The out-of-band zero point can be determined by the out-of-band suppression performance and the out-of-band suppression index of the filter. Figure 8 is a schematic diagram of a filter with a resonant circuit provided by an embodiment of the present invention. Figure 8 , for example, the resonant circuit can be an LC resonant circuit. In practical applications, the capacitive elements in the filter can be reused, and only the inductive elements can be added to the filter. Such a design is conducive to reducing the number of components in the filter and reducing the circuit area required for the filter. The design value of each resonant actual circuit element in the resonant circuit can be calculated based on the zero point frequency and the resonant frequency calculation formula. The resonant frequency calculation formula is:
[0109] ;
[0110] Among them, f s is the zero frequency; L is the design value of the inductive element; C is the design value of the capacitive element.
[0111] After adding a resonant circuit to the filter, the insertion loss of the filter with the resonant circuit also changes accordingly. Therefore, it is necessary to correct the design values of each actual circuit element in the filter with the resonant circuit according to the out-of-band suppression index and the insertion loss index so that the filter with the resonant circuit can meet the requirements of the design index.
[0112] The embodiment of the present invention also provides a filter design device. Fig. 9 Schematic diagram of a filter design device provided by an embodiment of the present invention. Fig. 9 The filter design device 100 includes: a first acquisition module 110, a first design module 120, a device selection module 130, a second acquisition module 140, a correction module 150 and a second design module 160.
[0113] The first acquisition module 110 is used to obtain the design indicators of the filter; wherein the design indicators include a passband frequency indicator and an insertion loss indicator; the first design module 120 is used to generate an ideal filter circuit according to the design indicators; wherein each circuit element in the ideal filter circuit is an ideal circuit element; the device selection module 130 is used to select actual circuit elements according to the design values of each ideal circuit element in the ideal filter circuit; wherein the nominal value of the actual circuit element is the same as the design value of the ideal circuit element; the second acquisition module 140 is used to obtain the quality factor of each actual circuit element under the passband frequency indicator; the correction module 150 is used to correct the design value of each ideal circuit element according to the quality factor of each actual circuit element and the insertion loss indicator to obtain the design value of each actual circuit element; the second design module 160 is used to design a filter according to the ideal filter circuit and the design value of each actual circuit element.
[0114] Among them, the filter design device 100 provided in the embodiment of the present invention has the beneficial effects of the filter design method provided in any of the above embodiments, which will not be described in detail here.
[0115] Fig.10is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0116] like Fig.10 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.
[0117] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0118] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the filter design method.
[0119] In some embodiments, the filter design method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the filter design method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the filter design method in any other appropriate manner (e.g., by means of firmware).
[0120] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0121] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0122] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0123] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0124] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0125] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0126] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0127] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A filter design method, characterized in that: include: Obtaining design indicators of the filter; wherein the design indicators include a passband frequency indicator and an insertion loss indicator; Generate an ideal filter circuit according to the design index; wherein each circuit element in the ideal filter circuit is an ideal circuit element; Selecting actual circuit elements according to the design values of the ideal circuit elements in the ideal filter circuit; wherein the nominal values of the actual circuit elements are the same as the design values of the ideal circuit elements; Obtaining the quality factor of each of the actual circuit elements under the passband frequency index; Correcting the design value of each of the ideal circuit elements according to the quality factor of each of the actual circuit elements and the insertion loss index to obtain the design value of each of the actual circuit elements; Designing a filter based on the ideal filter circuit and the design values of each actual circuit element; The specific method of correcting the design value of each ideal circuit element according to the quality factor and the insertion loss index of each actual circuit element to obtain the design value of each actual circuit element includes: Substituting the quality factor of each of the actual circuit elements into each of the ideal circuit elements of the ideal filter circuit to obtain a simulated filter circuit; Obtaining a correction range of the design value of each of the ideal circuit elements; wherein the design value of the ideal circuit element is a median value of the correction range; Substituting the values within the correction range of each of the ideal circuit elements into the analog filter circuit one by one to form a plurality of verification filter circuits; Calculate the insertion loss of each verification filter circuit separately; The design value of each ideal circuit element is corrected according to the insertion loss index and the insertion loss of each verification filter circuit to obtain the design value of each actual circuit element.
2. The filter design method according to claim 1, characterized in that: The specific method of obtaining the quality factor of each of the actual circuit elements under the passband frequency index includes: Obtaining the real impedance and imaginary impedance of each of the actual circuit elements under the passband frequency index; The quality factor of each actual circuit element at the passband frequency index is calculated according to the real impedance and imaginary impedance of each actual circuit element at the passband frequency index.
3. The filter design method according to claim 1, characterized in that: The specific method of correcting the design value of each ideal circuit element according to the insertion loss index and the insertion loss of each verification filter circuit to obtain the design value of each actual circuit element includes: Calculating the loss difference between the insertion loss of each verification filter circuit and the insertion loss index; The values of the ideal circuit elements in the verification filter circuit with the smallest loss difference are used as the design values of the actual circuit elements.
4. The filter design method according to claim 1, characterized in that: The design index also includes an out-of-band suppression index; after designing the filter according to the ideal filter circuit and the design values of each actual circuit element, it also includes: Calculating the out-of-band rejection performance of the filter; If the out-of-band suppression performance is greater than or equal to the out-of-band suppression index, the design is terminated; If the out-of-band suppression performance is less than the out-of-band suppression index, the filter is optimized to obtain an optimized filter.
5. The filter design method according to claim 4, characterized in that: The specific method of optimizing the filter circuit to obtain an optimized filter includes: adding a resonant circuit in the filter; The design value of each actual circuit element in the filter having the resonant circuit is modified according to the out-of-band suppression index and the insertion loss index to obtain the optimized filter.
6. The filter design method according to claim 5, characterized in that: The resonant circuit is an LC resonant circuit; The method for determining the design value of each resonant actual circuit element in the resonant circuit includes: Determine the zero point frequency of the out-of-band zero point according to the out-of-band suppression performance of the filter and the out-of-band suppression index; The design value of each resonant actual circuit element in the resonant circuit is calculated according to the zero-point frequency and resonant frequency calculation formula.
7. A filter design device, characterized in that: include: A first acquisition module is used to acquire design indicators of the filter; wherein the design indicators include a passband frequency indicator and an insertion loss indicator; A first design module is used to generate an ideal filter circuit according to the design index; wherein each circuit element in the ideal filter circuit is an ideal circuit element; A device selection module, configured to select actual circuit elements according to the design values of the ideal circuit elements in the ideal filter circuit; wherein the nominal values of the actual circuit elements are the same as the design values of the ideal circuit elements; A second acquisition module, used to acquire the quality factor of each of the actual circuit elements under the passband frequency index; A correction module, used for correcting the design value of each of the ideal circuit elements according to the quality factor of each of the actual circuit elements and the insertion loss index to obtain the design value of each of the actual circuit elements; wherein, the specific method of correcting the design value of each of the ideal circuit elements according to the quality factor of each of the actual circuit elements and the insertion loss index to obtain the design value of each of the actual circuit elements includes: substituting the quality factor of each of the actual circuit elements into each of the ideal circuit elements of the ideal filter circuit to obtain an analog filter circuit; obtaining a correction range of the design value of each of the ideal circuit elements; wherein the design value of the ideal circuit element is the median of the correction range; substituting the values within the correction range of each of the ideal circuit elements into the analog filter circuit one by one to form a plurality of verification filter circuits; respectively calculating the insertion loss of each verification filter circuit; correcting the design value of each of the ideal circuit elements according to the insertion loss index and the insertion loss of each verification filter circuit to obtain the design value of each of the actual circuit elements; The second design module is used to design a filter according to the ideal filter circuit and the design values of each actual circuit element.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the filter design method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the filter design method according to any one of claims 1 to 6 when executed.
Citation Information
Patent Citations
Reconfigurable microwave quadruplexer
CN108808186A
Simulation multi-passband filter design method
CN115270680A