## 1. Introduction

There is a great interest in the development of equipment and devices that can accurately and efficiently monitor biological signals such as blood pressure, heart beat and body temperature, among others. It is highly desirable to have those devices operating in an environment free of wires, where the information can be accessed remotely and processed in real time by external equipments.

When the equipments are connected to communication network they form a telemedicine system by which the patients can be monitored remotely (biotelemetry), even over the internet, thus indicating the portability of these instruments (Miyazaki, 2003; Puers, 2005; Scanlon et al, 1996).

Microelectronics has become a powerful tool when used in this scenario. In recent years, integrated circuits are being fabricated with large densities and endowed with intelligence. The reliability of those systems has been increasing and the costs are lowering. The interaction between medicine and technology, as it is the case of microelectronics and biosensor materials, allows the development of diagnosing devices capable of monitoring pathogens and deceases. The design of sensors, signal conditioners and processing units aims to find solutions in which the whole system can be placed directly in the patient or, more desirable, implanted. It becomes a Lab-on-Chip and Point-of-Care device (Colomer-Farrarons, 2009). Since the implanted device becomes part of a biological data acquisition system it must meet few requirements such as reduced size, low power consumption and the possibility of being powered by an RF link, then it operates as a passive RFID tag (Landt, 2005).

The low power restriction is extremely important for the patient safety, by avoiding heating due to the increase of current density in the tissues surrounding the implant that could cause tissue damage. The power restrictions mean also limited power of RF transmitter that can, as well, to induce dangerous electromagnetic fields – EMF.

The focus in this chapter is to discuss the implementation of a Linear Voltage Regulator – LVR by considering the use of a low cost CMOS process, low-power, low silicon area and simple circuit topology.

The LVR is an ASIC structure whose electrical characteristics depend on the specific load conditions. Therefore, the idea is to discuss few structural solutions.

## 2. Implanted Device - Smart Biological Sensors

A typical CMOS front-end architecture of an in-vivo Biomedical Implanted Device – BID is shown in Figure 1. The system consists, basically, of the sensitive biological element, the transducer or detector element, the associate electronics and signal processors, and the RF link to establish a communication with the manager unit. The combination of the implanted device, the local wireless link and a communication network forms the Wireless Biosensor Network – WBSN (Guennoun, 2008).

Linear systems based on semiconductor devices demand a stable power supply voltage for proper operation. Fluctuations on the input line voltage, load current fluctuations and temperature variations may cause the circuit to deviate from its optimum operation bias point and even loose its linearity. Therefore, the power supply system must experience minimum impacts on the linearity due to those variations. Nevertheless, the impact of temperature variations in implantable devices is minimized since the body temperature is kept stable at approximately 37° C (Mackowiak, 1992).

The LVR is part of the power conditioning block that is responsible to supply a stable voltage to the sensors/transducers and its associated electronics.

Unlike the general voltage regulator application, an implantable device does not suffer a large range, but it is more limited. This condition minimizes the impact of load regulation specification.

The tag operation frequency is one of the most important considerations when designing a solution to suit the requirements. The operation frequency has enormous effect on price, performance, range and suitability for RFID projects. The general bands used to broadly classify the RFID tag families are low, high, and ultra high.

The low frequency range (typically between 125 kHz and 134 kHz) is most commonly used for access control, animal tracking and assets tracking. It offers low cost.

The high frequency range (typically 13.56MHz) is used for medium data rate transfer and reading range of up to 1.5 meters, usually for passive tagging. This frequency has also the advantage of not being susceptible to interference from the presence of water or metals. Since the user of an implantable monitoring system is exposed to a RF source near the skin, few safety considerations must be taken into account. The main biohazards and risks due to the RF exposure is mainly the heating from the electromagnetic field distribution on biological tissues (Osepchuk, J.M. & Petersen R. C., 2001). This frequency provides a good tradeoff between power level and human tissue penetration (Sauer, 2005; Vaillantcourt, 1997).

The ultra high band (typically between 850MHz and 950MHz) offers the largest reading ranges, of up to approximately 3 meters for passive tags and 100 meters for active tags. Relatively high reading speeds can be achieved at that band.

## 3. The topology of a voltage regulator

