A method and apparatus for constructing a device simulation model

By setting preset constraints and impedance measurement sequence, the number of nodes, the number and types of model devices, and their topological relationships in the simulation model are determined, which solves the problem of limited fitting accuracy of RLC model and realizes accurate simulation model construction and resource optimization for unknown structural devices.

CN113901752BActive Publication Date: 2025-12-23BEIJING JINGWEI HIRAIN TECH CO INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111201483.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-15
Publication Date
2025-12-23
Estimated Expiration
2041-10-15

AI Technical Summary

Technical Problem

In existing technologies, when constructing simulation models of devices with unknown structures, the fitting effect of RLC models is limited by the artificially specified topology, resulting in low fitting accuracy.

Method used

By setting preset constraints and impedance measurement sequence, the number of nodes, the number and types of model devices, and the topological relationships between different types of model devices are determined, thus constructing a simulation model that better fits the device to be built and avoiding the limitations of fixed topology.

Benefits of technology

It has enabled the accurate establishment of simulation models for unknown structural devices, improved fitting accuracy, and reduced resource consumption to some extent.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113901752B_ABST
    Figure CN113901752B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a device simulation model construction method and device, the method comprises the following steps: obtaining an impedance measurement value sequence of a device to be constructed; using a preset limit condition and the impedance measurement value sequence to determine the node number, model device number and its type, and the topological relationship between the model devices of each type for constructing the simulation model corresponding to the device to be constructed, so as to construct the simulation model corresponding to the device to be constructed, wherein the preset limit condition comprises the limit condition between the node number and the model device number in the constructed simulation model, so as to accurately establish the simulation model of the device with unknown structure.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronic simulation, in particular to a method and device for constructing a simulation model of a device. BACKGROUND

[0002] The accuracy of the electronic simulation result of the system-level conductive object depends on the accuracy of the simulation model of each component in the system-level conductive object. For system-level circuit simulation with high precision requirements, the accuracy of the simulation model of each component is crucial.

[0003] At present, the simulation model of each component in the conductive object is generally an RLC (Resistance-Inductance-Capacitance) model. This type of model has the advantages of simple operation and high simulation efficiency. Even if there is no actual capacitor and / or inductor device in the system-level circuit, the parasitic parameter effect will make the system-level circuit exhibit capacitive / inductive characteristics. Therefore, although the RLC model is simple, as long as the modeling is proper, it can describe any system-level conductive object with reactance, such as a linear electrical system, and thus is an efficient model for reproducing the impulse response, cascade, and transfer function of the system-level conductive object.

[0004] In the process of constructing the RLC model of the components of the system-level conductive object, for some target devices for which no ready-made RLC model is provided, it is necessary to measure the complex impedance of the target device and construct an RLC model therefor. The specific process is generally as follows: first, the impedance analyzer is used to measure the target device to obtain its impedance characteristics within a certain frequency range, i.e., a set of impedance measurement values; under a preset RLC network topology, the values of R, L, and C are optimized to obtain an RLC model, so that the impedance curve of the RLC model is close to the impedance measurement values.

[0005] It can be seen that in the above process, an RLC network topology needs to be preset according to experience before fitting, and only the values of the parameters in the RLC network topology are optimized in the fitting. For a device with a known detailed structure, the empirical guess of the equivalent network structure can be relatively accurate. However, for a completely "black box" device, i.e., a device whose internal structure is completely unknown, it is unreasonable to preset an RLC network topology, which will also limit the upper limit of the accuracy of the final RLC model established by fitting. SUMMARY

[0006] The present application provides a method and device for constructing a simulation model of a device to accurately establish a simulation model of a device with an unknown structure. The specific technical solutions are as follows:

[0007] In a first aspect, the present application provides a method for constructing a simulation model of a device, which comprises:

[0008] obtaining a sequence of impedance measurement values of a device to be constructed;

[0009] determining, by using a preset restriction condition and the sequence of impedance measurement values, a number of nodes, a number of model devices and types of the model devices, and a topological relationship between model devices of different types, for constructing a simulation model corresponding to the device to be constructed, to construct the simulation model corresponding to the device to be constructed, wherein the preset restriction condition comprises a restriction condition between the number of nodes and the number of model devices in the constructed simulation model.

[0010] Optionally, the sequence of impedance measurement values comprises a sequence of amplitude measurement values and a sequence of phase measurement values.

[0011] Optionally, the preset restriction condition comprises: wherein p represents the number of intermediate nodes, q represents the number of model devices, and N represents the number of types of model devices.

[0012] Optionally, the step of determining, by using a preset restriction condition and the sequence of impedance measurement values, a number of nodes, a number of model devices and types of the model devices, and a topological relationship between model devices of different types, for constructing a simulation model corresponding to the device to be constructed, to construct the simulation model corresponding to the device to be constructed, comprises:

[0013] determining a current candidate network based on a preset restriction condition, a principle of preferentially constructing a network with a small number of model devices, and a preset type of model devices, wherein the current candidate network comprises a current number of nodes, a current number of model devices, and a topological relationship between model devices, and the types of the current number of model devices belong to the preset type of model devices;

[0014] determining a target model corresponding to the current candidate network based on current parameter values of model devices of different types in the current candidate network, the current candidate network, the sequence of impedance measurement values, and a target optimization function.

[0015] if the target model reaches a preset convergence condition, determining that the target model is the simulation model corresponding to the device to be constructed.

[0016] Optionally, the method further comprises:

[0017] if the target model does not reach the preset convergence condition, determining whether the number of times of adjusting the parameter values corresponding to the current candidate network exceeds a preset number of times of adjustment.

[0018] If the number of times of adjusting the parameter values corresponding to the current candidate network does not exceed the preset number of times of adjustment, the parameter values of the target model devices of each type are adjusted, and the step of determining the target model corresponding to the current candidate network based on the current parameter values of the target model devices of each type, the current candidate network, the sequence of impedance measurement values, and the target optimization function is returned.

[0019] Optionally, the method further comprises:

[0020] If the number of times of adjusting the parameter values corresponding to the current candidate network exceeds the preset number of times of adjustment, it is determined whether the number of times of updating the initial parameter values of the model devices of each type in the current candidate network exceeds a preset number of times of updating.

[0021] If it is determined that the number of times of updating the initial parameter values of the model devices of each type in the current candidate network does not exceed the preset number of times of updating, the initial parameter values of the model devices of each type in the current candidate network are updated as the current parameter values of the model devices of each type in the current candidate network, and the step of determining the target model corresponding to the current candidate network based on the current parameter values of the target model devices of each type, the current candidate network, the sequence of impedance measurement values, and the target optimization function is returned.

