Next Article in Journal
Computational Assessment of Xanthones from African Medicinal Plants as Aldose Reductase Inhibitors
Next Article in Special Issue
3D LiDAR Based SLAM System Evaluation with Low-Cost Real-Time Kinematics GPS Solution
Previous Article in Journal
A Review and Taxonomy on Fault Analysis in Transmission Power Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Machine Learning and Rules Induction in Support of Analog Amplifier Design

by
Malinka Ivanova
1,* and
Miona Andrejević Stošović
2
1
Department of Informatics, Faculty of Applied Mathematics and Informatics, Technical University of Sofia, Sofia 1797, Bulgaria
2
Department of Electronics, Faculty of Electronic Engineering, University of Niš, Niš 18000, Serbia
*
Author to whom correspondence should be addressed.
Computation 2022, 10(9), 145; https://doi.org/10.3390/computation10090145
Submission received: 27 July 2022 / Revised: 12 August 2022 / Accepted: 22 August 2022 / Published: 25 August 2022
(This article belongs to the Special Issue Applications of Statistics and Machine Learning in Electronics)

Abstract

:
The aim of the paper is to present a two-step method for facilitating the design of analog amplifiers taking into account the bottom–top approach and utilizing machine learning techniques. The X-chart and a framework describing the specificity of analog circuit design using machine learning are introduced. The possibility of libraries with open machine learning models to support the designer is also discussed. The proposed method is verified for a three-stage amplifier design. In the first step, the stage type is predicted with 89.74% accuracy as the applied learner is a Decision Tree machine learning algorithm. Moreover, two induction rule algorithms are used for predictive logic generation. In the second step, some typical parameters for a given stage are predicted considering four learners: Decision Tree, Random Forest, Gradient Boosted Trees, and Support Vector Machine. The most suitable is found to be Support Vector Machine, which is characterized with the smallest obtained errors.

1. Introduction

Amplifier design is a complex problem related to finding the best circuit structure according to specifications predefined by the user. This specification explains the desired function and application of the designed circuit, and its required electrical parameters and characteristics. To solve this design task, the designer should know and understand the principle of operation and specific features of a wide variety of simple circuits, in addition to the methods for designing complex electronic modules and devices. In analog electronics, some simple building stages serve as the basis of construction of different analog circuits such as amplifiers, functional converters, filters, and generators [1,2]. Thus, knowledge about circuit operability and possible circuit variants, and about the theory of how to construct a circuit according to a given specification, are a very important part of the design process. The circuit design is also supported by Electronic Design Automation (EDA) software equipped with multiple component libraries and appropriate instrumentation. This saves time, resources, and effort for designers. Some errors and non-suitable circuit variants can be avoided. Recently, machine and deep learning have been utilized in an assistive role in circuit design to automate engineering tasks [3,4,5]. Machine learning-based approaches to design rely on the collected data, a strong understanding of the theory in electronics, and the practically proven methods. This knowledge should be combined with familiarity regarding the specificity and advantages of machine learning algorithms [6,7,8] that should support the right design decisions. Furthermore, Hamolia and Melnyk show the need for new methodologies for high-level automated design, integrated in EDA software, which is driven by continuous technology development [9]. The authors point out the appearance of a new scientific field related to machine learning-based EDA for facilitating all phases of chip design. Ren et al. group the applications of machine learning for solving EDA problems to predictors, optimizers, and generators [10]. They argue that conventional EDA algorithms should collaborate with machine learning for achieving greater efficiency. It seems that the design process could be facilitated in both directions: from top to bottom and from bottom to top, and at behavioral, structural, and physical levels through machine learning models. Some research papers address similar topics, showing positive results, successful implementations, and challenging issues. Dieste-Velasco et al. present a methodology for improving the design of electronic circuits, driven by artificial neural network algorithms and the statistical technique design of experiments [11]. They conclude that the proposed approach can be used for efficient behavioral modeling of electronic circuits and for the prediction of some parameters. Guerra-Gomez et al. investigate the speed of regression techniques used in the design of medium- and large-scale electronic circuits and prove the suitability of regression algorithms for circuit modeling with high speed and high accuracy [12]. The research team of Hasani et al. propose a compositional method for building an artificial neural network used for modeling complex analog integrated circuits and reduced simulation time is demonstrated [13]. Mina et al. summarize the existing scientific achievements in automating the design process of integrated analog circuits (on MOS, CMOS technology), pointing out the advantages of machine learning techniques (supervised, unsupervised, reinforcement learning) for circuit designers [14].
Machine learning utilization at the physical level of chip design is also discussed in several scientific publications, which describe the current progress and bottlenecks of component placement and routing [15,16,17]. Time saving for optimal component placement on the printed circuit board (PCB), avoiding concurrency issues in routing, and increasing the designer’s efficacy are among the future problems that should be solved, including through usage of machine learning.
Obviously, the evolution of machine learning and data science has led to inventing novel methodological solutions in electronics and circuit design, as indicated by the increased scientific interest in recent years. The reported findings are related to design optimization [18], object detection [19], defect identification [20], classification [21], etc.
The aim of the paper is to present a method for facilitating the design of analog amplifiers based on utilization of machine learning algorithms following the bottom–top design strategy. The X-chart and a framework reflecting on the specificity of analog circuit design using machine learning are introduced. The possibility for creating some libraries with open machine learning models is also discussed.

2. Design Process of Analog Devices

