Analysis of Analog Neural Network Model with CMOS Multipliers

Similar documents
ELG 2135 ELECTRONICS I FOURTH CHAPTER : BIPOLAR JUNCTION TRANSISTORS

Course Outline. 4. Chapter 5: MOS Field Effect Transistors (MOSFET) 5. Chapter 6: Bipolar Junction Transistors (BJT)

Amplifiers with Negative Feedback

Experiment 8 - Single Stage Amplifiers with Passive Loads - BJT

Week 7: Common-Collector Amplifier, MOS Field Effect Transistor

EE 551 Linear Integrated Circuits

Electronic Instrumentation Experiment 6 -- Digital Switching

Microelectronics Exercises of Topic 5 ICT Systems Engineering EPSEM - UPC

Paralleled three-phase inverters

EE3301 Experiment 5 A BRIDGE RECTIFIER POWER SUPPLY

Advanced Test Equipment Rentals ATEC (2832)

Simulation and Performance Evaluation of Shunt Hybrid Power Filter for Power Quality Improvement Using PQ Theory

Complementary Metal-Oxide-Semiconductor Field-Effect Transistor Circuits

Chapter 10 Differential Amplifiers

MOSFET Amplifier Configuration. MOSFET Amplifier Configuration

EE301 Electronics I , Fall

Revision: June 11, E Main Suite D Pullman, WA (509) Voice and Fax

CHAPTER 4 MIXED-SIGNAL DESIGN OF NEUROHARDWARE

SIMPLIS Nonlinear Block (NLB)

GENERATION OF TANGENT HYPERBOLIC SIGMOID FUNCTION FOR MICROCONTROLLER BASED DIGITAL IMPLEMENTATIONS OF NEURAL NETWORKS

Chapter 5 Bipolar Amplifiers. EE105 - Spring 2007 Microelectronic Devices and Circuits. Bipolar Amplifiers. Voltage Amplifier

A Simple Design and Implementation of Reconfigurable Neural Networks

Adaptive Saturation Scheme to Limit the Capacity of a Shunt Active Power Filter

Seventh-order elliptic video filter with 0.1 db pass band ripple employing CMOS CDTAs

EEE118: Electronic Devices and Circuits

Implementing a Three Phase Nine-Level Cascaded Multilevel Inverter with low Harmonics Values

LOW-VOLUME STACKABLE FLYBACK CONVERTER

Celso José Faria de Araújo, M.Sc.

Design of a VLSI Hamming Neural Network For arrhythmia classification

A Modified Bipolar Translinear Cell with Improved Linear Range and Its Applications

CHAPTER 1 INTRODUCTION

CHAPTER 3 DESIGN OF A PV-UPQC SYSTEM FOR VOLTAGE SAG AND SWELL COMPENSATION

UNIVERSITY OF UTAH ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT AMPLIFIER FREQUENCY RESPONSE

LOW CURRENT REFERENCES WITH SUPPLY INSENSITIVE BIASING

EE105 Fall 2015 Microelectronic Devices and Circuits

Electronic Troubleshooting

Lecture 1. EE 215 Electronic Devices & Circuits. Semiconductor Devices: Diodes. The Ideal Diode

A VLSI Convolutional Neural Network for Image Recognition Using Merged/Mixed Analog-Digital Architecture

ECE 334: Electronic Circuits Lecture 2: BJT Large Signal Model

Chapter 4. CMOS Cascode Amplifiers. 4.1 Introduction. 4.2 CMOS Cascode Amplifiers

Course Number Section. Electronics I ELEC 311 BB Examination Date Time # of pages. Final August 12, 2005 Three hours 3 Instructor

Testing report for MOSIS Educational Program (Research) Integrated Circuit for Implantable Sensor

Modified PTS Technique Of Its Transceiver For PAPR Reduction In OFDM System

s(t) s(t-dt) s(t-2dt) s(t-3dt) s(t-ndt) s(t)

Yet, many signal processing systems require both digital and analog circuits. To enable

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Keywords - Analog Multiplier, Four-Quadrant, FVF Differential Structure, Source Follower.

Lecture 9. Bipolar Junction Transistor (BJT) BJT 1-1

