Complexity

Complexity / 2018 / Article
Special Issue

Computational Intelligence in Modeling Complex Systems and Solving Complex Problems

View this Special Issue

Research Article | Open Access

Volume 2018 |Article ID 7379512 | https://doi.org/10.1155/2018/7379512

M. I. Dieste-Velasco, M. Diez-Mediavilla, C. Alonso-Tristán, "Regression and ANN Models for Electronic Circuit Design", Complexity, vol. 2018, Article ID 7379512, 9 pages, 2018. https://doi.org/10.1155/2018/7379512

Regression and ANN Models for Electronic Circuit Design

Academic Editor: Laszlo T. Koczy
Received29 Dec 2017
Accepted17 May 2018
Published16 Jul 2018

Abstract

This paper presents a methodology to design and to predict the behaviour of electronic circuits, which combines artificial neural networks and design of experiments. This methodology can be used to model output variables in electronic circuits either with similar features to the circuit configuration that is analysed in this study or with more complex configurations in order to improve the process of electronic circuit design.

1. Introduction

Artificial neural networks (ANNs) are employed in a wide range of applications for optimization, system identification, control and pattern recognition, among others [1]. ANNs have been widely used in several fields of both engineering and technology, and many researchers have analysed their application over the past few years. Among the published research works in the field of ANNs, the research study of Kamar et al. [2] predicted the cooling load, compressor power input, and the performance coefficients of an air-conditioning system. Their results showed correlation coefficients that were very close to unity, which indicates that their ANN models predicted the selected performance parameters to a high degree of accuracy [2]. In another study, Xiao et al. [3] used backpropagation neural networks for predicting oxygen dissolved in water with a combination of linear, logsig, and tansig transfer functions. The authors found that the neural networks yielded the most accurate results, in comparison with common prediction methods such as curve fitting and autoregression, among various others [3]. Further examples might include works by Peng et al. [4] in which short-term wind power produced at a wind farm was analysed with ANNs and a hybrid strategy based on both physical and statistical methods [4]. It is also worth mentioning the study in which Karami [5] proposed a method of estimating transient stability analysis in a power system using multilayer perceptrons. The author concluded that the proposed approach was highly suitable for online normalized transient stability margin estimation, because of its accuracy and computational efficiency [5]. Moreover, Srinivasan and Saghir [6] reported the results of modelling thermodiffusion in molten metals, by training neural networks with the Levenberg-Marquardt backpropagation algorithm. They concluded that a well-trained neural network can be reliably employed to quantify the thermotransport properties of binary metal alloys [6]. On the other hand, in the research study of Notton et al. [7], the authors determined global solar irradiation on tilted planes, by using multilayer perceptron, feedforward backpropagation, and the Levenberg-Marquardt algorithm [7]. In other studies, Gao et al. [8] proposed a modelling and error compensation approach based on backpropagation neural networks, for an articulated arm coordinate measuring machine. Likewise, Pedro et al. [9] published their design of a neural network for an antilock braking system. They concluded that the NN-based controller provided better results than the generic PID-based controller [9].

In addition to artificial neural networks, fuzzy set theory and their combination have been studied in depth over the past few years [10] and many researchers have investigated their application. For instance, Lovassy et al. [10] proposed fuzzy flip-flop-based neural networks (FNN) as an implementation of multilayer perceptron, in which the network was trained with the Levenberg-Marquardt algorithm. These authors found that this neural network is able to approximate both single and multiple variable functions to a high degree of accuracy [10]. Zhang et al. [11] proposed the application of a hierarchical fuzzy neural network as a new type of fault diagnosis for an asynchronous motor, which performed effective diagnosis of both single and multiple faults [11]. Yang et al. [12] employed FNNs to provide an efficient means of detecting and evaluating concrete strength, and Yang et al. [13] combined fuzzy theory and artificial neural network techniques to evaluate and to analyse the safety status of an oil depot [13]. In further research studies, Lovassy et al. [14] reported an analysis of the behaviour of an FPGA implementation of the FNNs and went on to state that their FPGA implementation provided a safe and hazardless solution in environments where observation might be distorted by a component of noise [14].