[0022] If it is determined that the number of times of updating the initial parameter values of the model devices of each type in the current candidate network exceeds the preset number of times of updating, the step of determining the current candidate network based on the preset limitation condition, the principle of preferentially constructing a network with a small number of model devices, and the preset model device type is returned.

[0023] Optionally, the target model reaching a preset convergence condition comprises: a current iteration number corresponding to the target model does not exceed a preset iteration number; and a function value of the target optimization function determined based on the parameter values of the target model devices of each type in the target model and the sequence of impedance measurement values is less than a preset precision threshold.

[0024] Optionally, the step of determining the current candidate network based on the preset limitation condition, the principle of preferentially constructing a network with a small number of model devices, and the preset model device type comprises:

[0025] determining a current number of nodes and a current number of model devices based on the preset limitation condition and the principle of preferentially constructing a network with a small number of model devices;

[0026] determining a current network topology based on the current number of nodes and the current number of model devices;

[0027] transforming the types of the current number of model devices in the current network topology based on the preset model device type to obtain an intermediate network topology.

[0028] determine whether there is a same type of model device directly in parallel and / or a same type of model device alone in series between each two nodes in the intermediate network topology;

[0029] if it is determined that there is no same type of model device directly in parallel and / or a same type of model device alone in series between each two nodes in the intermediate network topology, determine the intermediate network topology as a current network topology to be selected; and determine whether the type transformation of the current model device quantity of model devices in the current network topology has been completed;

[0030] if it is determined that the type transformation of the current model device quantity of model devices in the current network topology has been completed, determine whether the network topology determined based on the current node quantity and the current model device quantity has been completed;

[0031] if it is determined that the network topology determined based on the current node quantity and the current model device quantity has not been completed, return to the step of determining the current network topology based on the current node quantity and the current model device quantity;

[0032] if it is determined that the network topology determined based on the current node quantity and the current model device quantity has been completed, return to the step of determining the current node quantity and the current model device quantity based on the preset limit condition and the principle of preferentially constructing a network with a smaller model device quantity;

[0033] if it is determined that the type transformation of the current model device quantity of model devices in the current network topology has not been completed, return to the step of transforming the type of the current model device quantity of model devices in the current network topology based on the preset model device type to obtain an intermediate network topology;

[0034] if it is determined that there is a same type of model device directly in parallel and / or a same type of model device alone in series between each two nodes in the intermediate network topology, return to the step of determining whether the type transformation of the current model device quantity of model devices in the current network topology has been completed.

[0035] In a second aspect, an embodiment of the present application provides a device simulation model construction device, and the device comprises:

[0036] an obtaining module configured to obtain a sequence of impedance measurement values of a device to be constructed;

[0037] The determining module is configured to determine, by using the preset restriction condition and the sequence of impedance measurement values, a number of nodes, a number of model devices and types of the model devices, and a topological relationship between the model devices of different types for constructing a simulation model corresponding to the device to be constructed, so as to construct the simulation model corresponding to the device to be constructed, wherein the preset restriction condition comprises a restriction condition between the number of nodes and the number of model devices in the constructed simulation model.

[0038] Optionally, the sequence of impedance measurement values comprises a sequence of amplitude measurement values and a sequence of phase measurement values.

[0039] Optionally, the preset restriction condition comprises: wherein p represents the number of intermediate nodes, q represents the number of model devices, and N represents the number of types of model devices.

[0040] Optionally, the determining module comprises:

[0041] The first determining unit is configured to determine a current candidate network based on the preset restriction condition, a principle of preferentially constructing a network with a small number of model devices, and a preset type of model device, wherein the current candidate network comprises a current number of nodes, a current number of model devices, and a topological relationship between the model devices, and the types of the current number of model devices belong to the preset type of model device.

[0042] The second determining unit is configured to determine a target model corresponding to the current candidate network based on current parameter values of model devices of different types in the current candidate network, the current candidate network, the sequence of impedance measurement values, and a target optimization function.

[0043] The third determining unit is configured to determine that the target model is the simulation model corresponding to the device to be constructed if the target model reaches a preset convergence condition.

[0044] Optionally, the device further comprises:

[0045] The first determining unit is configured to determine a current candidate network based on the preset restriction condition, a principle of preferentially constructing a network with a small number of model devices, and a preset type of model device, wherein the current candidate network comprises a current number of nodes, a current number of model devices, and a topological relationship between the model devices, and the types of the current number of model devices belong to the preset type of model device.

[0046] The first adjusting unit is configured to adjust the parameter values of the model devices of different types and trigger the second determining unit if the number of times of adjusting the parameter values corresponding to the current candidate network does not exceed the preset number of times of adjustment.

[0047] Optionally, the device further comprises:

[0048] A second determining unit is configured to determine whether the number of times of updating the initial values of the parameters of the model devices of each type in the current candidate network exceeds a preset updating number if the number of times of adjusting the parameter values corresponding to the current candidate network exceeds the preset adjusting number.

[0049] An updating unit is configured to update the initial values of the parameters of the model devices of each type in the current candidate network as the current values of the parameters of the model devices of each type in the current candidate network and trigger the second determining unit if the number of times of updating the initial values of the parameters of the model devices of each type in the current candidate network does not exceed the preset updating number, and trigger the first determining unit if the number of times of updating the initial values of the parameters of the model devices of each type in the current candidate network exceeds the preset updating number.

[0050] Optionally, the target model reaching the preset convergence condition comprises that the current iteration number corresponding to the target model does not exceed a preset iteration number, and a function value of the target optimization function determined based on the parameter values of the model devices of each type in the target model and the impedance measurement value sequence is less than a preset precision threshold.

[0051] Optionally, the first determining unit is specifically configured to:

[0052] determine the current node number and the current model device number based on a preset limitation condition and a principle of preferentially constructing a network with a small number of model devices;

[0053] determine a current network topology based on the current node number and the current model device number;

[0054] transform the types of the model devices of the current model device number in the current network topology based on the preset model device types to obtain an intermediate network topology;

[0055] determine whether there is a case of direct parallel connection of model devices of the same type and / or separate series connection of model devices of the same type between each two nodes in the intermediate network topology;

[0056] if it is determined that there is no case of direct parallel connection of model devices of the same type and / or separate series connection of model devices of the same type between each two nodes in the intermediate network topology, determine the intermediate network topology as a current candidate network, and determine whether the transformation of the types of the model devices of the current model device number in the current network topology has been completed;