Chapter 6: Operational Amplifier (Op Amp)

BJT Circuits (MCQs of Moderate Complexity)

Bipolar Junction Transistor (BJT) Basics- GATE Problems

Chapter Goal. Zulfiqar Ali

Analog Implementation of Neo-Fuzzy Neuron and Its On-board Learning

EIE209 Basic Electronics. Transistor Devices. Contents BJT and FET Characteristics Operations. Prof. C.K. Tse: T ransistor devices

EE 330 Laboratory 8 Discrete Semiconductor Amplifiers

Design of a Low-Light-Level Image Sensor with On-Chip Sigma-Delta Analog-to-Digital Conversion

DESIGN & IMPLEMENTATION OF SELF TIME DUMMY REPLICA TECHNIQUE IN 128X128 LOW VOLTAGE SRAM

Ultra-low Power Temperature Sensor

Research Article A New Translinear-Based Dual-Output Square-Rooting Circuit

(a) BJT-OPERATING MODES & CONFIGURATIONS

Operation of a Differential Amplifier

NEW CIRCUIT TECHNIQUES AND DESIGN METHODES FOR INTEGRATED CIRCUITS PROCESSING SIGNALS FROM CMOS SENSORS

RC AUTONOMOUS CIRCUITS WITH CHAOTIC BEHAVIOUR

BJT as an Amplifier and Its Biasing

CHAPTER SIX SOLUTIONS

Well we know that the battery Vcc must be 9V, so that is taken care of.

Paul M. Furth and Andreas G. Andreou. The Johns Hopkins University We ignore the eect of a non-zero drain conductance

Carleton University ELEC Lab 1. L2 Friday 2:30 P.M. Student Number: Operation of a BJT. Author: Adam Heffernan

A New Model for Timing Jitter Caused by Device Noise in Current-Mode Logic Frequency Dividers

Tuesday, February 1st, 9:15 12:00. Snorre Aunet Nanoelectronics group Department of Informatics University of Oslo

QUESTION BANK for Analog Electronics 4EC111 *

A Low Voltage Bandgap Reference Circuit With Current Feedback

Lecture 1 Introduction to Electronic

Systolic modular VLSI Architecture for Multi-Model Neural Network Implementation +

A CMOS-based Analog Function Generator: HSPICE Modeling and Simulation

Novel image processing algorithms and methods for improving their robustness and operational performance

Systematic Approaches of UWB Low-Power CMOS LNA with Body Biased Technique

EE 171. MOS Transistors (Chapter 5) University of California, Santa Cruz May 1, 2007

sketch a simplified small-signal equivalent circuit of a differential amplifier

Department of Electrical and Computer Engineering, Cornell University. ECE 3150: Microelectronics. Spring 2018

Chapter 8. Field Effect Transistor

ECEN474: (Analog) VLSI Circuit Design Fall 2011

Current Mirrors. Basic BJT Current Mirror. Current mirrors are basic building blocks of analog design. Figure shows the basic NPN current mirror.

Building Blocks of Integrated-Circuit Amplifiers

Microcontroller Systems. ELET 3232 Topic 13: Load Analysis

Class AB Push-Pull Vacuum Tube Guitar Amplifier Analysis, Design, and Construction

CHAPTER 4 IMPLEMENTATION OF ADALINE IN MATLAB

A Novel Fundamental Current Reference I d I q Theory Based DSTATCOM for Compensation of Reactive Power and Harmonics

Flying Ubiquitous Sensor Networks as a Queueing System

V o2 = V c V d 2. V o1. Sensor circuit. Figure 1: Example of common-mode and difference-mode voltages. V i1 Sensor circuit V o

ECE321 Electronics I Fall 2006

Lecture 10 ANNOUNCEMENTS. The post lab assignment for Experiment #4 has been shortened! 2 pgs of notes (double sided, ) allowed for Midterm #1

Field Effect Transistors

ES 330 Electronics II Homework # 2 (Fall 2016 Due Wednesday, September 7, 2016)

4.2.2 Metal Oxide Semiconductor Field Effect Transistor (MOSFET)

1. The fundamental current mirror with MOS transistors