In other research studies that concern the applicability of ANNs, Djeffal et al. [15] showed the applicability of ANNs in the simulation of nanoscale CMOS circuits, training the ANN with a backpropagation algorithm. Moreover, Mohagheghi et al. [16] employed neural networks for the monitoring of electronic power circuits. Among their conclusions, they mentioned that, with a proper and a systematic selection of design parameters and sufficient training data, a neural network can learn to model any nonlinear system to a high level of accuracy [16].

This present research study compares the results provided by ANNs with those of a conventional regression. Moreover, it examines how the ANN is employed to obtain the main effect plots and the interaction effect plots, in order to determine the influence of the input parameters on the circuit response. It is shown that ANNs can be used to analyse electronic circuits and to optimize their performance. This methodology may also be used to model other output variables in electronic circuits with more complex configurations, in order to improve the process of electronic circuits design.

2. Modelling of Circuit Parameters

A bipolar transistor, configured as a common emitter amplifier, is selected as an example application to show the proposed methodology. The gain voltage and the relation between the collector current and base current () of the transistor are determined, following a full factorial design of experiments when the electrical resistances in the circuit are varied, from software simulations. These output values are then used to train an artificial neural network, in order to model both the gain voltage and the as a function of the electrical resistances in the amplifier circuit. Once the artificial neural network is trained, it can then be used to obtain both the gain voltage and the , when the electrical resistances are varied, with no further need for additional simulations. A 34 factorial design of experiments (DOE) was selected, which corresponds to 81 possible combinations of the input parameters (electrical resistances).

Table 1 shows the range of variation of the electrical resistances that form part of the electrical circuit shown in Figure 1. This circuit is analysed in this present study by training a neural network and then using the results to obtain the main effect plots and the interaction effect plots. That is, Table 1 shows the electrical resistance levels, which were selected following a full factorial DOE, based on raising and lowering the nominal value of the electrical resistances by 25% (from the centre value). The number of resistance values which could be employed, following this methodology, may be higher than three with the aim of obtaining a large number of data to train the ANN. Nevertheless, in this study, we have considered that three levels of variation is a high enough number to obtain significant results.


LowNominalHigh

(kΩ)9.0012.015.0
(kΩ)2.253.03.8
(kΩ)3.004.05.0
(kΩ)1.502.02.5

Figure 1 shows the nominal values of the amplifier circuit employed in this study, where are the electrical resistances to be varied and is a 20 mV and 1 kHz sinusoidal voltage source.

The values shown in Figure 1 may be modified with the data shown in Table 1, following a full-factorial DOE. After simulation of these electronic circuits, it will be possible to determine the gain voltage and the relation between both the collector and base currents of the transistor.

3. ANN and Regression Modelling

As was previously mentioned, simulations made it possible to determine the output data that correspond to all of the possible combinations of electrical resistances shown in Table 1. This will lead to different transistor polarizations that will induce variations in the gain voltage and in the . By using the data shown in Table 2, a neural network can then be trained to predict both the and the gain voltage of the amplifier circuit.



