Inductor / magnetic bead SPICE equivalent model construction method and device

By testing the frequency characteristics of the inductor/magnetic bead and adjusting the parameters through the optimization algorithm, a SPICE equivalent model is constructed, which solves the problem of insufficient expression of the frequency characteristics of the inductor/magnetic bead in high-frequency circuit design and improves the accuracy of circuit design simulation. and development efficiency.

CN118690708APending Publication Date: 2024-09-24GUANGDONG FENGHUA ADVANCED TECHNOLOGY (HOLDING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410720499.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In a high-frequency circuit design environment, existing technology is difficult to accurately reflect the frequency characteristics of inductors/magnetic beads, resulting in insufficient circuit design simulation accuracy and prolonged development cycles.

Method used

By testing the frequency characteristics of the inductor/magnetic beads, selecting appropriate modeling units to build a SPICE equivalent model, and using an optimization approximation algorithm to adjust parameters within the preset frequency range to ensure that the relative impedance error meets the preset standard value, thereby obtaining Target SPICE equivalent model and netlist data.

Benefits of technology

It improves the accuracy of circuit design simulation, shortens the circuit development cycle, and ensures that the fitting effect of the model at each frequency point is smoother and more accurate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690708A
    Figure CN118690708A
Patent Text Reader

Abstract

The invention discloses an inductor / magnetic bead SPICE equivalent model construction method and device, and the method comprises the steps: carrying out the frequency characteristic test of an inductor / magnetic bead, and obtaining a test result; according to the test result, a plurality of modeling units are selected, an SPICE equivalent model is constructed, and each modeling unit comprises a resistor unit, a capacitor unit, an inductor unit, an RC trapezoidal unit, an RL trapezoidal unit and an RCL series unit; determining parameters of each modeling unit in the SPICE equivalent model in a preset optimization frequency range by adopting an optimization approximation algorithm; and determining an impedance relative error according to the test result and the parameters, and obtaining a target SPICE equivalent model and corresponding netlist data under the condition that the impedance relative error meets a preset standard value. Therefore, a suitable inductor / magnetic bead equivalent model can be selected in a current high-frequency circuit design environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic components, and in particular to a method and device for constructing an inductor / magnetic bead SPICE equivalent model. Background Art

[0002] In recent years, with the rapid development of 5G, new energy, cloud computing and other fields, the frequency of electronic circuit design has become higher and higher, and engineers in the fields of signal integrity, power integrity, and electromagnetic compatibility have also paid more attention to the high-frequency characteristics of devices. In this context, it is particularly important to have an equivalent circuit model that can accurately reflect the frequency characteristics of inductors / magnetic beads in EDA design software, which can not only shorten the circuit development cycle, but also reduce costs for enterprises.

[0003] Therefore, in the current high-frequency circuit design environment, it is crucial to select an appropriate inductor / magnetic bead equivalent model. Summary of the invention

[0004] The object of the present invention is to provide a method and device for constructing an inductor / magnetic bead SPICE equivalent model, so as to select a suitable inductor / magnetic bead equivalent model in the current high-frequency circuit design environment.

[0005] In order to achieve the above object, in a first aspect, the present invention provides a method for constructing an inductor / magnetic bead SPICE equivalent model, the method comprising: Perform frequency characteristic test on inductor / magnetic bead and obtain test results; According to the test results, several modeling units are selected to construct a SPICE equivalent model, wherein the modeling units include a resistance unit, a capacitance unit, an inductance unit, an RC ladder unit, an RL ladder unit, and an RCL series unit; Using an optimization approximation algorithm, within a preset optimization frequency range, the parameters of each of the modeling units in the SPICE equivalent model are determined; The impedance relative error is determined according to the test result and the parameter, and when the impedance relative error meets a preset standard value, a target SPICE equivalent model and corresponding netlist data are obtained.

[0006] In one embodiment, the SPICE equivalent model includes a parallel main resonant circuit, wherein the parallel main resonant circuit includes the resistance unit, the capacitance unit and the inductance unit connected in parallel; One end of the resistance unit, the capacitance unit and the inductance unit are all connected to the input end; The other ends of the resistance unit, the capacitance unit and the inductance unit are all connected to the output end.

[0007] In one embodiment, the SPICE equivalent model includes a series high-order resonant circuit, wherein the series high-order resonant circuit includes the resistance unit, the capacitance unit and the inductance unit connected in series; One end of the resistance unit is connected to the input end, and the other end of the resistance unit is connected to one end of the inductance unit; The other end of the inductor unit is connected to one end of the capacitor unit; The other end of the capacitor unit is connected to the output end.

[0008] In one embodiment, the RC ladder unit includes three resistor units and two capacitor units; One end of the first resistor unit is connected to the input end and one end of the first capacitor unit respectively, and the other end of the first resistor unit is connected to one end of the second resistor unit and the output end respectively; One end of the second resistor unit is connected to one end of the third resistor unit, and the other end of the second resistor unit is connected to the other end of the first capacitor unit and one end of the second capacitor unit respectively; The other end of the third resistor unit is connected to the other end of the second capacitor unit; One end of the first capacitor unit is connected to the input end, and the other end of the first capacitor unit is connected to one end of the second capacitor unit; The other end of the second capacitor unit is connected to the other end of the third resistor unit.

[0009] In one embodiment, the RL ladder unit includes two of the resistance units and three of the inductance units; One end of the first inductor unit is connected to the input end and one end of the first resistor unit respectively, and the other end of the first inductor unit is connected to one end of the second inductor unit and the output end respectively; One end of the second inductor unit is connected to one end of the third inductor unit, and the other end of the second inductor unit is connected to the other end of the first resistor unit and one end of the second resistor unit respectively; The other end of the third inductor unit is connected to the other end of the second resistor unit; One end of the first resistance unit is connected to the input end, and the other end of the first resistance unit is connected to one end of the second resistance unit; The other end of the second resistance unit is connected to the other end of the third inductance unit.

[0010] In one embodiment, the test result includes the resistance and inductance in the parallel main resonant circuit; the frequency characteristic test of the inductor / magnetic bead is performed to obtain the test result, including: Performing a frequency characteristic test on the inductor / magnetic bead to obtain an impedance frequency characteristic curve graph and an amplitude frequency characteristic curve graph; Selecting the minimum value of the real part of the impedance measured in the impedance frequency characteristic curve, and taking the reciprocal of the minimum value as the resistance value in the parallel main resonant circuit; The impedance on the low-frequency side of the impedance imaginary part measurement value in the impedance-frequency characteristic curve diagram or the impedance amplitude measurement value in the amplitude-frequency characteristic curve diagram is selected, and the inductance value in the parallel main resonant circuit is determined according to the impedance on the low-frequency side.

[0011] In one embodiment, the test results include a real impedance measurement value, an imaginary impedance measurement value, and an impedance amplitude measurement value; The parameters include a calculated value of the real part of impedance, a calculated value of the imaginary part of impedance and a calculated value of the impedance amplitude; The relative error includes a relative error of the real part of impedance, a relative error of the imaginary part of impedance and a relative error of impedance amplitude; The determining of the relative impedance error comprises: Among them, δ Re is the relative error of the real part of the impedance, Re{Ym} is the measured value of the real part of the impedance, and Re{Ys} is the calculated value of the real part of the impedance; Among them, δ Im is the relative error of the imaginary part of impedance, Im{Ym} is the measured value of the imaginary part of impedance, and Im{Ys} is the calculated value of the imaginary part of impedance; Among them, δ |Y| is the impedance amplitude relative error, |Y|{Ym} is the impedance amplitude measurement value, and |Y|{Ys} is the impedance amplitude calculation value.

[0012] In one embodiment, the method further comprises: If the impedance relative error does not meet the preset standard value, adjusting the optimization frequency range and adjusting the modeling unit until the impedance relative error meets the preset standard value; When the impedance relative error satisfies the preset standard value, an updated SPICE equivalent model is obtained as the target SPICE equivalent model and the corresponding netlist data.

[0013] In one embodiment, adjusting the modeling unit includes: The type of the modeling unit is adjusted and / or the order of the modeling unit is adjusted.

[0014] In a second aspect, an embodiment of the present invention provides a device for constructing an inductor / magnetic bead SPICE equivalent model, the device comprising: The test result module is used to test the frequency characteristics of the inductor / magnetic bead and obtain the test results; A model building module, used to select a number of modeling units according to the test results to build a SPICE equivalent model, wherein the modeling units include a resistance unit, a capacitance unit, an inductance unit, an RC ladder unit, an RL ladder unit and an RCL series unit; A parameter determination module, used to determine the parameters of each modeling unit in the SPICE equivalent model within a preset optimization frequency range by using an optimization approximation algorithm; The model output module is used to determine the impedance relative error according to the test result and the parameter, and obtain the target SPICE equivalent model and the corresponding netlist data when the impedance relative error meets the preset standard value.

[0015] Compared with the prior art, the method and device for constructing an inductor / magnetic bead SPICE equivalent model in the embodiment of the present invention have the following beneficial effects: The present invention firstly tests the frequency characteristics of the inductor / magnetic bead to obtain the test results; provides actual data of the behavioral characteristics at different frequencies, which is helpful for the analysis of the subsequent model; then, according to the test results, selects several modeling units to construct a SPICE equivalent model, wherein the modeling units include a resistance unit, a capacitance unit, an inductance unit, an RC trapezoidal unit, an RL trapezoidal unit and an RCL series unit; then, adopts an optimization approximation algorithm to determine the parameters of each modeling unit in the SPICE equivalent model within a preset optimization frequency range; the optimization algorithm adjusts the parameters within a preset frequency range so that the model can better fit the actual test data, and can ensure that the fitting effect of the model at each frequency point is smoother and more accurate. Finally, the impedance relative error is determined according to the test results and the parameters, and when the impedance relative error meets the preset standard value, the target SPICE equivalent model and the corresponding netlist data are obtained. Confirm whether the model can accurately predict the behavior of inductors / beads in the circuit to obtain the target SPICE equivalent model and corresponding netlist data, so as to select the appropriate inductor / bead equivalent model in the current high-frequency circuit design environment, improve the accuracy of circuit design simulation, and shorten the circuit development cycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings: Figure 1 A schematic diagram of a flow chart of a method for constructing an inductor / magnetic bead SPICE equivalent model provided by an embodiment of the present invention; Figure 2 A schematic diagram of the process of step S101 provided in an embodiment of the present invention; Figure 3 A schematic diagram of a SPICE equivalent model provided by an embodiment of the present invention; Figure 4 A schematic diagram of a parallel main resonant circuit provided by an embodiment of the present invention; Figure 5 A schematic diagram of a series high-order resonant circuit provided by an embodiment of the present invention; Figure 6 A schematic diagram of an RC ladder unit provided by an embodiment of the present invention; Figure 7 A schematic diagram of an RL ladder unit provided in an embodiment of the present invention; Figure 8 A schematic diagram of a process for obtaining a target SPICE equivalent model and corresponding netlist data provided by an embodiment of the present invention; Fig. 9 The real impedance and imaginary impedance characteristics test results of Example 1 before modeling; Fig.10 This is a frequency characteristic diagram of the SPICE equivalent model of Example 1 which is composed only of the parallel main resonant circuit; Fig.11 This is the frequency characteristic curve fitting diagram using 1005 specification 500Ω (100MHz) model magnetic beads as the modeling object; Fig.12 The impedance amplitude relative error calculation result of Example 1; Fig.13 The target SPICE equivalent circuit model diagram of Example 1; Fig.14 The netlist data of Example 1; Fig.15 The target SPICE equivalent circuit model diagram of Example 2; Fig.16 The netlist data of Example 2; Fig.17 This is the frequency characteristic curve fitting diagram using Fenghua Hi-Tech CBM100505U601T magnetic beads as the modeling object; Fig.18 The impedance amplitude relative error calculation result of Example 2; Fig.19 The target SPICE equivalent circuit model diagram of Example 3; Fig. 20 The netlist data of Example 3; Fig.21 This is a frequency characteristic curve fitting diagram with Fenghua Hi-Tech's VHF100505HQR36JT high-frequency multilayer inductor as the modeling object; Fig. 22 The impedance amplitude relative error calculation result of Example 3; Fig.23 A block diagram of a device for constructing an inductor / magnetic bead SPICE equivalent model provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0017] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0018] Obviously, the drawings described below are only some examples or embodiments of the present invention. For ordinary technicians in this field, the present invention can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed by the present invention, some changes in design, manufacturing or production based on the technical content disclosed by the present invention are just conventional technical means, and should not be understood as insufficient content disclosed by the present invention.

[0019] Reference to "embodiments" in the present invention means that the specific features, structures, or characteristics described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in the present invention may be combined with other embodiments without conflict.

[0020] Unless otherwise defined, the technical terms or scientific terms involved in the present invention shall be the ordinary meanings understood by people with ordinary skills in the technical field to which the present invention belongs. The words "one", "a", "a", "the" and the like involved in the present invention do not indicate a quantity limitation and may indicate the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in the present invention are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in the present invention are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in the present invention refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" may indicate: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects in the front and back relation are in an "or" relationship. The terms "first", "second", "third" and the like involved in the present invention are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0021] In a first aspect, an embodiment of the present invention provides a method for constructing an inductor / magnetic bead SPICE equivalent model. Figure 1 A flow chart of a method for constructing an inductor / magnetic bead SPICE equivalent model provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the method comprises the following steps: Step S101: Perform a frequency characteristic test on the inductor / magnetic bead to obtain a test result.

[0022] Specifically, the inductor or magnetic bead is connected to the test equipment and tested within a certain frequency range. The test equipment measures the admittance (i.e., the inverse of the complex impedance) of the inductor or magnetic bead at different frequencies to obtain its frequency characteristic curve, and determines the test results based on the frequency characteristic curve. The test results can be used to verify the accuracy of the SPICE equivalent model of the inductor or magnetic bead. Compared with the theoretical SPICE equivalent model, the measured data can reveal the differences between the behavior and characteristics of the actual components, which helps to improve the accuracy of the model and simulation tools.

[0023] Figure 2 A flow chart of step S101 provided in an embodiment of the present invention is shown in FIG. Figure 2 As shown, in Figure 1 Based on the process shown, the test results include the resistance and inductance values ​​in the parallel main resonant circuit; step S101 includes the following steps: Step S201: Perform a frequency characteristic test on the inductor / magnetic bead to obtain an impedance frequency characteristic curve and an amplitude frequency characteristic curve.

[0024] Step S202, selecting the minimum value of the real part of the impedance in the impedance frequency characteristic curve, and taking the reciprocal of the minimum value as the resistance value in the parallel main resonant circuit; Step S203, selecting the impedance on the low-frequency side of the impedance imaginary part measurement value in the impedance-frequency characteristic curve diagram or the impedance amplitude measurement value in the amplitude-frequency characteristic curve diagram, and determining the inductance value in the parallel main resonant circuit according to the impedance on the low-frequency side.

[0025] Specifically, the frequency characteristics of the inductor / magnetic bead are tested to obtain two graphs: an impedance frequency characteristic graph, which shows the impedance size at different frequencies; and an amplitude-frequency characteristic graph: which shows the impedance amplitude at different frequencies. Then the reciprocal of the minimum value of the real part of the impedance in the impedance frequency characteristic graph is selected as the resistance value in the equivalent parallel circuit, that is, the parallel main resonant circuit. The minimum value of the real impedance usually corresponds to the resonant frequency, and its reciprocal is the equivalent resistance value. Select the impedance on the low-frequency side of the imaginary part of the impedance in the impedance frequency characteristic graph or the imaginary part of the impedance in the amplitude-frequency characteristic graph, and determine the inductance value by XL=2πfL, where XL is the impedance, f is the frequency, and L is the inductance. Finally, the capacitance value is determined by the optimization program built into the software.

[0026] Continue to refer to Figure 1 , after step S101, step S102 is performed, as follows.

[0027] Step S102: According to the test results, select several modeling units to construct a SPICE equivalent model, wherein the modeling units include a resistance unit, a capacitance unit, an inductance unit, an RC ladder unit, an RL ladder unit and an RCL series unit.

[0028] Specifically, according to the obtained test results, appropriate modeling units are selected and connected in parallel to construct a SPICE equivalent model. The selection method here is based on manual experience to select and build, and simulation tests are performed based on the built model.

[0029] Figure 3 A schematic diagram of a SPICE equivalent model provided by an embodiment of the present invention, such as Figure 3 As shown, the SPICE equivalent model includes a modeling unit, wherein the modeling unit includes a resistance unit, a capacitance unit, an inductance unit, an RC ladder unit, an RL ladder unit, and an RCL series unit. The SPICE equivalent model includes a parallel main resonant circuit constructed by a resistance unit, a capacitance unit, and an inductance unit.

[0030] Specifically, the resistance unit in the parallel main resonant circuit is used as the equivalent parallel resistance EPR, the inductance unit is used as the body inductance, and the capacitance unit is used as the equivalent parallel capacitance. Then the required modeling units are manually selected and connected in parallel to obtain the SPICE equivalent model. Figure 3 The connection relationship of each unit in Figure 4-Figure 7 .

[0031] Figure 4 A schematic diagram of a parallel main resonant circuit provided by an embodiment of the present invention is shown in FIG. Figure 3 As shown, the parallel main resonant circuit includes a resistance unit R1, a capacitance unit C1 and an inductance unit L1 connected in parallel; One end of the resistance unit R1, the capacitance unit C1 and the inductance unit L1 are all connected to the input terminal P1; The other ends of the resistance unit R1 , the capacitance unit C1 and the inductance unit L1 are all connected to the output end of P2 .

[0032] Specifically, the constructed parallel main resonant circuit can more accurately simulate the behavior in the actual circuit, including the impedance change and frequency response curve near the resonant frequency.

[0033] Figure 5 A schematic diagram of a series high-order resonant circuit provided by an embodiment of the present invention, such as Figure 4 As shown, the series high-order resonant circuit includes a resistance unit R2, a capacitance unit C2 and an inductance unit L2 connected in series; One end of the resistor unit R2 is connected to the input terminal P1, and the other end of the resistor unit R2 is connected to one end of the inductor unit L2; the other end of the inductor unit L2 is connected to one end of the capacitor unit C2; The other end of the capacitor unit C2 is connected to the output end P2.

[0034] Specifically, when the frequency of the inductor / magnetic bead is at the parallel resonant frequency (main vibration point) of the parallel resonant circuit, its admittance (or the inverse of the impedance) reaches the minimum value, and the inductor / magnetic bead exhibits the maximum resonance effect. In the range below the parallel resonant frequency, the inductor / magnetic bead mainly exhibits inductive characteristics, and in the range above this frequency, it exhibits capacitive characteristics. On the low-frequency side, the admittance of the inductor / magnetic bead decreases with increasing frequency, and on the high-frequency side, the admittance of the inductor / magnetic bead increases with increasing frequency. This is due to the fact that the impedance of the inductive component is higher at low frequencies, while the impedance of the capacitive component is lower at high frequencies.

[0035] However, resonance may occur at high frequencies. This may be due to the resonance effect of the inductor / magnetic bead at a higher frequency, forming additional resonance points. These additional resonance points are called higher-order resonance points. In order to simulate the higher-order resonance phenomenon, a series higher-order resonance circuit consisting of a resistance unit R2, a capacitance unit C2, and an inductance unit L2 is introduced. These series higher-order resonance circuits correspond to different higher-order resonance points in the inductor / magnetic bead. By adjusting the values ​​of these modeling units, the frequency and intensity of each higher-order resonance point can be controlled, so that the entire SPICE equivalent model can be accurately simulated and analyzed over a wider frequency range.

[0036] Figure 6 A schematic diagram of an RC ladder unit provided in an embodiment of the present invention is shown in FIG. Figure 5 As shown, the RC ladder unit includes three resistor units (R5, R6, R7) and two capacitor units (C3, C4); One end of the first resistor unit R5 is connected to the input terminal P1 and one end of the first capacitor unit C3 respectively, and the other end of the first resistor unit R5 is connected to one end of the second resistor unit R6 and the output terminal P2 respectively; One end of the second resistor unit R6 is connected to one end of the third resistor unit R7, and the other end of the second resistor unit R6 is connected to the other end of the first capacitor unit C3 and one end of the second capacitor unit C4 respectively; The other end of the third resistor unit R7 is connected to the other end of the second capacitor unit C4; One end of the first capacitor unit C3 is connected to the input terminal P1, and the other end of the first capacitor unit C3 is connected to one end of the second capacitor unit C4; The other end of the second capacitor unit C4 is connected to the other end of the third resistor unit R7.

[0037] Figure 7 A schematic diagram of a RL ladder unit provided in an embodiment of the present invention, such as Figure 6 As shown, the RL ladder unit includes two resistance units (R3, R4) and three inductance units (L3, L4, L5); One end of the first inductor unit L3 is connected to the input end P1 and one end of the first resistor unit R3 respectively, and the other end of the first inductor unit L3 is connected to one end of the second inductor unit L4 and the output end P2 respectively; One end of the second inductor unit L4 is connected to one end of the third inductor unit L5, and the other end of the second inductor unit L4 is connected to the other end of the first resistor unit R3 and one end of the second resistor unit R4 respectively; The other end of the third inductor unit L5 is connected to the other end of the second resistor unit R4; One end of the first resistance unit R3 is connected to the input terminal P1, and the other end of the first resistance unit R3 is connected to one end of the second resistance unit R4; The other end of the second resistance unit R4 is connected to the other end of the third inductance unit L5.

[0038] It should be noted that different types of inductors / magnetic beads have different characteristics of real admittance changing with frequency. The real admittance of some inductors / magnetic beads changes less with frequency, while some change more. In order to better simulate the real admittance characteristics of different types of inductors / magnetic beads, the order of RL ladder unit and RC ladder unit can be adjusted according to the situation. The order indicates the complexity of the ladder unit. Generally speaking, the higher the order, the higher the simulation accuracy.

[0039] Specifically, for inductors / beads whose real admittance varies little with frequency, 1st or 3rd order RC ladder units can be used. This simple model can effectively simulate situations where the admittance does not change much. For inductors / beads whose real admittance varies greatly with frequency, it is recommended to use ladder units of 5th order and above. This can more accurately simulate complex admittance changes. If high-precision modeling of the real admittance of the inductor / bead is required, consider adding multiple RL ladder units and RC ladder units for real part correction. This can further improve the accuracy of the model to meet specific modeling requirements.

[0040] Step S103: using an optimization approximation algorithm to determine the parameters of each modeling unit in the SPICE equivalent model within a preset optimization frequency range.

[0041] Specifically, the optimal value is obtained by iteratively adjusting the model parameters within a preset optimization frequency range, so that the model fits the actual measurement data or simulation results as closely as possible within a given range. Preferably, the optimization approximation algorithm includes but is not limited to a simulated annealing optimization algorithm, a random optimization algorithm, and a gradient optimization algorithm.

[0042] Step S104: determine the impedance relative error according to the test results and parameters, and obtain the target SPICE equivalent model and corresponding netlist data when the impedance relative error meets the preset standard value.

[0043] Specifically, the parameters obtained by comparing the actual test results and the SPICE simulation results are calculated, and the calculated impedance relative error is compared with the preset standard value. If the impedance relative error is within the preset standard range, the matching degree between the corresponding target SPICE equivalent model and the actual inductor / bead is acceptable. Therefore, once the impedance relative error meets the preset standard value, the target SPICE equivalent model and the corresponding netlist data can be output for use in circuit simulation, thereby improving the accuracy of circuit design simulation.

[0044] In one embodiment, the test results include a measured value of the real part of the impedance, a measured value of the imaginary part of the impedance, and a measured value of the impedance amplitude; the parameters include a calculated value of the real part of the impedance, a calculated value of the imaginary part of the impedance, and a calculated value of the impedance amplitude; The relative error includes the relative error of the real part of impedance, the relative error of the imaginary part of impedance and the relative error of impedance amplitude; Determine the relative impedance error, including: Among them, δ Re is the relative error of the real part of impedance, Re{Ym} is the measured value of the real part of impedance, and Re{Ys} is the calculated value of the real part of impedance; Among them, δ Im is the relative error of the imaginary part of impedance, Im{Ym} is the measured value of the imaginary part of impedance, and Im{Ys} is the calculated value of the imaginary part of impedance; Among them, δ |Y| is the relative error of impedance amplitude, |Y|{Ym} is the measured value of impedance amplitude, and |Y|{Ys} is the calculated value of impedance amplitude.

[0045] By calculating these relative errors, the matching degree between the SPICE equivalent model and the actual test results can be evaluated. If the relative errors (relative error of the real part of impedance, relative error of the imaginary part of impedance, and relative error of impedance amplitude) are all within an acceptable range, it can be considered that the model fitting effect is good.

[0046] Figure 8 A schematic diagram of a process for obtaining a target SPICE equivalent model and corresponding netlist data provided by an embodiment of the present invention, such as Figure 7 As shown, in Figure 1 Based on the process shown, the method further includes the following steps: Step S301: If the relative impedance error does not meet the preset standard value, the optimized frequency range and the modeling unit are adjusted until the relative impedance error meets the preset standard value.

[0047] In one embodiment, adjusting the modeling unit includes: The type of modeling unit is adjusted and / or the order of the modeling unit is adjusted.

[0048] Specifically, if the relative impedance error does not meet the preset standard value, the optimization frequency range and the type of modeling unit and / or the order of the modeling unit are adjusted, such as adding or deleting RC ladder units, RL ladder units and / or RCL series units, and then the SPICE equivalent model is re-established based on the new modeling unit. Under the adjusted optimization frequency range, the optimization approximation algorithm is continued to be used to determine the parameters of each modeling unit in the SPICE equivalent model so that the relative impedance error meets the preset standard value.

[0049] Step S302: When the impedance relative error meets the preset standard value, an updated SPICE equivalent model is obtained as a target SPICE equivalent model and corresponding netlist data.

[0050] Specifically, the parameters of the updated SPICE equivalent model adjusted by the optimization algorithm can be regarded as the best parameter configuration, thereby improving the accuracy of circuit design simulation.

[0051] The specific implementation of the present invention is described below in conjunction with specific embodiments.

[0052] Example 1 Step S1001, select 1005 specification 500Ω (100MHz) magnetic beads as the modeling object, and test its frequency characteristics to obtain Fig. 9 The test results of the real impedance and imaginary impedance are shown in Figure 2. Fig. 9 (a) is the impedance frequency characteristic curve. Fig. 9 (b) in the figure is the amplitude-frequency characteristic curve.

[0053] In this embodiment, select Fig. 9 (a) The reciprocal of the minimum value of the real part is taken as the resistance of the equivalent parallel resistor, denoted as R1; Fig. 9 The inductance of the bulk capacitor is determined by the low-frequency measurement of the imaginary part (a) or the low-frequency measurement of the impedance in (b), denoted as L1, and the value of the equivalent parallel capacitor C1 is determined according to the optimization procedure.

[0054] Finally, we get R1=1.169*10 3 Ω、C1=1.080*10 -13 F, L1=7.644*10 -7 H.

[0055] Step S1002: Use 1005 specification 500Ω (100MHz) magnetic beads as modeling objects. Fig.10This is a frequency characteristic diagram of the SPICE equivalent model composed only of a parallel main resonant circuit. As can be seen from the figure, for applications in medium and high frequency scenarios, the SPICE equivalent model of a single parallel main resonant circuit may not be sufficient to meet the simulation requirements, so this embodiment introduces RL trapezoidal units and RC trapezoidal units to better fit the real part of the admittance as it changes with frequency. RL trapezoidal units and RC trapezoidal units are used to approximate the change of the real part of the admittance with frequency. In addition, there are two series higher-order resonances near 4.6 GHz and 8.0 GHz, so two RLC series units are selected to approximate these two resonances.

[0056] Step S1003: using an optimization approximation algorithm to determine the parameters of each modeling unit in the SPICE equivalent model within a preset optimization frequency range.

[0057] Step S1004: determine the impedance relative error according to the test results and parameters, and obtain the target SPICE equivalent model and corresponding netlist data when the impedance relative error meets the preset standard value.

[0058] The test results include the real impedance measurement value, the imaginary impedance measurement value and the impedance amplitude measurement value; The parameters include the calculated value of the real part of impedance, the calculated value of the imaginary part of impedance and the calculated value of the impedance amplitude; The relative error includes the relative error of the real part of impedance, the relative error of the imaginary part of impedance and the relative error of impedance amplitude; Determine the relative impedance error, including: Among them, δ Re is the relative error of the real part of impedance, Re{Ym} is the measured value of the real part of impedance, and Re{Ys} is the calculated value of the real part of impedance; Among them, δ Im is the relative error of the imaginary part of impedance, Im{Ym} is the measured value of the imaginary part of impedance, and Im{Ys} is the calculated value of the imaginary part of impedance; Among them, δ |Y| is the relative error of impedance amplitude, |Y|{Ym} is the measured value of impedance amplitude, and |Y|{Ys} is the calculated value of impedance amplitude.

[0059] If the relative impedance error does not meet the preset standard value, the optimized frequency range and the modeling unit are adjusted until the relative impedance error meets the preset standard value; When the impedance relative error meets the preset standard value, an updated SPICE equivalent model is obtained as a target SPICE equivalent model and corresponding netlist data.

[0060] See also Fig.11 This is the frequency characteristic curve fitting diagram of the 1005 specification 500Ω (100MHz) model ferrite bead as the modeling object. It can be seen from the figure that the final model test results are relatively consistent with the measured data.

[0061] See also Fig.12 The calculation result of the relative error of impedance amplitude is shown in the figure, which takes the 1005 specification 500Ω (100MHz) magnetic bead as the modeling object. As can be seen from the figure, the relative error of impedance is basically controlled within 10% within the test frequency range, and the model is relatively ideal.

[0062] Finally, the modeling unit selection is completed and the following is obtained: Fig.13 The target SPICE equivalent circuit model shown and Fig.14 The netlist data shown.

[0063] Example 2 Taking Fenghua Hi-Tech CBM100505U601T magnetic beads as the modeling object, the target SPICE equivalent circuit model obtained by the same method as in Example 1 is shown in Fig.15 and netlist data see Fig.16 This embodiment adopts a target SPICE equivalent circuit model composed of a parallel main resonant circuit, two RCL series units, and an RC ladder unit in parallel.

[0064] See also Fig.17 This is the frequency characteristic curve fitting diagram of Fenghua Hi-Tech CBM100505U601T magnetic beads as the modeling object. Fig.18 The figure shows the impedance amplitude relative error calculation result of Fenghua Hi-Tech CBM100505U601T magnetic beads as the modeling object. As can be seen from the figure, within the application frequency range, except for the extremely low frequency and extremely high frequency, the impedance relative error of the admittance is basically controlled within 10%, proving that the model has good accuracy.

[0065] Example 3 Taking Fenghua Hi-Tech VHF100505HQR36JT high-frequency multilayer inductor as the modeling object, the target SPICE equivalent circuit model obtained by the same method as in Example 1 is shown in Fig.19 and netlist data see Fig. 20 . This embodiment adopts a target SPICE equivalent circuit model composed of a parallel main resonant circuit, seven RCL series units, and one RL ladder unit in parallel. Compared with Embodiment 1 and Embodiment 2, this embodiment divides the real frequency region into smaller parts, and each unit network is responsible for fitting a smaller frequency range, so it can more accurately reflect the change of the real part of the inductor admittance with frequency.

[0066] See also Fig.21This is the frequency characteristic curve fitting diagram of Fenghua Hi-Tech VHF100505HQR36JT high-frequency multilayer inductor as the modeling object. Fig. 22 The figure shows the relative error calculation result of the impedance amplitude using the VHF100505HQR36JT high-frequency laminated inductor as the modeling object. As can be seen from the figure, it has a good fitting effect.

[0067] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0068] In a second aspect, an embodiment of the present invention provides a device for constructing a SPICE equivalent model of an inductor / magnetic bead, which is used to implement the above embodiments and preferred implementation modes, and those that have been explained will not be repeated.