SIMULATION AND IMPLEMENTATION OF PID-ANN CONTROLLER FOR CHOPPER FED EMBEDDED PMDC MOTOR

Electronics I ELEC 311/1 BB. Final August 14, hours 6

Signal Processing in Neural Network using VLSI Implementation

UNIT-1 Bipolar Junction Transistors. Text Book:, Microelectronic Circuits 6 ed., by Sedra and Smith, Oxford Press

Transcription:

RADIOENGINEERING, VOL. 16, NO. 3, SEPTEMBER 2007 103 Analysis of Analog Neural Network Model with CMOS Multipliers Liliana DOCHEVA, Alexander BEKIARSKI, Io DOCHEV Faculty of Communications Technic and Technologies, Technical Uniersity, Sofia, Bulgaria dochea@tu-sofia.bg, aabb@tu-sofia.bg, idoche@tu-sofia.bg Abstract. The analog neural networks hae some ery useful adantages in comparison with digital neural network, but recent implementation of discrete elements gies not the possibility for realizing completely these adantages. The reason of this is the great ariations of discrete semiconductors characteristics. The VLSI implementation of neural network algorithm is a new direction of analog neural network deelopments and applications. Analog design can be ery difficult because of need to compensate the ariations in manufacturing, in temperature, etc. It is necessary to study the characteristics and effectieness of this implementation. In this article the parameter ariation influence oer analog neural network behaior has been inestigated. used because of their adantages, high speed, low power consumption and compact implementation. Neertheless the analog computational hardware is typically limited to a relatie precision of about 1%. For this reason it is preferable a simple ANN model to be used. The model must be compatible with the restrictions imposed by the analog VLSI technology. Otherwise the adantages of using the technology would be lost. Fig. 1 depicts expandable neural network, which topology is though simple, a ery capable one. In such a way we can implement systems of arbitrary size, fully connected between the layers. Keywords Analog neural networks, VLSI, robotic. 1. Introduction Artificial Neural Networks is a new method wide used for information processing. Analog neural networks hae the following adantages: high speed, low power consumption and compact implementation in comparison with competing digital signal processing approaches. With the help of the analog neural networks certain computations that are difficult or time-consuming for digital neural network can be done. A disadantage of analog neural networks is their limited accuracy and nonlinear behaior. Variation in the size of discrete transistors and the local mobility will cause random parameter ariation. Moreoer an increase in the precision of any component has as a consequence an increase of its area. The aim of this paper is to inestigate influence of some analog neural network parameters onto its recognition ability. 2. Implementation of Analog Neural Networks Many inestigations in the implementation of analog neural networks field are known [2, 3, 4, 5]. They are wide Fig. 1. Expandable neural network. There are many ways for analog neural network implementation, but it is necessary to study the characteristics and effectieness of their implementation. 3. Parameter Variation Influence oer Analog Neural Network Behaior Variation in the size of indiidual transistors and the local mobility will cause random parameter ariation. In this article analog parameter ariation oer analog neural network behaior is inestigated. In [1], [7], VLSI implementation of an analog neural network is depicted. The synapse chip consists of a number of inner product multipliers. The authors hae chosen to use the MOS resistie circuit multiplier. Weight alues are

