Fuzzy Logic Based Design Automation (DA) System for Analog Circuits KUNDAN KUMAR Roll Number 05EC1019 Department of Electronics and Electrical Communication Engineering Indian Institute of Technology, Kharagpur-721302, India E-mail: [email protected] Abstract As the VLSI technology is advancing, the circuits in different ICs are becoming larger and larger. Moreover, the industry demands to design the circuit in very short period of time. DESIGN AUTOMATION (DA) is the best way of rapid design in which the circuit can be generated automatically using computers. However it is very difficult to design automatically analog circuits even if the configuration of the circuit to be designed is specified. In many cases the optimum value of each circuit parameter can not be deduced within a reasonable time. This paper describes a knowledge-based algorithm for deducing the optimum circuit parameters in analog circuits and a prototype implementation. The goal is to obtain the near optimum parameters for the performance specifications of the circuit. After the starting circuit parameters are calculated by means of a simple design technique, the performances are optimized. This system uses a circuit simulator for checking the performance of the circuit. This performance is checked with the required ones by using a Fuzzy logic. A production rule base is used for selecting the strategy to improve the performance. This prototype system is tested on a differential amplifier. Problem Definition and Details The DA (Design Automation) algorithm consists of two steps: one is the Draft Design step, and the other is the Optimization step. At the former step, most of the circuit parameters are calculated by a simple method using a small-signal equivalent circuit. At the latter step, the optimum circuit parameters are derived from the parameter values obtained in the draft design step. In this step, a circuit simulator is used to verify the performance of the designed circuit. And to the extent, in which the performance of the circuit satisfies the requirement of the designer, called satisfiability, is based on fuzzy logic. Most of the DA systems of analog circuits follow one of the two approaches as follows: (1) The approach in which the circuit analysis technique is combined with the algorithmic Optimization technique, and (2) The knowledge based approach. However, if the circuit size becomes large and some performance criteria are in conflict one another, good results can be often deduced by setting some performance specifications more flexible than the specified ones. That is, a performance value can be accepted close to the required value, without needing to be exactly the required one. By doing so even if some required specifications are not satisfied completely, the result is accepted as long as the total performance

of the circuit is satisfied. Without this methodology incorporated in a DA system, a lot of computation cost will be consumed. This methodology is incorporated in the DA system by using the performance verification based on FUZZY LOGIC. Conventional logic can express only whether the predicate is either true or false, while Fuzzy logic can express the degree in which the predicate is satisfied. For example, "Gain=9dB" satisfies the request of "Gain=10dB" at 0.9 degree in Fuzzy logic. On the other hand, in conventional logic, it is concluded that 9 dB does not satisfy the request. By using a Fuzzy logic, the performance can be accepted naturally as the required value. Design Automation This system deduces the near optimum circuit parameters according to the algorithm shown in Fig.1. At first, the draft design is performed by simple design techniques, in which the starting circuit parameters are deduced. After obtaining the circuit performance by using a circuit simulator, the circuit is evaluated by means of the Fuzzy logic. If the performance does not satisfy the required one, some circuit parameters are changed and the performance of the circuit is verified again, This loop continues until all the required specifications are satisfied or until it is determined that they are not possible to be satisfied.

Figure1. Design Algorithm The system configuration is as shown in the Figure2. It consists of a design program, a circuit simulator and a rule base. In This rule base, an expertise Knowledge is stored in order to be able to satisfy a particular Performance specification by Increasing or decreasing some Parameter values of the circuit.

Figure2. System Configuration