[0069] Fig.23 A block diagram of a device for constructing an inductor / magnetic bead SPICE equivalent model provided by an embodiment of the present invention, such as Fig.23 As shown, the device comprises: The test result module 401 is used to perform a frequency characteristic test on the inductor / magnetic bead to obtain a test result; A model building module 402 is used to select a number of modeling units according to the test results to build a SPICE equivalent model, wherein the modeling units include a resistance unit, a capacitance unit, an inductance unit, an RC ladder unit, an RL ladder unit and an RCL series unit; A parameter determination module 403 is used to determine the parameters of each modeling unit in the SPICE equivalent model within a preset optimization frequency range by using an optimization approximation algorithm; The model output module 404 is used to determine the impedance relative error according to the test results and the parameters, and obtain the target SPICE equivalent model and the corresponding netlist data when the impedance relative error meets the preset standard value.

[0070] Those skilled in the art should understand that the technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0071] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention. These improvements and substitutions should also be regarded as the scope of protection of the present invention.

Claims

1. A method for constructing an inductor / magnetic bead SPICE equivalent model, characterized in that: The method comprises: Perform frequency characteristic test on inductor / magnetic bead and obtain test results; According to the test results, several modeling units are selected to construct a SPICE equivalent model, wherein the modeling units include a resistance unit, a capacitance unit, an inductance unit, an RC ladder unit, an RL ladder unit, and an RCL series unit; Using an optimization approximation algorithm, within a preset optimization frequency range, the parameters of each of the modeling units in the SPICE equivalent model are determined; The impedance relative error is determined according to the test result and the parameter, and when the impedance relative error meets a preset standard value, a target SPICE equivalent model and corresponding netlist data are obtained.

