A design method for digital circuit module

By establishing a universal circuit module library and a conditional variational autoencoder model, the automated and intelligent design of digital circuit modules is realized, which solves the time-consuming and low-efficiency problems of traditional design methods, improves design efficiency and accuracy, and satisfies user needs and accelerate product development.

CN118485033BActive Publication Date: 2024-09-20CHENGDU REALTIME TECH IND
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410909788.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-09-20
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

Traditional circuit module design methods are time-consuming and error-prone. They are difficult to quickly adapt to the development of new technologies and cannot effectively handle large-scale integrated circuit design and user personalized needs, resulting in low design efficiency and extended product development cycles.

Method used

By establishing a universal circuit module library and circuit module design optimization model, the conditional variational autoencoder model is used for automated and intelligent design, and feature vector matching is used to generate the optimal circuit module.

Benefits of technology

Significantly improve the efficiency and accuracy of circuit module design, meet the personalized needs of users, accelerate the development of electronic products, reduce costs and improve market competitiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118485033B
    Figure CN118485033B
Patent Text Reader

Abstract

The present invention relates to the technical field of digital circuit module design, and in particular, to a design method for a digital circuit module, the steps of which include: obtaining each universal circuit module and corresponding data, extracting features from the data of each universal circuit module, obtaining feature vectors of each universal circuit module, and integrating and establishing a universal circuit module library; obtaining the design requirements of a user, analyzing the design requirements of the user, extracting the user's requirement feature vector, inputting the user's requirement feature vector into a trained circuit module design optimization model for calculation, generating circuit module features that match the requirement features, matching the circuit module features through a universal circuit module library, and outputting the optimal circuit module after similarity determination. The present invention can significantly improve the design efficiency and accuracy of the circuit module, and meet the personalized design requirements of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of digital circuit module design, and in particular to a design method for a digital circuit module. Background Art

[0002] With the rapid development of electronic technology, the complexity and design requirements of circuit design are constantly increasing. At present, the traditional circuit module design method usually relies on the experience of staff for manual design. However, the manual design method of staff is not only time-consuming but also prone to errors when dealing with complex circuit module designs. And as electronic products develop towards high performance, miniaturization and low power consumption, the limitations of traditional circuit module design methods are becoming more and more obvious. For example, it is difficult to quickly adapt to the development of new technologies, it is difficult to deal with the complexity of large-scale integrated circuit design, and it is difficult to meet user personalized design needs. This not only leads to low efficiency in circuit module design and prolongs the product development cycle, but also the user evaluation is usually low, which cannot meet the current usage needs. Based on this, in response to the above problems, we studied a design method for digital circuit modules. Summary of the invention

[0003] The purpose of the present invention is to provide a design method for a digital circuit module, which realizes the automation and intelligence of digital circuit module design by establishing a universal circuit module library and combining the optimization design of the circuit module design optimization model. It not only significantly improves the design efficiency and accuracy of the circuit module, but also can meet the personalized design needs of users and promote innovation. It is of great significance to accelerate the R&D cycle of electronic products, reduce costs and improve market competitiveness.

[0004] The embodiments of the present invention are implemented by the following technical solutions:

[0005] A method for designing a digital circuit module, the method comprising the steps of:

[0006] Acquire each universal circuit module and corresponding data, perform feature extraction on the data of each universal circuit module, obtain feature vectors of each universal circuit module, and integrate and establish a universal circuit module library;

[0007] The user's design requirements are obtained and analyzed to extract the user's requirement feature vector, and the user's requirement feature vector is input into the trained circuit module design optimization model for calculation to generate circuit module features that match the requirement features, and the circuit module features are matched through a universal circuit module library, and the optimal circuit module is output after the similarity is determined.

[0008] Optionally, the training process of the trained circuit module design optimization model is as follows:

[0009] Randomly input the feature vector of the universal circuit module and the paired requirement feature vector to form a training sample ;

[0010] Coder that defines circuit module design optimization model and decoder ;

[0011] Input the training samples to the encoder Calculate and output the mean of the posterior distribution of the latent variable z and log variance ;

[0012] The latent variable z and the demand characteristics of the i-th user Input to decoder Calculate and output the characteristics of the i-th circuit module The mean of the conditional distribution of and log variance ;

[0013] Solve the objective function of the circuit module design optimization model and optimize the encoder parameters through the optimization algorithm and decoder parameters Update to minimize the objective function and complete the training of the circuit module design optimization model.

[0014] Optionally, the specific calculation formula of the objective function is:

[0015]

[0016] Among them, L is the objective function, N is the number of training samples, is the expected value, is the prior distribution, is the weight coefficient.

[0017] Optionally, the specific optimization logic of the optimization algorithm is:

[0018] Set the objective function with respect to the encoder parameters The gradient of , decoder parameters The gradient of ;

[0019] Solve separately and The first-order moment estimate and the second-order moment estimate of and The first-order moment estimation and the second-order moment estimation are bias corrected;

[0020] According to the deviation correction results, the encoder parameters and decoder parameters to update.