Classic topologies used in voltage regulators can be classified as linear or switched. Switched regulators present complex circuitry, mainly due to control unit, thus frequently requiring larger power consumption and larger silicon area. Furthermore they provide larger noise at the output due to the switched operation (Rincon-Mora & Allen, 1997).

Low dropout – LDO voltage regulators is one of the most popular power converters used in power management and is more suitable for implanted systems (Rincon-Mora, 1998, 2000). The basic topology of an LDO is presented in Figure 2.

The pass element can be implemented using bipolar or MOS transistors. Since a MOS transistor is controlled by its gate voltage, it offers the advantage of smaller power consumption and consequently higher efficiency for the voltage regulator. The MOS transistor can be either N or P type. The NMOS transistor requires a gate voltage higher than the source voltage, and therefore it may be necessary a charge pump to increase the voltage level. The proper choice for low voltage systems, such as implantable devices, it is the use of a PMOS LDO, as indicated in Figure 3 (Kugelstadt, 1999; Simpson, 1997). A NMOS LDO without charge pump is reported in (Ahmadi & Jullien, 2009) using native transistors (zero threshold) and an internal capacitor to improve the stability, but two external capacitors are required.

The closed loop system output voltage can be found to be:

The use of an LDO circuit requires the stability analysis since it forms a closed loop system. The frequency response is degraded by the presence of two poles besides the dominant pole that can lead to an unstable condition. It is necessary to add a zero between these two poles to achieve a frequency compensation. The insertion of this zero is normally implemented by adding a discrete electrolytic capacitor (C_{comp}) at the output node that also contributes with an additional resistance R_{esr}, as represented in Figure 4. Additionally, R_{ota} is the output resistance of the transconductance amplifier, C_{gpass} is the gate capacitance of the PMOS pass transistor and R_{ds} is the channel resistance of the PMOS pass transistor.

The frequencies of these poles and zero are given by (Rogers, 1999):

Equation (1) shows that the dominant pole frequency depends on the drain-source resistance, which in turn depends on the drain current. As a consequence, the dominant pole can change its position according to the load. To overcome this situation, the zero must follow the pole. It is common to establish not just a single value for R_{esr} but a range of values as a function of load current.

Figure 5 presents the frequency response of a PMOS LDO. Unfortunately, the use of an external capacitor, such as an electrolytic capacitor, is prohibitive for an implantable device. Thus, the literature provides many contributions to solve the LDO stability problem. Few approaches maintain the external capacitor and modify the internal feedback loop by using buffers (Stanescu, 2003) and Miller compensation capacitor (Huang et al, 2006). Other approaches insert and internal zero, discarding the compensation capacitor, by using controlled sources and even Miller compensation (Huang et al, 2006).

Load Conditions: I_{L} = 500μA, C_{L} = 5pF | |

V_{IN} | 2.2V±10% |

V_{OUT} | 1V±5% |

V_{BIAS} | 2V |

V_{REF} | 200mV* |

P_{D} | 1mW** |

A lower value of 200mV was adopted to provide a wider range of output values, as stated by eq. (1) ** A safe value for the RF link power transfer is 10mW/cm^{2} (Lazzi, 2005). The LVR power dissipation should be taken as just 10% of it, corresponding to 1mW, which represents twice as much as required by the load (0.5mW). Reported voltage regulators for implanted devices list a power dissipation range that can be as high as tents of mW (Zheng & Ma, 2010).

The solution proposed here is the introduction of a source follower (MN_{FOL}) stage in between the input voltage and the LDO block, and the removal of the compensation capacitor C_{comp}, as shown in Figure 6. The source follower maintains the PMOS pass element in the triode region, which leads to an unconditionally stable system, as it will be described later.

The introduction of the extra source follower represents a disadvantage since it introduces extra power consumption and requires additional silicon area. The overall efficiency is also affected, nevertheless the advantages overpasses de disadvantages, mainly for implanted devices.

Table 1 shows the target values for a project example. The load is an implanted physiological signal system that is used to monitor the blood pressure.

## 4. Frequency response analysis

The frequency analysis of the LVR can be evaluated by finding initially the open loop gain (Aβ) Figure 7. The originally closed loop is broken at a particular point, and the loop gain is given by:

In Figure 8 the OTA and the pass transistor (MP_{PASS}) are replaced by the small signal model.

