Model training method, circuit health evaluation method and device
By establishing a simulated integrated circuit and training a neural network model, non-destructive prediction of the component parameters of an LLC resonant converter was achieved, solving the problem of being unable to assess health status and improving prediction accuracy and the stability of electronic products.
Patent Information
- Application Number
- CN202611318275.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies cannot directly measure the parameters of the components packaged in LLC resonant converters, making it impossible to effectively assess their health and affecting the stability of electronic products.
By establishing multiple simulated integrated circuits, sample component parameter sets and their corresponding input and output parameter sets are obtained. A component parameter prediction model is trained using a neural network model, and component parameters are predicted based on the input and output parameters.
Without directly measuring component parameters, the accuracy of predicting LLC resonant converter component parameters is improved, ensuring the stability of electronic products.
Smart Images

Figure CN123139891A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of integrated circuit technology, and in particular to a model training method, a circuit health assessment method, and an apparatus. Background Technology
[0002] Integrated circuits are now widely used in various electronic products, constantly influencing people's daily lives. They have become an indispensable technology in our daily lives; for example, LLC resonant converters, which achieve soft switching through resonant networks, are widely used in switching power supplies, LED drivers, chargers, and data center power supplies. However, with use, the parameters of the various components packaged within an LLC resonant converter may undergo irreversible changes, leading to reduced stability of the electronic product and a poor user experience. To assess the health of an LLC resonant converter and thus confirm the stability of the electronic product, it is necessary to obtain the current parameters of its components. However, for packaged LLC resonant converters, it is impossible to directly measure the parameters of their components; therefore, assessing the health of LLC resonant converters remains a challenging problem. Summary of the Invention
[0003] This application provides a model training method, a circuit health assessment method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product.
[0004] The technical solution of this application embodiment is implemented as follows: In a first aspect, embodiments of this application provide a model training method, the method comprising: Obtain the sample component parameter set of multiple simulated integrated circuits corresponding to the LLC resonant converter, and the sample input and output parameter set obtained by simulation under each sample component parameter set; wherein, the sample input and output parameter set includes at least the sample input voltage and the sample output voltage; the sample component parameter set includes at least one of the following: sample switch resistor value, sample resonant inductance value, sample resonant capacitance value, and sample voltage gain; Using multiple sets of sample input and output parameters as input data and multiple sets of sample component parameters as label data, a neural network model is trained based on an LLC resonant converter to obtain a component parameter prediction model.
[0005] Secondly, embodiments of this application provide a circuit health assessment method, the method comprising: Obtain the target input and output parameter set of the target LLC resonant converter; Using a component parameter prediction model, the target component parameters of the target LLC resonant converter are determined based on the target input and output parameter set. Determine the health status of the target LLC resonant converter based on component parameters; The component parameter prediction model is obtained by training a neural network model based on an LLC resonant converter, using multiple sample input and output parameter sets as input data and multiple sample component parameter sets as label data. The sample component parameter sets are determined based on multiple simulated integrated circuits corresponding to the LLC resonant converter. The sample input and output parameter sets are obtained by simulating multiple simulated integrated circuits under each sample component parameter set.
[0006] Thirdly, embodiments of this application provide a model training apparatus, the apparatus comprising: The first acquisition module is used to acquire the sample component parameter set of multiple simulated integrated circuits corresponding to the LLC resonant converter, and the sample input and output parameter set obtained by simulation under each sample component parameter set; wherein, the sample input and output parameter set includes at least the sample input voltage and the sample output voltage; the sample component parameter set includes at least one of the following: sample switch resistor value, sample resonant inductance value, sample resonant capacitance value, and sample voltage gain; The training module is used to train a neural network model based on an LLC resonant converter, using multiple sample input and output parameter sets as input data and multiple sample component parameter sets as label data, to obtain a component parameter prediction model.
[0007] Fourthly, embodiments of this application provide an integrated circuit health assessment device, the device comprising: The second acquisition module is used to acquire the target input and output parameter set of the target LLC resonant converter; The first determining module is used to determine the target component parameters of the target LLC resonant converter based on the target input and output parameter set using a component parameter prediction model. The second determining module is used to determine the health of the target LLC resonant converter based on the component parameters; The component parameter prediction model is obtained by training a neural network model based on an LLC resonant converter, using multiple sample input and output parameter sets as input data and multiple sample component parameter sets as label data. The sample component parameter sets are determined based on multiple simulated integrated circuits corresponding to the LLC resonant converter. The sample input and output parameter sets are obtained by simulating multiple simulated integrated circuits under each sample component parameter set.
[0008] Fifthly, embodiments of this application provide an electronic device, including a memory and a processor. The memory stores a computer program, which, when executed by the processor, implements the aforementioned model training method or circuit health assessment method.
[0009] Sixthly, embodiments of this application provide a computer-readable storage medium storing a computer program or computer-executable instructions for implementing the model training method or circuit health assessment method provided in embodiments of this application when executed by a processor.
[0010] In a seventh aspect, embodiments of this application provide a computer program product, including a computer program or computer-executable instructions. When the computer program or computer-executable instructions are executed by a processor, they implement the model training method or circuit health assessment method provided in embodiments of this application.
[0011] The beneficial effects of this application are: In the embodiments of this application, sample component parameter sets of multiple simulated integrated circuits corresponding to the LLC resonant converter are obtained, as well as sample input-output parameter sets obtained by simulation under each sample component parameter set; wherein, the sample input-output parameter set includes at least sample input voltage and sample output voltage; the sample component parameter set includes at least one of the following: sample switching resistance value, sample resonant inductance value, sample resonant capacitance value, and sample voltage gain; using multiple sample input-output parameter sets as input data and multiple sample component parameter sets as label data, a neural network model is trained based on the LLC resonant converter to obtain a component parameter prediction model. This model can be used to simulate LLC resonant converter integrated circuits with different component parameters, establish training samples corresponding to component parameters and input-output parameters, and use the sample input-output parameter sets as input data for the neural network model and the sample component parameter sets as label data to train the neural network model, so that the trained neural network model can learn the correlation between the input-output characteristics of the LLC resonant converter and the component parameters. Therefore, without directly measuring all the parameters of the internal components of the target LLC resonant converter, the parameters of the corresponding components can be predicted based on its input and output parameters, which can improve the prediction accuracy of the component parameters of the LLC resonant converter to a certain extent. Attached Figure Description
[0012] Figure 1 A schematic flowchart illustrating a model training method provided in an embodiment of this application; Figure 2 A schematic diagram of the circuit topology of an LLC resonant converter provided in an embodiment of this application; Figure 3 A schematic flowchart illustrating a circuit health assessment method provided in an embodiment of this application; Figure 4 A flowchart illustrating a specific implementation of a circuit health assessment method provided in this application embodiment; Figure 5A schematic diagram of signal sampling provided in an embodiment of this application; Figure 6 A logic block diagram of a model training device provided in an embodiment of this application; Figure 7 A logic block diagram of a circuit health assessment device provided in an embodiment of this application; Figure 8 This is a schematic diagram of the hardware entity of an electronic device provided in an embodiment of this application. Detailed Implementation
[0013] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0014] To address the problem that the parameters of the packaged components in an LLC resonant converter cannot be directly obtained, thus hindering the assessment of the converter's health, this application provides a model training method, such as... Figure 1 As shown, Figure 1 This is a flowchart illustrating a model training method provided in an embodiment of this application. This method can be used to train a component parameter prediction model for an LLC resonant converter. By establishing multiple simulated integrated circuits corresponding to the LLC resonant converter and changing the component parameters in the simulated integrated circuits, the input and output responses of the LLC resonant converter under different component parameter conditions can be obtained. Based on this, the parameters corresponding to the input and output responses are used as input data for a neural network model, and the component parameters used to generate the input and output responses are used as label data to train the neural network model. This allows the trained component parameter prediction model to predict the corresponding component parameters based on the input and output parameters of the LLC resonant converter. Specifically, this method can be implemented through steps S101 to S102: Step S101: Obtain the sample component parameter set of multiple simulated integrated circuits corresponding to the LLC resonant converter, and the sample input and output parameter set obtained by simulation under each sample component parameter set; wherein, the sample input and output parameter set includes at least the sample input voltage and the sample output voltage; the sample component parameter set includes at least one of the following: sample switch resistor value, sample resonant inductance value, sample resonant capacitance value, and sample voltage gain.
[0015] In the embodiments of this application, a target circuit structure for an LLC resonant converter can be pre-established in a simulation environment, and multiple simulation integrated circuits can be constructed based on this target circuit structure. These multiple simulation integrated circuits can employ the same or corresponding circuit topologies and form different simulation objects by configuring different component parameters.
[0016] An LLC resonant converter may include switching devices, resonant inductors, resonant capacitors, and other circuit elements related to power conversion. By setting the parameters of one or more of these components, a sample set of component parameters corresponding to a simulated integrated circuit can be formed.
[0017] The sample component parameter set may include at least one of the following: sample switch resistor value, sample resonant inductance value, sample resonant capacitance value, and sample voltage gain.
[0018] Among them, the sample switch resistance value can be used to characterize the resistance parameter of the corresponding switching device in the LLC resonant converter; the sample resonant inductance value can be used to characterize the inductance parameter of the resonant inductor in the resonant network of the LLC resonant converter; the sample resonant capacitance value can be used to characterize the capacitance parameter of the resonant capacitor in the resonant network; and the sample voltage gain can be used to characterize the numerical relationship between the voltages on both sides of the transformer module of the LLC resonant converter under the corresponding operating conditions.
[0019] In one implementation, at least one of the aforementioned parameters can be changed within a pre-defined parameter range to generate multiple different sample component parameter sets. For example, one or more parameters, such as the switching resistor value, resonant inductance value, resonant capacitance value, and voltage gain, can be changed respectively, and corresponding simulation integrated circuits can be built according to different parameter combinations. Thus, multiple simulation integrated circuits can cover the operation of the LLC resonant converter under different component parameter states.
[0020] For any sample component parameter set, the parameters in the sample component parameter set can be configured into the corresponding LLC resonant converter simulation integrated circuit, and an input voltage can be applied to the simulation integrated circuit to perform circuit simulation.
[0021] During the simulation, the input parameters of the simulated integrated circuit and the corresponding output parameters can be obtained, and a sample input-output parameter set can be formed based on the obtained input and output parameters.
[0022] The sample input and output parameter set includes at least the sample input voltage and the sample output voltage.
[0023] Specifically, one or more sample input voltages can be applied to a simulated integrated circuit, and the operation of the LLC resonant converter can be simulated under the action of each sample input voltage to obtain the sample output voltage corresponding to each sample input voltage. The corresponding sample input voltages and sample output voltages can together constitute the corresponding sample input and output parameters.
[0024] In some implementations, for the same set of sample component parameters, simulations can be performed using multiple different sample input voltages to obtain multiple sample output voltages corresponding to the multiple sample input voltages. These multiple sample input voltages and their corresponding multiple sample output voltages can collectively constitute the sample input-output parameter set corresponding to the sample component parameter set.
[0025] For example, for the first A set of parameters for a sample component can be represented as ,in, Indicates the sample switch resistance value. This represents the sample resonant inductance value. Indicates the sample resonant capacitance value. This represents the sample voltage gain.
[0026] With the The set of sample input and output parameters corresponding to a set of sample component parameters can be represented as: ,in, Indicates the first The simulated integrated circuit corresponding to the parameter set of the sample components uses the first... Each sample input voltage, This indicates that the simulated integrated circuit is in the first... The sample output voltage obtained under the action of a sample input voltage.
[0027] It should be noted that the above parameter representation is only used to illustrate the correspondence between the sample input / output parameter set and the sample component parameter set, and does not require that each sample component parameter set must include all of the above parameters. When only some parameters need to be predicted in practical applications, the sample component parameter set may also include only one or more parameters that need to be predicted.
[0028] Using the above method, simulations can be performed on multiple different sample component parameter sets to obtain multiple sample input and output parameter sets, and a one-to-one correspondence or correlation relationship can be established between multiple sample input and output parameter sets and multiple sample component parameter sets.
[0029] Step S102: Using multiple sample input and output parameter sets as input data and multiple sample component parameter sets as label data, the neural network model is trained based on the LLC resonant converter to obtain the component parameter prediction model.
[0030] In the embodiments of this application, after obtaining multiple sample input and output parameter sets and their corresponding multiple sample component parameter sets, a training dataset can be constructed based on the correspondence between each sample input and output parameter set and each sample component parameter set.
[0031] Specifically, the sample input and output parameter set is used as the input data of the neural network model, and the sample component parameter set corresponding to the sample input and output parameter set is used as the label data.
[0032] For example, the Each training sample can be represented as ,in, For the first A set of sample input and output parameters To and The corresponding number A set of parameters for each sample component.
[0033] Furthermore, if a total of If there are a set of training samples, then the training dataset can be represented as: .
[0034] During the training of the neural network model, the input and output parameter sets of each sample can be input into the neural network model sequentially or in batches. The neural network model performs feature extraction and mapping processing on the input and output characteristics of the LLC resonant converter represented by the sample input and output parameter sets, and outputs the predicted component parameters corresponding to the sample input and output parameter sets.
[0035] For example, for the first A set of sample input and output parameters The neural network model can output the corresponding predicted component parameter set. ,in, This represents the neural network model to be trained. The model parameters represent the parameters of the neural network model. This indicates that the neural network model is for the first... The set of predicted component parameters output from the set of input and output parameters of each sample.
[0036] When the sample component parameter set includes the values of the switching resistor, resonant inductor, resonant capacitor, and voltage gain, the predicted component parameter set can be represented as follows: .in, , , and These represent the predicted switching resistance value, predicted resonant inductance value, predicted resonant capacitance value, and predicted voltage gain, respectively.
[0037] Subsequently, the model prediction error can be determined based on the difference between the predicted component parameters output by the neural network model and the corresponding sample component parameters, and the model parameters of the neural network model can be adjusted based on the prediction error.
[0038] As the training process progresses, the neural network model is iteratively trained using multiple sets of sample input and output parameters and their corresponding sets of sample component parameters, enabling the neural network model to gradually learn the mapping relationship between the input and output parameters of the LLC resonant converter and the component parameters.
[0039] From the perspective of mapping relationships, the training process can be understood as enabling the neural network model to learn the following relationship. That is, based on the input and output parameters of the LLC resonant converter. Predict the corresponding component parameters .
[0040] Training of the neural network model can be terminated once the preset training termination conditions are met, and the trained neural network model will be designated as the component parameter prediction model. The preset training termination conditions can be set according to actual training needs. For example, the neural network model can be determined to have met the preset training requirements based on at least one of the following: the number of training iterations, the model prediction error, the loss function value, or the model prediction accuracy.
[0041] The input data of the trained component parameter prediction model can be the input and output parameters used to characterize the input and output characteristics of the LLC resonant converter, and the output data can be one or more component parameters corresponding to the input and output parameters.
[0042] Accordingly, in subsequent applications, when it is necessary to determine the component parameters of the target LLC resonant converter, the input and output parameters such as the input voltage and output voltage of the target LLC resonant converter under test can be obtained, and the obtained input and output parameters can be input into the component parameter prediction model. The component parameter prediction results corresponding to the target LLC resonant converter can be obtained through the component parameter prediction model.
[0043] For example, if the target input-output parameter set of the target LLC resonant converter is expressed as Then, the target input / output parameter set can be input into the trained component parameter prediction model to obtain... ,in, This represents the parameters of the neural network model after training. This represents the predicted component parameters corresponding to the target LLC resonant converter.
[0044] Since the sample input and output parameter sets used to train the neural network model are derived from simulated integrated circuits of LLC resonant converters with different sample component parameters, different sample data can reflect the corresponding changes in the input and output characteristics of the LLC resonant converter when the component parameters change. By learning the correspondence between the above input and output characteristics and component parameters, the neural network model can establish a mapping relationship from the input and output parameters of the LLC resonant converter to the component parameters.
[0045] In some implementations, the sample input and output parameter set can be preprocessed before training the neural network model using that set. Data preprocessing may include one or more of the following: data filtering, outlier removal, normalization, standardization, and data sorting. Preprocessing the training data can reduce the impact of differences in parameter dimensions or numerical ranges on the neural network model training process.
[0046] Accordingly, when using the component parameter prediction model for parameter prediction in the future, the same or corresponding data processing method as that used in the model training phase can be used to process the target input and output parameters to be input, so as to maintain the consistency of the input data format between the training phase and the prediction phase.
[0047] In some implementations, the obtained training samples can be divided into a training set and a validation set. The training set can be used to adjust the model parameters of the neural network model, and the validation set can be used to validate the trained neural network model. When the neural network model meets the preset model performance requirements, it can be used as the final component parameter prediction model.
[0048] Based on the embodiments disclosed in this application, by simulating LLC resonant converter integrated circuits with different component parameters, training samples corresponding to the component parameters and input / output parameters are established. These sample input / output parameter sets are used as input data for a neural network model, and the sample component parameter sets are used as label data to train the neural network model. This allows the trained neural network model to learn the correlation between the input / output characteristics of the LLC resonant converter and the component parameters. Therefore, without directly measuring all the component parameters inside the target LLC resonant converter, the corresponding component parameters can be predicted based on its input / output parameters, which can improve the prediction accuracy of the LLC resonant converter's component parameters to a certain extent.
[0049] In some embodiments, step S102 can be implemented by steps S201 to S203: Step S201: Determine the switching state of the LLC resonant converter, the first numerical boundary conditions of the parameters of each component, and the second numerical boundary conditions of the input and output voltages of the LLC resonant converter.
[0050] In the embodiments of this application, the switching state of the LLC resonant converter can be determined based on its circuit structure, operating mode, and corresponding simulation settings. The switching state can characterize the on or off state of one or more switching devices in the LLC resonant converter. For an LLC resonant converter employing multiple switching devices to form a bridge inverter structure, the corresponding switching state can be determined based on the driving relationship between different switching devices.
[0051] For example, for the first A switching device, the switching state of which can be represented as: ,in, It can represent the first Each switching device is in the ON state. It can represent the first The switching device is in the off state.
[0052] In the case of an LLC resonant converter comprising multiple switching devices, the switching states of the multiple switching devices can be combined to form a switching state vector, for example, represented as... ,in, This indicates the number of switching devices involved in the state description in an LLC resonant converter.
[0053] It should be noted that the above binary form is only one way to represent the switching state. In other embodiments, the switching state can also be characterized based on the driving signal, level state, bridge arm state, or operating mode of the switching device. For example, when there is a bundled relationship between the switching resistors, the switching state may cause multiple switching resistors to be turned on or off simultaneously. For example, as... Figure 2 As shown, Figure 2 This is a schematic diagram of the circuit topology of an LLC resonant converter provided in an embodiment of this application. , , and It is a controllable switching resistor with an input voltage of Defined by inductance The current is The image shows " "Indicates the ratio of the number of coil turns in the transformer section.
[0054] in, , , and They are usually not in the on state at the same time. Defined when... and When conducting, ,at this time and In a closed state; when and When conducting, ,at this time and It is currently in a closed state.
[0055] for Figure 2 The time-domain mapping relationship between the input voltage and the output voltage of the LLC resonant converter shown can be expressed as follows: .in, The left side of the equals sign represents the magnetizing inductance of the transformer module. The voltage is given by the transformer module, and the right side of the equals sign represents the voltage boosted by the transformer module. or That is, the time-domain mapping relationship between the input voltage and the output voltage of the overall LLC resonant converter can be determined by the relationship between the voltages on both sides of the transformer module.
[0056] Furthermore, the first numerical boundary conditions corresponding to each component parameter can be determined. The first numerical boundary conditions can be used to limit the reasonable range of values for each predicted component parameter output by the neural network model, so that the prediction results match the parameter characteristics of the corresponding components in the LLC resonant converter.
[0057] For example, for the sample switch resistance value The corresponding value range can be set as follows: For the sample resonant inductance value The corresponding value range can be set as follows: For the sample resonant capacitance value The corresponding value range can be set as follows: For sample voltage gain The corresponding value range can be set as follows: .in, and These represent the lower and upper boundaries of the switch resistance value, respectively. and These represent the lower and upper boundaries of the resonant inductance value, respectively. and These represent the lower and upper boundaries of the resonant capacitance value, respectively. and These represent the lower and upper boundaries of the voltage gain, respectively.
[0058] The aforementioned first numerical boundary condition can be determined based on at least one of the following: the rated parameters of the components in the LLC resonant converter, the allowable deviation range, the aging variation range, the fault variation range, the sample generation range, or the simulation parameter setting range. For example, when generating training samples, if the parameter variation range of the resonant inductor is preset to a certain allowable interval, then this allowable interval or an interval extended from this allowable interval can be used as the first numerical boundary condition for the resonant inductor.
[0059] By setting a first numerical boundary condition, the neural network model can be prevented from outputting parameter values that deviate significantly from the actual characteristics of the components during training.
[0060] Furthermore, the second numerical boundary conditions for the input and output voltages of the LLC resonant converter can be determined.
[0061] The second numerical boundary condition can be used to limit the allowable range of input and output voltage values for an LLC resonant converter, or to limit the electrical relationship that should be satisfied between the input and output voltages.
[0062] For example, for input voltage You can set For output voltage You can set ,in, and These represent the lower and upper boundaries of the input voltage, respectively. and These represent the lower and upper boundaries of the output voltage, respectively.
[0063] Considering transformer turns ratio, rectifier structure, or other circuit factors, the correspondence between input voltage, output voltage, and voltage gain can be established based on the actual circuit relationship of the LLC resonant converter. Therefore, during training, the allowable range of input and output voltages and the correspondence between them can be used to determine whether the training samples or model outputs conform to the operating characteristics of the LLC resonant converter.
[0064] In some implementations, the first and second numerical boundary conditions can be pre-stored in the training device, or they can be dynamically determined based on the current LLC resonant converter model, rated parameters, or simulation configuration.
[0065] Step S202: The switch state, the first numerical boundary condition, and the second numerical boundary condition are determined as the training constraints of the neural network model.
[0066] In the embodiments of this application, the first numerical boundary conditions of the switch state and component parameters, and the second numerical boundary conditions of the input and output voltages can be collectively used to constitute the training constraints of the neural network model. The training constraints can be expressed as follows: ,in, This represents the state constraints determined based on the switch state. This indicates the component parameter constraints determined based on the first numerical boundary condition. This represents the input and output voltage constraints determined based on the second numerical boundary condition.
[0067] Among them, state constraints This can be used to ensure that the training data or prediction results of a neural network model match the current switching operating state of the LLC resonant converter. Component parameter constraints. It can be used to limit the range of values that the predicted component parameters must satisfy. For example, for a set of predicted component parameters... It can be required to meet the following conditions. , , as well as .
[0068] Input / output voltage constraints It can be used to limit the sample input voltage and sample output voltage to a reasonable range, for example... as well as .
[0069] By using the switching state, component parameter boundaries, and input / output voltage boundaries as training constraints, the neural network model can not only learn the data mapping relationship between sample input / output data and sample component parameters, but also make the model training process subject to the actual circuit operating characteristics of the LLC resonant converter.
[0070] Step S203: Using multiple sample input and output parameter sets as input data and multiple sample component parameter sets as label data, the neural network model is trained based on training constraints to obtain a component parameter prediction model.
[0071] Specifically, the multiple sample input-output parameter sets obtained in the aforementioned embodiments can be used as the input of the neural network model, and the sample component parameter sets corresponding to each sample input-output parameter set can be used as labels.
[0072] For the A training sample can be represented as ,in, Indicates the first A set of sample input and output parameters Indicates the relationship with the first Each set of sample input and output parameters corresponds to a set of sample component parameters.
[0073] The first A set of sample input and output parameters After inputting the neural network model, the predicted component parameter set output by the model can be obtained. .
[0074] Furthermore, it is possible to determine and predict the component parameter set. Does the training constraint condition meet? For example, constraint decision functions can be defined. , used to characterize the Whether each training sample and its corresponding prediction result meet the pre-set training constraints.
[0075] In one implementation, it can be defined This indicates that the prediction result satisfies the training constraints, and can also define... This indicates that the prediction result does not meet the training constraints.
[0076] During the training of a neural network model, the model output can be filtered, restricted, or corrected based on training constraints. For example, if the predicted component parameters exceed the first numerical boundary condition, the prediction result can be determined as a prediction result that does not meet the training constraints.
[0077] For example, if the corresponding sample input and output parameters do not meet the second numerical boundary condition, or if the predicted parameters do not match the current switch state, the corresponding prediction result can also be determined as a result that does not meet the training constraints.
[0078] For prediction results that meet the training constraints, the model loss value can be further determined based on the difference between the predicted component parameters and the corresponding label data, and the parameters of the neural network model can be adjusted based on the model loss value.
[0079] For prediction results that do not meet the training constraints, the model prediction results can be gradually brought closer to the region that meets the training constraints by increasing the corresponding constraint loss, truncating the prediction parameters at the boundary, reducing the effectiveness of the corresponding training samples, or readjusting the model parameters.
[0080] For example, the training objective of a neural network model can be represented as That is, to minimize the loss value during training, and to make the model output simultaneously satisfy... as well as ,in, This represents the feasible region of the component parameters determined by the first numerical boundary condition.
[0081] Similarly, for input and output parameters, it is possible to require... ,in, This represents the feasible region of the input and output parameters determined by the second numerical boundary condition. For switch states, the training samples and prediction results can also be required to satisfy corresponding state constraints. ,in, This represents the set of allowed states determined by the switching logic of the LLC resonant converter.
[0082] Therefore, the entire training process can be represented as a constrained model optimization process, as shown in Equation 1 below: (Formula 1); in, This represents the model loss function used during the training of the neural network model, where "st" indicates the constraint conditions.
[0083] As the number of training iterations increases, the model parameters of the neural network model can be continuously adjusted based on the sample input and output parameter sets, the sample component parameter sets, and the training constraints. This allows the predicted component parameters output by the neural network model to gradually approach the corresponding sample component parameters, while ensuring that the prediction results conform to the actual operating constraints of the LLC resonant converter.
[0084] Once the preset training termination conditions are met, the training can be terminated, and the trained neural network model can be identified as the component parameter prediction model.
[0085] Based on the embodiments disclosed in this application, on the basis of establishing the mapping relationship between the input and output parameters of the LLC resonant converter and the component parameters using training samples, the switching state of the LLC resonant converter, the numerical boundaries of the component parameters, and the numerical boundaries of the input and output voltages can be further introduced as training constraints. This makes the training process of the neural network model subject to the circuit operating state and the actual parameter range of the components, thereby reducing prediction results that do not conform to the actual circuit characteristics, improving the prediction rationality of the obtained component parameter prediction model, and the model training stability.
[0086] In some embodiments, step S101 can be implemented by steps S301 to S303: Step S301: In the simulation environment, based on the target circuit structure of the LLC resonant converter, generate multiple different sample component parameter sets.
[0087] In the embodiments of this application, a target circuit structure can first be established based on the LLC resonant converter to be studied or evaluated. The target circuit structure can be used to characterize the circuit topology of the LLC resonant converter and the connection relationships between its components.
[0088] The target circuit structure of an LLC resonant converter may include at least a portion of the following: an input power supply, a switching network, a resonant network, a transformer, a rectifier network, a filter network, and a load. The resonant network may include a resonant inductor and a resonant capacitor, and the switching network may include one or more power switching devices.
[0089] In one implementation, a simulation model corresponding to the actual circuit can be established in a circuit simulation environment based on the circuit topology of the actual LLC resonant converter. By configuring different component parameters in this simulation model, multiple simulated integrated circuits with the same target circuit structure but different parameter values can be generated.
[0090] Among these, the parameters of the components to be changed and their corresponding value ranges can be determined in advance.
[0091] For example, the parameter range for the switching resistor value can be set to... The resonant inductance value can be set. The resonant capacitor value can be set. The voltage gain can be set. .
[0092] in, and These represent the lower and upper boundaries corresponding to the switch resistance values, respectively. and These represent the lower and upper boundaries corresponding to the resonant inductance value, respectively. and These represent the lower and upper boundaries corresponding to the resonant capacitance value, respectively. and These represent the lower and upper boundaries corresponding to the voltage gain, respectively. The above parameter ranges can be determined based on the component's rated parameters, allowable deviation range, aging variation range, actual measurement range, historical operating data, or a pre-set simulation range.
[0093] In some implementations, different parameter values can be generated within a certain range, centered on the rated parameters of the component. For example, for any component parameter to be varied... Its rated parameters can be expressed as The corresponding sample parameters can then be expressed as ,in, Indicates the first The parameter offset corresponding to each sample.
[0094] In one case, the numerical range of the parameter offset can be limited, expressed as: ,in, This indicates the maximum allowed parameter offset ratio.
[0095] By setting different It can simulate the operation of an LLC resonant converter when the component parameters are in rated state, deviation state, aging state or abnormal state.
[0096] When generating a sample set of component parameters, various sampling methods can be used, such as equal-interval sampling, random sampling, hierarchical sampling, combined sampling, or other suitable methods. For example, for the resonant inductance value, discrete sampling can be performed according to a preset step size, represented as follows: ,in, This indicates the sampling step size for the resonant inductor parameters. Similarly, for the resonant capacitance value, it can be set... ,in, This represents the sampling step size for the resonant capacitor parameters. For cases where multiple parameters change simultaneously, a parameter combination method can be used to generate a sample component parameter set. For example, the first... The parameter set of a sample component can be represented as: .
[0097] Different sample component parameter sets differ in at least one of the following: switching resistance value, resonant inductance value, resonant capacitance value, and voltage gain. For example, for any two different sample component parameter sets... and ,satisfy That is, at least one of the following conditions must be met: And / or, And / or, And / or, By ensuring that at least one parameter differs across different sample component parameter sets, subsequent simulation data can cover different component parameter states, thus providing differentiated samples for the neural network model to learn the correspondence between input / output characteristics and component parameters.
[0098] Step S302: Establish multiple simulation integrated circuits for the LLC resonant converter using the parameter sets of each sample component.
[0099] In the embodiments of this application, after obtaining multiple different sample component parameter sets, each sample component parameter set can be configured into the target circuit structure to form multiple simulated integrated circuits. Specifically, the circuit connection relationship of the LLC resonant converter can be kept unchanged, and the parameter values of the corresponding components can be adjusted for different sample component parameter sets.
[0100] For example, for the first Parameter set of individual components It can be made into , , These parameters are respectively configured into the corresponding switching devices, resonant inductors, and resonant capacitors in the target circuit structure, thereby establishing a connection with... The corresponding number A simulated integrated circuit.
[0101] The first A simulated integrated circuit is represented as ,in, This describes the modeling process of configuring the target circuit structure based on the parameter set of the sample components. Indicates the first A simulated integrated circuit.
[0102] In some implementations, for each simulated integrated circuit built, it can be checked whether the simulated integrated circuit meets preset simulation operating conditions. For example, it can be determined whether the parameter configuration exceeds the simulable range, whether the simulation model can converge normally, whether the switching logic is effective, or whether the circuit output is within a reasonable range. For parameter combinations that do not meet the preset simulation operating conditions, the corresponding sample component parameter set can be discarded or regenerated, thereby reducing invalid simulation samples.
[0103] Step S303: Apply at least one sample input voltage to each simulation integrated circuit to obtain the sample output voltage of each simulation integrated circuit.
[0104] After creating multiple simulated integrated circuits, one or more sample input voltages can be applied to each simulated integrated circuit.
[0105] For the Each simulation integrated circuit can set at least one sample input voltage. ,in, Indicates that for the first The number of sample input voltages used by each simulated integrated circuit.
[0106] In one implementation, different simulated integrated circuits can use the same sample input voltage sequence, thereby facilitating the comparison of output changes of the LLC resonant converter under different component parameter conditions. For example, it can be set to... The sample input voltage set is then applied to each simulation integrated circuit.
[0107] For the A simulated integrated circuit , in applying the first Input voltage of each sample Then, simulation calculations can be performed, and the corresponding sample output voltage can be obtained. .in, This represents the simulation process. Based on the correspondence between the simulated integrated circuit and the parameter sets of the sample components, the above relationship can also be expressed as: .
[0108] Therefore, for the same sample component parameter set This allows us to obtain multiple sample input voltages and their corresponding sample output voltages.
[0109] In some implementations, the sample output voltage can be the output voltage value of the LLC resonant converter after it reaches a preset stable state. For example, after a preset time has elapsed since the start of the simulation, the LLC resonant converter can be allowed to transition from the startup process to a stable operating state, and then the output voltage during the stable operating phase can be obtained as the sample output voltage.
[0110] In another embodiment, the average output voltage, RMS value, peak value, or other parameters that can characterize the output voltage characteristics within a preset time interval can also be obtained as the sample output voltage. This application does not specifically limit this.
[0111] For example, when using a preset time interval When the average output voltage within is used as the sample output voltage, it can be expressed as: ,in, This represents the instantaneous output voltage that changes over time during the simulation.
[0112] Using the above method, the sample output voltage of each simulated integrated circuit under at least one sample input voltage condition can be obtained.
[0113] Step S304: Based on each sample input voltage and each sample output voltage, generate sample input and output parameter sets corresponding to each simulated integrated circuit.
[0114] In the embodiments of this application, for the first A simulated integrated circuit can combine its multiple sample input voltages and the sample output voltages corresponding to each sample input voltage to form the first... A set of sample input and output parameters.
[0115] For example, the The set of input and output parameters for each sample can be represented as: .in, Indicates the first The simulated integrated circuit is in the first The sample output voltage obtained under the action of a sample input voltage.
[0116] Furthermore, the first can be established A set of sample input and output parameters With the Parameter set of individual components Correspondence between ,Right now Therefore, a set of parameter values for a sample component and its corresponding set of input and output parameter values can be used to construct a training sample. When it has When a sample set of component parameters is used, it can form This yields a sample dataset for subsequent neural network model training.
[0117] In some implementations, to increase the coverage of training samples, the input operating conditions of the LLC resonant converter can be changed for the same set of component parameters, and richer input-output characteristic data can be generated through multiple simulations.
[0118] For example, for the same parameter set Multiple input voltage points can be set. To obtain the corresponding output voltage This allows us to obtain a sample set of input and output parameters that can reflect the input and output trends of the LLC resonant converter under different input voltages.
[0119] Compared to using only a single input voltage corresponding to a single output voltage as the model input, using input and output data under multiple different input voltages can enable the model to obtain more information to distinguish the parameter states of different components.
[0120] For example, in two different component parameter sets and When the output voltages are relatively similar under a certain input voltage condition, the input and output responses may differ under multiple different input voltages. In this case, characterizing the input and output characteristics of the LLC resonant converter using multiple input and output data points helps improve the distinguishability between the parameter states of different components.
[0121] In some implementations, the sample input and output parameters can be arranged in a fixed order to form a vector form suitable for the input of a neural network model. For example, the first... Convert a set of sample input and output parameters into The corresponding label vector can be represented as: Then a training sample can be represented as Multiple training samples together constitute the training dataset of the neural network model.
[0122] Through the above implementation method, while maintaining a basically consistent target circuit structure for the LLC resonant converter, multiple different sample component parameter sets can be formed by changing at least one parameter among the switching resistor value, resonant inductance value, resonant capacitance value, and voltage gain. Furthermore, these different sample component parameter sets are configured into the simulation model of the LLC resonant converter, establishing multiple simulation integrated circuits. At least one sample input voltage is applied to each of these simulation integrated circuits to obtain sample output voltages corresponding to different component parameter states. Finally, the sample input voltages and sample output voltages are correlated to generate sample input-output parameter sets corresponding to different sample component parameter sets.
[0123] Based on the embodiments disclosed in this application, training samples with clear labels can be generated in batches through simulation, eliminating the need to modify the internal component parameters of a large number of actual LLC resonant converters one by one and conduct physical testing, thereby reducing the difficulty of obtaining model training samples. Furthermore, by ensuring that at least one parameter differs in the component parameter sets of different samples, the training samples can cover the input and output characteristics under different component states, improving the data diversity of the sample input and output parameter sets and the sample component parameter sets.
[0124] In some embodiments, step S203 can be implemented by steps S401 to S404: Step S401: Using a neural network model, based on the input and output parameter sets of each sample, determine the parameter sets of multiple predicted components for the simulated integrated circuit.
[0125] In the embodiments of this application, after obtaining multiple sample input-output parameter sets, each sample input-output parameter set can be input into the neural network model to be trained. The neural network model can then predict the component parameters of the corresponding simulated integrated circuit based on the input-output characteristics of the LLC resonant converter represented by the sample input-output parameters.
[0126] For example, the above set of sample input and output parameters can be input into a neural network model. ,in, This represents the neural network model to be trained. This represents the current model parameters of the neural network model. Indicates according to the first The predicted component parameter set is obtained by predicting the input and output parameter sets of a sample.
[0127] When the sample component parameter set includes sample switching resistance value, sample resonant inductance value, sample resonant capacitance value, and sample voltage gain, the corresponding predicted component parameter set can be expressed as follows: ,in, This indicates the predicted switch resistance value. This indicates the predicted resonant inductance value. This indicates the predicted resonant capacitance value. This indicates the predicted voltage gain.
[0128] For multiple sets of sample input and output parameters, the above prediction process can be performed separately to obtain multiple sets of predicted component parameters. ,in, This indicates the number of sample input and output parameter sets participating in the current training process.
[0129] In one implementation, multiple sample input / output parameter sets can be input into the neural network model in batches, and the neural network model can output multiple prediction component parameter sets of the corresponding batch at once, thereby improving the data processing efficiency during model training.
[0130] Step S402: Determine the target prediction parameter set that meets the training constraints from the predicted component parameter set.
[0131] In the embodiments of this application, after the neural network model obtains multiple sets of predicted component parameters, the set of predicted component parameters can be judged according to the training constraints determined in the foregoing embodiments, and the target set of predicted parameters that meets the training constraints can be determined from them.
[0132] As described in the foregoing embodiments, the training constraints may include state constraints determined based on the switching states of the LLC resonant converter, component parameter constraints determined based on the first numerical boundary conditions of each component parameter, and input / output voltage constraints determined based on the second numerical boundary conditions of the input and output voltages.
[0133] The training constraints can be expressed as ,in, This represents the state constraints corresponding to the switch state. This indicates the parameter constraints corresponding to the component parameters. This indicates the voltage constraints corresponding to the input and output voltages.
[0134] For the Predictive component parameter set This allows us to determine whether each predicted parameter satisfies its corresponding first numerical boundary condition. For example, we can determine... , , ,as well as The upper and lower boundaries of each parameter can be determined in accordance with the manner described in the aforementioned embodiments.
[0135] Furthermore, it can be determined whether the sample input and output parameters corresponding to the predicted component parameter set meet the second numerical boundary condition. For example, it can be determined that... as well as Furthermore, based on the current switching state of the LLC resonant converter, it can be determined whether the corresponding prediction results conform to the circuit operation relationship corresponding to the switching state.
[0136] In one implementation, a constraint decision function can be constructed. ,in, Indicates the relationship with the first The switching state of the LLC resonant converter corresponding to each sample.
[0137] For example, when the first When a set of predicted component parameters satisfies the training constraints, we can let When the first When the set of predicted component parameters does not meet the training constraints, we can let Therefore, it is possible to select components that meet the requirements from multiple sets of predicted component parameters. The predicted component parameter set is determined and used as the target predicted parameter set.
[0138] If we take This indicates the result obtained after filtering. If there are multiple target prediction parameter sets, then multiple target prediction parameter sets can be represented as ,in, This represents the number of target prediction parameter sets that meet the training constraints, and satisfies... .
[0139] In one implementation, training constraints can be understood as limiting the feasible region for predicting component parameters. If the feasible region determined by the training constraints is expressed as... Then the target prediction parameter set can satisfy Correspondingly, the set of predicted component parameters that does not satisfy the training constraints lies within the feasible region. Alternatively, it may not be used as the target prediction parameter set for the current model loss calculation, or the model output may be gradually made to approach the feasible region through appropriate constraints during subsequent training.
[0140] The above screening process can reduce the impact of prediction results that are obviously inconsistent with the actual working state of LLC resonant converters or the range of component parameter values on the subsequent model training process.
[0141] Step S403: Based on the prediction parameter sets of each target, the parameter sets of each sample component, and their corresponding relationships, determine the model loss value of the neural network model.
[0142] In the embodiments of this application, after determining the target prediction parameter set that meets the training constraints, the target prediction parameter set can be compared with the corresponding label data according to the correspondence between each target prediction parameter set and the corresponding sample component parameter set.
[0143] It should be noted that the target prediction parameter set is obtained by inputting the corresponding sample input and output parameter sets into the neural network model, and there is a pre-established correspondence between the sample input and output parameter sets and the sample component parameter sets. Therefore, the sample component parameter set corresponding to the target prediction parameter set can be determined based on the sample input and output parameter sets as intermediate correlation objects.
[0144] For example, if the following correspondence exists And the neural network model is based on get ,like If the training constraints are met and the set of target prediction parameters is determined, then a system can be established. and The correspondence between them, that is .in, Indicates the first A set of target prediction parameters This represents the corresponding sample component parameter set.
[0145] In one implementation, the model loss value can be determined based on the difference between the target predicted parameter set and the corresponding sample component parameter set. For example, the overall model loss can be expressed as... ,in, This represents the loss function used to measure the difference between the target predicted parameter set and the sample component parameter set; for example, it could be the mean squared error loss function. This indicates the number of target prediction parameter sets involved in the current loss calculation.
[0146] When the target prediction parameter set and the sample component parameter set are respectively represented as as well as At this time, the differences between the predicted switch resistance value and the sample switch resistance value, the predicted resonant inductance value and the sample resonant inductance value, the predicted resonant capacitance value and the sample resonant capacitance value, and the predicted voltage gain and the sample voltage gain can be compared separately.
[0147] In some implementations, the mean squared error can be used to determine the model loss. For example, it can be expressed as... ,in, This represents the L2 norm.
[0148] When the sample component parameter set includes multiple different physical quantities, since different parameters may have different dimensions and numerical ranges, each parameter can be normalized or standardized before calculating the loss value to reduce the impact of differences in numerical scales of different parameters on the model loss calculation.
[0149] In addition, in some implementations, the corresponding loss value can be determined for different prediction parameters, and the model loss value of the neural network model can be determined by combining multiple loss values.
[0150] Step S404: Based on the model loss value, adjust the model parameters of the neural network model to obtain the component parameter prediction model.
[0151] In the embodiments of this application, after determining the model loss value of the neural network model, the model parameters of the neural network model can be adjusted according to the model loss value so that the predicted component parameters output by the model gradually approach the corresponding sample component parameters.
[0152] The current model parameters of the neural network model can be expressed as: ,in, This indicates the current training iteration number.
[0153] Based on the model loss value obtained in the current iteration, the direction of model parameter adjustment can be determined, and the model parameters to be used in the next iteration can be obtained. ,in, This indicates that the learning rate corresponds to the adjustment of the model parameters. This represents the model loss value with respect to the model parameters. The gradient.
[0154] It should be noted that the above parameter update formula is used to illustrate one method of adjusting neural network model parameters based on the model loss value, and is not intended to limit this application to using a specific model optimization algorithm. In practical applications, other optimization methods that can adjust neural network model parameters based on the model loss value can also be used.
[0155] After completing a model parameter adjustment, the updated neural network model can be used to reprocess the sample input and output parameter sets to obtain a new set of predicted component parameters. Then, the target prediction parameter set can be determined again based on the training constraints, the model loss value can be calculated, and the model parameters can be adjusted.
[0156] Therefore, an iterative training process can be formed. ,in, This represents the initial model parameters of the neural network model. Indicates the process The model parameters are obtained after one iteration of training.
[0157] In one implementation, the following processing can be performed during each training iteration: First, the input and output parameter sets of the current batch of samples are input into the neural network model to obtain multiple prediction component parameter sets; Secondly, based on the training constraints, multiple sets of predicted component parameters are evaluated to determine the target set of predicted parameters that meets the training constraints. Next, the model loss value is determined based on the difference between the target prediction parameter set and its corresponding sample component parameter set; Finally, the model parameters of the neural network model are adjusted based on the model loss value.
[0158] The above training process can be continuously executed in a loop until a preset training termination condition is met. For example, the preset training termination condition may include the model loss value being less than a preset loss threshold. ,in, This indicates a preset loss threshold. Alternatively, a preset training termination condition could include reaching a preset maximum number of training iterations. ,in, This indicates the preset maximum number of iterations.
[0159] In other implementations, the decision to end model training can be based on at least one of the following: the prediction error corresponding to the validation set, the magnitude of change in the model loss value during multiple consecutive training sessions, or the model prediction accuracy.
[0160] For example, when the change in model loss value is less than a preset threshold during several consecutive iterations, the neural network model can be considered to have converged. The change in model loss between two consecutive training iterations can be expressed as... When satisfied At that time, the number of consecutive satisfactions can be preset to determine whether the neural network model has reached the training termination condition. This indicates the preset threshold for loss variation.
[0161] After the preset training termination conditions are met, the adjustment of the neural network model parameters can be stopped, and the model parameters at this point are defined as the target model parameters, denoted as... Thus, the trained component parameter prediction model is obtained. .
[0162] After training, when the target input / output parameter set corresponding to the target LLC resonant converter is input into the component parameter prediction model... At that time, the corresponding target component parameter prediction results can be obtained. .
[0163] Based on the embodiments disclosed in this application, the traditional model training method that calculates prediction error based on training samples can be further improved by utilizing the training constraints corresponding to the LLC resonant converter to filter the set of predicted component parameters output by the neural network model, and by using the target set of predicted parameters that meets the training constraints and its corresponding set of sample component parameters to determine the model loss value. This ensures that the prediction results involved in the model loss calculation conform to the constraints of the LLC resonant converter's switching state, component parameter numerical boundaries, and input / output voltage numerical boundaries, reducing the impact of prediction results that significantly deviate from actual circuit operating conditions on the model training process and improving the prediction performance of the component parameter prediction model.
[0164] In some embodiments, step S403 can be implemented by steps S501 to S506: Step S501: Based on the correspondence, determine the sample component parameter set corresponding to each target prediction parameter set.
[0165] In the embodiments of this application, after selecting the target prediction parameter set that meets the training constraints from multiple prediction component parameter sets according to the foregoing embodiments, the predicted switching resistance value, predicted resonant inductance value, predicted resonant capacitance value and predicted voltage gain of each target prediction parameter set can be further extracted.
[0166] The correspondence refers to the relationship between the sample input / output parameter set and the sample component parameter set. By using a neural network model, the correspondence between the sample input / output parameter set and the target prediction parameter set can be obtained. ,by Using the pivot as a reference, another correspondence can be obtained. That is, the correspondence between the target prediction parameter set and the sample component parameter set.
[0167] For example, for the first A set of target prediction parameters can be represented as ,in, Indicates the first Predicted switching resistance values from a set of target prediction parameters. This indicates the predicted resonant inductance value. This indicates the predicted resonant capacitance value. This represents the predicted voltage gain. (Compared to the first...) The sample component parameter set corresponding to each target prediction parameter set can be represented as: ,in, Indicates the sample switch resistance value. This represents the sample resonant inductance value. Indicates the sample resonant capacitance value. This represents the sample voltage gain. There is a correspondence between the target prediction parameter set and the sample component parameter set. This allows us to determine the sample component parameter sets corresponding to each target prediction parameter set.
[0168] Step S502: Determine the first mean square error loss value based on each predicted switch resistance value and its corresponding sample switch resistance value.
[0169] In the embodiments of this application, for multiple target prediction parameter sets that meet the training constraints, the predicted switch resistance values can be obtained respectively, and the first mean square error loss value can be determined based on the error between each predicted switch resistance value and its corresponding sample switch resistance value.
[0170] For example, suppose the number of target prediction parameters currently involved in the model loss calculation is... Then the first The predicted switching resistance value in the target prediction parameter set is The corresponding sample switch resistance value is The error between the predicted switching resistance value and the sample switching resistance value can be expressed as: Accordingly, the first mean square error loss value can be determined based on the squared mean of the errors corresponding to multiple predicted switching resistance values. .in, This represents the first mean square error loss value.
[0171] The first mean square error loss value can be used to characterize the overall prediction deviation of the neural network model for the switching resistor parameters of the LLC resonant converter. As the predicted switching resistor value gradually approaches the corresponding sample switching resistor value, the first mean square error loss value decreases accordingly.
[0172] In some implementations, if the numerical scale of the switching resistance value differs significantly from that of other parameters, the predicted and sample switching resistance values can be normalized or standardized before calculating the corresponding first mean squared error loss value. This can reduce the impact of differences in the dimensions and numerical ranges of different parameters on the model loss calculation results.
[0173] Step S503: Determine the second mean square error loss value based on each predicted resonant inductance value and its corresponding sample resonant inductance value.
[0174] In the embodiments of this application, the predicted resonant inductance value can be extracted from each target prediction parameter set. And obtain the corresponding sample resonant inductance value. .
[0175] The error between the predicted resonant inductance value and the sample resonant inductance value can be expressed as: Therefore, the second mean square error loss value can be expressed as: ,in, This represents the second mean square error loss value. The second mean square error loss value can be used to reflect the prediction error of the neural network model for the resonant inductor parameters of the LLC resonant converter.
[0176] In some implementations, the normalized resonant inductance parameters can also be used to calculate the second mean square error loss value.
[0177] Step S504: Determine the third mean square error loss value based on each predicted resonant capacitance value and its corresponding sample resonant capacitance value.
[0178] In the embodiments of this application, the predicted resonant capacitance value of each target prediction parameter set can be determined separately. and the corresponding sample resonant capacitance value The error between the predicted resonant capacitance value and the sample resonant capacitance value can be expressed as: Accordingly, the third mean square error loss value can be expressed as ,in, This represents the third mean square error loss value.
[0179] The third mean square error loss value can reflect the prediction error of the neural network model for the resonant capacitor parameters of the LLC resonant converter.
[0180] In some implementations, the normalized resonant capacitor parameters can also be used to calculate the third mean square error loss value.
[0181] Step S505: Determine the fourth mean square error loss value based on each predicted voltage gain and its corresponding sample voltage gain.
[0182] In the embodiments of this application, the predicted voltage gain can be determined separately for each target prediction parameter set. And determine the corresponding sample voltage gain. The error between the predicted voltage gain and the sample voltage gain can be expressed as: Accordingly, the fourth mean square error loss value can be expressed as ,in, This represents the fourth mean square error loss value.
[0183] The fourth mean square error loss value can be used to reflect the prediction deviation of the neural network model for the voltage gain of the LLC resonant converter.
[0184] In some implementations, the normalized voltage gain can also be used to calculate the fourth mean square error loss value.
[0185] Step S506: Based on the first mean squared error loss value, the second mean squared error loss value, the third mean squared error loss value, and the fourth mean squared error loss value, determine the model loss value of the neural network model.
[0186] In the embodiments of this application, the first mean square error loss value is obtained respectively. Second mean square error loss value Third mean square error loss value and the fourth mean square error loss value Then, the model loss value of the neural network model can be determined based on the above four mean squared error loss values.
[0187] In one implementation, the four mean squared error loss values can be summed directly to determine the model loss value.
[0188] When using the above method, the prediction errors corresponding to the predicted switch resistance value, predicted resonant inductance value, predicted resonant capacitance value, and predicted voltage gain are all involved in the adjustment of the model parameters of the neural network model.
[0189] Furthermore, in some implementations, different loss weights can be set for each mean square error loss value based on the degree of influence of different component parameters on the operating state of the LLC resonant converter.
[0190] At this point, the model loss value can be expressed as ,in, This represents the weight corresponding to the first mean squared error loss value. This indicates the weight corresponding to the second mean squared error loss value. This indicates the weight corresponding to the third mean squared error loss value. This represents the weight corresponding to the fourth mean square error loss value.
[0191] For example, the weights can satisfy... as well as .
[0192] It should be noted that the above weighting relationship is only one optional implementation method and does not require that each weight be normalized. In practical applications, different weights can be determined according to the dimensions, value range, prediction difficulty, or degree of influence of each prediction parameter on the operating characteristics of the LLC resonant converter.
[0193] For example, when more attention is paid to the prediction accuracy of resonant inductance and resonant capacitance values, the accuracy can be appropriately increased. and The value of allows the neural network model to pay more attention to the prediction error corresponding to the resonant inductance and resonant capacitance during the parameter update process.
[0194] The smaller the model loss value, the closer the predicted component parameters output by the neural network model are to the corresponding sample component parameters.
[0195] In some implementations, the changes in each mean squared error loss value can also be monitored separately. For example, during training, the changes can be recorded separately. This allows us to determine how well the neural network model has learned different component parameters.
[0196] For example, if the overall model loss has been reduced but the mean squared error loss of a certain parameter is still large, the weight of the corresponding loss term can be adjusted to further reduce the prediction error of that parameter.
[0197] In some implementations, to prevent a certain loss term from becoming excessively dominant in the overall model loss due to different numerical scales of the parameters, the parameters can be normalized or standardized first, and then the mean squared error can be calculated separately.
[0198] For example, normalization parameters can be defined uniformly. ,in, These can represent the switching resistance value, resonant inductance value, resonant capacitance value, or voltage gain, respectively. and These represent the lower and upper bounds of the corresponding values for the parameter, respectively.
[0199] Therefore, different types of parameters can be converted to the same or similar numerical scales before mean square error calculation, which helps to improve the stability of joint training of multiple loss terms.
[0200] It should be noted that the calculation order of the first, second, third, and fourth mean squared error loss values can be adjusted according to the actual calculation process, and is not required to follow a fixed order. For example, the four mean squared error loss values can be calculated in parallel, and then the losses can be fused to determine the model loss value.
[0201] Furthermore, each mean squared error loss value should be calculated based on the corresponding prediction parameters and sample parameters. For example, for the first... A set of sample input and output parameters The corresponding sample component parameter set is Neural network models are based on The target prediction parameter set obtained and filtered by training constraints is as follows The following correspondence should be established between each parameter: , , , This avoids mismatch between prediction parameters and label parameters between different training samples.
[0202] Based on the embodiments disclosed in this application, mean squared error losses can be constructed separately for different types of prediction parameters output by the neural network model. The model loss value is determined jointly by multiple mean squared error losses, enabling the model to simultaneously consider the differences between the predicted switching resistance value, predicted resonant inductance value, predicted resonant capacitance value, and predicted voltage gain and their corresponding sample values during training. Compared to establishing a model loss function based only on a single component parameter, this allows the trained component parameter prediction model to simultaneously predict multiple LLC resonant converter-related parameters. Furthermore, by combining the mean squared error losses corresponding to each parameter, the neural network model can consider the prediction accuracy of different parameters during the overall optimization process. Through normalization or setting appropriate loss weights, the impact of differences in the dimensions and numerical ranges of different parameters on the model training process can be reduced, thereby improving the stability of the model training process and the reliability of the prediction results.
[0203] Based on the above embodiments, this application also provides a circuit health assessment method, such as... Figure 3 As shown, Figure 3 This application provides a flowchart illustrating a circuit health assessment method, which may include steps S601 to S603: Step S601: Obtain the target input and output parameter set of the target LLC resonant converter.
[0204] In the embodiments of this application, the input parameters and output parameters of the target LLC resonant converter to be evaluated under preset operating conditions can be obtained, and a target input-output parameter set can be constructed based on the input parameters and output parameters.
[0205] The target input and output parameter set may include at least the target input voltage and the target output voltage.
[0206] In one implementation, the input voltage and the corresponding output voltage of the target LLC resonant converter can be acquired during normal operation.
[0207] For example, for a target LLC resonant converter, it is possible to The corresponding output voltage is collected under different input voltage conditions to form a target input-output parameter set. ,in, Indicates the first [missing information] corresponding to the target LLC resonant converter. One target input voltage, Indicates the first The target output voltage obtained under the action of a target input voltage.
[0208] In one implementation, the target input and output parameters can be obtained using the same or corresponding input voltage sampling method as in the model training phase, so that the data structure of the target input and output parameter set is consistent with the sample input and output parameter set used in the component parameter prediction model training phase.
[0209] For example, the set of sample input voltages used in the model training phase is Therefore, in the health evaluation process of the target LLC resonant converter, the target output voltage can also be obtained by using the same or corresponding input voltage point to form the corresponding target input and output parameter set.
[0210] In some implementations, the target input and output parameters can be obtained through sensors, sampling circuits, testing equipment, or other detection devices capable of acquiring the input and output voltages of the LLC resonant converter. For example, a voltage sampling circuit can be used to acquire the input and output voltages of the target LLC resonant converter, and the acquisition results can be converted into a data format suitable for subsequent model processing.
[0211] In some implementations, when the target output voltage is a time-varying signal, feature values for constructing the target input-output parameter set can be extracted from the output voltage signal according to a preset method. For example, the average output voltage of the target LLC resonant converter after it has entered a stable operating state can be obtained. ,in, Indicates the target LLC resonant converter at time... Instantaneous output voltage, This indicates the preset time interval used for output voltage feature extraction.
[0212] In some implementations, the target input-output parameter set can be preprocessed before being input into the component parameter prediction model.
[0213] The preprocessing method can be consistent with the data preprocessing method used on the sample input and output parameter sets during the model training stage, including at least one of normalization, standardization, outlier removal, sorting, or data format conversion.
[0214] For example, if minimum-maximum normalization is used for the input voltage during the model training phase, it can be expressed as: Therefore, in the health evaluation phase of the target LLC resonant converter, the same [method / mechanism] can be used. and The target input voltage is normalized.
[0215] Similarly, for the target output voltage, it can be expressed as This ensures that the data used in the input component parameter prediction model is consistent with the data used in the training phase in terms of numerical scale and arrangement.
[0216] Step S602: Using the component parameter prediction model, the target component parameters of the target LLC resonant converter are determined based on the target input and output parameter set. The component parameter prediction model is obtained by training a neural network model based on the LLC resonant converter, using multiple sample input and output parameter sets as input data and multiple sample component parameter sets as label data. The sample component parameter sets are determined based on multiple simulated integrated circuits corresponding to the LLC resonant converter. The sample input and output parameter sets are obtained through simulations using multiple simulated integrated circuits under each sample component parameter set.
[0217] In the embodiments of this application, the component parameter prediction model can be a neural network model trained in any of the foregoing embodiments.
[0218] The component parameter prediction model takes the input and output parameters of the LLC resonant converter as input and the component parameters of the LLC resonant converter as output.
[0219] The trained component parameter prediction model can be represented as: ,in, This represents the model parameters after training is complete.
[0220] The target input and output parameter set corresponding to the target LLC resonant converter By inputting the component parameter prediction model, the parameters of the target component can be obtained. ,in, This indicates the target component parameters corresponding to the target LLC resonant converter.
[0221] When the target component has multiple parameters, it can be represented as follows: ,in, This represents the predicted target switching resistance value. This represents the predicted target resonant inductance value. This represents the predicted target resonant capacitance value. This represents the predicted target voltage gain.
[0222] It should be noted that the above parameter set is only an example. In practical applications, the target component parameters may include one or more of the above parameters, and can be determined based on the output settings of the component parameter prediction model.
[0223] Since the component parameter prediction model learns the mapping relationship between input / output parameters and component parameters through multiple simulated integrated circuits with different sample component parameters during the training phase, after inputting the actual input / output parameters of the target LLC resonant converter into the model, the corresponding component parameters can be obtained by inverting based on the input / output characteristics exhibited by the target LLC resonant converter.
[0224] In other words, the component parameter prediction process can be expressed as: This enables the mapping from available external input / output characteristics to relevant internal parameters of the target LLC resonant converter.
[0225] In some implementations, it can also be determined whether the target component parameters output by the component parameter prediction model are within a preset allowable range.
[0226] For example, for the target resonant inductance value, it can be determined that... For the target resonant capacitance value, it can be determined that... For prediction results that exceed the allowable range, anomaly marking, re-collecting target input and output parameters, or re-executing model prediction can be performed to improve the reliability of subsequent health assessment results.
[0227] Step S603: Determine the health status of the target LLC resonant converter based on the target component parameters.
[0228] In the embodiments of this application, after obtaining the target component parameters corresponding to the target LLC resonant converter, the current health status of the target LLC resonant converter can be evaluated based on the target component parameters. The health status can be used to characterize how close the current parameter state of the target LLC resonant converter is to its normal or rated state.
[0229] Typically, when one or more components in an LLC resonant converter age, drift in parameters, or degrade in performance over time, the parameters of the corresponding components may deviate from their rated or normal parameter ranges. Therefore, the health of the LLC resonant converter can be determined based on the difference between the predicted target component parameters and their corresponding normal parameters.
[0230] For example, the target component parameters of the target LLC resonant converter can be expressed as follows: ,in, This indicates the number of parameters involved in the health assessment.
[0231] Correspondingly, the rated parameters or normal reference parameters of each component can be expressed as follows: ,in, Indicates the first Each parameter corresponds to a rated parameter or normal reference parameter.
[0232] One or more health indicators can be determined based on the deviation between the target component parameters and the rated parameters. For example, the first indicator can be determined... Relative deviation of individual component parameters ,in, Indicates the first The relative deviation of individual component parameters from their rated parameters.
[0233] Generally speaking, The smaller the value, the closer the current parameters of the corresponding component are to their rated state; The larger the value, the greater the parameter offset of the corresponding component.
[0234] In one implementation, a health function can be constructed based on relative deviation. For example, it can be set... ,in, Indicates the first The health status of each component.
[0235] When it is necessary to limit health levels to a preset range, further settings can be made. Thus Among them, when The closer When the parameters of the corresponding component are closer to their normal state, it indicates that the parameters of the component are closer to their normal state. The closer When the value is greater, it indicates that the parameters of the corresponding component deviate more from their normal state.
[0236] It should be noted that the above health function is only used to illustrate one way of determining health based on component parameters, and does not limit this application to using this specific function relationship. In practical applications, other health mapping relationships can also be established based on component parameter deviations, allowable deviation ranges, fault thresholds, or historical statistical data.
[0237] Furthermore, the overall health of the target LLC resonant converter can be determined by jointly considering the health status of multiple component parameters.
[0238] In practical applications, there is no need to directly disassemble the target LLC resonant converter or measure the actual parameters of each internal component. Instead, the relatively easy-to-measure input and output parameters of the target LLC resonant converter can be obtained, and the parameters of its internal components can be obtained by using the component parameter prediction model. Then, the health status of the LLC resonant converter can be evaluated based on the predicted component parameters.
[0239] For example, when the resonant inductor or capacitor in an LLC resonant converter ages, its actual parameters may deviate from the rated parameters. This parameter deviation may further cause changes in the input and output characteristics of the LLC resonant converter. Using a component parameter prediction model, the resonant inductor or capacitor values can be inverted based on the corresponding input and output characteristics. This allows for the identification of the degree of degradation of the corresponding components based on the difference between the predicted and rated parameters, ultimately forming a health assessment result for the target LLC resonant converter.
[0240] Based on the embodiments disclosed in this application, the input and output parameters of the LLC resonant converter can be used to indirectly predict the parameters of internal components, and the health of the target LLC resonant converter can be evaluated based on the predicted component parameters. Compared to directly determining whether the circuit is abnormal using only external parameters such as input voltage and output voltage, this embodiment establishes the correlation between input / output characteristics and internal component parameters through a component parameter prediction model. This allows the health evaluation results to further reflect the parameter change status of the internal components of the LLC resonant converter, thereby improving the accuracy of the health evaluation of the LLC resonant converter.
[0241] In some embodiments, step S603 can be implemented by steps S701 to S703: Step S701: Obtain the rated parameters of each component in the target LLC resonant converter.
[0242] In the embodiments of this application, after obtaining the target component parameters of the target LLC resonant converter through the component parameter prediction model, the rated parameters corresponding to each target component parameter can be further obtained.
[0243] The rated parameters can be standard parameter values corresponding to the components in their design state, factory state, or normal operating state, or they can be reference parameters determined based on the design documents, device specifications, factory calibration data, or historical normal operating data of the target LLC resonant converter.
[0244] For example, if the target component parameters for the target LLC resonant converter include the target switching resistance value, target resonant inductance value, target resonant capacitance value, and target voltage gain, then the corresponding rated switching resistance value, rated resonant inductance value, rated resonant capacitance value, and rated voltage gain can be obtained respectively. The target component parameters can be expressed as follows: The corresponding rated parameters can be expressed as ,in, Indicates the rated switch resistance value. Indicates the rated resonant inductance value. This indicates the rated resonant capacitance value. This indicates the rated voltage gain.
[0245] In one implementation, the rated parameters can be pre-stored in a health assessment device, controller, database, or other storage unit. When performing a health assessment on a specific model or serial number LLC resonant converter, the corresponding rated parameters can be read based on the model information or configuration parameters of the target LLC resonant converter.
[0246] In some implementations, the actual parameters obtained by the target LLC resonant converter under initial normal conditions can also be used as rated parameters or reference parameters. For example, before the target LLC resonant converter is put into operation, the initial parameters of each component can be calibrated, and the initial calibration parameters can be recorded as follows: ,in, This indicates the number of parameters involved in the health assessment. Indicates the first Reference parameters for each component.
[0247] In subsequent operation, this benchmark parameter can be used as the rated parameter or health status reference parameter for the corresponding component.
[0248] Step S702: For each component, calculate the relative difference between the component parameters and the rated parameters to obtain the component health status of each component.
[0249] In the embodiments of this application, after obtaining the target component parameters of the target LLC resonant converter and the rated parameters corresponding to each component, the relative difference between each target component parameter and the corresponding rated parameter can be calculated respectively.
[0250] For example, for the first For each component, the predicted component parameters can be expressed as: The corresponding rated parameters can be expressed as The relative difference between the component parameter and the rated parameter can be expressed as: ,in, Indicates the first The relative difference between the parameters of each component and their rated parameters.
[0251] This relative difference can be used to characterize the degree of deviation of the current parameters of a component from its rated state. Generally speaking, the smaller the relative difference, the closer the current parameters of the component are to the rated parameters; the larger the relative difference, the greater the degree of deviation between the current parameters and the rated parameters.
[0252] After calculating the relative difference, the health status of each component can be further determined based on the relative difference.
[0253] In one implementation, component health can be directly constructed based on relative differences. For example, it can be set... ,in, Indicates the first The component health status corresponding to each component.
[0254] When the component parameters are exactly the same as the rated parameters Accordingly, This indicates that the component is in a relatively good health condition.
[0255] As the component parameters gradually deviate from their rated parameters Increase, and The corresponding decrease allows the component health status to characterize the degree of parameter degradation of the corresponding component.
[0256] In order to keep the health of components within a preset range, some implementations may further set... Thus ,in, The closer This can indicate that the corresponding component is closer to its rated state; The closer This indicates the degree to which the parameters of the corresponding component deviate from their rated state.
[0257] In another implementation, health can also be expressed as a percentage. For example... At this point, the health status of the components can be... to Represented within a range.
[0258] It should be noted that the definition here is "to calculate the relative difference between the component parameters and the rated parameters to obtain the component health status". Therefore, the mapping relationship between the relative difference and the component health status can be set according to the actual health status evaluation requirements, and it is not required to adopt the above linear relationship.
[0259] For example, in some implementations, a non-linear mapping method can be used to convert the relative difference into component health. For example... ,in, This indicates the preset health decay coefficient. When... When smaller, near ;along with Increase It can gradually decrease according to a preset decay rule.
[0260] In another implementation, the health of a component can be determined based on the allowable parameter deviation range of the component.
[0261] In one implementation, the same health mapping relationship can be used to maintain the consistency of the health calculation method for different components; in another implementation, different health mapping relationships can be set according to the aging patterns, parameter drift characteristics, or allowable deviation ranges of different components.
[0262] Through the above process, the health status of each component participating in the evaluation in the target LLC resonant converter can be obtained.
[0263] Step S703: Determine the health status of the target LLC resonant converter based on the health status of each component.
[0264] In the embodiments of this application, after obtaining the health status of each component individually, the overall health status of the target LLC resonant converter can be determined by combining the health statuses of multiple components. The overall health status of the target LLC resonant converter can be expressed as... ,in, This represents a health determination function used to integrate the health of multiple components; for example, it could be an arithmetic average or a weighted average.
[0265] In one implementation, the health of the target LLC resonant converter can be determined based on the statistical characteristics of the health of multiple components. For example, the arithmetic mean of the health of each component can be calculated. This allows us to characterize the health of the target LLC resonant converter by utilizing the overall health level of each component.
[0266] In another implementation, the health status of each component can be assigned a corresponding weight based on the degree of influence of different components on the operating performance of the LLC resonant converter. For example... ,in, Indicates the first The weights corresponding to the health status of each component. Each weight satisfies... as well as .
[0267] For components that have a significant impact on the operating performance of LLC resonant converters, a larger health weight can be set; for components that have a relatively smaller impact, a smaller health weight can be set.
[0268] In some implementations, the minimum value among multiple component health scores can be determined as the health score of the target LLC resonant converter. This approach allows the overall health score to better reflect the component with the worst health status, making it suitable for scenarios where a significant decline in the performance of a key component could affect the normal operation of the entire LLC resonant converter.
[0269] It should be noted that the above-mentioned average value, weighted value, and minimum value methods are all optional implementation methods for determining the health of the target LLC resonant converter based on the health of each component.
[0270] In actual operation, as the internal components of the LLC resonant converter age or their parameters drift, the relative difference between the target component parameters and the rated parameters may gradually increase. By continuously or periodically acquiring the input and output parameters of the target LLC resonant converter and using a component parameter prediction model to determine the corresponding component parameters, the component health status at different operating times can be obtained.
[0271] For example, at time For the The health status of a given component can be expressed as... Then, by comparing the component health at multiple time points... It can also obtain the trend of the health status of the corresponding components over time, providing data for subsequent judgment on whether the components are undergoing continuous degradation.
[0272] Similarly, the overall health of the target LLC resonant converter over time can be obtained. .
[0273] In some implementations, different health status ranges can be set based on health level.
[0274] For example, a first health threshold can be set. Second health threshold and satisfy .when At this time, it can be determined that the target LLC resonant converter is in a normal and healthy state; when When this occurs, it can be determined that the target LLC resonant converter is in a state of performance degradation; when In this case, it can be determined that the target LLC resonant converter is in an abnormal state or requires maintenance.
[0275] Based on the embodiments disclosed in this application, the target component parameters output by the component parameter prediction model can be compared with the corresponding rated parameters, and the degree of parameter deviation of different components can be converted into component health status through relative differences. Since relative differences are used for evaluation, the impact of the magnitude differences in the numerical values of different component parameters on the health status evaluation results can be reduced to a certain extent, thereby facilitating a unified characterization of the health status of different components and improving the accuracy of health status. Furthermore, by comprehensively determining the overall health status of the target LLC resonant converter through the health status of multiple components, the overall health status can not only reflect the external input and output status of the LLC resonant converter, but also further reflect the parameter degradation of multiple related internal components, thereby improving the interpretability of the health status evaluation results.
[0276] In some embodiments, step 7503 can be implemented by one of the following steps S801 and S802: Step S801: Calculate the average health status of each component and determine the average health status of the target packaged circuit module.
[0277] In the embodiments of this application, after obtaining the component health status of each component in the target LLC resonant converter according to the foregoing embodiments, the health status of each component can be averaged to obtain the average value of multiple component health statuses.
[0278] For the target LLC resonant converter Each of the components participating in the evaluation can obtain... After obtaining the health status of each component, the average health status of each component can be calculated. ,in, This represents the average health status of each component. This indicates the number of components involved in the health assessment.
[0279] In one specific implementation, the target component parameters corresponding to the target LLC resonant converter may include at least the target switching resistor value, the target resonant inductance value, the target resonant capacitance value, and the target voltage gain. According to the foregoing embodiments, the component health corresponding to the switching resistor can be obtained respectively. Health of components corresponding to resonant inductors Health of components corresponding to resonant capacitors Component health corresponding to voltage gain .
[0280] At this point, the average health status of each component can be expressed as: For example, if , , ,as well as Then it can be calculated that Therefore, an average value can be obtained to comprehensively characterize the health status of multiple components.
[0281] It should be noted that the specific values mentioned above are only used as an example to illustrate the calculation process of the average health level, and do not constitute a limitation on the actual health level of each component.
[0282] By calculating the average health status of each component, the health status of multiple components in the target LLC resonant converter can be merged into a single value, providing a data basis for subsequently determining the overall health status of the target LLC resonant converter.
[0283] After calculating the average health status of each component, this average value can be directly determined as the health status of the target LLC resonant converter, i.e. .in, This indicates the health status of the target LLC resonant converter.
[0284] Step S803: Integrate the health status of each component into a health status vector to obtain the health status of the target LLC resonant converter.
[0285] In the embodiments of this application, unlike the first embodiment which merges the health values of multiple components into a single average value, the health values of each component can be retained separately, and the health values of multiple components can be integrated into a health value vector according to a preset order. This health value vector is then used as the health value of the target LLC resonant converter.
[0286] Specifically, after obtaining the component health status of each component in the target LLC resonant converter according to the aforementioned embodiments, the correspondence between the health status of each component and the corresponding component can be determined first.
[0287] For example, for Each component participating in the health assessment can obtain... It can integrate the health status of multiple components according to the preset arrangement order of each component. ,in, This represents the health vector corresponding to the target LLC resonant converter.
[0288] In one specific implementation, the health status of each component can be arranged in the order of switching resistor, resonant inductor, resonant capacitor, and voltage gain. In this case, the health status vector can be represented as... .in, This indicates the health status of the switching resistor. This indicates the health status of the resonant inductor. This indicates the health status of the resonant capacitor. This indicates the health status corresponding to the voltage gain.
[0289] For example, when , , ,as well as At that time, one can obtain The aforementioned health vector can be used to determine the health of the target LLC resonant converter.
[0290] In this implementation, health is no longer represented by a single scalar describing the overall state, but rather by multiple vector elements that characterize the health status of different components or parameters in the target LLC resonant converter.
[0291] To ensure that the physical meaning of different elements in the health vector can be accurately determined, the order of components corresponding to each vector element in the health vector can be preset.
[0292] For example, it can be predefined This ensures that the first dimension of the health vector always corresponds to the switching resistor, the second dimension always corresponds to the resonant inductor, the third dimension always corresponds to the resonant capacitor, and the fourth dimension always corresponds to the voltage gain.
[0293] In other implementations, other arrangement orders can be set according to the types of components actually involved in the health evaluation, as long as the correspondence between each vector element and the corresponding component is maintained during the health evaluation process.
[0294] Based on the embodiments disclosed in this application, the overall health status of the LLC resonant converter can be obtained by separately determining the health status of each component in the LLC resonant converter, and then calculating the overall health status of the LLC resonant converter based on the average health status of each component or by integrating the health statuses of each component. This allows the parameter health status of multiple components within the chip to be converted into a health index that characterizes the overall health status of the LLC resonant converter. Specifically, using the average value to determine the overall health status can comprehensively characterize the overall health level of multiple components; integrating the health statuses of each component allows for a comprehensive determination of the chip's health status based on the degree of influence of different components on the chip's operating state. Therefore, appropriate health status determination methods can be selected according to the circuit structure and health status evaluation requirements of different LLC resonant converters, improving the adaptability and rationality of the overall health status characterization of the LLC resonant converter.
[0295] The following describes the application of the integrated circuit health assessment method provided in this application in a real-world scenario.
[0296] Currently, neural network-based component parameter identification methods suffer from fuzzy mapping relationships. This is because the measured voltage, current, and component parameter values are directly used as the network's input and output, while ignoring the physical mapping relationship between the two. This results in low identification accuracy for current component parameters, making it impossible to accurately evaluate the health of integrated circuits.
[0297] To address the aforementioned issues, this application provides a circuit health evaluation method. By mathematically modeling the circuit topology of an LLC resonant converter and deriving the time-domain functional relationship between measurable voltage and current and component parameters, only the peak-to-peak values of inductor current and output voltage are required as inputs to the neural network. The intermediate state variables are trained by relying on the powerful nonlinear function fitting ability of neurons, and a physical model is added as a constraint condition for the neural network to enhance the accuracy of parameter identification.
[0298] The specific implementation method is as follows: Taking an LLC resonant converter (where "L" refers to inductance and "C" refers to capacitance) as an example, such as Figure 2 As shown, where, , , and It is a controllable switching resistor with an input voltage of Defined by inductance The current is The image shows " "Indicates the ratio of the number of coil turns in the transformer section.
[0299] in, , , and They are usually not in the on state at the same time. Defined when... and When conducting, ,at this time and In a closed state; when and When conducting, ,at this time and It is currently in a closed state.
[0300] when At that time, the LLC resonant converter exhibits the following relationship:
[0301] in, This represents the voltage gain coefficient of the transformer section. This is the coil voltage before transformation. This is the coil voltage after transformation. and They represent and The equivalent resistance value, This is the forward voltage of diode F1. This is the output voltage.
[0302] when At that time, the LLC resonant converter exhibits the following relationship:
[0303] in, and They represent and The equivalent resistance value, This is the coil voltage after transformation. This is the forward voltage of diode F2.
[0304] Based on the above electrical parameter relationships of the LLC resonant converter, the input-output voltage relationship of the LLC resonant converter can be obtained as follows:
[0305] For the nonlinear time-domain function of the aforementioned LLC resonant converter, directly calculating the functional relationship between component parameters and voltage and current leads to complex calculations and requires inverse function operations to solve for the parameters, resulting in exponentially increasing computational complexity. This application transforms the component parameter identification problem into solving nonlinear differential / integral equations and approximates the function using the strong fitting ability of neural networks. Instead of relying on weakly correlated data, it identifies component parameters based on clear time-domain relationships. The specific steps are as follows: 1) Data acquisition: The converter circuit was built and simulated using Simulink simulation software to acquire data; 2) Taking advantage of the strong fitting ability of neural networks to nonlinear functions, simulation data is trained through neural networks. The input of the neural network is multiple sets of voltage and current, and the output is the component parameters. 3) The trained neural network is ported to the DSP / FPGA. When the voltage and current are collected, they are input into the trained neural network model to obtain the component parameters output by the neural network model.
[0306] Taking the BP-NN network model as an example, at least two hidden layers can be set in this model, each containing at least 20 hidden nodes. The activation function of the nodes can be the sigmoid function, and each node has a weight value as a node parameter. The input and output of the model are set as follows: the input is the input voltage, the resonant inductor current, and the output voltage; the output is the switch internal resistance, the resonant inductance, the resonant capacitance, and the output capacitance. The model loss is the mean squared error loss, and the network model is trained using the gradient descent method to obtain the trained network. The specific execution steps are as follows: Figure 4 As shown, it includes S1 to S6: S1, Multiple LLC component parameter settings; S2. Acquisition of voltage and current data under steady-state processes in multiple simulation models; The sampling frequency is set to at least twice the voltage frequency, and the voltage signal obtained from sampling includes peak-to-peak values and intermediate values, such as... Figure 5 As shown. For to There are n signals in total, which can be obtained through sampling. , The two peak values within the same period, and and Two intermediate values, but unable to be sampled. to The value of . Where, and The time interval between them is equal when n is any positive integer value.
[0307] S3, data preprocessing, and neural network input; The parameters and voltage / current data of LLC components are input into the neural network and used for neural network training.
[0308] S4. Train the neural network to obtain the trained network; S5. Collect voltage and current data and calculate the switching frequency; S6. The trained network is used for data processing; That is, the collected voltage and current data are used as network input, and the trained network is used to process them to obtain the network output of switch internal resistance / resonant inductance / resonant capacitance / output capacitance.
[0309] In this way, the component parameters of the LLC resonant converter can be predicted, and the health status of the LLC resonant converter can be predicted by combining the rated parameters of the components.
[0310] Figure 6 A logic block diagram of a model training device provided in an embodiment of this application is shown below. Figure 6As shown, the model training device 60 may include: The first acquisition module 61 is used to acquire the sample component parameter set of multiple simulated integrated circuits corresponding to the LLC resonant converter, and the sample input and output parameter set obtained by simulation under each sample component parameter set; wherein, the sample input and output parameter set includes at least the sample input voltage and the sample output voltage; the sample component parameter set includes at least one of the following: sample switch resistor value, sample resonant inductance value, sample resonant capacitance value, and sample voltage gain; Training module 62 is used to train a neural network model based on an LLC resonant converter, using multiple sample input and output parameter sets as input data and multiple sample component parameter sets as label data, to obtain a component parameter prediction model.
[0311] In some embodiments, the training module 62 includes: The first determining submodule is used to determine the switching state of the LLC resonant converter, the first numerical boundary conditions of the parameters of each component, and the second numerical boundary conditions of the input and output voltages of the LLC resonant converter. The second determination submodule is used to determine the switch state, the first numerical boundary condition, and the second numerical boundary condition as training constraints for the neural network model. The training submodule is used to train the neural network model based on training constraints, using multiple sample input and output parameter sets as input data and multiple sample component parameter sets as label data, to obtain a component parameter prediction model.
[0312] In some embodiments, the first acquisition module 61 includes: The first generation submodule is used to generate multiple different sample component parameter sets based on the target circuit structure of the LLC resonant converter in a simulation environment; wherein, at least one of the following is different between different sample component parameter sets: switching resistor value, resonant inductance value, resonant capacitance value, and voltage gain. A submodule is created to build multiple simulated integrated circuits of the LLC resonant converter using the parameter sets of each sample component. The trigger submodule is used to apply at least one sample input voltage to each simulated integrated circuit to obtain the sample output voltage of each simulated integrated circuit. The second generation submodule is used to generate sample input and output parameter sets corresponding to each simulated integrated circuit based on the input voltage and output voltage of each sample.
[0313] In some embodiments, the training submodule includes: The first determining unit is used to determine the parameter set of multiple predicted components of the simulated integrated circuit based on the input and output parameter sets of each sample using a neural network model. The second determining unit is used to determine the target prediction parameter set that meets the training constraints from the prediction component parameter set; The third determining unit is used to determine the model loss value of the neural network model based on the prediction parameter sets of each target, the parameter sets of each sample component, and their corresponding relationships. The adjustment unit is used to adjust the model parameters of the neural network model based on the model loss value to obtain the component parameter prediction model.
[0314] In some embodiments, the target prediction parameter set includes at least the predicted switching resistance value, the predicted resonant inductance value, the predicted resonant capacitance value, and the predicted voltage gain; the third determining unit includes: The first determining subunit is used to determine the sample component parameter set corresponding to each target prediction parameter set based on the correspondence relationship; The second determining subunit is used to determine the first mean square error loss value based on each predicted switch resistance value and its corresponding sample switch resistance value. The third determining subunit is used to determine the second mean square error loss value based on each predicted resonant inductance value and its corresponding sample resonant inductance value. The fourth determining subunit is used to determine the third mean square error loss value based on each predicted resonant capacitance value and its corresponding sample resonant capacitance value. The fifth determining subunit is used to determine the fourth mean square error loss value based on each predicted voltage gain and its corresponding sample voltage gain. The sixth determining subunit is used to determine the model loss value of the neural network model based on the first mean squared error loss value, the second mean squared error loss value, the third mean squared error loss value, and the fourth mean squared error loss value.
[0315] Figure 7 A logic block diagram of a circuit health assessment device provided in this application embodiment is shown below. Figure 7 As shown, the circuit health assessment device 70 may include: The second acquisition module 71 is used to acquire the target input and output parameter set of the target LLC resonant converter; The first determining module 72 is used to determine the target component parameters of the target LLC resonant converter based on the target input and output parameter set using a component parameter prediction model. The second determining module 73 is used to determine the health of the target LLC resonant converter based on the component parameters; The component parameter prediction model is obtained by training a neural network model based on an LLC resonant converter, using multiple sample input and output parameter sets as input data and multiple sample component parameter sets as label data. The sample component parameter sets are determined based on multiple simulated integrated circuits corresponding to the LLC resonant converter. The sample input and output parameter sets are obtained by simulating multiple simulated integrated circuits under each sample component parameter set.
[0316] In some embodiments, the second determining module 73 includes: The acquisition submodule is used to acquire the rated parameters of each component in the target LLC resonant converter; The calculation submodule is used to calculate the relative difference between the component parameters and the rated parameters for each component, and to obtain the component health status of each component. The third determination submodule is used to determine the health status of the target LLC resonant converter based on the health status of each component.
[0317] In some embodiments, the third determining submodule includes one of the following: The calculation unit is used to calculate the average health status of each component and determine the average value as the health status of the LLC resonant converter. The integration unit is used to integrate the health status of components into a health status vector to obtain the health status of the LLC resonant converter.
[0318] It should be noted that, in the embodiments of this application, if the above-mentioned model training method or circuit health assessment method is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the related technology, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware, software, or firmware, or any combination of hardware, software, and firmware.
[0319] This application provides another electronic device, including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the program, it implements some or all of the steps in the above-described method.
[0320] This application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements some or all of the steps in the above-described method. The computer-readable storage medium can be transient or non-transient.
[0321] This application provides a computer program including computer-readable code. When the computer-readable code runs in an electronic device, the processor in the electronic device executes some or all of the steps in the above-described method.
[0322] This application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, it implements some or all of the steps in the above-described method. This computer program product can be implemented specifically through hardware, software, or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium; in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.
[0323] It should be noted that the descriptions of the various embodiments above tend to emphasize the differences between them, while their similarities or commonalities can be referred to interchangeably. The descriptions of the above embodiments of the device, storage medium, computer program, and computer program product are similar to the descriptions of the above method embodiments and have similar beneficial effects. For technical details not disclosed in the embodiments of the device, storage medium, computer program, and computer program product of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0324] Figure 8 This is a hardware entity diagram of an electronic device provided in an embodiment of this application, such as... Figure 8 As shown, the hardware entity of the electronic device 800 includes a processor 801 and a memory 802, wherein the memory 802 stores a computer program that can run on the processor 801, and the processor 801 executes the program to implement the steps in the method of any of the above embodiments.
[0325] The memory 802 stores computer programs that can run on the processor. The memory 802 is configured to store instructions and applications that can be executed by the processor 801. It can also cache data to be processed or already processed (e.g., image data, audio data, voice communication data and video communication data) in the processor 801 and various modules in the electronic device 800. It can be implemented by flash memory or random access memory (RAM).
[0326] When the processor 801 executes a program, it implements the steps of any of the above-mentioned model training methods or circuit health assessment methods. The processor 801 typically controls the overall operation of the electronic device 800.
[0327] This application provides a computer-readable storage medium storing one or more programs that can be executed by one or more processors to implement the steps of the model training method or circuit health assessment method as described in any of the above embodiments.
[0328] It should be noted that the descriptions of the storage medium and device embodiments above are similar to the descriptions of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0329] The aforementioned processor can be at least one of the following: Application-Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), Controller, Microcontroller, and Microprocessor. It is understood that other electronic devices can also implement the functions of the aforementioned processor, and this application does not specifically limit the specific implementation.
[0330] The aforementioned computer storage media / memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM), etc.; or it can be various terminals that include one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0331] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above steps / processes do not imply a sequential order of execution; the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above embodiments of this application are merely descriptive and do not represent the superiority or inferiority of the embodiments.
[0332] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0333] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0334] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of the embodiments of this application, depending on actual needs.
[0335] Furthermore, in the various embodiments of this application, all functional units can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units. Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.
[0336] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence or the part that contributes to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, magnetic disks, or optical disks.
[0337] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A model training method, characterized in that, The method includes: Obtain sample component parameter sets for multiple simulated integrated circuits corresponding to the LLC resonant converter, and sample input / output parameter sets obtained by simulation under each of the sample component parameter sets; wherein, the sample input / output parameter sets include at least sample input voltage and sample output voltage; the sample component parameter sets include at least one of the following: sample switch resistor value, sample resonant inductance value, sample resonant capacitance value, and sample voltage gain; Using the multiple sample input / output parameter sets as input data and the multiple sample component parameter sets as label data, a neural network model is trained based on the LLC resonant converter to obtain a component parameter prediction model.
2. The method according to claim 1, characterized in that, The step of using the plurality of sample input / output parameter sets as input data and the plurality of sample component parameter sets as label data to train a neural network model based on the LLC resonant converter to obtain a component parameter prediction model includes: Determine the switching state of the LLC resonant converter, the first numerical boundary conditions for the parameters of each component, and the second numerical boundary conditions for the input and output voltages of the LLC resonant converter. The switch state, the first numerical boundary condition, and the second numerical boundary condition are determined as training constraints for the neural network model. Using the multiple sample input and output parameter sets as input data and the multiple sample component parameter sets as label data, the neural network model is trained based on the training constraints to obtain a component parameter prediction model.
3. The method according to claim 1, characterized in that, The acquisition of sample component parameter sets for multiple simulated integrated circuits corresponding to the LLC resonant converter, and sample input / output parameter sets obtained by simulation under each of the sample component parameter sets, includes: In a simulation environment, based on the target circuit structure of the LLC resonant converter, multiple different sample component parameter sets are generated; among them, at least one of the following differs: switching resistor value, resonant inductance value, resonant capacitance value, and voltage gain. Multiple simulation integrated circuits of the LLC resonant converter are established using the parameter sets of each of the sample components; At least one of the sample input voltages is applied to each of the simulated integrated circuits to obtain the sample output voltage of each of the simulated integrated circuits; Based on the input voltage and output voltage of each sample, a set of sample input and output parameters corresponding to each of the simulation integrated circuits is generated.
4. The method according to claim 2, characterized in that, The step of using the plurality of sample input / output parameter sets as input data and the plurality of sample component parameter sets as label data to train a neural network model based on the training constraints to obtain a component parameter prediction model includes: Using a neural network model, based on the input and output parameter sets of each sample, a set of multiple predicted component parameters for the simulated integrated circuit is determined; Determine a target prediction parameter set that meets the training constraints from the predicted component parameter set; Based on the target prediction parameter sets, the sample component parameter sets, and the corresponding relationships, the model loss value of the neural network model is determined. Based on the model loss value, the model parameters of the neural network model are adjusted to obtain the component parameter prediction model.
5. The method according to claim 4, characterized in that, The target prediction parameter set includes at least the predicted switching resistance value, the predicted resonant inductance value, the predicted resonant capacitance value, and the predicted voltage gain; determining the model loss value of the neural network model based on each of the target prediction parameter sets, each of the sample component parameter sets, and the corresponding relationship includes: Based on the correspondence, the sample component parameter sets corresponding to each of the target prediction parameter sets are determined; Based on each of the predicted switch resistance values and their respective corresponding sample switch resistance values, a first mean square error loss value is determined. Based on each of the predicted resonant inductance values and their respective corresponding sample resonant inductance values, a second mean square error loss value is determined. Based on each of the predicted resonant capacitance values and their respective corresponding sample resonant capacitance values, a third mean square error loss value is determined. Based on each of the predicted voltage gains and their respective corresponding sample voltage gains, a fourth mean square error loss value is determined. The model loss value of the neural network model is determined based on the first mean squared error loss value, the second mean squared error loss value, the third mean squared error loss value, and the fourth mean squared error loss value.
6. A method for evaluating circuit health, characterized in that, The method includes: Obtain the target input and output parameter set of the target LLC resonant converter; Using a component parameter prediction model, the target component parameters of the target LLC resonant converter are determined based on the target input and output parameter set; Based on the component parameters, the health status of the target LLC resonant converter is determined; The component parameter prediction model is obtained by training a neural network model based on an LLC resonant converter, using multiple sample input / output parameter sets as input data and multiple sample component parameter sets as label data. The sample component parameter sets are determined based on multiple simulated integrated circuits corresponding to the LLC resonant converter. The sample input / output parameter sets are obtained by simulating each of the sample component parameter sets using multiple simulated integrated circuits.
7. The method according to claim 6, characterized in that, Determining the health of the target LLC resonant converter based on the component parameters includes: Obtain the rated parameters of each component in the target LLC resonant converter; For each of the aforementioned components, the relative difference between the component parameters and the rated parameters is calculated to obtain the component health status of each component. The health status of the target LLC resonant converter is determined based on the health status of each of the aforementioned components.
8. The method according to claim 7, characterized in that, The determination of the health status of the LLC resonant converter based on the health status of each of the aforementioned components includes one of the following: Calculate the average health status of each component, and determine the average value as the health status of the LLC resonant converter; The health status of the components is integrated into a health status vector to obtain the health status of the LLC resonant converter.
9. A model training device, characterized in that, The device includes: The first acquisition module is used to acquire sample component parameter sets of multiple simulated integrated circuits corresponding to the LLC resonant converter, and sample input / output parameter sets obtained by simulation under each of the sample component parameter sets; wherein, the sample input / output parameter sets include at least sample input voltage and sample output voltage; the sample component parameter sets include at least one of the following: sample switch resistor value, sample resonant inductance value, sample resonant capacitance value, and sample voltage gain; The training module is used to train the neural network model based on the LLC resonant converter, using the multiple sample input-output parameter sets as input data and the multiple sample component parameter sets as label data, to obtain a component parameter prediction model.
10. A circuit health evaluation device, characterized in that, The device includes: The second acquisition module is used to acquire the target input and output parameter set of the target LLC resonant converter; The first determining module is used to determine the target component parameters of the target LLC resonant converter based on the target input-output parameter set using a component parameter prediction model. The second determining module is used to determine the health status of the target LLC resonant converter based on the component parameters. The component parameter prediction model is obtained by training a neural network model based on an LLC resonant converter, using multiple sample input / output parameter sets as input data and multiple sample component parameter sets as label data. The sample component parameter sets are determined based on multiple simulated integrated circuits corresponding to the LLC resonant converter. The sample input / output parameter sets are obtained by simulating each of the sample component parameter sets using multiple simulated integrated circuits.