[0057] if it is determined that the transformation of the types of the model devices of the current model device number in the current network topology has been completed, determine whether the network topology determined based on the current node number and the current model device number has been completed;

[0058] if it is judged that the network topology determined based on the current node quantity and the current model device quantity has not been traversed completely, returning to determining the current node quantity and the current model device quantity based on the current node quantity, the current model device quantity, and the principle of constructing a network based on a preset limitation condition and a model device quantity less;

[0059] if it is judged that the network topology determined based on the current node quantity and the current model device quantity has been traversed completely, returning to determining the current node quantity and the current model device quantity based on the principle of constructing a network based on a preset limitation condition and a model device quantity less;

[0060] if it is judged that the type transformation of the current model device quantity of model devices in the current network topology has not been traversed completely, returning to transforming the type of the current model device quantity of model devices in the current network topology based on the preset model device type to obtain an intermediate network topology;

[0061] if it is judged that there is a same-type model device directly in parallel and / or a same-type model device alone in series between every two nodes in the intermediate network topology, returning to judging whether the type transformation of the current model device quantity of model devices in the current network topology has been traversed completely.

[0062] It can be known from the above that the device simulation model construction method and device provided by the embodiment of the application obtain an impedance measurement value sequence of a device to be constructed; determine a node quantity, a model device quantity and types of the model devices, and a topology relationship between the model devices of each type for constructing a simulation model corresponding to the device to be constructed by using a preset limitation condition and the impedance measurement value sequence of the device to be constructed, so as to construct the simulation model corresponding to the device to be constructed, wherein the preset limitation condition comprises a limitation condition between the node quantity and the model device quantity in the constructed simulation model.

[0063] By applying the embodiment of the application, the node quantity and the model device quantity in the constructed simulation model can be limited based on the preset limitation condition, and then the node quantity, the model device quantity and the types of the model devices for constructing the simulation model corresponding to the device to be constructed, and the topology relationship between the model devices of each type are determined together based on the impedance measurement value sequence of the device to be constructed, so as to obtain a simulation model of a structure and corresponding parameters of the model devices which are more fitted to the device to be constructed, and the simulation model of the device of the unknown structure is accurately established. In the model construction process, the model to be constructed is not limited to a fixed topology structure, so that the irrationality of the artificial designation of the RLC topology in the traditional method is avoided, the network topology of the model is no longer limited, and the fitting precision is no longer limited. Of course, any product or method implemented by the application does not necessarily need to achieve all the advantages described above.

[0064] The innovation points of the embodiment of the application include:

[0065] 1. Based on preset constraints, the number of nodes and model devices in the constructed simulation model can be limited. Then, combined with the impedance measurement sequence of the device to be constructed, the number of nodes, the number and types of model devices, and the topological relationships between different types of model devices are jointly determined to obtain a simulation model whose structure and corresponding model device parameters better match the device to be constructed, thus achieving accurate establishment of simulation models for devices with unknown structures. The model construction process does not restrict the model to a fixed topology, thereby avoiding the irrationality of artificially specifying the RLC topology in traditional methods. The network topology of the model is no longer restricted, and the fitting accuracy is no longer limited.

[0066] 2. Taking into account the factor that each pair of nodes in the topology network must contain at least one model device, and the consideration of topology networks without redundant model devices, i.e., the number of series and parallel model devices between any two nodes does not exceed the number of types of simulation model devices, preset constraints are set to ensure that a simulation model that fits the device to be constructed is obtained while reducing the resource consumption of simulation model construction to a certain extent.

[0067] 3. Based on preset constraints and the principle of prioritizing the construction of networks with fewer model devices, priority is given to constructing network topologies with fewer traversed nodes and fewer model devices. This optimizes the parameter values ​​of the model devices and sets preset convergence conditions. This reduces the resource consumption of simulation model construction to a certain extent while obtaining a simulation model that better matches the device to be constructed. Attached Figure Description

[0068] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.

[0069] Figure 1 A schematic flowchart illustrating a method for constructing a simulation model of a device provided in an embodiment of the present invention;

[0070] Figure 2 Provided by the embodiments of the present invention Figure 1 A schematic diagram of a specific implementation of S102;

[0071] Figure 3 Provided by the embodiments of the present invention Figure 2 A schematic diagram of a specific implementation of S201;

[0072] Figure 4 A structural schematic diagram of a construction device of a simulation model of a device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0073] The technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative effort belong to the scope of protection of the present application.

[0074] It should be noted that the terms "comprising" and "having" and any variations thereof in the embodiments of the present application and the drawings are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but can optionally further include steps or units not listed, or can optionally further include other steps or units inherent to the process, method, product or device.

[0075] The present application provides a construction method and device of a simulation model of a device, to realize accurate establishment of a simulation model of a device with unknown structure. The embodiments of the present application will be described in detail below.

[0076] Figure 1 A flowchart of a construction method of a simulation model of a device provided by an embodiment of the present application. The method can include the following steps:

[0077] S101: Obtain a sequence of impedance measurement values of a device to be constructed.

[0078] The method provided by the embodiments of the present application can be applied to any electronic device with computing capability, which can be a terminal or a server. In one implementation, the functional software implementing the method can exist in the form of a separate client software, or can exist in the form of a plug-in of the current related client software, which is all acceptable.

[0079] The electronic device obtains the change of the complex impedance of the device to be constructed in a certain frequency range by using a measuring instrument. It can be that the measuring instrument is used to measure the impedance values corresponding to n frequency points in a preset frequency range of the device to be constructed, as impedance measurement values, to obtain a sequence of impedance measurement values corresponding to the n frequency points. The measuring instrument can be an impedance analyzer, and the n is a positive integer, which can be set based on requirements.

[0080] In one case, the device to be constructed can be a device with unknown structure for which a corresponding simulation model is to be constructed.

[0081] In an implementation, the impedance measurement values can include amplitude measurement values and phase measurement values, and correspondingly, the sequence of impedance measurement values can include a sequence of amplitude measurement values and a sequence of phase measurement values.

[0082] S102: Determine, by using the preset restriction condition and the sequence of impedance measurement values, the number of nodes, the number and types of model devices, and the topological relationship between model devices of different types, for constructing a simulation model corresponding to the device to be constructed, to construct the simulation model corresponding to the device to be constructed.

[0083] The preset restriction condition includes a restriction condition between the number of nodes and the number of model devices in the constructed simulation model. The preset restriction condition is used to limit the number of nodes and the number of model devices in the constructed model in the process of constructing the simulation model corresponding to the device to be constructed, to construct a reasonable simulation model.

[0084] In one case, the types of model devices required for constructing the device to be constructed include, but are not limited to, resistors, capacitors, and inductors.