The total load resistance is minimized by the low value of r_{ds}, therefore the drain-gate voltage gain of MP_{PASS} is:

The output voltage is:

Considering that r_{id} is much larger than R_{2}, then v_{r} is:

By combing (7) and (8), the loop gain is:

It can be observed from Equation (9) that the feedback gain β is R_{2}/(R_{1}+R_{2}). It is compatible with Equation (1) that states the relationship between V_{OUT} and V_{IN} is given by the factor 1/β.

The poles p_{1} and p_{2} are:

Pole p_{2} is the dominant one since r_{ota} is in the range of MΩ and can be at least 10^{5} times larger than r_{ds}, which is the range of tens of Ohms. So the frequency stability of the regulator is a function of the OTA design, the geometric aspect ratio of MP_{PASS} and the load. As an ASIC application, the load current (I_{L}), resistance (R_{L}) and capacitance (C_{L}) can be stated as constants without impacting in the pole frequencies. The OTA output capacitance C_{O} can be neglected since the PMOS pass transistor has a larger geometric aspect and, consequently, larger C_{gs} and C_{gd}.

Equation (9) shows that at low frequencies (DC), the gain A is given by:

Considering typically g_{m} in the range of 10^{-3} [V/A], tens of Ohm to r_{ds} and 10^{6} Ohm for r_{ota}, than the gain is greater than 40 [dB]. The dominant pole will have a frequency in the range of tens of H_{z} and the unit frequency gain in the range of hundreds of KH_{Z}.

## 5. The sampler circuit

Figure 9 presents the sampler circuit. In order to implement the whole circuit in a single CMOS chip, R_{1} is realized as a MOS diode (transistor MN_{2}) and R_{2} is implemented through an interesting topology, a grounded MOS resistor (Dejhan, 2004). The use of the source follower transistor MN_{AUX} guarantees that the grounded MOS resistor is isolated from V_{IN}, thus avoiding a significant transference of ripple voltage to the output voltage. MN_{AUX} also imposes a smaller effective voltage to the MOS resistor, thus reducing the sampler current.

The power supply voltage of the sampling circuit (PMOS array) is reduced by approximately 1V, thus settling V_{RES} to 1.2V. This is important to reduce the ground current and to maximize the LVR efficiency and improving the overall power dissipation. The relationship R_{1}/R_{2} is optimized by the adjustments of the aspect ratio of transistor MN_{1} and MN_{2}.

The sampler circuit current I_{RES} is designed to be ≈1% of the maximum current load (≈ 5μA). The voltage at point A is virtually V_{REF}, due to the OTA virtual short circuit. Therefore, the R_{1} equivalent resistance is given as:

The aspect ratio of MN_{1} was adjusted in order to set I_{RES} as close as to the target value of 5μA. So, R_{1} (transistor MN_{2}) will be adjusted as a 160KΩ resistor.

The additional capacitances introduced by the grounded MOS resistor and MN_{2} are smaller enough so that can be discarded in the previous frequency response analyses. All those transistors have small source and drain areas leading to capacitances in the range of fF. The eventual poles will be far away from the dominant one and the unit frequency gain.

## 6. The voltage references

On designing any system that requires a voltage reference, the temperature and power supply sensitivity must be taken into account.

Classical voltage references are based on the bandgap voltages, where two distinct voltages with opposite thermal coefficients (PTAT and CTAT) are summed to obtain an overall near zero coefficient. Besides, their bias circuits must be robust to guarantee a low sensitivity to the power line fluctuations. The bandgap voltage is about 1.12V for silicon at room temperature (Tzanateas, 1979).

Nevertheless, the evolution of fabrication process is pushing down the supply voltages. For instance, it is about 1.2V for a CMOS 0.13μm process. So there is a demand for new voltage references topologies to produce values bellow the classical bandgap value of 1.2V.

A literature revision shows the trends into this challenge (Koushaeian & Skafidas, 2010). However, these contributions show one or more of these aspect: complex circuits topologies with an elevated number of components, the need of special components that are not ready available from the CMOS common process, the need of trimming procedures, use of external components and use of MOS transistors that are not operating in classical modes. An alternative mode is the weak inversion in which the MOS transistor behavior approaches the bipolar ones.

### 6.1. Current mirror core