A similar approach to the Gajski–Kuhn Y-chart [22], which explains the characteristics of a design process through its three domains, outlining behavioral, structural, and physical design, is applied here (Figure 1a). The Gajski–Kuhn Y-chart is created with examples for digital circuit design, but in this work is adapted to the specificity of analog circuit design using machine learning (Figure 1b—X-chart).
  • The behavioral domain in the Gajski–Kuhn Y-chart presents the function of a given circuit without knowing the components that are included for its implementation. In this domain, the electronic circuit is seen as a “black box”, in which only its inputs and outputs are known.
  • The structural domain defines how the circuit is built. It considers the circuit structure, building components and the connections between them. The structural domain provides one of the possible transformations of the behavioral description into a set of components and relationships between them, which satisfies the predefined user specification.
  • The physical domain shows exactly how the circuit has to be implemented on the board layout in order to ensure the desired behavior of the circuit. The main problems here concern the component placement on the PCB and their routing, taking into account the constraints of the limited chip area, the specific features of the components and their physical geometry, the routing collisions, and congestion. Physical design is a complex task and is currently performed in several steps: macro placement, global placement, detailed placement, global routing, and detailed routing.
In the proposed X-chart, the design process is supported through usage of machine learning as a new domain of machine learning is added. At the behavioral domain in the X-chart, the stage, device, or module are examined as a “black box” and the designer is interested only in their input and output, but not in the circuit structure. The structural domain explains the exact circuit topology of stages, devices, and modules as a given stage is created through components (transistors, resistors, capacitors, diodes, etc.). One device can be built through one or several stages and a module includes more than one device. The physical domain presents the best placement of the components, stages, devices, and modules on the PCB and their routing, forming printed circuit board assembly (PCBA). The machine learning domain shows the supportive role of machine learning algorithms in the design process, assisting the designers to accurately solve the specified problem and to make the correct decisions. This domain reveals the capability of machine learning in the prediction/classification of suitable components for realization of a stage, prediction/classification of possible stages for an electronic circuit design of a device, and prediction/classification of the possible devices on the PCB that form a module. For a given behavior of the circuit, several structural and physical implementations are possible and machine learning is applied to find possible solutions and the best approach. For this purpose, libraries with open machine learning models of circuits are prepared and used to shorten the design process and increase the design quality.
The chosen design strategy in this research is from bottom to top with hierarchical dependence between its four phases. The framework for circuit design through machine learning is shown in Figure 2:
(1)
The first phase identifies suitable components for analog circuit creation. The common added components are transistors, resistors, capacitors, diodes, etc., which are organized in libraries. The electrical behavior of components is described with equations. The created machine learning (ML) models, which are also organized in libraries, are capable of predicting and classifying possible components for circuit implementation of a given stage.
(2)
The second phase determines the appropriate stages that can form the circuit device. In the case of amplifier design, the circuit can be built from one stage, which is called a single-stage amplifier; a circuit built from two stages is known as a two-stage amplifier; and a circuit built from more stages is known as a multi-stage amplifier. An amplifier stage includes an amplifier element (here are considered just transistors), a circuit for connecting to the signal source, a power supply circuit, a circuit for ensuring the constant current mode, and a circuit for connecting to the load. It may also contain a circuit for implementing feedback in order to improve or change the parameters and characteristics of the stage. The schematics of all stages are organized in libraries. Machine learning is used for predicting/classifying the behavior, and the structure of possible stages through equations and transfer functions, as machine learning models are placed in a library.
(3)
The third phase connects the identified stages forming a device. Some additional circuits may be added as common feedback or circuits for correction. The most commonly used devices form device libraries. Machine learning models predict/classify the behavior and structure of the device, in addition to its placement and routing on the PCB, taking into account the device function.
(4)
The fourth phase demonstrates the realization of more complex electronic products, i.e., so-called modules. One module may consist of one or several devices, which are connected to realize the predefined user specification. Some additional circuits for parameter improvement and correction can be added. Machine learning predicts/classifies the behavior and structure of modules and device placement on the PCB, considering the devices’ transfer functions and the function of the whole module.

3. Design of Analog Amplifiers