115.003.004.002.50149.412.33
215.002.255.001.50150.663.12
39.002.254.001.50162.945.04
412.003.804.001.50166.546.24
515.003.003.002.50149.841.76
612.002.255.001.50156.844.52
79.002.255.001.50162.256.29
89.003.803.002.50163.443.93
99.003.805.002.00164.415.36
1015.003.805.002.00157.534.83
1115.003.803.002.50154.992.33
129.003.803.001.50171.685.78
1315.003.804.002.00158.303.82
149.003.803.002.00167.194.84
159.003.003.002.00163.913.87
1615.003.804.001.50163.105.05
1712.003.804.002.50158.323.98
1815.003.805.001.50162.046.18
1915.003.003.002.00153.982.17
209.002.253.001.50163.983.82
219.003.004.002.50159.144.19
229.002.254.002.00158.113.84
239.002.255.002.00157.364.77
2412.003.003.002.00158.842.85
2512.002.255.002.50147.512.68
2612.002.255.002.00151.443.34
2715.002.255.002.00145.602.38
2812.002.254.001.50157.043.48
299.003.004.002.00162.845.11
309.003.805.002.50161.275.70
319.003.005.001.50165.765.68
329.003.804.002.00165.805.79
3312.002.253.001.50157.722.63
3415.002.254.001.50151.122.50
359.002.253.002.50154.782.32
369.002.255.002.50153.603.86
3712.002.253.002.00152.442.00
3812.002.254.002.00151.942.65
3915.003.005.002.00152.883.60
4012.003.003.002.50154.752.30
4115.003.005.002.50148.982.92
4212.003.003.001.50163.943.74
4312.003.005.002.50153.583.85
4412.003.803.001.50167.944.85
4515.002.253.002.00146.281.44
4612.003.004.002.50154.173.09
4712.002.253.002.50148.281.61
4812.003.805.002.00161.056.02
499.002.253.002.00158.872.85
5012.003.805.001.50165.155.96
519.003.003.002.50159.983.16
5215.002.253.001.50151.591.89
5312.002.254.002.50147.892.14
549.003.805.001.50145.534.83
5515.002.254.002.00145.941.91
5615.002.254.002.50141.871.55
5712.003.803.002.00163.073.65
5812.003.005.002.00157.334.76
5912.003.004.001.50162.905.03
6012.003.805.002.50157.534.93
6115.002.255.002.50141.611.93
629.003.003.001.50168.735.14
639.003.005.002.00161.766.10
6415.003.004.001.50158.473.78
659.003.005.002.50158.305.09
6612.003.804.002.00162.064.91
6715.003.803.001.50164.153.78
6815.003.003.001.50159.232.85
699.003.804.001.50169.765.33
709.002.254.002.50154.193.07
7115.003.805.002.50153.803.91
7215.003.005.001.50157.724.76
7312.003.005.001.50158.616.12
7415.003.803.002.00159.062.88
759.003.804.002.50162.355.16
7615.003.004.002.00153.432.88
7715.002.253.002.50142.141.16
789.003.004.001.50167.246.15
7912.003.004.002.00158.083.83
8015.003.804.002.50154.393.09
8112.003.803.002.50159.112.96

The ANN employed in this present study is composed of a hidden layer and an output layer. Figure 2 shows the configuration of the neural network used for modelling the behaviour of both the and the . The results dealing with the ANN were calculated with the Neural Network Toolbox™ of MATLAB® (MathWorks Inc.).

As may be seen, the same ANN was employed to model both outputs. Following a trial-and-error process, a hidden layer with four neurons was selected for modelling the values of both and .

Figure 2 shows the neural network configuration, which corresponds to four inputs (, , , and ), four neurons in the hidden layer, and two outputs ( and ). A DOE was used to train the ANN network, in order to obtain the main effect plot and the interaction effect plot. MSE was used as a performance index.

A log-sigmoid, defined by (1), was used as the transfer function () for the hidden layer, and a pure linear function, shown in (2), was used for the output layer (), while a Levenberg-Marquardt algorithm was used to train the neural network.

Equations (3) and (4) may be obtained from Figure 2. These equations allow us to determine both the and the as a function of the input parameters. As function is purely linear, (4) can be written as follows:

As previously mentioned, simulation results shown in Table 2 were used to train, to validate, and to test the neural network (70%, 15%, and 15%), respectively. Figure 3 shows the values obtained to measure the correlation between outputs and targets using the ANN. The performance index is also shown in Figure 4.

Figure 4 shows the training performance as well as the error histogram and the regression plot for the ANN considered in this present study. A conventional regression analysis was also performed using the whole set of experiments. The adjusted -squared statistic indicated that the regression model explained 88% of the variability in and 90% of the variability in . As can be observed, these values are much smaller than those obtained with the ANN. Equation (5) show the regression polynomials for the and the .

Tables 3 and 4 show the weights and biases of the ANN. Once determined, the ANN may be used to predict the output values. Moreover, it is possible to employ the ANN to obtain response surfaces for the and the as well as to analyse the effect of the input variables on these parameters. As previously shown, the results of the neural network are of higher accuracy than the results of the regression analysis. The ANN therefore has many advantages over traditional methodologies that analyse the DOE from mean values. However, the models obtained with the ANN are often more complex than those obtained by regression analysis.


WeightsBiases

−0.38420.2583−0.4092−0.4423−0.2399
−0.37980.2564−0.3915−0.4369−0.2456
−0.85921.66750.0988−0.30282.3048
3.7471−3.5843−3.73663.179518.8845