The core to produce the voltages references are the self biased current mirror illustrated in Figure 9. The use of a parasitic vertical PNP bipolar transistor Q_{1} in a CMOS digital technology is justified since it presents known V_{BE} voltage and temperature behavior. The temperature does not represent the main impact factor since the whole system will be implanted.

Equations (12) and (13) are the starting point to establish the values of the currents I_{E} and I_{D}. The currents values are set to approximately 5μA (1% of maximum load current) in order to improve the LVR overall efficiency.

where KP is the MOS transconductance given in [μA^{2}/V], δ is a dimensionless fitting parameter for short channel devices, (W/L) is the geometric aspect ratio, V_{th0} is MOS the threshold voltage given in [V], I_{CS} is the bipolar saturation current given in [nA] and U_{T} the thermal voltage that is about 26.7 [mV] at 37ºC.

There is no closed solution for both equations and it is necessary to develop an interactive simulation process to reach the optimum result for I_{d}, which is equal to I_{e}. The target value for these simulation is the geometric aspect ratio of the MOS transistors, since it is used a vertical PNP bipolar with a 100μm^{2} emitter area. To minimize the short channel effects, the channel length was fixed to 1μm for MN_{1} and 2μm for MP_{1} and MP_{2} to improve the mirroring matching. The PMOS geometric aspects are also optimized by simulation.

Figure 11 shows the simulated currents for an input voltage variation of ±10% around to the ideal value of 2.2V. The temperature was fixed in 37 ºC.

The relative error between the mirror currents, at the ideal operating point of V_{IN}=2.2V, can be calculated as:

It is important to evaluate the power supply dependence of those currents. The sensitivity is an adequate parameter to measure it and is given by (Gray & Meyer, 1993):

The derivative term can be found directly from the circuit topology to be:

where λ_{n} is the channel length modulation coefficient that is obtained by simulation and V_{th0(N)} is the NMOS threshold voltage. Substituting (17) in (16) leads to:

An alternative way to evaluate the current sensitivity is by using Figure 11. The following equation offers a derivative approximation. It considers the variation of I_{d} due to variations on V_{IN}:

Table 2 resumes the calculated and simulated results for the current sensitivity.

Consequently, for ±10%variation in V_{IN} around the quiescent value, the mirror currents will change approximately ±3%. Simulations results also point out that for the voltage references circuits discussed next, than V_{eb} voltage will play an important rule and suffers a 1.8 [mV] variation for the entire V_{IN} range, representing a deviation of ±0.13% from the 676 [mV] quiescent value. It indicates a power line rejection rate – PSRR better than 45 [dB] at low frequencies.

The threshold voltage value was indicated by a CMOS process.

### 6.2. The start up circuit

As a self biased circuit, the current mirror core needs a start up circuit to ensure the correct operating point. It is implemented by the circuit shown in Figure 12.

C_{START} and C_{1} are small capacitors (0.5pF) and M_{START} is a PMOS transistor, similar to those used in the current mirror. When the circuit is energized, assuming that the capacitors are discharged, the V_{sg} of M_{START} is greater than its threshold voltage. This will cause a transitory current to flow into Q_{1} leading the system to desired operating point. At same time, C_{START} is charged toward V_{IN} reducing the V_{sg} of M_{START} and, consequently, turning it off. Figure 13 shows a simulating that validates the described action. The transitory current spends only 20 [ns] that is very low for a biomedical application.

### 6.3. V_{REF} voltage reference

The topology presented in Figure 14 is used to generate the V_{REF} voltage reference. The target value for this reference is 200 [mV] as discussed previously. The current I_{d} is mirrored to the composite transistor (Ferreira & Pimenta, 2006) formed by MN_{REF1} and MN_{REF2}. The gate bias comes from Q_{1} collector and represents only a capacitive charge for the current mirror core since the gate currents are virtually zero. This capacitive effect contributes to improve the V_{eb} PSRR.

It is important to observe that the composite transistor exhibits different modes of operation for each transistor. MN_{REF2} has a nominal V_{gs2} voltage of 676 [mV] leading to strong inversion operation since V_{th0(N)} is approximately 523 [mV]. However, voltage V_{gs1} of transistor MN_{REF1} is subtracted by 200 [mV] (the target output voltage). Thus, the effective value of V_{gs1} is 476 [mV], leading it to operate in weak inversion.

