1 Introduction

Many input devices for electronic circuits such as temperature sensors and pressure sensors have nonlinear input/output characteristics [1]. Likewise, many output devices such as various actuators and light emitting devices also have nonlinear characteristics. Cost reductions have been advancing in these devices, and they are used in various electronic equipment. Especially recently, opportunities for these devices to be mounted on a microcomputer board used for Internet of things (IoT) etc. are increasing. In the interface circuits of sensors and actuators, linear correction has been performed on small-scale circuits by line approximation, but the correction accuracy has deteriorated [2].

On the other hand, image input/output devices are equipped with gamma correction circuits that have a signal conversion characteristic as an exponentiation function to the power of gamma value in order to correct device-specific nonlinearity [3]. For gamma correction circuits used for computer monitor displays or high definition televisions which have been developed for high-performance and are mass-produced, large-scale digital circuits with LSIs are used with implemented large signal processing programs. The gamma correction circuits can realize nonlinearity corrections while processing much data at high speed, although these are not inexpensive.

However, general corrections for the nonlinearity of input/output devices in various applications from business use to consumer use, needs to be realized at lower costs using a small scale circuit. These nonlinearity corrections are generally accomplished by having device interface circuits which have nonlinear characteristics that are inverse to the device characteristics. However, the conventional inverse nonlinear characteristics have been realized with low cost circuits in which errors are reduced by polygonal line approximation [4].

In this paper, we propose an exponentiation conversion circuit which can change its power exponent to any value. The proposed circuit is a small scale circuit utilizing the exponential characteristic appearing in the voltage/current characteristic at the subthreshold operation of MOSFET [5]. In the proposed circuit, exponential conversion is performed after multiplying the logarithmically transformed input signal by the power exponent value, thereby obtaining the exponentiation function characteristic. The power exponent can be set to a value matched for the device by electronic control. Because the proposed circuit is composed of integrated MOSFETs, it is suitable to integrate it on a microcomputer chip used for IoT and the like as an interface circuit for sensor input and device output. The performance of the proposed circuit was evaluated by a prototype IC.

2 Principle of exponentiation conversion

A block diagram of the proposed exponentiation conversion circuit is shown in Fig. 1. In this circuit, a logarithmically transformed input signal ln(Iin) is multiplied by power exponent γ and then an exponential conversion is performed. By electronically arbitrarily changing the power exponent to any value used for multiplication, it is possible to compensate nonlinearity in input signals from various electronic devices.

Fig. 1
figure 1

Block diagram of exponentiation conversion circuit

3 Design of circuit

In the exponentiation conversion circuit, it is necessary to logarithmically/exponentially convert the signal, so the exponential transfer characteristic in the subthreshold operation of MOSFET is utilized. The subthreshold operation is obtained in the weak inverting region where the gate-source voltage Vgs is less than the threshold voltage Vt. The drain current Ids can be expressed by the Eq. (1) and shows the exponential characteristic with respect to Vgs [6].

$$\begin{aligned} I_{{{\text{ds}}}} & = \mu_{{{\text{eff}}}} \cdot C_{{{\text{ox}}}} \frac{W}{L} \cdot \left( {m - 1} \right) \cdot \left( \frac{kT}{q} \right)^{2} \\ & \quad \cdot \left( {1 - e^{{ - \frac{{qV_{{{\text{ds}}}} }}{kT}}} } \right)e^{{\frac{{q\left( {V_{{{\text{gs}}}} - V_{{\text{t}}} } \right)}}{mkT}}} \\ \end{aligned}$$
(1)

where \({\mu }_{\mathrm{eff}}\): Effective mobility, \({C}_{\mathrm{ox}}\): Gate oxide capacitance, \(W\): Channel width, L: Channel length,

\({C}_{\mathrm{dm}}\): Maximum depletion capacitance,

\({V}_{\mathrm{ds}}\): Drain-source voltage,\(m=1+({C}_{\mathrm{dm}}/{C}_{\mathrm{ox}})\)

Figure 2 shows all the circuit schematic of the exponentiation conversion IC. The bias currents of Irin and Irout are both 0.5 \(\mathrm{\mu A}\). The MOSFETs operating in subthreshold are M1–M8 and M14–M17. The logarithmic converting part of the exponentiation conversion circuit is shown in Fig. 3. A differential voltage obtained by logarithmically converting the input signal current Iin flowing through M1 is input to the gates of M9 and M10 in the multiplying circuit. At that time, because the refference current IRin is flowing through M2, the input signal Vg109 to the multiplier circuit is expressed by the Eq. (2).

$$V_{{{\text{g}}109}} = V_{{{\text{gs}}1}} - V_{{{\text{gs}}2}} = S_{{\left( {\text{n}} \right)}} \cdot \log_{10} \left( {\frac{{I_{{{\text{in}}}} }}{{I_{{{\text{Rin}}}} }}} \right)$$
(2)
Fig. 2
figure 2

Circuit schematic of Exponentiation conversion IC

Fig. 3
figure 3

Logarithmic converting circuit

Here, S is called a subthreshold swing value, which is equal to the increase amount of the gate-source voltage Vgs when the drain current Id is increased ten times in the subthreshold region range, and is represented by the expression (3).

$$S = \frac{{{\text{d}}V_{{{\text{gs}}}} }}{{{\text{d}}\left( {\log_{10} I_{{\text{d}}} } \right)}}$$
(3)

Also, subthreshold swing values of Pch and Nch MOSFETs are defined as S(p) and S(n), respectively.