2. The method according to claim 1, characterized in that The SPICE equivalent model includes a parallel main resonant circuit, wherein the parallel main resonant circuit includes the resistance unit, the capacitance unit and the inductance unit connected in parallel; one end of the resistance unit, the capacitance unit and the inductance unit are all connected to the input end; The other ends of the resistance unit, the capacitance unit and the inductance unit are all connected to the output end.

3. The method according to claim 1, characterized in that The SPICE equivalent model includes a series high-order resonant circuit, wherein the series high-order resonant circuit includes the resistance unit, the capacitance unit and the inductance unit connected in series; one end of the resistance unit is connected to the input end, and the other end of the resistance unit is connected to one end of the inductance unit; The other end of the inductor unit is connected to one end of the capacitor unit; The other end of the capacitor unit is connected to the output end.

4. The method according to claim 1, characterized in that: The RC ladder unit includes three resistor units and two capacitor units; One end of the first resistor unit is connected to the input end and one end of the first capacitor unit respectively, and the other end of the first resistor unit is connected to one end of the second resistor unit and the output end respectively; One end of the second resistor unit is connected to one end of the third resistor unit, and the other end of the second resistor unit is connected to the other end of the first capacitor unit and one end of the second capacitor unit respectively; The other end of the third resistor unit is connected to the other end of the second capacitor unit; One end of the first capacitor unit is connected to the input end, and the other end of the first capacitor unit is connected to one end of the second capacitor unit; The other end of the second capacitor unit is connected to the other end of the third resistor unit.