The adopted geometric aspect of MN_{REF2} is similar to current mirror transistor MN_{1}, W=2μm and L=1μm. It is necessary to evaluate the ideal geometric aspect of MN_{REF1} to guarantee the reference voltage of 200 [mV].

By equating the drain current of both NMOS transistors of the composite topology, then:

where I_{X} is the weak inversion characteristic current and n the weak inversion coefficient. In the strong inversion, the term (1+λ_{n}V_{REF}) can be approximate to unity. Note that the M_{NREF1} threshold voltage is presented as V_{th(N)} since it suffers from body effect.

Solving the equality for V_{REF}:

Equation (22) shows that V_{REF} can be adjusted by the geometric aspect of MN_{REF2} considering that all other parameters are assumed constant under the corporal temperature.

Using interactive simulation, with V_{IN}=2.2V, the optimized geometric aspect ratio is 173. To improve the reference PSRR, the channel length of this transistor is doubled to 2 [μm].

### 6.4. V_{REF} sensitivity

Using a similar concept discussed in section 4.1, the V_{REF} sensitivity, related to the input voltage V_{IN}, can be expressed as:

The derivate term can be evaluated directly from the circuit topology as:

Combining equation (23) and (24) and using the known values, the V_{REF} sensitivity is 0.0415. Thus, for a ±10% variation in the input voltage V_{IN}, V_{REF} suffers just ±0.415%. Figure 15 shows the simulation result of those variations. As can be observed, the nominal values for V_{REF} and V_{IN} are, respectively, 200 [mV] and 2.2 [V]. Using this simulation to evaluate the sensitivity, results in:

Those results lead to a PSRR better than 40 [dB] at low frequencies.

### 6.5. V_{BIAS} voltage reference

The circuit used to generate the V_{BIAS} is illustrated in Figure 16. The use of three stacked bipolar transistors generate a voltage of ≈ 2 [V], i. e. 3 times the quiescent value of V_{eb} (676 [mV]). The bias currents for Q_{2}, Q_{3} and Q_{4} are mirrored from the current mirror core with unity gain.

### 6.6. V_{BIAS} sensitivity

The V_{BIAS} sensitivity can be derived from the circuit topology. It is interesting to evaluate, at first, the V_{eb} for Q_{1} transistor. The final result for V_{BIAS} will be three times larger. These formulations are:

For the know values, the V_{BIAS} sensitivity is calculated as ≈0.012, leading to a variation of ±1.2% for a variation of ±10% at the input voltage line V_{IN}.

### 6.7. PMOS pass transistor and NMOS follower geometric aspect ratios

Figure 17 shows the main current and voltages values used to estimate MP_{PASS} and MN_{FOLL} geometric aspects.

For MP_{PASS} transistor, two considerations are important. First, its geometric aspect must be larger enough to support the total nominal load current plus the sampler current. Second, its operation must be kept in the triode region to guarantee a low r_{ds} value. In the triode region, the resistance is given as:

The aspect ratio (W/L) design parameter should be raised to lower the drain-source resistance. Figure 17 also shows a suggested 50 [mV] (V_{DROP}) in order to keep the low dropout concept in the LDO circuitry. The V_{ROP} voltage corresponds to V_{sd} voltage in Equation (28).

By replacing MN_{FOLL} transistor by a 5.05 [μA] current source, interactive simulations lead to a MP_{PASS} geometric aspect of 2500/1. In order to evaluate the aspect ratio of MN_{FOLL} it must be noticed first that MN_{FOLL} suffers from body effect and its threshold voltage is corrected by using:

By using this result in the drain current equation, the MN_{FOLL} geometric aspect is given as:

### 6.8. PMOS pass transistor and NMOS follower capacitances

Those two transistors (MN_{FOLL} and MP_{PASS}) have a large geometric aspect ratio leading to relative large gate capacitances. The PMOS pass transistor gate capacitance is important since it is responsible to determine the OTA dominant pole.

The NMOS and PMOS S_{i}O_{2} thickness (T_{OX}) can be used to obtain the gate capacitances per unit area as:

(31) |

As the PMOS pass transistor operates in the triode region, the gate to source and gate to drain capacitances are:

## 7. The Operational Transconductance Amplifier (OTA)

There are some features that must be taken into account in order to design the OTA:

To validate the closed loop properties, the OTA must have an open loop gain larger than 1000 (60 [dB]);

Since the OTA is powered by the input voltage V

_{IN}, it must exhibit a good power supply rejection ratio. A target value of 40 [db] is used as a reference;The OTA must have a low offset voltage. The offset voltage has a direct impact in equation (1) and can deviate from the nominal output voltage. A target value of 5 [mV] was adopted. It is very important to observe the matching on the OTA stage to minimize the systematic offset and the use of layout technique to minimize the random offset;

The total quiescent bias current must be kept as low as possible to improve the OTA overall efficiency. A target value of 3 [μA] was adopted, representing less than 1% of load current. As the OTA has three currents branches, it is assigned a current of 1 [μA] to each one;

The dominant pole discussed in the previous sections is a function of the OTA output resistance;

The OTA frequency response must lead to a stable system over the entire band. A margin phase of 70 degrees is a target value.

The OTA does not need fast responses due the physiological application. The slew rate and settling time targets are, respectively, 0.1 [V/μs] and 10 [μs].

One recommended topology is the folded cascade. It offers high output resistance and, as in this particular case, the dominant pole is fixed by the capacitive load. This is important to reduce the silicon area and extra power consumption by using additional compensation circuits.

It is used the self biased Operational Transconductance Amplifier – OTA topology (Mandal & Visvanathan, 1997). It provides additional reduction of silicon area and power consumption by using other biasing circuits. The OTA circuit is depicted in Figure 18.

As can be observed, the OTA has a rail-to-rail input stage. It is not absolutely necessary in this project, but it is interesting to have the possibility to generating output voltages near the rail lines V_{IN} and Ground. The OTA can be suitable for other applications that require different input voltage values.

The OTA open loop gain is:

where gm_{N} and gm_{P} are the NMOS and PMOS input differential pair transconductance, respectively. In the case of general purpose application, it should be used an additional circuitry to compensate their transconductances since they exhibits different values depending on the region of operation.

In this project, the gm variations, that can be as large as 100%, do not have a significant impact on the LVR stability. The dominant pole is far away enough from the other poles by several orders of magnitude.

### 7.1. OTA transistors geometric aspect

Figure 19 shows the lower half cascode from Figure 18 and the quiescent output voltage of 1.1 [V].

That voltage is considered split equally between the two NMOS transistor pairs. Observe that it is necessary to consider the total NMOS tail current I_{N} for MN_{6,7}. Using Equation 14:

Figure 20 shows the PMOS and NMOS differential voltage considerations.

For transistors MN_{1,2} it is necessary to consider the threshold voltage correction since they suffer from body effect and operate in weak inversion.

Therefore, by using the current formulation, then:

NMOS transistors MN_{4,5} operate similarly to MN_{1,2}. The only difference is they carry half of tail current. Thus, the geometric aspect of these transistors is divided by 2 (37). All PMOS transistors have their geometric aspect ratios adjusted by interactive simulations. Table 3 resumes OTA aspect ratios where the channel length and width are expressed in [μm].

### 7.2. OTA simulations results

The following figures show the most relevant OTA parameters simulations. The common mode range – CMR is depicted in Figure 21. The OTA is buffer connected and the input signal is linear over the entire range, thus characterizing a rail-to-rail operation. The OTA analog ground is 1.1 [V] and the simulation shows that the systematic offset is minimum, thus representing a good matching between the OTA stages.

Figure 22 shows a configuration to analyze the OTA frequency response. The auxiliary capacitor and inductor (C_{AUX}, L_{aux}) guarantees a closed loop for DC signal and an open loop for AC signal. Thus the OTA will be properly biased since the DC path configures a buffer connection.

The load capacitance C_{L} is represented by the PMOS pass transistor gate capacitance, evaluated according to Equation (32). The dominant pole (P_{2}) is located at ≈130 [H_{Z}] and the unit frequency gain (f_{U}) is located at ≈640 [KH_{Z}]. The phase margin (Φ_{F}) is ≈66 . Figure 22 show these results.