[0085] In an implementation, assuming that the constructed simulation model includes p intermediate nodes and q model devices, since at least one model device is included between each two nodes, a restriction condition p+1≤q can be set; and considering that for a simulation model without redundant model devices, the number of parallel model devices between any two adjacent nodes does not exceed the number of types of model devices, for example, the number of types of model devices is 3. The number of parallel model devices between any two adjacent nodes does not exceed 3. That is, a restriction condition The above simulation model without redundant model devices refers to the absence of direct parallel connection and / or separate series connection of model devices of the same type.

[0086] The direct parallel connection can refer to the direct parallel connection of model devices of the same type to form redundancy, for example, a parallel circuit includes only two parallel resistive model devices, which is considered as direct parallel connection; if a parallel circuit includes a resistive model device and an inductive model device in series connection, and is in parallel connection with another resistive model device, it is not considered as direct parallel connection. The separate series connection can refer to the separate series connection of model devices of the same type, for example, two resistive model devices are directly and separately connected in series, which is considered as separate series connection; if a resistive model device is in parallel connection with an inductive model device, and is in series connection with another resistive model device, it is not considered as separate series connection.

[0087] Correspondingly, in an implementation, the preset restriction condition includes: Wherein, p represents the number of intermediate nodes, q represents the number of model devices, and N represents the number of types of model devices. The intermediate node can refer to a node of the simulation model without two external nodes, and the external node is a node connected to an external model or object of the simulation model.

[0088] In this step, the electronic device can determine the number of nodes, the number of model devices, and the types of each model device used to construct the simulation model corresponding to the to-be-constructed device based on the preset restriction condition, and then construct the topology network based on the determined number of nodes, the number of model devices, and the types of each model device. The parameter values of each model device in each topology network are determined by optimizing the impedance measurement value sequence, so as to determine the simulation model that is more suitable for the to-be-constructed model from the topology network in which the parameter values of each model device are optimized.

[0089] By applying the embodiment of the present application, the number of nodes and the number of model devices in the constructed simulation model can be limited based on the preset restriction condition, and then the number of nodes, the number of model devices, and the types of each model device used to construct the simulation model corresponding to the to-be-constructed device, and the topology relationship between model devices of each type are determined together based on the impedance measurement value sequence of the to-be-constructed device, so as to obtain the simulation model that is more suitable for the structure, the corresponding model device parameters, and the to-be-constructed device, and to realize the accurate establishment of the simulation model of the unknown structure device.

[0090] Moreover, the output model is not limited to a fixed topology structure in the embodiment of the present application, so that the irrationality of artificially specifying the RLC topology in the traditional method is avoided, the network topology of the model is no longer limited, and the fitting accuracy is no longer limited. In theory, as long as the network of the model is allowed to be complex enough and the number of devices is allowed to be large enough, the output model can describe very complex impedance characteristics, so as to obtain the simulation model that is more suitable for the to-be-constructed device.

[0091] In another embodiment of the present application, as shown in Figure 2 S102 can include the following steps S201-S203:

[0092] S201: determining a current candidate network based on the preset restriction condition, the principle of preferentially constructing a network with a small number of model devices, and the preset model device type.

[0093] The current candidate network includes a current number of nodes, a current number of model devices, and a topology relationship between the model devices, and the types of the current number of model devices belong to the preset model device type.

[0094] S202: determining a target model corresponding to the current candidate network based on the current parameter values of each type of model device in the current candidate network, the current candidate network, the impedance measurement value sequence, and the target optimization function.

[0095] S203: If the target model reaches the preset convergence condition, the target model is determined as the simulation model corresponding to the device to be constructed.

[0096] In order to obtain a simulation model that is more suitable for the device to be constructed, that is, to determine a simulation model that contains a proper number and type of model devices, so that the simulation model is more suitable for the device to be constructed, and at the same time, reduces the computational complexity of the process of constructing the simulation model, in the implementation mode, the principle of preferentially constructing a network with a small number of model devices is set in advance, based on the preset limit condition and the principle of preferentially constructing a network with a small number of model devices, the value of the number of intermediate nodes, that is, p, is determined from low to high, and the value of the number of model devices, that is, q, is determined from p+1 to The number of model devices and the value of q are determined from low to high, that is, the current number of nodes and the current number of model devices are determined.

[0097] Based on the current number of nodes and the current number of model devices, an effective topology network is constructed, and based on the preset model device type, the type of the model device in the effective topology network is determined, and the current candidate network is determined. In one case, the current candidate network is a network without redundant devices, that is, there is no directly parallel same type device between each two adjacent nodes, and / or there is no single series same type model device.

[0098] The initial value of the parameter of each model device in the current candidate network is randomly initialized, that is, the current parameter value, and based on the current parameter value of each type of model device in the current candidate network, the current candidate network, the impedance measurement value sequence, and the target optimization function, the target model corresponding to the current candidate network is determined.

[0099] It can be understood that after the current parameter value of each model device in the current candidate network is determined, the impedance value of the target model corresponding to the current candidate network can be directly calculated, and based on the current candidate network and the parameter value of each model device in the current candidate network, the impedance calculation value sequence corresponding to the current candidate network is determined, that is, the amplitude calculation value sequence and the phase calculation value sequence. Wherein, after each model device in the current candidate network determines its parameter value, it is called the target model corresponding to the current candidate network. Each type of model device contained in the current candidate network can be called a target model device.

[0100] Further, the function value of the target optimization function is calculated by using the target optimization function, the sequence of impedance measurement values, i.e., the sequence of amplitude measurement values and the sequence of phase measurement values, and the sequence of impedance calculation values, i.e., the sequence of amplitude calculation values and the sequence of phase calculation values. Based on the function value of the target optimization function, it is determined whether the target model reaches the preset convergence condition. If it is determined that the target model reaches the preset convergence condition, it is determined that the target model is more suitable for the to-be-constructed device, i.e., the number of model devices, the number of nodes, the type of model devices and the topological relationship between the model devices in the target model are more optimal, and the target model is determined as the simulation model corresponding to the to-be-constructed device.

[0101] In one case, the target optimization function can be represented by the following formula (1):

[0102]

[0103] wherein J represents the function value of the target optimization function, Z m (i) represents the i-th amplitude measurement value in the sequence of amplitude measurement values, Z c (i) represents the i-th amplitude calculation value in the sequence of amplitude calculation values, φ m (i) represents the i-th phase measurement value in the sequence of phase measurement values, φ c (i) represents the i-th phase calculation value in the sequence of phase calculation values, and n represents the number of frequency points. In one case, the preset weight parameter α can be set as α = 1 / π. The i-th amplitude measurement value, the i-th amplitude calculation value, the i-th phase measurement value and the i-th phase calculation value correspond to the i-th frequency point in the n frequency points.