5. The method according to claim 1, characterized in that The RL ladder unit includes two resistance units and three inductance units; One end of the first inductor unit is connected to the input end and one end of the first resistor unit respectively, and the other end of the first inductor unit is connected to one end of the second inductor unit and the output end respectively; One end of the second inductor unit is connected to one end of the third inductor unit, and the other end of the second inductor unit is connected to the other end of the first resistor unit and one end of the second resistor unit respectively; The other end of the third inductor unit is connected to the other end of the second resistor unit; One end of the first resistance unit is connected to the input end, and the other end of the first resistance unit is connected to one end of the second resistance unit; The other end of the second resistance unit is connected to the other end of the third inductance unit.

6. The method according to claim 2, characterized in that The test result includes the resistance and inductance in the parallel main resonant circuit; the frequency characteristic test of the inductor / magnetic bead is performed to obtain the test result, including: Performing a frequency characteristic test on the inductor / magnetic bead to obtain an impedance frequency characteristic curve graph and an amplitude frequency characteristic curve graph; Selecting the minimum value of the real part of the impedance measured in the impedance frequency characteristic curve, and taking the reciprocal of the minimum value as the resistance value in the parallel main resonant circuit; The impedance on the low-frequency side of the impedance imaginary part measurement value in the impedance-frequency characteristic curve diagram or the impedance amplitude measurement value in the amplitude-frequency characteristic curve diagram is selected, and the inductance value in the parallel main resonant circuit is determined according to the impedance on the low-frequency side.