[0021] Optionally, the respective solutions and The first-order moment estimate and second-order moment estimate of are calculated as follows:

[0022]

[0023]

[0024]

[0025]

[0026] in, , They are The first-order moment estimate and the second-order moment estimate of , They are The first-order moment estimate and the second-order moment estimate of , They are algorithm hyperparameters used to control the moving average of the first-order moment estimate and the second-order moment estimate, and t is the current number of iterations.

[0027] Optionally, the respective and The first-order moment estimation and second-order moment estimation are used for bias correction, and the calculation formula is:

[0028]

[0029]

[0030]

[0031]

[0032] in, , After bias correction, The first-order moment estimate and the second-order moment estimate of , After bias correction, The first and second moment estimates of .

[0033] Optionally, the encoder parameters are adjusted according to the deviation correction result. and decoder parameters Update, the calculation formula is:

[0034]

[0035]

[0036] in, is the updated encoder parameter, is the updated decoder parameter, is the learning rate, is a constant.

[0037] Optionally, the feature vector of the universal circuit module specifically includes: a performance index of the universal circuit module, a cost of the universal circuit module, and a user evaluation of the universal circuit module.

[0038] The technical solution of the embodiment of the present invention has at least the following advantages and beneficial effects:

[0039] The embodiment of the present invention realizes the automation and intelligence of digital circuit module design by establishing a universal circuit module library and combining the optimization design of the circuit module design optimization model. It not only significantly improves the design efficiency and accuracy of the circuit module, but also can meet the personalized design needs of users and promote innovation. It is of great significance to accelerate the R&D cycle of electronic products, reduce costs and improve market competitiveness. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A schematic flow chart of a method for designing a digital circuit module provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0042] Reference Figure 1 As shown, Figure 1 A schematic flow chart of a method for designing a digital circuit module provided in an embodiment of the present invention.

[0043] In one embodiment, a method for designing a digital circuit module includes the following steps:

[0044] Acquire each universal circuit module and corresponding data, perform feature extraction on the data of each universal circuit module, obtain feature vectors of each universal circuit module, and integrate and establish a universal circuit module library;

[0045] The user's design requirements are obtained and analyzed to extract the user's requirement feature vector, and the user's requirement feature vector is input into the trained circuit module design optimization model for calculation to generate circuit module features that match the requirement features, and the circuit module features are matched through a universal circuit module library, and the optimal circuit module is output after the similarity is determined.

[0046] In the above-mentioned implementation, the present implementation first collects various universal circuit modules and their corresponding data, obtains the feature vectors of each circuit module through feature extraction, and integrates these feature vectors to establish a universal circuit module library. After that, the user's design requirements are obtained, and the feature vectors of the user's requirements can be obtained by analyzing the user's design requirements. The present implementation sets a circuit module design optimization model that has completed training, and the carrier of the circuit module design optimization model is specifically a conditional variational autoencoder model, which can generate circuit module features that match the requirements according to the input requirement feature vector, and finally matches the generated circuit module features through the universal circuit module library, and outputs the optimal circuit module according to the similarity size. It can be understood that the universal circuit module specifically includes: common circuit modules such as operational amplifiers and relays, and the feature vectors of the universal circuit module specifically include: performance indicators of the universal circuit module, the cost of the universal circuit module, and user evaluation of the universal circuit module, etc. The features of the universal circuit module match the user's demand features, and the judgment according to the similarity size is specifically: the maximum similarity is taken as the most preferred, and the above-mentioned optimal circuit module is output, and the specific process can be achieved by sorting and the like.

[0047] Based on this, in the implementation process of this embodiment, the training process of the circuit module design optimization model that has completed the training is as follows:

[0048] Randomly input the feature vector of the universal circuit module and the paired requirement feature vector to form a training sample ;

[0049] Coder that defines circuit module design optimization model and decoder ;

[0050] Input the training samples to the encoder Calculate and output the mean of the posterior distribution of the latent variable z and log variance ;

[0051] The latent variable z and the demand characteristics of the i-th user Input to decoder Calculate and output the characteristics of the i-th circuit module The mean of the conditional distribution of and log variance ;

[0052] Solve the objective function of the circuit module design optimization model and optimize the encoder parameters through the optimization algorithm and decoder parameters Update to minimize the objective function and complete the training of the circuit module design optimization model.

[0053] Specifically, the carrier of the circuit module design optimization model of this embodiment is specifically a conditional variational autoencoder model, which is composed of an encoder and a decoder, wherein the encoder The i-th circuit module feature and demand characteristics As input, the parameters of the posterior distribution of the output latent variable z; decoder The latent variable z and the i-th demand feature As input, output the i-th circuit module feature The parameters of the conditional distribution of . In this implementation, the posterior distribution and the conditional distribution are both Gaussian distributions, and the outputs of the encoder and decoder are:

[0054]

[0055]

[0056] Specifically, the specific calculation formula of the objective function is:

[0057]

