scieee AI-readable full text Open interactive document viewer

A 16 [email protected] Mixed-Signal Programmable Fuzzy Controller CMOS-1μm Chip

Vidal Verdú, Fernando; Navas González, Rafael; Rodríguez Vázquez, Ángel Benito

Abstract

We present a fuzzy inference chip capable to evaluate 16 programmable rules at a speed of 2.5Mflips (2.5 × 10 6 fuzzy inferences per second) with 8.6mW power consumption. It occupies 2.89mm 2 (including pads) in a CMOS 1μm single-poly technology. Measurements are given to demonstrate its performance. All the operations needed for fuzzy inference are realized on-chip using analog circuitry compatible with standard VLSI CMOS technologies. On-chip digital control and memory circuitry is also incorporated for programmability. The chip architecture and circuitry are based on our design methodology for neurofuzzy systems reported in [1]. A few architectural modifications are made to share circuitry among rules and, thus, obtain reduced area and power consumption. The chip parameters can be learned in situ, for operation in a changing environment, by using dedicated hardware-compatible learning algorithms [1][8]

Full text

156 A 16 [email protected] Mixed-Signal Programmable Fuzzy Controller CMOS-tym Chip Fernando Vidal-Verdu *, Rafael Navas * and Angel Rodríguez-Vázquez ** *Dto. de Electrónica Universidad de Málaga Complejo Tecnológico, Campus de Teatinos, Málaga, SPAIN FAX: 34 5 2132782; Phone: 34 5 2133326 email: [email protected] *Dept. of Analog and Mixed-Signal Circuit Design Instituto de Microelectrónica de Sevilla-Universidad de Sevilla Edificio CICA, C/Tarfia s/n, 41012-Sevilla, SPAIN FAX:: 34 5 4231832; Phone:: 34 5 4239923 email: [email protected] ABSTRACT: We present a fuzzy inference chip capable to evaluate 16 programmable rules at a speed of 2.5Mflips (2.5 x IO6 fuzzy inferences per second) with 8.6mW power consumption. It occupies 2.89mm2 (including pads) in a CMOS l|im single-poly technology. Measurements .are given to demonstrate its perfor¬ mance. All the operations needed for fuzzy inference .are realized on-chip using analog circuitry compatible with standard VLSI CMOS technologies. On-chip dig¬ ital control and memory circuitry is also incorporated for programmability. The chip architecture and circuitry are based on our design methodology for neurofuzzy systems reported in [1]. A few architectural modifications are made to share circuitry among rules and, thus, obtain reduced area and power consumption. The chip parameters can be learned in situ, for operation in a changing environment, by using dedicated hardware-compatible learning algorithms [1][8]. 1. Introduction Fuzzy controllers employ fuzzy logic inference to model systems whose mathematical description is unknown, based on insights about local features of their behavior [2]. These models consist of nonlinear multidimensional functions (called response surfaces) which map inputs into outputs. For implementation purposes these maps are represented as expansions of fuzzy basis functions, one per each local piece of knowledge from which the global model is built. These local pieces of knowledge are expressed by mean of logic IF-THEN rules, IF xx is An AND x2 is Ai2 AND ... xM is AiM THEN Consequent Action One appealing feature of fuzzy modeling is that the statements in these rules can be formulated in natural language; such as, "if the pole is falling rapidly to the left then the cart must move rapidly to the left", which simplifies capturing human expertise. Also, the locality of the pieces of knowledge, the basis on which the global surface response is built, enables simpler model updating for changes that affect only limited regions of the input space. Fuzzy technology has proven viable for incorporation into new products within short devel¬ opment time and with low development cost which, together with its functionality potential, render it very well suited to build marketable intelligent systems [3]. In this scenario, dedicated hardware implementations based on analog parallel processing feature high-speed inference, reduced power consumption and simple interface to physical sensors and actuators [2]. 157 The CMOS chip presented here is based on our design methodology for neuro-fuzzy ASICs, reported in [1]. Other CMOS monolithic analog fuzzy chips have been reported in [4][5][6][7]. [4] employs switched-capacitor circuits to obtain 0.5MFlips. The other three realize 9rules@2input@ loutput using continuous-time circuits. The fastest claims lOMFlip® lOmW, and have very limited programmability and no internal logic [5]. [6] obtains O.lMFlip, and gives no data about power; [7] obtains [email protected], again with limited programmabil¬ ity and no internal logic. 2. Chip Description: Architecture and Building Blocks The chip realizes the particular case of fuzzy inference that uses constant terms (singletons) at the consequent of each rule [l].This procedure obtains y =/(x) as, min {sn (jj), si2(x2),..., s¡M(xM) } y(x) = X "Y* (*)?,*. wi*(x)=- (1) i=l,5 ]T min{sn(kxl),si2(x2),...,siM(xM)} i = \.N where w,*(x) are the normalized fuzzy basis functions which corresponds to normalized rule antecedent outputs, Sifixj) are the membership functions associated to linguistic labels Atp and y¿* are the singleton values at the consequent of each rule. Fig. 1 is a conceptual architecture to realize (1). There, processing is realized through five layers associated to the operators in (1) Instead of a direct translation of Fig. 1 into silicon, circuitry in the reported chip is distrib¬ uted to achieve high modularity. Thus, minimum and normalization circuits have been split into cells, which are further grouped into two blocks named label block and rule block in the chip architecture depicted in Fig. 2. On the other hand, membership functions are shared among dif¬ ferent rules. Thus, there is only one membership function for each label in the rule set, and there is only a set of labels per input. Consequently: . Membership function circuits do not need to be replicated at each rule, thus we save area and power consumption. . We can generate only grid partitions of the universe of discourse, that is, the partition in each separate dimension or input determine the partition in the overall multidimensional input space. Therefore, scatter and tree partitions [8] are not allowed. Although chip input and output signals are voltages, much of the internal processing is real¬ ized in current mode. Membership functions are generated from sigmoid outputs of two crosscoupled differential pairs, and complemented in order to use a multiple output maximum circuit to realize minimum in (1) through maximum plus complement operations, based on De Mor¬ gan's law [1]. At the circuit level, the sharing of the membership functions requires to replicate the complemented membership function circuit output by mean of a multiple output current mirror. This is shown in Fig.3, which depicts a basic schematic of the label block, where shaded areas corresponds to the input cells of the multi-input maximum circuit [1]. The input of the label block is one of the chip voltage inputs, and it provides four voltages as outputs. Since it implements shared membership functions, there is one label block for each label in the rule set. The chip contains eight label blocks, four per input. The label blocks outputs are connected to inputs of the rule blocks through a ring bus. There is one rule block for each rule in the knowledge base, sixteen in our chip. Besides of illustrating the input space partition achieved by the chip, Fig. 4 shows the conceptual connection between both building blocks, while Fig. 5 shows the schematic of a rule block. Two voltage outputs 158 from two different label blocks are connected to the input of a rule block, whose input stage is the output stage of the minimum circuit. The output of the minimum circuit drives the normal¬ ization circuit unit cell [1]. Besides the unit cells, which share nodes Anor and Bnor in Fig. 5, the normalization circuit is completed with one diode connected transistor at node Anop and one current mirror whose output is connected to node Bnor and replicates a constant current source . both implemented in the biasing box of Fig.2. The normalization circuit output in each rule block is weighted by a digitally programmable current mirror, thus performing singleton weighting at the consequent of each rule [1]. Finally, the output of this current mirror is con¬ nected to the chip global output, where aggregation at fifth layer of Fig. 1 is realized by KCL. The digital singleton programming codes are stored in a shift register which is the chip inter¬ nal memory element - serially programmed through two pads. Apart from the digital programmability of singletons, the width and location of membership functions are analogprogrammable by setting the two voltages EjX and Ej2 associated to membership value of 0.5 (crossoverpoints) in the membership function circuit related to each label (see Fig. 3). Finally, bias signals are mainly generated internally and shared by different blocks. They are imple¬ mented in the biasing box together with the shared parts of normalization circuit. 3. Experimental Results Fig.6 is a microphotograph of the chip; total area is 2.89mm2, and core area is 1.6mm2. The figures Fig. 7(a) and Fig. 7(b) show two response surfaces generated by the chip. Singletons are set to decimal values 1 and 15 in Fig. 7(b), where the basis functions are clearly seen. Fig. 7(a) illustrates an exemplary surface obtained with different singleton values. Maximum circuit delay is 471ns (90% of the full scale output current) for a step input, while power consumption is 8.6mW and resolution is around 6.5% for 3a (standard deviation) error figure. Supply volt¬ age is 5V and the input voltage range is 3.25V As a final point, it is worth mentioning that we have developed hardware-compatible learn¬ ing algorithms that enable the chip to be trained in-situ through examples and, thus, compen¬ sate second-order hardware non-linearities [8]. Thus, higher precision can be achieved by inserting the chip in a learning loop with a computer. References [1] F. Vidal-Verdu and A. Rodriguez-Vázquez: "CMOS Design of Analog Neuro-Fuzzy Controllers using Building Blocks" IEEE Micro, Vol.15, pp. 49-57, August 1995. [2] T. Yamakawa: "A Fuzzy Inference Engine in Nonlinear Analog Mode and Its Application to a Fuzzy Logic Control". IEEE Trans, on Neural Networks, Vol. 4, pp. 496-522, May 1993. [3] H. Takagi: "Applications of Neural Networks and Fuzzy Logic to Consumer Products", pp. 8-12 in Fuzzy Logic Technologies and Applications, New-York: IEEE Press 1994. [4] J.W. Fattaruso et al.: "A Fuzzy Logic Inference Processor". IEEE Journal of Solid-State Circuits, Vol. 29, pp. 397-402, April 1994. [5] L. Lemaitre et al.: "Analysis and Design of CMOS Fuzzy Logic Controller in Current Mode". IEEE Journal of Solid-State Circuits, Vol. 29, pp. 317-322, March 1994. [6] T Kettner et al.: "Realization of a Monolithic Analog Fuzzy Controller". Proc. ESSCIRC93, pp. 66-69, Seville September 1993. [7] N. Mannaresi et al.: "A Modular Analog Architecture for Fuzzy Controllers". Proc. ESSCIRC94, pp. 288-291, Ulm September 1994. [8] F. Vidal-Verdu: CMOS VLSI Design of Neuro-Fuzzy Mixed-Signal ASICs. PhD dissertation, Univ. Malaga-Spain, 1996. 159 rule block. label block biasing box £jfO i Ki y\ sw Figure 1 membership function circuit f complement Figure 2 a-flB r.-U-C" UlU3UlS VUA. 'ip-flop ¥ Lji F8T gS y register ?4 . 'WflWWW *2 D2. c2: b2: ^G/l ^G;7 ^0/3 ^Gj4 ^ ring bus rule blocks I. - J Figure 3 maximum circuit unit cell Figure 4 norpialization circuit unit cell -*-:-? , «** sto *.! sa Sa y, minimum circuit output stage singleton weighting circuit ¿T* FÍgUrcS Figured '*.mfiïfà)&)!Êatk jc2, volts X\, volts 3 Figure 7(a) x2, volts X\, volts Figure 7(b) 4 5