WeightsBiases

−57.221460.37440.9869164.7291−166.7892
−174.2275178.58710.963981.1056−83.5416

4. Discussion

Figures 5 and 6 show the neural network response surfaces for both the and the . Once the weight and bias parameters are obtained, it is possible to plot the response surfaces. For example, the response surface is obtained when both and are varied, while and are kept at their central values.

The same procedure can be used to determine the main effect plot and the interaction effect plot. In this case, to obtain the main effect plot, one input parameter is varied while the others are kept at their central values, as shown by Figure 7. The interaction plot between two parameters is obtained by considering the higher and the lower values of one parameter, while the other is modified in its variation range and the rest of the parameters are kept at their central values, as shown in Figures 8 and 9. In this way, it is possible to obtain the interaction effect plot and the main effect plot using the ANN, where the inputs have to be selected according to the aforementioned procedure.

As mentioned earlier, the influence of the parameters on both the and the may be analysed by means of the interaction effect plot and the main effect plot. These plots can be obtained by determining the outputs provided by the neural network when appropriate inputs are considered.

Figure 7 shows the main effect plot which has been normalized from the expressions shown in (6), in which the response variables were obtained from the data given by the previously determined artificial neuronal network.

As can be observed in Figure 7(a), for this present study, when are kept at their central values, the reaches a maximum value, if is kept at its minimum value. The same behaviour is observed for and . On the contrary, reaches a maximum value, if is kept at its maximum value, while , , and are kept at their central values.

As may also be observed in Figure 7(a), is the parameter which affects the more than any other, followed by and . The collector resistance () parameter affects the less than any other, and its influence is much smaller than the influence of the other three electrical resistances.

In the case of the gain voltage, as can also be observed in Figure 7(b), the value of reaches a maximum, when are kept at their central values, if is kept at its minimum value. The same behaviour may be observed for . On the contrary, the value of reaches a maximum, if either or is kept at its maximum value, while the rest of the electrical resistances are kept at their central values. As may also be observed in Figure 7(b), the most influential parameters are and , followed by and .

As can be observed in Figure 8, exhibits a different behaviour, with respect to and to the behaviour shown by and . The same trend is observed in the three electrical resistors , when they are kept at either minimum or maximum values and is varied, that is, the lower the electrical resistances, the higher the . The influence of and on is approximately the same, while the interaction between and is much lower.

As can be observed in Figure 9, the behaviour of in relation to differs in relation to and . The same trend is observed in the three electrical resistors , when they are kept at either minimum or maximum values, while is varied: the lower the electrical resistance, the higher the . The influence of and on is very similar, but its behaviour is different, the interaction between the collector resistance () and the emitter resistance () being much lower than the other interactions between the electrical resistances of the amplifier circuit.

5. Conclusions

In this present study, a neural network comprising four inputs, a hidden layer of four neurons, and two outputs has been used to model output variables in an electronic circuit. The findings have shown that a factorial DOE combined with an ANN can model the behaviour of and in an efficient way. Higher accuracy was obtained with the ANN than with conventional regression techniques.

The methodology proposed in this study therefore has the potential to assist the analytical design of electronic circuits and their actual implementation, either with similar features to that shown in this present study or with more complex configurations.

Conflicts of Interest

There are no conflicts of interest regarding the publication of this paper.