The output voltage Vg1614 of the multiplying circuit can be expressed by the Eq. (4).

$$V_{{{\text{g}}1614}} = \frac{{R_{{{\text{d}}1}} + R_{{{\text{d}}2}} }}{{R_{{\text{s}}} }} \cdot \frac{{I_{{{\text{Mni}}}} - I_{{{\text{Mi}}}} }}{{I_{{{\text{Mni}}}} + I_{{{\text{Mi}}}} }} \cdot V_{{{\text{g}}109}}$$
(4)

Further, the voltage Vg1614 is expressed by the following equation using the current IRout and the output signal current.

Iout of the exponential conversion circuit composed of M14 to M17.

$$V_{{{\text{g}}1614}} { } = { }\left( {S_{{\left( {\text{p}} \right)}} { } + { }S_{{\left( {\text{n}} \right)}} } \right) \cdot \log_{10} \left( {\frac{{I_{{{\text{out}}}} }}{{I_{{{\text{Rout}}}} }}} \right){ }$$
(5)

Here, in order to obtain the output signal current Iout proportional to the γ power of the input signal current Iin, it is necessary to satisfy the expression (6), so that the power exponent γ can be represented by expression (7).

$$I_{{{\text{out}}}} { } = { }I_{{{\text{Rout}}}} \cdot \left( {\frac{{I_{{{\text{in}}}} }}{{I_{{{\text{Rin}}}} }}} \right)^{\gamma }$$
(6)
$${ }\gamma = \frac{{R_{{{\text{d}}1}} + R_{{{\text{d}}2}} }}{{R_{{\text{s}}} }} \cdot \frac{{I_{{{\text{Mni}}}} - I_{{{\text{Mi}}}} }}{{I_{{{\text{Mni}}}} + I_{{{\text{Mi}}}} }} \cdot \frac{1}{{1 + \frac{{S_{{\left( {\text{p}} \right)}} }}{{S_{{\left( {\text{n}} \right)}} }}}}$$
(7)

Therefore, the power exponent γ can be controlled by changing at least one of IMni and IMi from the Eq. (7). Figure 4 shows the simulation results at γ: 0.5, 1.0, 2.0. In each gamma, the slope of the characteristic in the log–log graph is a straight line, and we can obtain the characteristic of exponentiation function.

Fig. 4
figure 4

Simulated results of Input/output characteristics

4 Exponential conversion circuit

In the original circuit, there was an effect of voltage fluctuation on M17 due to the output resistance. In addition, by applying cascade connection to output, the dynamic range of the output signal was expanded by suppressing both of the influence of channel length modulation and substrate effect with the MOSFET. The cascode exponential conversion circuit is shown in Fig. 5. The improved points for the original circuit are the following two [7, 8].

  1. 1.

    To suppress change in the drain voltage of M17, the gate-grounded MOSFET M18 was connected in cascode.

  2. 2.

    The substrates of Pch MOSFET M15, M17, and M18 were connected to their sources, and the increase in the gate-source voltages due to the substrate effect were suppressed.

Fig. 5
figure 5

Exponential conversion circuit

The simulated dynamic range in input/output signal characteristics as shown in Fig. 6. The range, in that slope of characteristics curve is within ± 5%, was improved 5.2 dB at the γ of 2.00. As shown in Table 1, the largest expansion in the dynamic range was obtained at the γ of 2.00. As Vdg of M15 increased from 0 V to Vgs by M18, the Vgs of M15 dropped to a small voltage and the error in small signal current is reduced. At γ: 1.0 and γ: 2.0, the dynamic range has been expanded compared to previous works.

Fig. 6
figure 6

Simulated dynamic range of the IC \(\left(\gamma :2.00\right)\)

Table 1 Simulated dynamic range

The power consumption was 249 \(\mathrm{\mu W}\), and the upper cut-off frequency of the entire circuit was 398 kHz. Since our circuit operates with a differential signal, it is possible to reduce the effects of external common-mode noise and substrate bias effects in MOSFETs.

5 Layout design of the IC

A layout diagram designed using a 0.6 \(\mathrm{\mu m}\) CMOS process is shown in Fig. 7. In order to keep the current density for the subthreshold operation, largest blocks consist of 44 MOSFETs in parallel. The circuit area was 5.4 mm × 6.1 mm, and the multiplying circuit, which has high resistors, occupies 90% of the layout area. It is considered that similar signal dynamic range can be obtained even in use of a finer IC process, if attention to mismatch of pair devices in both of the multiplication circuit and the exponential conversion circuit is paid.

Fig. 7
figure 7

Layout diagram

6 Measured results

Figures 8 and 9 show the measured results of the input/output characteristics when the exponent value γ is set to 0.50, 1.00 and 2.00. Although little error occurred in measuring, the three characteristic lines crossover at one point in Fig. 8. While the operating points meet, the output current does not coincide with its theoretical value, even though it was correct at the time of simulation. The slopes of the three curves are the same as the power exponent values in Fig. 9.

Fig. 8
figure 8

Input output characteristics (linear scale)

Fig. 9
figure 9

Input/output characteristics (logarithmic scale)

7 Conclusion

We proposed an exponentiation conversion circuit which can change its power exponent to any value to compensate nonlinearity of electronic devices. In measured results, the exponential conversion characteristics as set were obtained, in the exponent value set to 0.50, 1.00 and 2.00. Therefore, the signal dynamic range in which non-linear input or output device can be used has been expanded.

Future tasks are required for further expansion of the dynamic range and the analysis of error factors.