Fuzzy Logic Application in DA In DA, the input values to the system are the Circuit Specifications and the Performance Specifications. Circuit specifications are needed for the Draft Design step and are constant in the Optimization step. The maximum input voltage, the source voltage are some examples of this kind of specifications for designing an amplifier. The performance specifications are for the optimization step, and used to verify the designed results. For example, the voltage gain, the bandwidth, etc. are the performance specifications of an amplifier. In each performance specification, the following four values are included. (1) The required performance value, (2) The required satisfiability, (3) The search space (range), and (4) The priority Besides them, the required total satisfiability value of the circuit is also to be specified. When it is desired to obtain only the optimum performance value without requiring it to be in some specific range, the search space can be omitted. Furthermore, the priority is inputted in order to specify the priority between the performance specifications of the circuit. Also this value is needed when the total satisfiability of the circuit is obtained. If the total satisfiability is not met with the required one, it is improved accordingly to the priority order. At first, the simulation results of the draft design are verified with a circuit simulator. The verification is performed as starting from the specification with the highest priority. If the satisfiability value of the performance specification is different from the required one, some parameters of the circuit are changed accordingly with the first strategy of the production rule (such as within the search space and to reach the required performance value). If the performance specification can not be improved with this strategy, the next strategy is selected. After this specification is satisfied, then it is proceeded to satisfy the next specification in the same way. During this process, the previously satisfied specifications are also checked, because by changing some parameters it may change the previous satisfied performances. If it is not satisfied, after improving the specification, the argument of the specification is improved. After all the performance values are fulfilled, the total satisfiability value of the circuit is calculated by equation (1). n

T

=



T i × W i

i=1

…………………………… (1)

n



W i

i=1

Where ‘n’ is the total number of performance specifications. The resulting value T is compared with the required total satisfiability value Treq. When this is not satisfied (TTreq), then the satisfiability of the performance with the highest priority is improved until the total satisfiability of the circuit is fulfilled. If this is not fulfilled, then it is proceeded to improve the satisfiability of the next highest priority specification and so on until we reach a value of T closer to Treq. Implementation and Results The DA algorithm discussed above is tested on a simple differential amplifier as shown in the Fig. 3. This amplifier basically amplifies the difference in the two input voltages, V1 and V2. Its performance is characterized by its frequency response. Voltage gain and bandwidth constitutes the frequency response, so these are selected as the performance specifications. The circuit is simple, so the draft design is very easy.

Figure3. Differential Amplifier In this design, the following circuit specifications were used. a) b) c) d) e) f) g)

Gain(Ad) = 100 Source voltage (Vcc) = 10 V Voltage Maximum input voltage(Vin) = 0.01 V hFE of transistors = 100 Constant current in Q5 : I = 4 mA R2 = 10 kΩ R6 = R7 = 2 kΩ

Now, at the draft design step, these circuit specification values were used to calculate the remaining parameters in the following way. R1 = [ ( Vcc – VB5 ) * hFE * R2 ] / [ I * R2 + hFE ( VB5 + Vcc ) ]

…………… (4)

VB5 = I * R5 * (1 + 1/hFE ) + 0.65 - Vcc

…………… (5)

Since Ad = ( 38.5 * Ic1 * R3 ) / 2

…………… (6)

Then

…………… (7)

R3 = Ad / (9.625 * I )

The second input i.e. the performance specifications values are as shown in Table1. Table1. Performance Specifications Specification

Required Value

Minimum Value

Maximum Value

Priority

Satisfiability

Gain

100

80

120

1

0.9

0.8

0.6 0.8

Bandwidth Total

10

+07

10

+06

10

+08

The satisfiability curves for the Gain and the bandwidth are as Shown in the fig.4.

Figure 4.Satisfiability Curves The production rules for this circuit are as following. IF IF IF

Sgain < RSgain Sgain < RSgain SBW < RSBW

THEN THEN THEN

increase R3 and R4 increase R2 decrease TF

S = obtained satisfiability value RS = required satisfiability value Now, in the optimization step, the satisfiability conditions are satisfied. The satisfiability value for the voltage gain must be satisfied first, because it has the highest priority among the performance specifications to be satisfied. As shown in the production rule, the parameter to be changed in order to vary the voltage gain Ad is R3, R4 and R2. So the value of R3, R4 is changed first until the voltage gain satisfiability is met. If the gain can not be satisfied by changing the values of R3, R4, then it is tried with R2. After the satisfiability of the required specification with the highest priority (i.e. gain) is met, it is followed with the next highest one, the satisfiability of the bandwidth. When all the individual performance specifications are met, the total satisfiability is calculated. The resulting total satisfiability value T has to be compared with the required total satisfiability value Treq. The steps followed in the design of this difference amplifier are summarized in the Table2. Table2. Steps of the design STEP