104 L. DOCHEVA, A. BEKIARSKI, I. DOCHEV, ANALYSIS OF ANALOG NEURAL NETWORK MODEL WITH CMOS MULTIPLIERS stored by simple capacitie storage method with RAM Backup. The schematic of a single synapse is shown in Fig. 2. Fig. 2. Schematic of a single synapse. Fig. 3. Hyperbolic tangent neuron. The transfer function of the synapse is the following g mk i = W j / L jvw (1) sk kj zj W0 / L0. Vc j where g mk is the transconductance parameter, W/L are the MOS resistie circuit multiplier width/length ratios, Vc controls the total transconductance, V wkj are the weight alues oltages and zj are the input oltages. Fig. 3 depicts a hyperbolic tangent neuron [1]. Its resulting transfer function is the following yk αfci = β V b OR OR tanh i sk. (2) 2βISVISVt On the base of the neuron and synapse equations of this implementation so as equations about analog parameter ariation oer analog neural network behaior hae been worked out [6]. On this way we hae inestigated parameter ariation influence oer neural network behaior. After parameter ariation the synapse equation becomes l gmk + Δgmk i = Wj / LjVW (3) sk kj zj W0 / L0. Vc j where l is the layer number, g mk is the transconductance parameter, W/L are the MOS resistie circuit multiplier width/length ratios, V c controls the total transconductance, V Wkj are the weight alues oltages, zj are the input oltages and Δg mk is the step of transconductance parameter change. Equation (4) is the neuron equation including parameter ariation. l yk = l ( α )( ) ( ) ( ) FC + Δα FC IB + ΔI B h k β + Δ OR βor VOR 2 βis + Δβis VISVt tanh (4) where l is the layer number, α FC is the emitter-collector current gain, I B is the bias current, β OR and β is are the MOSFET transconductance parameters, V t is the thermal oltage, V IS and V OR are the control oltages, Δα FC, Δβ OR and Δβ is corresponds to the steps of α FC, β OR and β is parameters change. On the base of the equations (3) and (4) inestigation for analog parameter ariation oer analog neural network behaior has been done. A popular method for study of neural networks is network simulation using computers. In the analysis of any circuit it has been assumed that all the components were ideal. In this article a simulation using Matlab is presented, but in the real neural networks equations the parameters of real components take part. These parameters are: the MOS resistie circuit multiplier width/length ratios W/L, the emitter-collector current gain α FC, the bias current I B, MOSFET transconductance parameter β and thermal oltage V t. The alue of the emitter-collector current gain α FC is about α FC 0.5. It s ariation because of parasitic processes is in a small range: α FC =(0.4 0.55) [1]. In Tab. 1 for each α FC alue error alues and boundaries of weight alues are gien. It can be seen from the table that α FC ariation is ery important because this ariation hae effect on both: the error alue and the range of weight alues ariation. Some of the weights can reach alues of w=-93 and w=64. With α FC increasing, the range of weight alues ariation decreases. α FC W 1 W 2 E 0.4-93 64-20 16 0.04 0.45-10 5-8 4 0.01 0.5-3 2-3 0.3 4.9.10-4 0.55-1.2 1.7-1.8 1.4 1.9. 10-4 Tab. 1. Influence of α FC oer error alues and range of weight alues ariation.

RADIOENGINEERING, VOL. 16, NO. 3, SEPTEMBER 2007 105 The influence of α FC oer error alues is depicted in Fig. 4. It can be seen that for alues α FC =0.4 and α FC =0.45 the error increases compared to that achieed at the alue α FC =0.5. Variation of parameter I B directly reflects oer output oltage range just like α FC. Graphics of the effect of I B on the forward mode neuron characteristics are quite similar to those of Fig. 5 and it is no reason to gie them here. I B, µa W 1 W 2 E 50-47 29-15 12 2.70.10-2 55-7 3-6 3 6.9.10-3 60-2.7 1.6-3 0.3 4.9.10-4 65-1.7 1.6-2.5 0.6 5.7. 10-4 70-0,1 5-5 14 2.8. 10-3 Tab. 2. Influence of I B oer error alues and range of weight alues ariation. Fig. 4. Influence of α FC oer error alues. Because of their position in the equation (eq. 4) ariations of parameters α FC, I B and β OR directly reflect on the output oltage range. This is the reason for error increasing for alues of α FC shown at the top of the Tab. 1. The influence of α FC oer forward mode neuron characteristics is depicted in Fig. 5. Fig. 6. Influence of I B oer error alues. The MOSFET transconductance parameter β OR is inestigated in the range β OR =(25 µa/v 2 40 µa/v 2 ). One is part of group of parameters that directly reflects oer output oltage. Therefore β OR ariation leads to rapid increasing of the output error and the range of weight alues ariation. Fig. 5. Influence of α FC oer forward mode neuron characteristics. The parameter α FC ariance strongly influences oer analog neural network behaior. Regulating circuit for this parameter is depicted in [1]. The bias current I B is inestigated in the range I B =(50 ma;70 ma). This parameter has effect on both: the error alue and the range of weight alues ariation, too. For alues 60 ma>i B >65 ma, some of the weights can reach alues of w=-47 and w=29 (Tab. 2). The influence of I B oer error alues is depicted in Fig. 6. The smallest error is obtained for the alues I B =60 µa and I B =65 µa, but for the second one the error increases after 300 epochs. β OR, W 1 W 2 E µa/v 2 25-1.10-4 9-7 21 4.10-2 30-2.7 1.6-3 0.3 4.9.10-4 35-27 15-12 ;9 2.04.10-2 40-229 170-27 24 6.3. 10-4 Tab. 3. Influence of β OR oer error alues and range of weight alues ariation. It can be seen from Tab. 3 that for alues β OR 30 µa/v 2 range of weight alues strongly increases. For the alue β OR =40 µa/v 2 one is (-229 170). When analog neural network implementation has been discussed these are impermissible weight alues. From Fig. 7 it can be seen that the output error is maximum for the alue β OR =25 µa/v 2. For the alue β OR =20 µa/v 2 neural network cannot be learned.