The accent in this work is on the third phase in the design process and on behavioral and structural modeling of analog amplifiers through machine learning. The components’ prediction/classification and PCBA design will be within the scope of future work. The design of amplifiers can be carried out considering the specifics of a certain technology [23,24,25]. The most often used technologies are: bipolar; Bipolar-Field Effect Transistor (BiFET), where bipolar and MOS elements are formed in a common substrate; and Complementary Metal Oxide Semiconductor (CMOS), which uses complementary pairs of transistors. Each technology has its advantages and disadvantages, and is preferred for applications in specific cases. Bipolar technology is characterized with the possibility to obtain large voltage gain, small unbalanced input voltage, and very low noise voltage. In BiFET amplifiers, the input transistors are FETs and the rest of the circuit is made up of bipolar transistors. These are characterized by a higher rate of rise in the output voltage compared to bipolar and CMOS amplifiers. The common characteristic of bipolar and BiFET technology is that they allow for a wider bandwidth compared to CMOS technology. The advantages of CMOS amplifiers are related to operation at lower supply voltages, using mainly one supply voltage, and providing an operating range of the input and/or output voltage that is approximately equal to the supply voltage (rail-to-rail mode), as the consumed current is kept at a small value. It is obvious that the design process of amplifiers depends on the features of the technology. In this paper, the design of bipolar amplifiers is examined, and the CMOS design methodologies, because of their contemporary interest, will be discussed and explored in future work.
At the beginning, a library with the most common amplifier stages is introduced with their transfer functions and some parameters. According to a definition, an amplifier is an electronic device used to amplify an electrical signal in terms of current, voltage, or power. It is a converter of the electrical energy of the voltage supply source V C C into another type of electrical energy suitable for delivering to the load in its output circuit. In amplifier circuits, the signal transmission is carried out from the input to the output, but it is possible to use one or several feedback circuits. The most important parameters of amplifiers are the amplification coefficients, and input and output resistance. In multi-stage amplifiers, the overall transfer function has to be found taking into account the functions of the building stages, which can be categorized as input, intermediate, and output. Figure 3 presents a block diagram of a multi-stage amplifier, for which a wide variety of stages can be involved in its design to satisfy the requirements. In most cases, the aim of the first input stage is to obtain high gain and good suppression of the common-mode signals so that unwanted interference is not amplified and propagated to subsequent stages. Another requirement for the first stage is to provide a high input impedance. There are different variants for realization of this input stage, but in many cases a differential pair with or without a current source or through a cascode common emitter (CE)–common base (CB) is used. The role of the intermediate stage is to increase the amplifier gain, so it is very often realized through CE or a differential pair with or without a current source. The purpose of the driver stage is to provide appropriate values of currents and voltages to drive the output transistors. This requirement also predetermines its construction using a CE transistor or a Darlington transistor with or without a dynamic load. The output stage must provide a small output resistance and a certain output power. Therefore, it often involves a push–pull power amplifier circuit, with the (non-) complementary transistors being single and connected in a common collector (CC) circuit, or a Darlington transistor circuit can be used. In order to improve the parameters and characteristics of the amplifier, auxiliary circuits for realization of feedback and frequency domain correction can be introduced.
Let us suppose that the library with stages contains the most commonly used stages in amplifiers, some of which are presented on Figure 4. Their main parameters are summarized in Table 1 and they are: A V —voltage amplification; A I —current amplification; A d —differential coefficient of voltage amplification; r i A and r o A are respectively input and output resistance of the stage; R C and R E are resistors in collector and emitter circuits, respectively; r B E and r C E are input and output resistance of a transistor, respectively; g m is transconductance; CMRR—Common Mode Rejection Ratio.

4. Proposed Method

Behavioral design of amplifiers sees stages as “black boxes” and is not interested in exactly how they are implemented. It is important only to know the input and output parameters. Structural design is related to explanation of the possible structure and this task is multi-variant. Following the configuration from Figure 3, the amplifier has to possess input, intermediate, and output stages. It is known that the output stage does not amplify the voltage signal, but it is responsible for small output resistance. This means that the input and intermediate stages have to deliver the required amplification. The feedback configuration is considered to be the same in the amplifier design.
Machine learning algorithms as a part of artificial intelligence have recently been utilized to assist in the engineering tasks related to the design process in electronics, integrating some approaches in EDA software. Huang et al. explored the contemporary scientific achievements in this area and reported enormous interest in automating a wide variety of engineering activities through the usage of machine learning in different EDA tools [26]. Ren noted the role of machine learning in solving multiple EDA problems [27]. He summarized the applications of various machine learning algorithms for more efficient workability of EDA software and for improving designer efficacy.
In this work, a machine learning-driven approach was used to study data about the stage type—input, intermediate, and output—assisting the designer to make a choice about the type of the most suitable stages for realization of a three-stage amplifier. Moreover, machine learning models predict some important parameters of each stage type. The proposed method for amplifier design through machine learning is presented on Figure 5. It is a two-step predictive method: in the first step, the stage type is predicted, and in the second step, some typical parameters for each stage type are forecasted. The suggestion is that a library with amplifier stages exists and data regarding the function and structure of each stage are gathered. Datasets are learnt by supervised machine learning algorithms, including those for rules extraction, which results in models capable of predicting the stage type (input, intermediate, output) and some main parameters of each stage.

Datasets Preparation

The dataset, presented in Table 2, is formed considering 30 different stages and their main parameters. It is used in the first step from the proposed method to predict the stage type and stage logic.
For realization of the second step of the method, datasets of the parameters included in the library stages are prepared. All values of parameters are received after mathematical calculations and certain methodologies for analog design with bipolar transistors, as follows [28,29,30,31]. The used methodologies are summarized through different algorithms. For example, Algorithm 1 shows the main calculations for obtaining the parameters of output stage 8. Algorithm 2 is applied for collecting the data for intermediate stage 2 and Algorithm 3 for the input stage 4. Respectively, Table 3, Table 4 and Table 5 present a part of the gathered datasets for output stage 8 (with 161 records), intermediate stage 2 (with 988 records), and input stage 4 (451 records) according to defined Algorithms 1–3. The datasets for other stages are gathered in a similar way. For demonstration, the power transistors 2SCR587D3 and 2SAR586D3 [32,33] (for output stage), middle power transistors 2SCR563F3 and 2SAR563F3 [34,35] (for intermediate stage), low power transistor 2N3904 [36] (for input stage), and diode 1N5819 [37] are chosen.
Algorithm 1: Design of output stage
Preliminary data: load resistance R L = 8   , output power P L = 10   W , voltage supply V C C = 12   V ; choice of power transistors and their parameters, taken from datasheet specifications [32,33]
  • Calculating   the   voltage   on   the   load   V L m = 2 P L R L ;
  • Calculating   the   current   through   the   load   I L m = 2 P L V L m ;
  • Calculating   R 1 , 2 = V R 1 , 2 I L m   V R 1 , 2 0.1 V L m ;
  • Calculating   R 3 = V R 3 I C , Q I C , Q / h 21 , Q ,   I C , Q = 0.01 ÷ 0.05 I L m .