7. The method according to claim 1, characterized in that The test results include a real impedance measurement value, an imaginary impedance measurement value, and an impedance amplitude measurement value; The parameters include a calculated value of the real part of impedance, a calculated value of the imaginary part of impedance and a calculated value of the impedance amplitude; The relative error includes a relative error of the real part of impedance, a relative error of the imaginary part of impedance and a relative error of impedance amplitude; The determining of the relative impedance error comprises: Among them, δ Re is the relative error of the real part of the impedance, Re{Ym} is the measured value of the real part of the impedance, and Re{Ys} is the calculated value of the real part of the impedance; Among them, δ Im is the relative error of the imaginary part of impedance, Im{Ym} is the measured value of the imaginary part of impedance, and Im{Ys} is the calculated value of the imaginary part of impedance; Among them, δ |Y| is the impedance amplitude relative error, |Y|{Ym} is the impedance amplitude measurement value, and |Y|{Ys} is the impedance amplitude calculation value.

8. The method according to claim 1, characterized in that: The method further comprises: If the impedance relative error does not meet the preset standard value, adjusting the optimization frequency range and adjusting the modeling unit until the impedance relative error meets the preset standard value; When the impedance relative error satisfies the preset standard value, an updated SPICE equivalent model is obtained as the target SPICE equivalent model and the corresponding netlist data.

9. The method according to claim 8, characterized in that The adjusting the modeling unit comprises: The type of the modeling unit is adjusted and / or the order of the modeling unit is adjusted.

10. A device for constructing an inductor / magnetic bead SPICE equivalent model, characterized in that: The device comprises: The test result module is used to test the frequency characteristics of the inductor / magnetic bead and obtain the test results; A model building module, used to select a number of modeling units according to the test results to build a SPICE equivalent model, wherein the modeling units include a resistance unit, a capacitance unit, an inductance unit, an RC ladder unit, an RL ladder unit and an RCL series unit; A parameter determination module, used to determine the parameters of each modeling unit in the SPICE equivalent model within a preset optimization frequency range by using an optimization approximation algorithm; The model output module is used to determine the impedance relative error according to the test result and the parameter, and obtain the target SPICE equivalent model and the corresponding netlist data when the impedance relative error meets the preset standard value.