References

  1. Y. Jiang, C. Yang, J. Na, G. Li, Y. Li, and J. Zhong, “A brief review of neural networks based learning and control and their applications for robots,” Complexity, vol. 2017, Article ID 1895897, 14 pages, 2017. View at: Publisher Site | Google Scholar
  2. H. M. Kamar, R. Ahmad, N. B. Kamsah, and A. F. Mohamad Mustafa, “Artificial neural networks for automotive air-conditioning systems performance prediction,” Applied Thermal Engineering, vol. 50, no. 1, pp. 63–70, 2013. View at: Publisher Site | Google Scholar
  3. Z. Xiao, L. Peng, Y. Chen, H. Liu, J. Wang, and Y. Nie, “The dissolved oxygen prediction method based on neural network,” Complexity, vol. 2017, Article ID 4967870, 6 pages, 2017. View at: Publisher Site | Google Scholar
  4. H. Peng, F. Liu, and X. Yang, “A hybrid strategy of short term wind power prediction,” Renewable Energy, vol. 50, pp. 590–595, 2013. View at: Publisher Site | Google Scholar
  5. A. Karami, “Power system transient stability margin estimation using neural networks,” International Journal of Electrical Power & Energy Systems, vol. 33, no. 4, pp. 983–991, 2011. View at: Publisher Site | Google Scholar
  6. S. Srinivasan and M. Z. Saghir, “Modeling of thermotransport phenomenon in metal alloys using artificial neural networks,” Applied Mathematical Modelling, vol. 37, no. 5, pp. 2850–2869, 2013. View at: Publisher Site | Google Scholar
  7. G. Notton, C. Paoli, L. Ivanova, S. Vasileva, and M. L. Nivet, “Neural network approach to estimate 10-min solar global irradiation values on tilted planes,” Renewable Energy, vol. 50, pp. 576–584, 2013. View at: Publisher Site | Google Scholar
  8. G. Gao, H. Zhang, H. San, X. Wu, and W. Wang, “Modeling and error compensation of robotic articulated arm coordinate measuring machines using BP neural network,” Complexity, vol. 2017, Article ID 5156264, 8 pages, 2017. View at: Publisher Site | Google Scholar
  9. J. O. Pedro, O. T. C. Nyandoro, and S. John, “Neural network based feedback linearisation slip control of an anti-lock braking system,” in Proceedings of the 7th Asian Control Conference, pp. 1251–1257, Hong Kong, China, August 2009. View at: Google Scholar
  10. R. Lovassy, L. T. Kóczy, and L. Gál, “Function approximation capability of a novel fuzzy flip-flop based neural network,” in Proceedings of the 2009 International Joint Conference on Neural Networks, pp. 1900–1907, Atlanta, GA, USA, June 2009. View at: Publisher Site | Google Scholar
  11. Y. Zhang, N. Xu, and Q. Ji, “Study on the application of the hierarchical fuzzy neural network in the fault diagnosis of the asynchronous motor,” in 2010 Sixth International Conference on Natural Computation (ICNC), pp. 651–654, Yantai, China, August 2010. View at: Publisher Site | Google Scholar
  12. S. S. Yang, J. Xu, and G. Z. Yao, “Concrete strength evaluation based on fuzzy neural networks,” in Proceedings of 2004 International Conference on Machine Learning and Cybernetics, pp. 3344–3347, Shanghai, China, August 2004. View at: Publisher Site | Google Scholar
  13. Y. Yang, C. Zhu, and J. Xing, “Application of fuzzy neural network to safety evaluation for oil depot,” in 2012 3rd International Conference on System Science, Engineering Design and Manufacturing Informatization (ICSEM), pp. 55–58, Chengdu, China, October 2012. View at: Publisher Site | Google Scholar
  14. R. Lovassy, L. Gál, Á. Tóth, L. T. Kóczy, and I. J. Rudas, “Fuzzy Flip-flop based neural networks as a novel implementation possibility of multilayer perceptrons,” in 2012 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), pp. 280–285, Graz, Austria, May 2012. View at: Google Scholar
  15. F. Djeffal, M. Chahdi, A. Benhaya, and M. L. Hafiane, “An approach based on neural computation to simulate the nanoscale CMOS circuits: application to the simulation of CMOS inverter,” Solid-State Electronics, vol. 51, no. 1, pp. 48–56, 2007. View at: Publisher Site | Google Scholar
  16. S. Mohagheghi, R. G. Harley, T. G. Habetler, and D. Divan, “Condition monitoring of power electronic circuits using artificial neural networks,” IEEE Transactions on Power Electronics, vol. 24, no. 10, pp. 2363–2367, 2009. View at: Publisher Site | Google Scholar

Copyright © 2018 M. I. Dieste-Velasco et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.


More related articles

 PDF Download Citation Citation
 Download other formatsMore
 Order printed copiesOrder
Views1635
Downloads487
Citations

Related articles

We are committed to sharing findings related to COVID-19 as quickly as possible. We will be providing unlimited waivers of publication charges for accepted research articles as well as case reports and case series related to COVID-19. Review articles are excluded from this waiver policy. Sign up here as a reviewer to help fast-track new submissions.