Algorithm 2: Design of intermediate stage
Preliminary data: taken from datasheet specifications [34,35]
  • Calculating   I E 1 , 2 3 ÷ 5 I L m h 21 , 1 , 2 ;
  • Calculating   R E 1 , 2 = V R E 1.2 I E 1 , 2 ,   V R E 1 , 2 2 U C C ;
  • Calculating   V D 1 , 2 = V B E 1 , 2 + V R E 1 , 2 ;
  • Calculating   R 1 , 2 = V C C V D 1 , 2 I D 1 , 2 .
Algorithm 3: Design of input stage
Preliminary data: choice of low power transistor and its parameters, taken from datasheet specification: I C ,   V C E ,   h 11 ,   h 21 ,   h 22 ,   g m [36]
  • Calculating   R E = V E V C C I E ,   V E 1 = V E 2 = V E = V B E   a n d   I E 1 = I E 2 = I E I C ;
  • Calculating   R C 1 = R C 2 = R C = V C C V C I C ,   V C 1 = V C 2 = V C = V E + V C E ;
  • Calculating   A d = g m R C | | R L 2 ;
  • Calculating   r i d 2 r b e ;
  • Calculating   r o d 2 R C ;
  • Calculating   C M R R 2 g m R E .

5. Results

To verify the proposed two-step method and applicability of machine learning in support of amplifier design, the functions and structure of the stages and the collected data, as presented in Table 1, Table 2, Table 3, Table 4 and Table 5 and the schematics in Figure 4, are considered. Let us suppose that the designer is required to build an amplifier with the following parameters: input resistance r i A = 7   k , load resistance R L = 8   , output power P L = 10   W , amplification A = 1200 , voltage supply V C C = 12   V . In the first step, the correct stages have to be chosen to satisfy the formulated user requirements. For this purpose, the designer can rely on machine learning predictions regarding which stage is suitable for usage as an input, intermediate, and output stage. Moreover, logic generated by rule induction algorithms can support their decision making.
For the dataset from Table 2, the Decision Tree algorithm was applied in the environment of RapidMiner Studio [38]. The created model for prediction of the stage type is characterized with 89.74% accuracy for the ratio of training/testing data of 60%/40%.
Figure 6 presents the probability of correct predictions, which is given through confidence (confidence for predicting input, intermediate, and output stages). A larger value of confidence (the maximum value is 1 and the minimum value is 0) means a greater probability of true correct predictions. It can be seen that the confidence of input stages is 1, while the confidence of intermediate and output stages is smaller than 1.
For the same dataset, two algorithms for rule extraction were applied: Rule induction and Trees to rules. Through Rule induction machine learning techniques, several formal rules can be generated in the form if–then–else, driven by the collected data. The advantages of these techniques lead to a better explanation and understanding the logic of the examined problem [39,40], in our case, the amplifier construction. When the first algorithm rule induction is applied, the following result is obtained:
If R o u t = l o w , then it is an Output stage;
If R i n = h i g h , then it is an Input stage;
else it is an Intermediate stage.
These extracted rules indicate the stage type according to some typical parameters. The exploration of the generated logic says that, if the output resistance of a given stage is low, then this stage is suitable as an output stage; if the input resistance is high, then this is an input stage, and, in other cases, the stage is intermediate.
At the application of the second algorithm, Trees to rules, the achieved results outline another rule logic for identification of the stage type. If CMRR is high, then this is the input stage. If CMRR is not an important parameter for a given stage and input resistance is high, then the stage is an output stage. If the input resistance has a medium value and CMRR is not an important parameter, then the stage is intermediate.
If C M R R = h i g h , then it is an Input stage;
If C M R R   i s   n o t   d e f i n e d and R i n = h i g h , then it is an Output stage;
If C M R R   i s   n o t   d e f i n e d and R i n = m e d i u m , then it is an Intermediate stage.
The findings indicate that the algorithms for rules induction are very useful for data mining and knowledge discovery in the area of electronics, as the generated logic can be a supportive tool and easily integrated in EDA software. The automatic generation of formal rules and formalization of the process of analog circuit design can be considered to be an advantage for designers.
In the second step, four machine learning algorithms are used: Decision Tree, Random Forest, Gradient Boosted Tree, and Support Vector Machine [41,42], to find the best model for prediction of the parameters of different types of stages. Machine learning models are created taking into account the datasets for each stage considering its typical parameters.
Figure 7 presents only the prediction charts of the created predictive models for input stage 4. It can be seen that the best solution for this regression task is the Support Vector Machine algorithm. Similar results are obtained for other stages.
The learners are compared as they were evaluated using standard metrics for machine learning through parameters: root mean square error (RMSE), absolute error (AE), and squared error (SE) (Figure 8). The smallest errors were obtained for Support Vector Machine.

6. Case Study