PERF. SPEC.

CIRCUIT PARA. PARA. INC.

1 2 3 4 5 6 7 8 9 10 11 12 13

GAIN GAIN GAIN GAIN GAIN GAIN GAIN GAIN GAIN GAIN BW BW GAIN

R3 , R4 R3 , R4 R3 , R4 R3 , R4 R3 , R4 R3 , R4 R3 , R4 R3 , R4 R3 , R4 R3 , R4 TF TF R3 , R4

1000 1000 100 10 1 -1000 -100 -100 -100 -100 0 0.9 -10

RESULTS VALUE SAT. 112.98 138.50 115.64 113.25 113.01 84.98 110.29 107.58 104.84 102.08 3.16E+06 3.16E+07 101.80

0.0344 1.34E-13 7.48E-03 0.0299 0.0339 0.0110 0.120 0.137 0.625 0.917 9.87E-03 0.630 0.937

TOTAL SAT.

0.7895 0.8005

As we see, after the 12th step, T=0.7895, which did not fulfill the required Treq=0.8. So the satisfiability of the specification with the highest priority (i.e. gain) was improved at the 13th step, obtaining a final total satisfiability of T=0.8005 which is greater than the required value. Discussion and Summary The resulting frequency response of the difference amplifier under test for the optimized design as well as for the draft design is as shown in Fig 5. It can be seen in the frequency response curve that GAIN as well as BANDWIDTH is improved.

Figure 5.Satisfiability Curves So, it can be concluded that all the specification met to the required ones and the total satisfiability was obtained, making this algorithm very useful in the design of Analog Circuits. Future Directions As this algorithm seems very useful in design of simple analog circuits, this idea of optimizing performances can also be applied in designing complex and integrated circuits which require much time and effort by conventional techniques. Also, standard production rules can be made for the industry based on successful implementation of the circuits. Application in Digital Circuits The idea discussed in this paper can also be applied for digital circuits. In digital circuits things like delay and the fanout (driving capacity of a logic level) are concerned performance parameters. In all the digital circuits lower delay and a high fanout is required. So, taking these parameters as the performance specification, the same optimizing techniques can be applied in digital circuits also. It can also be extend to the quicker design of bigger and integrated circuits, like microprocessors and microcomputers. Basically this optimizing technique may prove to be very quick and reliable tool in any circuit design.

References (1) HASHIZUME Masaki, KAWAI Hector Yusaku, NII Koji, TAMESADA Takeomi : “Design Automation System for Analog Circuits Based on Fuzzy Logic” , 15-18 May 1989 Custom integrated circuits’ conference, 1989, proceedings of the IEEE 1989, On pages: 4.6/1-4.6/4 (2) Nye W., Riley D.C., Tits A.L., Sangiovanni-Vincentelli A. : "DBLIGHT.SPICE : An Optimization-Based System for the Design of Integrated Circuits", IEEE Trans. on CAD, Vo1.7, No.4, pp, 501-509 (1988)

Fuzzy Logic Based Design Automation (DA) System for ...

simulator for checking the performance of the circuit. This performance is checked ... bandwidth, etc. are the performance specifications of an amplifier. In each ...

138KB Sizes 0 Downloads 240 Views

Recommend Documents

Fuzzy Logic based Content Protection for Image ...
Figure on top is the energy function of an image using the gradient method ..... following Flickr (Image Hosting Website) members for ... 23, Issue 10, Page No.

Fuzzy Logic based Protection for Image Resizing by ...
Thus, seam carving is not completely protection free for low energy objects with high content. Examples of such objects may be human beings, buildings, small objects etc. For this reason, we introduce a fuzzy logic based image segmentation method and

TCPS Controller Design Using Fuzzy Logic Controller for Power ...
For economic and ecological reasons, the building of new transmission lines and expansion of existing transmission systems are becoming more and more difficult. In this new situation, it is necessary to utilize the existing power transmission system