[0058] Among them, L is the objective function, N is the number of training samples, is the expected value, is the prior distribution, is the weight coefficient, the prior distribution Specifically, given the i-th demand feature In the case of the distribution of the latent variable z, this implementation assumes that the prior distribution is a Gaussian distribution, then:

[0059]

[0060] in, is the mean of the prior distribution, is the log variance of the prior distribution.

[0061] More specifically, the objective function represents the total loss of the circuit module design optimization model, which is composed of the reconstruction error and the KL divergence. This embodiment performs the following optimization with the goal of minimizing the total loss.

[0062] In the implementation process of the above implementation, the specific optimization logic of the optimization algorithm is:

[0063] Set the objective function with respect to the encoder parameters The gradient of , decoder parameters The gradient of , it is understandable that here about the gradient and gradient The solution of can be obtained by back propagation and other methods, which will not be described in detail in this implementation method;

[0064] Solve separately and The first-order moment estimate and the second-order moment estimate of :

[0065]

[0066]

[0067]

[0068]

[0069] in, , They are The first-order moment estimate and the second-order moment estimate of , They are The first-order moment estimate and the second-order moment estimate of , They are algorithm hyperparameters used to control the moving average of the first-order moment estimate and the second-order moment estimate, and t is the current number of iterations.

[0070] Respectively and The first-order moment estimate and the second-order moment estimate of are bias corrected:

[0071]

[0072]

[0073]

[0074]

[0075] in, , After bias correction, The first-order moment estimate and the second-order moment estimate of , After bias correction, The first and second moment estimates of .

[0076] According to the deviation correction results, the encoder parameters and decoder parameters To update:

[0077]

[0078]

[0079] in, is the updated encoder parameter, is the updated decoder parameter, is the learning rate, is a constant.

[0080] Complete the optimization of the circuit module design optimization model.

[0081] In addition, after outputting the optimal circuit module, this embodiment can also perform circuit design and simulation verification in sequence, and evaluate whether the design results meet the requirements. If not, this embodiment can adjust the parameters or training samples of the circuit module design optimization model again, re-step and output the optimal circuit module again.

[0082] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A design method for a digital circuit module, It is characterized in that The steps of the method include: Acquire each universal circuit module and corresponding data, perform feature extraction on the data of each universal circuit module, obtain feature vectors of each universal circuit module, and integrate and establish a universal circuit module library; Obtaining the user's design requirements and analyzing the user's design requirements to extract the user's requirement feature vector, inputting the user's requirement feature vector into the trained circuit module design optimization model for calculation to generate circuit module features that match the requirement features, matching the circuit module features through a universal circuit module library, and outputting the optimal circuit module after determining the similarity; The training process of the circuit module design optimization model that has completed training is as follows: Randomly input the feature vector of the universal circuit module and the paired requirement feature vector to form a training sample ; Coder that defines circuit module design optimization model and decoder ; Input training samples to the encoder Calculate and output the mean of the posterior distribution of the latent variable z and log variance ; The latent variable z and the demand characteristics of the i-th user Input to decoder Calculate and output the characteristics of the i-th circuit module The mean of the conditional distribution of and log variance ; Solve the objective function of the circuit module design optimization model and optimize the encoder parameters through the optimization algorithm and decoder parameters Update to minimize the objective function and complete the training of the circuit module design optimization model; The characteristic vector of the universal circuit module specifically includes: performance indicators of the universal circuit module, cost of the universal circuit module and user evaluation of the universal circuit module.

2. The design method of the digital circuit module according to claim 1, It is characterized in that The specific calculation formula of the objective function is: Among them, L is the objective function, N is the number of training samples, is the expected value, is the prior distribution, is the weight coefficient.

3. The design method of the digital circuit module according to claim 2, It is characterized in that The specific optimization logic of the optimization algorithm is: Set the objective function relative to the encoder parameters The gradient of , decoder parameters The gradient of ; Solve separately and The first-order moment estimate and the second-order moment estimate of and The first-order moment estimation and the second-order moment estimation are bias corrected; According to the deviation correction results, the encoder parameters and decoder parameters to update.

4. The design method of the digital circuit module according to claim 3, It is characterized in that The respective solutions and The first-order moment estimate and second-order moment estimate of are calculated as follows: in, , They are The first-order moment estimate and the second-order moment estimate of , They are The first-order moment estimate and the second-order moment estimate of , They are algorithm hyperparameters used to control the moving average of the first-order moment estimate and the second-order moment estimate, and t is the current number of iterations.

5. The design method of the digital circuit module according to claim 4, It is characterized in that The respective and The first-order moment estimation and second-order moment estimation are used for bias correction, and the calculation formula is: in, , After bias correction, The first-order moment estimate and the second-order moment estimate of , After bias correction, The first and second moment estimates of .

6. The design method of the digital circuit module according to claim 5, It is characterized in that The encoder parameters are adjusted according to the deviation correction result. and decoder parameters Update, the calculation formula is: in, is the updated encoder parameter, is the updated decoder parameter, is the learning rate, is a constant.