On a buffer configuration, the OTA is excited by a square wave to obtain the transient parameters. Figure 23 shows the resultant simulation considering a fluctuation of approximately ±10% around the 1.1 [V] analog ground. That simulation can be used to obtain the falling and raising slew rates (SR) and the settling time.

Table 4 resumes the main parameters obtained from the interactive simulations.

## 8. Layout considerations

Even by using the most advanced microfabrication techniques, it is not possible to guarantee that all the devices implemented in the same chip will have the same electrical characteristics. The aspect ratio of two similar devices can be controlled to a precision of approximately ±1% and, in the many cases, it can be better than ±0.1%. Therefore, the layout project of an integrated circuit, mainly analog application fields, must take mismatches into account (Shyu, 1984).

The layout, as a backend step, plays an important rule to fabricate matched devices in the integrated circuit. It is not possible to cancel the mismatch completely; nevertheless there are ways to minimize it.

The objective of component matching is to reduce the error introduced by the deviations in the fabrication process; therefore it is necessary to use layout techniques.

The mismatch can be classified as systematic and random (Ramos, 2007). The main sources of systematic mismatch are the process polarization (difference between the designed dimensions and actual dimensions), contact resistances, non-uniform current flow, interaction between diffusions, temperature gradient and stress gradient.

As an example, the silicon presents stress gradients, meaning that is a piezoresistive material and presents variation in its characteristic resistance due to mechanical stress. This gradient can be represented by isobaric lines along the die that show the different levels of intensity. It is minimum in the central region and maximum along the four corners. Figure 24 shows an example of those isobaric lines.

Consequently, it is recommended that components to be matched are placed near to each other to minimize the mechanical stress. The mechanical stress difference between two matched components is proportional to the stress gradient and their distance. For calculations purposes, the location of the component is determined as the average contribution of each section of the component as a whole. The resultant location is called centroid of the component. It is important that any symmetric axis crosses the centroid of the device or component. Some examples of centroid configurations are depicted in Figure 25.

The effects of mechanical stress in integrated resistors are quantified in terms of piezoresistivity, position of the centroids and stress gradients. These effects can be minimized by the proper choice of a low piezoresistivity material or by the resistor orientation in the wafer according to the minimum stress gradients. Other recommendation is the reduction of the distance between the centroids.

The temperature gradients can be analyzed in the same way as the stress gradients. Temperature gradients are obtained by isothermal lines and are separated from each other by a predefined temperature difference (ΔT). These temperature gradients are maximum around the perimeter of the component, and gradually, decrease towards the center.

The temperature effects are minimized in a similar way as the stress gradient: by using low linear temperature coefficient, by using minimal lines of the temperature gradient and by reducing the distance between the centroids.

Mainly for analog integrated circuits, the layout of two matched components is usually implemented by dividing each component into identical sections, placed symmetrically in a matrix array.

The common centroid layout, along with matched components placed in a matrix array in identical and symmetrical sections, is essential to reduce or even eliminate the systematic mismatching. Since the distance between the centroids is null, the mismatching caused by mechanical and temperature stress will be null. As an example, transistors on differential pair are placed in a cross coupled pattern.

In order to properly generate centroid layout, some rules must be observed (Hastings 2001):

Coincidence: Matched devices must have a common centroids or as close as possible;

Symmetry: The component matrix must be symmetrical in both X and Y axis. Ideally, the symmetry must be a consequence of the components placement and not the symmetry of each one individually;

Dispersion: The matrix must offer the greatest dispersion level, in other words, each component must be placed with high possible symmetry along the matrix array;

Compression: The matrix should be as compact as possible, ideally close to a square shape.

The random mismatch is different on each device and it is caused by microcospical irregularities in the materials or fabrication process. It can be reduced using the proper geometric aspect of the matched components. This geometric aspect is based in physical and statistical models that are characterized by the fabrication process Patrick & McAndrew, 2003).

Physically, the microscopic irregularities results from the material granularity (ex. polysilicon), photolithography errors, doping injections, thickness and permittivity of the gate oxide, etc. The effect of those errors may decreased as the components geometric aspect increase, since these parameters reach averaged values for large widths and areas.

Two parameters are considered in order to model the random mismatch: the process and the electrical parameters. Process parameters are physically independent and control the device electrical characteristics. In the case of a MOS transistor, the process and electrical parameters that have must be taken into account to matching purposes are listed in Table 5.