This section demonstrates the amplifier building, taking into account the support received by machine learning and the results obtained in previous sections. The amplifier design begins at the back and moves forward, i.e., from the design of the output stage to the input and intermediate stages. The designer is supported in the first step with charts similar to that presented on Figure 9. Here, the designer can gather information about suitable stages for usage as output stages. It can be seen that these are: complementary output pair in class B, complementary output pair in class AB, and complementary output pair with Darlington transistors in class AB. Then, the designer will decide to use the complementary output pair in class AB, because of the obtained information from the rules logic created by applying rule induction machine learning algorithms. This decision is also in line with the user’s predefined specification, in which there are no additionally defined parameters for the stage, apart from the output power and the load. This gives the designer the possibility of choosing a simpler stage with a smaller number of components that is capable of satisfying the user requirements.
In the second step, for the output stage, P L and R L are known and the designer has to obtain the values of the included resistors R 5 ,   R 6 ,   and   R 7 , which can easily be taken from the prediction chart for the output stage presented in Figure 9. There is no need for the designer to perform the calculations presented in previous sections or to recreate the datasets for the stages in the library. Once the machine learning models are created, they can be used repeatedly. The designer only needs to use the machine learning results and the predicted values of the parameters. Let us suppose that the voltage value V R 5 , 6 is 1   V ; then, the predicted resistor value R 5 , 6 of 0.63   can be found from the prediction chart (Figure 10). Using a similar chart, the value of the resistor R 7 can be predicted, as here it is 22   considering the operational regime of the transistor T 3 . In practice some diodes can be used instead of R 7 .
The intermediate stage is designed taking into account Figure 11, where the designer can see the dependence between predicted resistors R E 3 , 4 at a given current I E 3 , 4 . The resistors R E 3 , 4 are selected from the prediction chart to be 1.63   k at the current of 14.7 mA. The resistors R 3 , 4 are chosen to have a value of 42   k at a given current through the diodes D 1 , 2 .
The design of the input stage is facilitated through the predicted chart on Figure 12, in which the dependence between R C and R E is presented. At the current of I E = 1   mA , the predicted values of the collector and emitter resistors are respectively 2.7 and 11.3   k .
Finally, the negative feedback also has to be considered, because the user requires the amplification to be 1200. The feedback is realized through two resistors, as the resistance of the first R F 1 is chosen by the designer and the second R F 2 is calculated according to the equation: A V F = 1 + R F 1 R F 2 . The resistors R F 1 = R i n are selected with an appropriate value of 18   k to match the input impedance of the amplifier. Then, R F 2 is calculated from the above-mentioned equation to be 15   . The constructed amplifier according to the initial user’s requirements and designer’s choices, which are supported through machine learning, is presented in Figure 13.

7. Conclusions

The paper presents a two-step method for facilitating the design of analog amplifiers using machine learning algorithms and rule induction techniques. In the first step, the designer is assisted with suggestions about the most suitable stages for realization of amplifiers considering the predictions regarding the stage types and generated rules logic. In the second step, some parameters of a given stage type are indicated to support the designer’s choice regarding the most relevant stage according to the predefined user specifications. The method was verified in the design of a three-stage amplifier, for which the functions and main parameters of the building stages are known. As a learner in the first step, the Decision Tree algorithm, from supervised machine learning, was applied to solve the classification task and achieved the best accuracy of 89.74%. Extracted logic is also demonstrated through usage of two different rule induction algorithms. In the second step, four machine learning algorithms are employed to learn data about different amplifier stages and to solve a regression task. The smallest errors were found with the use of Support Vector Machine.
The concept of a library of open machine learning models of circuits is introduced to assist the designer in the important, complex, and time- and effort-consuming activities that are typical for the design process of analog circuits, devices, and modules at structural, behavioral, and physical levels.
The Gajski–Kuhn Y-chart is extended to an X-chart, considering the increasing importance of machine learning in the design process of electronic circuits, and is adapted to the design of analog circuits. A framework for analog circuit design, taking into account the possibility of machine learning to support almost all design phases at behavioral, structural, and physical level, is proposed.

Author Contributions

Conceptualization, M.I. and M.A.S.; methodology, M.I.; validation, M.I. and M.A.S.; formal analysis, M.I.; investigation, M.I. and M.A.S.; resources, M.I.; writing—original draft preparation, M.I.; writing—review and editing, M.I. and M.A.S.; visualization, M.I. All authors have read and agreed to the published version of the manuscript.

Funding