Read Fuzzy Logic For Free
that virtually drive themselves, washing machines that pick the right wash cycles and water temperature automatically and air conditioning and heaters that ...

IMAGE ENHANCEMENT BASED ON FUZZY LOGIC AND ...
Whoops! There was a problem loading more pages. Retrying... IMAGE ENHANCEMENT BASED ON FUZZY LOGIC AND THRESHOLDING TECHNIQUES.pdf.

Design and Design Automation of Rectification Logic ...
vda. 357 60/26 274 38. 0. 0. 20 20 20. 20. 125 125 125. 125. 6.22. 5.67. 5.13 5.15 19 19. 19. 19 too_large 7613 38/3 5700 1966 458 120 28 62 64. 64. 142 294 ...

Fuzzy Logic ilfan.pdf
Interference System (Evaluasi Rule), merupakan sebagai acuan untuk menjelaskan hubungan. antara variable-variabel masukan dan keluaran yang mana ...

Bayesian ART-Based Fuzzy Inference System: A New ...
Here, the antecedent label Ai,k of rule Rk is defined using .... The chosen (i.e., winning) rule Rkp is subsequently defined ... complies with (11) is conducted.

Application of Fuzzy Logic Pressure lication of Fuzzy ...
JOURNAL OF COMPUTER SCIENCE AND ENGINEER .... Experimental data has been implemen ... The dynamic process data obtained via modelling or test-.

touch screen based home automation system pdf
automation system pdf. Download now. Click here if your download doesn't start automatically. Page 1 of 1. touch screen based home automation system pdf.

Anesthesia Prediction Using Fuzzy Logic - IJRIT
Thus a system proposed based on fuzzy controller to administer a proper dose of ... guide in developing new anesthesia control systems for patients based on ..... International conference on “control, automation, communication and energy ...

Fuzzy Logic Tools for Lexical Acquisition
strategy within a lexical acquisition tool making use of an online ... fuzzy logic tools. Harnad [10] already noted that cognitive simulation resides more in the successful computability of a model, than in the type of devices used in symbolic or. 1.

integrating fuzzy logic in ontologies
software consists in a number of different modules providing a .... fit them in the best way to a specific environment or, in ..... In Polkowski, L. and Skowron, A., edi-.

integrating fuzzy logic in ontologies - Semantic Scholar
application of ontologies. KAON allows ... cycle”, etc. In order to face these problems the proposed ap- ...... porting application development in the semantic web.

Ideal Types and Fuzzy Logic
between dimensions, clustering them in two different sets inversely related – AUT, DIV, REG, PRO on one side (bureaucratization) and IMP,. COM on the other ...

Fuzzy Logic (Arabic).pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Fuzzy Logic ...

Fuzzy Numbers Based Algorithm for Interruptions ...
average number of interruptions in the power supply) or from the entire supply system, e.g. average interruption frequency. (SAIFI) and system average ...

Evaluating Fuzzy Clustering for Relevance-based ...
meaningful groups [3]. Our motivation for using document clustering techniques is to enable ... III, the performance evaluation measures that have been used.

A Disruption Predictor Based on Fuzzy Logic Applied to ...
Electronic Systems Engineering, University of Catania, 95125 Catania, Italy. (e-mail: .... This neural-networks predictor was also tested online as re- ported in [9]. ...... Bachelor's degree in electrical engineering from the. University of Catania 

An Interval Type-2 Fuzzy Logic System Cannot Be ...
centroid of an interval type-2 fuzzy set,” in Proc. Annual Meeting of the North American Fuzzy Information Processing Society, San Diego,. CA, June 2007, pp.

Learning Hierarchical Fuzzy Rule-based Systems for a Mobile ...
mobile robot control must be capable of coping with a high dimensional .... space into a fixed number of linguistic symbols. ... discount rate. The estimated convergence time can .... National Students Conference of National Alliance of.

Fuzzy Controller Tuning for a Multivariable System ...
When level is near to zero, temperature has an important variation. System parameters are not exactly known and approximate values are used. Level sensor.