106 L. DOCHEVA, A. BEKIARSKI, I. DOCHEV, ANALYSIS OF ANALOG NEURAL NETWORK MODEL WITH CMOS MULTIPLIERS Fig. 7. Influence of β OR oer error alues. The thermal oltage V t is inestigated in the range V t =(23 mv 37 mv). This corresponds to the thermal range (-10 150)ºC. The thermal oltage ariation doesn t lead to essential increasing of weight alues range (Tab. 4). Output neuron error modifies slightly, too. V t,mv W 1 W 2 E 23-2.5 1.6-2.8 0.3 4.2.10-4 26-2.7 1.6-3 0.3 4.9.10-4 29-2.9 1.7-2.9 0.3 5.5.10-4 32-3.2 1.7-3.2 0.3 5.9.10-4 37-3.4 1.8-3.4 0.3 6.2.10-4 Tab. 4. Influence of V t oer error alues and range of weight alues ariation. The error is comparatiely low for the entire range of V t inestigation (Fig. 8). Fig. 9. Influence of V t oer forward mode neuron characteristics. The parameter β is influence (MOSFET transconductance parameter) is inestigated in the range (20 µa/v 2 80 µa/v 2 ). Variation of weight alues range is comparatiely low for the entire range of β is inestigation (see Tab. 4). β is, W 1 W 2 E µa/v 2 20-1.9 1.5-1.8 0.4 4.2.10-4 25-1.97 1.55-2 0.3 2.10-4 30-3.2 1.7-3.2 0.3 2.4.10-4 40-3.4 1.8-3.4 0.3 3.7.10-4 50-2.7 1.6-3 0.3 4.9.10-4 60-2.7 1.6-3 ;0.3 5.9.10-4 70-2.9 1.7-2.9 0.3 6.2.10-4 80-3.2 1.7-3.2 0.3 6.1.10-4 Tab. 5. Influence of β is oer error alues and range of weight alues ariation. For alues β is <50 µa/v 2 output neural network error decreases, but error decreasing holds on in the beginning of the learning process (see Fig. 10). For the alue β is =20 µa/v 2 error decreasing begins after 300 epochs. Hence the leaning process becomes slower. This process doesn t obsere for alues β is <50 µa/v 2. In this case, error increases slightly. Fig. 8. Influence of V t oer error alues. The parameters V t, β IS and g mk position is in the argument of tanh function. Therefore their ariation doesn t directly reflect on the output oltage range. The influence of these parameters oer forward mode neuron characteristics is slightly. The graphics about these parameters influence oer forward mode neuron characteristics are similar; therefore we apply one of them in the paper (Fig. 9). Fig. 10. Influence of β is oer error alues.