A CMOS process allows also the fabrication of bipolar transistors. Those transistors are also subject to matching rules. A lateral bipolar transistor does not have a good matching when compared with a vertical one. The poor matching of the lateral transistors are due to the surface effects and impossibility using large emitter areas.

Some rules for bipolar transistor matching are:

Identical geometric aspects for the emitter and collector since they affect the current flow in lateral transistors;

Minimum emitter area for matched transistors, otherwise there will be a degradation in the current gain (β);

Guard ring around the base to ensure that electrostatics charges will not influence the current flow in the neutral base;

Use of multiple collectors for lateral PNP transistors. A moderate match can be reached when the collectors are identical and out of the saturation condition;

The matched transistors should be close to each other in order to minimize the impact of the thermal gradient.

The matched transistors should be placed in gradients lines of minimum stress;

The transistor must be aligned with the wafer axis;

Place as many metal contacts as possible in the emitter (following the emitter geometry) to reduce the contact resistance and to distribute the current flow uniformly;

Use emitter degeneration. Lateral PNP transistors are often more benefited with emitter degeneration compared to the NPN vertical counterparts due to the Early voltage and the large emitter area. They are commonly used in current mirrors.

The matching over integrated components reflects the overall performance of the entire circuit or system. Depending on the matching accuracy, the circuits may present:

Minimum: In the range of ± 1% (representing 6 to 7 bits of resolution). Used for general use components in an analog circuit, such as current mirrors and biasing circuits;

Moderate: In the range of ± 0.1% (representing 9 to 10 bits of resolution). Used in bandgap references, operational amplifiers and input stage of voltage comparators. This range is the most appropriate for analog designs.

Severe: In the range of ± 0.01% (representing 13 t0 14 bits of resolution). Used in high precision analog to digital converters (ADCs) and digital to analog converters (DACs). Analog designs that use capacitors ratio reach this range easer then those that using resistors ratios.

Figure 26 shows an example of a PNP vertical bipolar transistor layout.

## 9. LVR measurements

The example LVR was diffused in a 0.35μm standard CMOS process. It took an area of approximately 0.25 [mm^{2}].

Figure 27 depicts the testing structure utilized to measure the main LVR parameters.

It is used a commercial operational amplifier (LM318) as a buffer to isolate the chip. The load current can be adjusted by potentiometer P_{1} and the total load capacitance, considering the all parasitic, was measured as 30 [pF].

Before any LVR measure, the LM318 offset voltage was compensated through the procedure provided by the manufacturer. All the power supply lines are decoupled by 10 [μF] capacitors.

Figure 28 shows the LVR response to a voltage step input and reveals a BIBO (bounded input – bounded output) system, in other words, the system is unconditionally stable and there is no need of any extra external component.

Table 6 is a comparison between the simulated and measured parameters.

The measured values show a good conformity with the simulated ones indicating proper design considerations.

## 10. Conclusions

We are witnessing the great revolution that has been imposed since the manufacture of the first bipolar transistor in the late 50s of the twentieth century. Electronics solutions are going to microelectronics and microelectronics is evolving to nanoelectronics. All these developments bring with them the yearning of the human being to access more efficient equipment. So, in virtually all branches of activities we will find what is called "High-Tec".

Medicine and its related sciences could not stay apart from this explosion of technology and intelligently sought the partnership with this powerful tool for circuit design.

Some solutions point to implantable systems (which would reduce the use of invasive techniques) that can be taken up on an outpatient basis and connected into a means of communication for a distance evaluation by a health professional.

The main objective of this chapter was the development of a voltage regulator for implantable applications. Some boundary conditions allow classic Figures of Merit, such as the temperature dependence, to be less severe, since the body temperature is kept constant. Another key issue was to search for solutions that avoid the presence of any external component. This is an essential boundary condition since the topology of classical LDO regulators depends on the presence of a capacitor (usually electrolytic and therefore too large for this application) connected in parallel with the load. Other regulators reported in the literature uses complex circuits or circuits that requires large silicon area.

The circuit described is a compromise of additional power dissipation in the source follower stage and unconditional stability. Even with the additional dissipation, the total power of the regulator (about 1.2 [mW]) is within a safe limit.