This research is supported by the Bulgarian National Science Fund in the scope of the project “Exploration the application of statistics and machine learning in electronics” under contract number KП-06-H42/1.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Franco, S. Analog Circuit Design: Discrete & Integrated, 1st ed.; McGraw Hill: New York, NY, USA, 2014. [Google Scholar]
  2. Gray, P.R.; Hurst, P.J.; Lewis, S.H.; Meyer, R.G. Analysis and Design of Analog Integrated Circuits, 5th ed.; Wiley: Hoboken, NJ, USA, 2009. [Google Scholar]
  3. Fallon, E. Machine Learning in EDA: Opportunities and Challenges. In Proceedings of the 2020 ACM/IEEE 2nd Workshop on Machine Learning for CAD (MLCAD), Reykjavik, Iceland, 16–20 November 2020; p. 103. [Google Scholar]
  4. Gubbi, K.I.; Beheshti-Shirazi, S.A.; Sheaves, T.; Salehi, S.; Manoj, S.; Rafatirad, S.; Sasan, A.; Homayoun, H. Survey of Machine Learning for Electronic Design Automation. In Proceedings of the Great Lakes Symposium on VLSI 2022, Irvine, CA, USA, 6–8 June 2022. [Google Scholar]
  5. Pandey, M. Machine Learning and Systems for Building the Next Generation of EDA Tools. In Proceedings of the 2018 23rd Asia and South Pacific Design Automation Conference (ASP-DAC), Jeju, Korea, 22–25 January 2018; pp. 411–415. [Google Scholar]
  6. Dahiya, N.; Gupta, S.; Singh, S. A Review Paper on Machine Learning Applications, Advantages, and Techniques. ECS Trans. 2022, 107, 6137–6150. [Google Scholar] [CrossRef]
  7. Dash, S.S.; Nayak, S.K.; Mishra, D. A Review on Machine Learning Algorithms. In Intelligent and Cloud Computing. Smart Innovation, Systems and Technologies; Mishra, D., Buyya, R., Mohapatra, P., Patnaik, S., Eds.; Springer: Singapore, 2021. [Google Scholar]
  8. Dineva, K.; Atanasova, T. Systematic Look at Machine Learning Algorithms—Advantages, Disadvantages and Practical Applications. In Proceedings of the 20th International Multidisciplinary Scientific GeoConference SGEM 2020, Albena, Bulgaria, 18–24 August 2020; pp. 317–324. [Google Scholar]
  9. Hamolia, V.; Melnyk, V. A Survey of Machine Learning Methods and Applications in Electronic Design Automation. In Proceedings of the 2021 11th International Conference on Advanced Computer Information Technologies (ACIT), Deggendorf, Germany, 15–17 September 2021; pp. 757–760. [Google Scholar]
  10. Ren, H.; Khailany, B.; Fojtik, M.; Zhang, Y. Machine Learning and Algorithms: Let Us Team Up for EDA. IEEE Des. Test 2022. [Google Scholar] [CrossRef]
  11. Dieste-Velasco, M.I.; Diez-Mediavilla, M.; Alonso-Tristán, C. Regression and ANN Models for Electronic Circuit Design. Complexity 2018, 2018, 7379512. [Google Scholar] [CrossRef]
  12. Guerra-Gomez, I.; McConaghy, T.; Tlelo-Cuautle, E. Study of Regression Methodologies on Analog Circuit Design. In Proceedings of the 2015 16th Latin-American Test Symposium (LATS), Puerto Vallarta, Mexico, 25–27 March 2015; pp. 1–6. [Google Scholar]
  13. Hasani, R.M.; Haerle, D.; Baumgartner, C.F.; Lomuscio, A.R.; Grosu, R. Compositional neural-network modeling of complex analog circuits. In Proceedings of the 2017 International Joint Conference on Neural Networks (IJCNN), Anchorage, AL, USA, 14–19 May 2017; pp. 2235–2242. [Google Scholar]
  14. Mina, R.; Jabbour, C.; Sakr, G.E. A Review of Machine Learning Techniques in Analog Integrated Circuit Design Automation. Electronics 2022, 11, 435. [Google Scholar] [CrossRef]
  15. Markov, I.L.; Hu, J.; Kim, M. Progress and Challenges in VLSI Placement Research. Proc. IEEE 2015, 103, 1985–2003. [Google Scholar] [CrossRef]
  16. Yan, J.; Lyu, X.; Cheng, R.; Lin, Y. Towards Machine Learning for Placement and Routing in Chip Design: A Methodological Overview. arXiv 2022, arXiv:2202.13564. [Google Scholar]
  17. Barboza, E.C.; Shukla, N.; Chen, Y.; Hu, J. Machine Learning-Based Pre-Routing Timing Prediction with Reduced Pessimism. In Proceedings of the 56th Annual Design Automation Conference, New York, NY, USA, 2–6 June 2019. [Google Scholar]
  18. Nariman, N.A.; Hamdia, K.; Ramadan, A.M.; Sadaghian, H. Optimum Design of Flexural Strength and Stiffness for Reinforced Concrete Beams Using Machine Learning. Appl. Sci. 2021, 11, 8762. [Google Scholar] [CrossRef]
  19. Hensel, S.; Marinov, M.B.; Schmitt, M. Object Detection and Mapping with Unmanned Aerial Vehicles Using Convolutional Neural Networks. In Future Access Enablers for Ubiquitous and Intelligent Infrastructures; Perakovic, D., Knapcikova, L., Eds.; Springer: Cham, Switzerland, 2021; Volume 382, pp. 254–267. [Google Scholar]
  20. Huang, C.Y.; Lin, I.C.; Liu, Y.L. Applying Deep Learning to Construct a Defect Detection System for Ceramic Substrates. Appl. Sci. 2022, 12, 2269. [Google Scholar] [CrossRef]
  21. De la Rosa, F.L.; Sánchez-Reolid, R.; Gómez-Sirvent, J.L.; Morales, R.; Fernández-Caballero, A. A Review on Machine and Deep Learning for Semiconductor Defect Classification in Scanning Electron Microscope Images. Appl. Sci. 2021, 11, 9508. [Google Scholar] [CrossRef]
  22. Grout, I. Digital Systems Design with FPGAs and CPLDs; Elsevier: Amsterdam, The Netherlands, 2008. [Google Scholar]
  23. Issakov, V. CMOS and Bipolar Technologies. In Microwave Circuits for 24 GHz Automotive Radar in Silicon-based Technologies; Springer: Berlin, Germany, 2010. [Google Scholar]
  24. Vida-Torku, E.K.; Reohr, W.; Monzel, J.A.; Nigh, P. Bipolar, CMOS and BiCMOS Circuit Technologies Examined for Testability. In Proceedings of the 34th Midwest Symposium on Circuits and Systems, Monterey, CA, USA, 14–17 May 1991; pp. 1015–1020. [Google Scholar]
  25. Trade-offs Between CMOS, JFET, and Bipolar Input Stage Technology. Available online: https://www.ti.com/lit/an/sboa355/sboa355.pdf?ts=1660033873955&ref_url=https%253A%252F%252Fwww.bing.com%252F (accessed on 26 July 2022).
  26. Huang, G.; Hu, J.; He, Y.; Liu, J.; Ma, M.; Shen, Z.; Wu, J.; Xu, Y.; Zhang, H.; Zhong, K.; et al. Machine Learning for Electronic Design Automation: A Survey. ACM Trans. Des. Autom. Electron. Syst. 2021, 26, 1–46. [Google Scholar] [CrossRef]
  27. Ren, H. Embracing Machine Learning in EDA. In Proceedings of the 2022 International Symposium on Physical Design (ISPD’22), Singapore, 27–30 March 2022; pp. 55–56. [Google Scholar]
  28. Donevska, L.; Stamenov, D.; Pandiev, I.M.; Asparuhova, K.; Yakimov, P.I. Tutorial for Seminar Practices on Analog Electronics; Technical Univesity of Sofia: Sofia, Bulgaria, 2008. [Google Scholar]
  29. Nenov, G. Analog Electronics; Novi Znania: Sofia, Bulgaria, 2006. [Google Scholar]
  30. Pandiev, I. Analog Electronics; Technical Univesity of Sofia: Sofia, Bulgaria, 2015. [Google Scholar]
  31. Ivanova, M. Analog Electronics; Technical Univesity of Sofia: Sofia, Bulgaria, 2020. [Google Scholar]
  32. 2SCR587D3 NPN 3A 120V Power Transistor. Available online: https://fscdn.rohm.com/en/products/databook/datasheet/discrete/transistor/bipolar/2scr587d3tl1-e.pdf (accessed on 26 July 2022).
  33. 2SAR586D3 PNP -5.0A -80V Power Transistor. Available online: https://fscdn.rohm.com/en/products/databook/datasheet/discrete/transistor/bipolar/2sar586d3tl1-e.pdf (accessed on 26 July 2022).
  34. 2SCR563F3 NPN 6A 50V Middle Power Transistor. Available online: https://fscdn.rohm.com/en/products/databook/datasheet/discrete/transistor/bipolar/2scr563f3tr-e.pdf (accessed on 26 July 2022).
  35. 2SAR563F3 PNP -6A -50V Middle Power Transistor. Available online: https://fscdn.rohm.com/en/products/databook/datasheet/discrete/transistor/bipolar/2sar563f3tr-e.pdf (accessed on 26 July 2022).
  36. 2N3904 NPN General—Purpose Amplifier. Available online: https://www.onsemi.com/pdf/datasheet/2n3904-d.pdf (accessed on 26 July 2022).
  37. Axial Lead Rectifiers. Available online: https://www.onsemi.com/pdf/datasheet/1n5817-d.pdf (accessed on 26 July 2022).
  38. Rapid Miner Studio Platform. Available online: https://rapidminer.com/ (accessed on 26 July 2022).
  39. Grzymala-Busse, J.W. Rule Induction. In Data Mining and Knowledge Discovery Handbook; Maimon, O., Rokach, L., Eds.; Springer: Boston, MA, USA, 2009. [Google Scholar]
  40. Pham, D.T.; Bigot, S.; Dimov, S.S. RULES-5: A rule induction algorithm for classification problems involving continuous attributes. Proc. Inst. Mech. Eng. C J. Mech. Eng. Sci. 2003, 217, 1273–1286. [Google Scholar] [CrossRef] [Green Version]
  41. Raczko, E.; Zagajewski, B. Comparison of support vector machine, random forest and neural network classifiers for tree species classification on airborne hyperspectral APEX images. Eur. J. Remote Sens. 2013, 50, 144–154. [Google Scholar] [CrossRef]
  42. Adugna, T.; Xu, W.; Fan, J. Comparison of Random Forest and Support Vector Machine Classifiers for Regional Land Cover Mapping Using Coarse Resolution FY-3C Images. Remote Sens. 2022, 14, 574. [Google Scholar] [CrossRef]