[0104] The target optimization function simultaneously contains the amplitude and the phase, and can simultaneously fit the amplitude and the phase of the complex impedance of the simulation model corresponding to the to-be-constructed device. In the process of specifically setting the target optimization function, considering that the amplitude has no upper limit, if the weight corresponding to the amplitude part in the target optimization function is equal to the weight corresponding to the phase part, the problem that the target model obtained by the final optimization will be more focused on optimizing the deviation at the place with large amplitude and the relative deviation at the place with small amplitude will occur. To solve the above problem, the deviation term of the amplitude in the target optimization function is normalized to the measurement value of the amplitude, i.e., the first term in the denominator in (1), so as to realize the relative balance of the fitting weights. Considering that the phase φ is distributed in the interval [-π / 2, π / 2], the weight normalization processing is not needed in the target optimization function. m (i)] 2 .

[0105] In one case, in order to obtain a simulation model more suitable for the to-be-constructed device, the preset weight parameter α can be adjusted in the construction process, so as to realize the fine adjustment of the relative weights of the amplitude and the phase.

[0106] In another embodiment of the present application, the target model reaching the preset convergence condition comprises: the current iteration number corresponding to the target model not exceeding a preset iteration number; and the function value of the target optimization function determined based on the parameter values of the target model and the sequence of impedance measurement values being less than a preset precision threshold.

[0107] In one case, the preset precision threshold can be set according to an empirical value. It can also be set according to the number of frequency points, for example: the preset precision threshold β = n / 100, which is acceptable.

[0108] In another embodiment of the present application, as shown in Figure 2 The method can further include steps S204-S205:

[0109] S204: If the target model does not reach the preset convergence condition, it is determined whether the parameter value adjustment number corresponding to the current candidate network exceeds a preset adjustment number;

[0110] S205: If the parameter value adjustment number corresponding to the current candidate network does not exceed the preset adjustment number, the parameter values of the target model devices of each type are adjusted, and the process returns to S202.

[0111] In the present implementation, if it is determined that the target model does not reach the preset convergence condition, it is determined whether the parameter value adjustment number corresponding to the current candidate network exceeds the preset adjustment number. If the parameter value adjustment number corresponding to the current candidate network does not exceed the preset adjustment number, the parameter values of the target model devices are adjusted, and the process returns to determining the target model corresponding to the current candidate network based on the current parameter values of the target model devices of each type in the current candidate network, the current candidate network, the sequence of impedance measurement values, and the target optimization function, until a target model reaching the preset convergence condition is determined, and a simulation model corresponding to the device to be constructed is determined.

[0112] It can be understood that after the parameter value adjustment number of the target model devices in the current candidate network exceeds a certain number, the target model corresponding to the current candidate network does not reach the preset convergence condition. To some extent, it can be considered that the target model corresponding to the current candidate network is a model that does not fit the device to be constructed well, i.e., the initial parameter values of the target model devices corresponding to the target model are not set appropriately, or the number of target model devices contained in the target model, the types of model devices, and / or the topological relationship between them are not appropriate. Accordingly, the preset adjustment number is set to limit the adjustment number of the parameter values of the target model devices in the current candidate network, so as to avoid waste of computing resources to some extent and ensure the smooth progress of the simulation model construction process. The preset adjustment number is an empirical value. In one case, the preset adjustment number can be set to 1000 times.

[0113] In another embodiment of the present application, as shown in Figure 2 The method can further include steps S206-S207 as follows:

[0114] S206: If the number of times of adjusting the parameter values corresponding to the current candidate network exceeds the preset number of times of adjustment, it is determined whether the number of times of updating the initial values of the parameters of the model devices of each type in the current candidate network exceeds the preset number of times of update.

[0115] S207: If it is determined that the number of times of updating the initial values of the parameters of the model devices of each type in the current candidate network does not exceed the preset number of times of update, the initial values of the parameters of the model devices of each type in the current candidate network are updated as the current parameter values of the model devices of each type in the current candidate network, and the step S202 is returned; if it is determined that the number of times of updating the initial values of the parameters of the model devices of each type in the current candidate network exceeds the preset number of times of update, the step S201 is returned.

[0116] In the process of iterative optimization, i.e., adjusting the parameters of the optimization target model device, it is considered to avoid the problem that due to improper setting of the initial values of the parameters of the model device, the iterative optimization process is trapped in a local optimal value, thereby affecting convergence.

[0117] Accordingly, in the present implementation, the preset number of times of update is set. If the number of times of adjusting the parameter values corresponding to the current candidate network exceeds the preset number of times of adjustment, it is determined whether the number of times of updating the initial values of the parameters of the model devices of each type in the current candidate network exceeds the preset number of times of update, i.e., whether the number of times of resetting the initial values of the parameters of the model devices of each type in the current candidate network exceeds a certain number of times. If it is determined that the number of times of updating the initial values of the parameters of the model devices of each type in the current candidate network does not exceed the preset number of times of update, the initial values of the parameters of the model devices of each type in the current candidate network are updated, i.e., the initial values of the parameters of the model devices of each type in the current candidate network are reset to obtain the current parameter values of the model devices of each type in the current candidate network. The current parameter values of the model devices of each type in the current candidate network, the current candidate network, the sequence of impedance measurement values, and the target optimization function are used again to iteratively optimize the parameter values of the current candidate network to determine the target model corresponding to the current candidate network. If the target model reaches the preset convergence condition, the target model corresponding to the current candidate network is determined as the simulation model corresponding to the to-be-constructed device.

[0118] If it is determined that the number of times of updating the initial values of the parameters of the model devices of each type in the current candidate network exceeds the preset number of times of update, i.e., the preset number of times of update ends, the target model corresponding to the current candidate network still does not reach the preset convergence condition. The topology network is switched, i.e., the step of determining the current candidate network based on the preset limitation condition, the principle of preferentially constructing the network with a small number of model devices, and the preset model device type is returned.

[0119] The re-determination of the current candidate network can be changing the types of the target model devices in the current candidate network, or re-determining the current node quantity and / or the current model device data, and re-building a new current candidate network.

[0120] In an implementation, the convergence speed in the iterative optimization process and the accuracy of the simulation model corresponding to the to-be-built device that is built can be adjusted by adjusting the preset precision threshold and / or the preset weight parameter in the target optimization function.

[0121] The preset update number is a value set based on actual requirements. In one case, the preset update number can be set to 5.

[0122] In another embodiment of the present application, the S201 can include the following steps 011-021:

[0123] 011: determining the current node quantity and the current model device quantity based on preset limitation conditions and the principle of preferentially building a network with a small quantity of model devices.

[0124] 012: determining the current network topology based on the current node quantity and the current model device quantity.

[0125] 013: transforming the types of the current model devices in the current network topology based on preset model device types to obtain an intermediate network topology.

[0126] 014: judging whether there is a case of direct parallel connection of the same type of model device and / or single series connection of the same type of model device between each two nodes in the intermediate network topology.

[0127] 015: if it is judged that there is no case of direct parallel connection of the same type of model device and / or single series connection of the same type of model device between each two nodes in the intermediate network topology, determining the intermediate network topology as the current candidate network.

[0128] 016: judging whether the transformation of the types of the current model devices in the current network topology has been completed.

[0129] 017: if it is judged that the transformation of the types of the current model devices in the current network topology has been completed, judging whether the network topology determined based on the current node quantity and the current model device quantity has been completed.

[0130] 018: if it is judged that the network topology determined based on the current node quantity and the current model device quantity has not been completed, returning to the 012.

[0131] 019: if it is determined that the network topology determined based on the current node number and the current model device number has been traversed, return the 011;

[0132] 020: if it is determined that the type transformation of the current model device number of model devices in the current network topology has not been traversed, return the 013;

[0133] 021: if it is determined that there is a same type model device directly in parallel and / or a same type model device alone in series between each two nodes in the intermediate network topology, return the 016.

[0134] In the implementation mode, in the process of determining the current candidate network, the electronic device can combine the preset limit condition and the principle of preferentially constructing a network with a small number of model devices, from low to high in the number of model devices required for constructing a simulation model, that is, from low to high in the number of nodes included in the constructed simulation model, to sequentially determine the current node number and the current model device number for constructing a simulation model corresponding to the current node number and the current model device number. Based on the current node number and the current model device number, the current network topology is determined, which includes the current node number of nodes and the current model device number of model devices. As shown in Figure 3 The number of intermediate nodes is initialized, that is, p = -1 is initialized, and then p = p + 1 and q = p are jumped to. Then, q = q + 1 is jumped to, to determine the current node number and the current model device number, wherein the current node number is the number of intermediate nodes plus 2. Based on the current node number and the current model device number, the current network topology is determined, as shown in Figure 3 "Update network topology according to p and q values" in

[0135] Based on the preset model device type, the type of the current model device number of model devices in the current network topology is transformed to obtain an intermediate network topology, that is, "transform RLC type" in Figure 3 "Transform RLC type" in Figure 3 "Transform RLC type" in

[0136] It then determines whether the type transformations of the current number of model devices within the current network topology have been traversed completely. Specifically, it checks whether the type transformations of the current number of model devices within the current network topology have covered all transformation methods. If the type transformations of the current number of model devices within the current network topology have been traversed completely, then... Figure 3 The statement "If device type traversal has been completed" indicates that the network topology determined based on the current number of nodes and the current number of model devices has not been traversed. If not, the network topology is switched based on the current number of nodes and the current number of model devices. This involves returning to the step of determining the current network topology based on the current number of nodes and the current number of model devices, re-determining the new current network topology, and proceeding with subsequent steps. If the network topology determined based on the current number of nodes and the current number of model devices has been traversed, then... Figure 3 If the network topology traversal has been completed, the number of nodes and / or the number of model devices will be re-determined. That is, the steps of determining the current number of nodes and the current number of model devices based on the preset constraints and the principle of prioritizing the construction of networks with fewer model devices will be returned.

[0137] In the process of redetermining the number of nodes and / or the number of model devices, the first step is to determine whether the number of model devices q has exceeded [a certain threshold]. like Figure 3 The model devices shown include three types: resistors, capacitors, and inductors. The corresponding determination is whether q has exceeded [a certain threshold]. If the number of model devices q does not exceed If the current number of nodes remains unchanged, add one model device, i.e., the current number of model devices is q+1, to determine the current number of nodes and the current number of model devices. If the number of model devices q exceeds... like Figure 4 As shown, the current number of nodes is p+1. Based on preset constraints and the principle of prioritizing the construction of networks with fewer model devices, the current number of model devices is determined sequentially from low to high to determine the current number of nodes and the current number of model devices.

[0138] If it is determined that the type transformation of the number of model devices in the current network topology has not been completed, then the type of the number of model devices in the current network topology is transformed. That is, the step of transforming the type of the number of model devices in the current network topology based on the preset model device type is returned to obtain the intermediate network topology.

[0139] If it is judged that there are same type model devices directly in parallel and / or same type model devices alone in series between each two nodes in the intermediate network topology, it is returned whether the type transformation of the current model device quantity of model devices in the current network topology is completed, if not, the type of the current model device quantity of model devices in the current network topology is transformed, if it is completed, whether the network topology determined based on the current node quantity and the current model device quantity is completed is judged, and subsequent processes are executed.

[0140] Through the above traversal mode, the coverage traversal of each network topology constructed by the node quantity and the model device quantity is realized, that is, the traversal of each network topology without repetition and omission, and the coverage transformation of the type of each model device in each network topology is realized. In the embodiment of the application, the iteration optimization is performed from simple to complex through the topology traversal mode, which can ensure that the output model has a simple topology structure as possible under the premise of meeting the accuracy requirement. The simple and accurate simulation model determined by the embodiment of the application is also convenient for analyzing and understanding the basic structure of the target "black box" i.e. the to-be-constructed device with unknown structure.

[0141] Corresponding to the above method embodiment, the embodiment of the application provides a device simulation model construction device, as shown in ​ The device can include:

[0142] The obtaining module 410 is configured to obtain an impedance measurement value sequence of a to-be-constructed device.

[0143] The determining module 420 is configured to determine the node quantity, the model device quantity and the type thereof, and the topology relationship between model devices of each type for constructing the simulation model corresponding to the to-be-constructed device by using a preset limit condition and the impedance measurement value sequence, so as to construct the simulation model corresponding to the to-be-constructed device, wherein the preset limit condition includes a limit condition between the node quantity and the model device quantity in the constructed simulation model, and the accurate establishment of the simulation model of the device with unknown structure is realized.

[0144] By using the embodiment of the application, the node quantity and the model device quantity in the constructed simulation model can be limited based on the preset limit condition, and then the node quantity, the model device quantity and the type thereof for constructing the simulation model corresponding to the to-be-constructed device and the topology relationship between model devices of each type are determined in combination with the impedance measurement value sequence of the to-be-constructed device, so as to obtain a simulation model of the structure and the corresponding model device parameters of the to-be-constructed device.

[0145] In another embodiment of the application, the impedance measurement value sequence includes an amplitude measurement value sequence and a phase measurement value sequence.

[0146] In another embodiment of the present application, the preset restriction condition comprises: Wherein, p represents the number of intermediate nodes, q represents the number of model devices, and N represents the number of types of model devices.

[0147] In another embodiment of the present application, the determining module 420 comprises:

[0148] A first determining unit (not shown in the figure) is configured to determine a current candidate network based on a preset restriction condition, a principle of preferentially constructing a network with a small number of model devices, and a preset type of model device, wherein the current candidate network comprises a current number of nodes, a current number of model devices, and a topological relationship between the model devices, and the current number of model devices belongs to the preset type of model device;

[0149] A second determining unit (not shown in the figure) is configured to determine a target model corresponding to the current candidate network based on a current parameter value of each type of model device in the current candidate network, the current candidate network, the sequence of impedance measurement values, and a target optimization function.

[0150] A third determining unit (not shown in the figure) is configured to determine the target model as a simulation model corresponding to the device to be constructed if the target model reaches a preset convergence condition.

[0151] In another embodiment of the present application, the device further comprises:

[0152] A first determining unit (not shown in the figure) is configured to determine whether the number of times of adjusting the parameter value corresponding to the current candidate network exceeds a preset number of times if the target model does not reach the preset convergence condition.

[0153] A first adjusting unit (not shown in the figure) is configured to adjust the parameter value of each type of target model device and trigger the second determining unit if the number of times of adjusting the parameter value corresponding to the current candidate network does not exceed the preset number of times.

[0154] In another embodiment of the present application, the device further comprises:

[0155] A second determining unit (not shown in the figure) is configured to determine whether the number of times of updating the initial parameter value of each type of model device in the current candidate network exceeds a preset number of times if the number of times of adjusting the parameter value corresponding to the current candidate network exceeds the preset number of times.

[0156] The updating unit (not shown in the figure) is configured to update the initial values of the parameters of the model devices of each type in the current candidate network as the current values of the parameters of the model devices of each type in the current candidate network if it is determined that the number of times of updating the initial values of the parameters of the model devices of each type in the current candidate network does not exceed the preset number of times of updating, and trigger the second determination unit; and trigger the first determination unit if it is determined that the number of times of updating the initial values of the parameters of the model devices of each type in the current candidate network exceeds the preset number of times of updating.

[0157] In another embodiment of the present application, the target model reaching the preset convergence condition comprises: the current iteration number corresponding to the target model does not exceed the preset iteration number; and the function value of the target optimization function determined based on the parameter values of the model devices of each type in the target model and the sequence of impedance measurement values is less than the preset precision threshold.

[0158] In another embodiment of the present application, the first determination unit is specifically configured to:

[0159] determine the current node number and the current model device number based on a preset restriction condition and a principle of preferentially constructing a network with a small number of model devices;

[0160] determine the current network topology based on the current node number and the current model device number;

[0161] transform the types of the current model devices in the current network topology based on the preset model device types to obtain an intermediate network topology;

[0162] determine whether there is a case of direct parallel connection of model devices of the same type and / or separate series connection of model devices of the same type between each two nodes in the intermediate network topology;

[0163] if it is determined that there is no case of direct parallel connection of model devices of the same type and / or separate series connection of model devices of the same type between each two nodes in the intermediate network topology, determine the intermediate network topology as the current candidate network; and determine whether the transformation of the types of the current model devices in the current network topology has been completed;

[0164] if it is determined that the transformation of the types of the current model devices in the current network topology has been completed, determine whether the network topology determined based on the current node number and the current model device number has been completed;

[0165] if it is determined that the network topology determined based on the current node number and the current model device number has not been completed, return to the determination of the current network topology based on the current node number and the current model device number.

[0166] If it is judged that the network topology determined based on the current node quantity and the current model device quantity has been traversed, the principle of constructing the network based on the preset limit condition and the model device quantity is returned, and the current node quantity and the current model device quantity are determined.

[0167] If it is judged that the type transformation of the current model device quantity of model devices in the current network topology has not been completed, the type of the current model device quantity of model devices in the current network topology is transformed based on the preset model device type, and an intermediate network topology is obtained.

[0168] If it is judged that there is a same type model device direct parallel and / or a same type model device single series between every two nodes in the intermediate network topology, it is returned to the judgment of whether the type transformation of the current model device quantity of model devices in the current network topology has been completed.

[0169] The system and device embodiments correspond to the system embodiment, and have the same technical effects as the method embodiment. For specific descriptions, refer to the method embodiment. The device embodiment is based on the method embodiment, and specific descriptions can be referred to the method embodiment part, which will not be repeated here. Those skilled in the art can understand that the drawings are only a schematic diagram of an embodiment, and the modules or flows in the drawings are not necessarily necessary for implementing the present application.

[0170] Those skilled in the art can understand that the modules in the device in the embodiments can be distributed in the device in the embodiments according to the embodiment description, or can be changed and located in one or more devices different from the embodiments. The modules in the above embodiments can be combined into one module, or can be further split into multiple sub-modules.

[0171] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method of constructing a simulation model of a device, characterized by, The method comprises: obtaining an impedance measurement sequence of a device to be constructed, the impedance measurement sequence comprising: an amplitude measurement sequence and a phase measurement sequence; determining, by using a preset restriction condition and the impedance measurement sequence, a number of nodes, a number of model devices and types of the model devices, and a topological relationship between the model devices of different types for constructing a simulation model corresponding to the device to be constructed, so as to construct the simulation model corresponding to the device to be constructed, wherein the preset restriction condition comprises a restriction condition between the number of nodes and the number of model devices in the constructed simulation model; the step of determining, by using a preset restriction condition and the impedance measurement sequence, a number of nodes, a number of model devices and types of the model devices, and a topological relationship between the model devices of different types for constructing a simulation model corresponding to the device to be constructed, so as to construct the simulation model corresponding to the device to be constructed, comprises: Determine a current candidate network based on a preset limit condition, a principle of preferentially constructing a network with a small number of model devices, and a preset model device type, wherein the current candidate network includes a current number of nodes, a current number of model devices, and a topology relationship between the model devices, the type of the current number of model devices belongs to the preset model device type, and the principle of preferentially constructing a network with a small number of model devices refers to a principle of from low to high in terms of the number of model devices required for constructing a simulation model; and the preset limit condition includes: p represents the number of intermediate nodes, q represents the number of model devices, and N represents the number of model device types. determining a target model corresponding to the current candidate network based on current parameter values of the model devices of different types in the current candidate network, the current candidate network, the impedance measurement sequence and a target optimization function; the target optimization function is represented by the following formula: wherein J represents a function value of a target optimization function, Z m (i) represents an i-th amplitude measurement value in the sequence of amplitude measurement values, Z c (i) represents an i-th amplitude calculation value in the sequence of amplitude calculation values, φ m (i) represents an i-th phase measurement value in the sequence of phase measurement values, φ c (i) represents an i-th phase calculation value in the sequence of phase calculation values, n represents a number of frequency points, and α represents a preset weight parameter. if the target model reaches a preset convergence condition, determining that the target model is the simulation model corresponding to the device to be constructed.

2. The method of claim 1, wherein, The method further comprises: if the target model does not reach the preset convergence condition, determining whether the number of times of adjusting the parameter values corresponding to the current candidate network exceeds a preset number of times of adjustment; if the number of times of adjusting the parameter values corresponding to the current candidate network does not exceed the preset number of times of adjustment, adjusting the parameter values of the model devices of different types, and returning to the step of determining the target model corresponding to the current candidate network based on the current parameter values of the model devices of different types, the current candidate network, the impedance measurement sequence and the target optimization function.

3. The method of claim 2, wherein, The method further comprises: if the number of times of adjusting the parameter values corresponding to the current candidate network exceeds the preset number of times of adjustment, determining whether the number of times of updating the initial parameter values of the model devices of different types in the current candidate network exceeds a preset number of times of update; if it is determined that the number of times of updating the initial parameter values of the model devices of different types in the current candidate network does not exceed the preset number of times of update, updating the initial parameter values of the model devices of different types in the current candidate network as the current parameter values of the model devices of different types in the current candidate network, and returning to the step of determining the target model corresponding to the current candidate network based on the current parameter values of the model devices of different types in the current candidate network, the current candidate network, the impedance measurement sequence and the target optimization function; if it is determined that the number of times of updating the initial parameter values of the model devices of different types in the current candidate network exceeds the preset number of times of update, returning to the step of determining the current candidate network based on the preset restriction condition, the principle of preferentially constructing the network with a small number of model devices and the preset model device types.

4. The method of claim 1, wherein, The target model reaches the preset convergence condition includes: the current iteration number corresponding to the target model does not exceed the preset iteration number; and based on the parameter values of each type of target model device in the target model and the impedance measurement value sequence, the function value of the target optimization function determined is less than the preset precision threshold.

5. The method of claim 1, wherein, The step of determining the current candidate network based on the preset restriction condition, the principle of preferentially constructing a network with a small number of model devices, and the preset model device type includes: determining the current node number and the current model device number based on the preset restriction condition and the principle of preferentially constructing a network with a small number of model devices; determining the current network topology based on the current node number and the current model device number; transforming the types of the current model devices in the current network topology based on the preset model device type to obtain an intermediate network topology; determining whether there is a same type of model device directly in parallel and / or a same type of model device alone in series between each two nodes in the intermediate network topology; if it is determined that there is no same type of model device directly in parallel and / or a same type of model device alone in series between each two nodes in the intermediate network topology, determining the intermediate network topology as the current candidate network; and determining whether the transformation of the types of the current model devices in the current network topology has been completed; if it is determined that the transformation of the types of the current model devices in the current network topology has been completed, determining whether the network topology determined based on the current node number and the current model device number has been completed; if it is determined that the network topology determined based on the current node number and the current model device number has not been completed, returning to the step of determining the current network topology based on the current node number, the current model device number; if it is determined that the network topology determined based on the current node number and the current model device number has been completed, returning to the step of determining the current node number and the current model device number based on the preset restriction condition and the principle of preferentially constructing a network with a small number of model devices; if it is determined that the transformation of the types of the current model devices in the current network topology has not been completed, returning to the step of transforming the types of the current model devices in the current network topology based on the preset model device type to obtain an intermediate network topology; if it is determined that there is a same type of model device directly in parallel and / or a same type of model device alone in series between each two nodes in the intermediate network topology, returning to the step of determining whether the transformation of the types of the current model devices in the current network topology has been completed.

6. A device simulation model construction apparatus characterized by comprising: The device includes: an obtaining module configured to obtain an impedance measurement value sequence of a device to be constructed, the impedance measurement value sequence including an amplitude measurement value sequence and a phase measurement value sequence; The determining module is configured to determine, by using the preset restriction condition and the sequence of impedance measurement values, a number of nodes, a number of model devices and types of the model devices, and a topological relationship between model devices of different types for constructing a simulation model corresponding to the device to be constructed, so as to construct the simulation model corresponding to the device to be constructed. The determining module comprises: The first determination unit is configured to determine a current candidate network based on a preset limitation condition, a principle of preferentially constructing a network with a small number of model devices, and a preset model device type, wherein the current candidate network includes a current number of nodes, a current number of model devices, and a topology relationship between the model devices, the type of the current number of model devices belongs to the preset model device type, and the principle of preferentially constructing the network with the small number of model devices refers to a principle from low to high of a number of model devices required for constructing a simulation model; and the preset limitation condition includes: p represents the number of intermediate nodes, q represents the number of model devices, and N represents the number of model device types. The second determining unit is configured to determine, based on the current parameter values of the model devices of different types in the current candidate network, the current candidate network, the sequence of impedance measurement values, and a target optimization function, a target model corresponding to the current candidate network; the target optimization function is represented by the following formula: wherein J represents a function value of a target optimization function, Z m (i) represents an i-th amplitude measurement value in the sequence of amplitude measurement values, Z c (i) represents an i-th amplitude calculation value in the sequence of amplitude calculation values, φ m (i) represents an i-th phase measurement value in the sequence of phase measurement values, φ c (i) represents an i-th phase calculation value in the sequence of phase calculation values, n represents a number of frequency points, and α represents a preset weight parameter. The third determining unit is configured to determine that the target model is the simulation model corresponding to the device to be constructed if the target model reaches a preset convergence condition.

Citation Information

Patent Citations

  • Modeling apparatus and method for capacitor equivalent model

    CN100401306C

  • Methods to generate state space models for general interconnect trees and nets, and their model reduction method

    CN101122926A

  • Broadband model modeling method for high-voltage direct current converter valve component

    CN105260558A

  • Existence inspection method for solution of equation set in automated design of integrated circuit

    CN106650139A

  • Active impedance matching method of strong-coupling antenna array

    CN106785487A