RADIOENGINEERING, VOL. 16, NO. 3, SEPTEMBER 2007 107 The parameter β is ariation reflects on the slope of the actiation function. Therefore parameter β is ariation slightly influences oer analog neural network behaior. Parameter β is ariation causes output neural network error ariation that is admissible in bigger range than parameter β OR ariation does. The transconductance g mk ariation reflects on the slope of the actiation function and learning process. One is inestigated in the range (1 ma/v 10 ma/v). It can be seen from Tab. 6 that g mk influence oer low boundary of weight alues. For the alue g mk =1 ma/v negatie weights can reach the alue w=-11. g mk ma/v W 1 W 2 E 1-11 1.5-10 1 2.3.10-3 2-5.1 1.9-5.4 0.6 9.9.10-4 3-3.5 0.5-3.9 0.5 6.6.10-4 4-2.7 1.6-3 0.3 4.9.10-4 5-2.4 1.6-2.6 0.3 3.8.10-4 6-2.1 1.5-2.3 0.3 3.10-4 7-2 1.5-2 0.3 2.4.10-4 8-1.9 1.5-1.9 0.3 1.9.10-4 9-1.8 1.4-1.8 0.3 1.6.10-4 10-1.8 1.4-1.7 0.3 1.5.10-4 Tab. 6. Influence of g mk oer error alues and range of weight alues ariation. Fig. 11 shows the error ariation ersus g mk ariation. In the inestigated range of ariation error increasing is negligible. Although with g mk increasing learning speed decreases, because of error decreasing holds on in the beginning of the learning process. 4. Conclusion Fig. 11. Influence of g mk oer error alues. The aim of this paper is to find the boundaries of parameters of analog neural network ariations in which neural networks operate correctly. For that purpose a simulation using Matlab is presented. In the analysis of the circuits, components are not ideal. In neural networks equations the parameters of real components take part. It is shown that ariation of the first inestigated group of parameters (α FC, I B and β OR ) parameters directly reflects on the output oltage range. Because of this, error increasing is fast for small ariation parameters. The parameters V t, β is and g mk position is in the argument of tanh function. Therefore their ariation doesn t directly reflect on the output oltage range. Their ariation reflects on the slope of the actiation function. At significant ariation of the second group of parameters learning speed decreases. References [1] LEHMAN, T. Hardware Learning in Analog VLSI Neural Networks. Ph.D. thesis, Technical Uniersity of Denmark, 1994. [2] MOERLAND, P., FIESLER E. Neural Network Adaptations to hardware implementation. IDIAP'97, 1997. [3] DRAGHICI, S. Neural Network in analog hardware-design and implementation issues. Int. J. of Neural Systems, 2000, ol.10, no. 1, pp. 19-42. [4] MADRENAS, J., COSP, J., LUCAS, O., ALARCÓN, E., VIDAL, E., VILLAR, G. BIOSEG: A Bioinspired VLSI Analog System for Image Segmentation. In ESANN'2004 proceedings - European Symposium on Artificial Neural Networks. 2004, pp. 411-416. [5] FIERES, J., GRÜBL, A., PHILIPP, S., MEIER, K., SCHEMMEL, J., SCHÜRMANN, F. A Platform for Parallel Operation of VLSI Neural Networks. BICS 2004, 2004. [6] BEKIARSKI, A., DOCHEVA, L. Influence of the type of analog neural network initialisation. E&E. 2007 (to be published). [7] LANSNER, J. Analogue VLSI Implementation of Artificial Neural Networks. Ph.D. thesis, Technical Uniersity of Denmark, 1994. About Authors... Liliana DOCHEVA (*1974 in Sofia, Bulgaria, M.S. degree in electronic and automatic engineering from the Technical Uni. (TU), Sofia, in 1996) is assistant professor at the TU, Sofia. Her research interests lie in the areas of neural networks, signal processing and computer ision. Alexander BEKIARSKI (M.S. degrees in Communications in 1969, Ph. D in Teleision and Image Processing in 1975, both from the TU, Sofia) has been Assoc. Professor at the TU Sofia since 1987. He published oer 120 research papers in Image Processing Systems, Pattern Recognitions, Neural Networks etc. His scientific ranges are in Image Processing Systems, Pattern Recognitions, Neural Networks, Digital Signal Processors for Image and Audio Processing, Polar Image Processing, Camera Eye Tracking. Io DOCHEV (*1970 Sofia, Bulgaria, M.S. degree in electronic and automatic engineering from the TU Sofia in 1996) is assistant professor at the TU, Sofia. His research interests lie in the areas of neural networks, signal processing and measurement in communication.