Figure 1. Design process depicted by: (a) Gajski-Kuhn Y-chart [22]; (b) proposed X-chart for analog design through machine learning.
Figure 1. Design process depicted by: (a) Gajski-Kuhn Y-chart [22]; (b) proposed X-chart for analog design through machine learning.
Computation 10 00145 g001
Figure 2. Framework for analog circuit design using machine learning.
Figure 2. Framework for analog circuit design using machine learning.
Computation 10 00145 g002
Figure 3. Structure of a multi-stage amplifier.
Figure 3. Structure of a multi-stage amplifier.
Computation 10 00145 g003
Figure 4. (a) Common emitter; (b) common emitter with active load; (c) common collector; (d) differential pair with resistive load and emitter resistor; (e) differential pair with resistive load and current source; (f) differential pair with active load; (g) complementary output pair in class B; (h) complementary output pair in class AB; (i) complementary output pair with Darlington transistors in class AB.
Figure 4. (a) Common emitter; (b) common emitter with active load; (c) common collector; (d) differential pair with resistive load and emitter resistor; (e) differential pair with resistive load and current source; (f) differential pair with active load; (g) complementary output pair in class B; (h) complementary output pair in class AB; (i) complementary output pair with Darlington transistors in class AB.
Computation 10 00145 g004
Figure 5. Method for amplifier design through machine learning.
Figure 5. Method for amplifier design through machine learning.
Computation 10 00145 g005
Figure 6. Confidence of predicted stage type: (a) input stage; (b) intermediate stage; (c) output stage; (d) comparison of confidence for different stage types.
Figure 6. Confidence of predicted stage type: (a) input stage; (b) intermediate stage; (c) output stage; (d) comparison of confidence for different stage types.
Computation 10 00145 g006aComputation 10 00145 g006b
Figure 7. Prediction charts: (a) Decision Tree; (b) Random Forest; (c) Gradient Boosted Trees; (d) Support Vector Machine.
Figure 7. Prediction charts: (a) Decision Tree; (b) Random Forest; (c) Gradient Boosted Trees; (d) Support Vector Machine.
Computation 10 00145 g007aComputation 10 00145 g007b
Figure 8. Comparison of the applied learners.
Figure 8. Comparison of the applied learners.
Computation 10 00145 g008
Figure 9. Dependence between circuits of stages and their suitability for realizing the amplifier output (s—suitable, ns—not suitable).
Figure 9. Dependence between circuits of stages and their suitability for realizing the amplifier output (s—suitable, ns—not suitable).
Computation 10 00145 g009
Figure 10. Predicted dependence between R 5 , 6   and   V R 5 , 6 .
Figure 10. Predicted dependence between R 5 , 6   and   V R 5 , 6 .
Computation 10 00145 g010
Figure 11. Predicted dependence between R E 3.4 and I E 3 , 4 .
Figure 11. Predicted dependence between R E 3.4 and I E 3 , 4 .
Computation 10 00145 g011
Figure 12. Predicted dependence between R C and R E .
Figure 12. Predicted dependence between R C and R E .
Computation 10 00145 g012
Figure 13. The constructed amplifier.
Figure 13. The constructed amplifier.
Computation 10 00145 g013
Table 1. Parameters of amplifier stages.
Table 1. Parameters of amplifier stages.
StageParametersFunctionType
(a) Stage 1: common emitter A V = g m r C E R C R L = g m R o A high
A I = i L i i = r i R o A A V high
r i A = R B | | r i r B E medium
r o A = r o | | R C R C —medium
Amplifies voltage, current, and power, inverts the phase of the input voltage by 180°Intermediate
(b) Stage 2: common emitter with active load A V = g m ( r C E 1 | | r C E 2 ) higher
A I high
r i A = r B E 1 medium
r o A = r C E 1 | | r C E 2 —high
Amplifies voltage, current, and power, possesses increased amplification gainsIntermediate
(c) Stage 3: common collector A V g m R E 1 + g m R E < 1 does   not   amplify
A I h 21 e high
r i A R B | | h 21 e R E ) high
r o A = 1 g m + R G h 21 e | | R E —low
Repeats the input voltage (voltage follower), but amplifies the current and powerOutput
(d) Stage 4: differential pair with resistive load and emitter resistor A d g m R C | | R L 2 high
r i d 2 r b e high
r o d 2 R C medium
C M R R 2 g m R E —high
Amplifies the difference between both inputsInput
(e) Stage 5: differential pair with resistive load and current source; C M R R = 2 g m 3 1 + g m 3 R 3 h 22 —higherBetter suppression of common mode signalsInput
(f) Stage 6: differential pair with active load A d r 02 r 04 R L —higherHigher differential gain is achieved through adding active loadInput
(g) Stage 7: push-pull stage with complementary output pair in class B A V < 1 does   not   amplify
P L = 1 2 U L I L = 1 2 I L 2 R L
η = P L P C C = π 4 U L U C C
η m a x = π 4 U L m a x U C C = π 4 0.785   or   78.5 %
Each of the transistors operates in an CC circuit, which achieves high input and low output resistance, high current gain and low distortion.Output
(h) Stage 8: complementary output pair in class AB P o m a x = 2 U C C U B E R 1 , 2
η 40 50 %
The resistor R3 is used for creating a bias voltage on the bases of transistors T1 and T2Output
(i) Stage 9: complementary output pair with Darlington transistors in class AB η 40 50 % The two diodes, in addition to creating a bias voltage on the bases of transistors T1 and T2, are also used to stabilize their operating currentOutput
Table 2. Dataset for prediction of the stage type.
Table 2. Dataset for prediction of the stage type.
A V A I r i d r o d CMRR P L CircuitStage Type
highn/ahighmediumhighn/adiff. pair with resistive loadinput
highern/ahighmediumhighn/adiff. pair with active loadinput
highn/ahighmediumhighern/adiff. pair with current sourceinput
highhighmediummediumn/an/acommon emitterintermediate
higherhighmediumhighn/an/acommon emitter with active loadintermediate
does not amplifyhighhighLown/amediumpush-pull class ABoutput
Table 3. Parameters of output stage.
Table 3. Parameters of output stage.
V R 1 ,   V V R 2 ,   V I L m ,   A R 1 ,   R 2 ,   R 3 ,
1.21.21.580.750.7524
1.11.11.580.690.6923
111.580.630.6322
Table 4. Parameters of intermediate stage.
Table 4. Parameters of intermediate stage.
I E 1 ,   m A I E 2 ,   m A R E 1 , k R E 2 ,   k R 1 ,   k R 2 ,   k
14.714.71.631.634242
15.1915.191.571.574242
15.6815.681.531.534242
Table 5. Parameters of differential pair.
Table 5. Parameters of differential pair.
R E ,   k I E ,   m A R C ,   k g m ,   m S A d r i d ,   k r o d ,   k
22.60.55.419.2367.4321210.8
18.8330.64.523.07671.618139
16.1420.73.85726.92374.941147.714
14.1250.83.37530.76977.641156.75
12.5550.9334.61579.881166
11.312.738.46181.768185.4
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ivanova, M.; Stošović, M.A. Machine Learning and Rules Induction in Support of Analog Amplifier Design. Computation 2022, 10, 145. https://doi.org/10.3390/computation10090145

AMA Style

Ivanova M, Stošović MA. Machine Learning and Rules Induction in Support of Analog Amplifier Design. Computation. 2022; 10(9):145. https://doi.org/10.3390/computation10090145

Chicago/Turabian Style

Ivanova, Malinka, and Miona Andrejević Stošović. 2022. "Machine Learning and Rules Induction in Support of Analog Amplifier Design" Computation 10, no. 9: 145. https://doi.org/10.3390/computation10090145

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop