Variable reference voltage source

Information

  • Patent Grant
  • 11984903
  • Patent Number
    11,984,903
  • Date Filed
    Tuesday, November 5, 2019
    4 years ago
  • Date Issued
    Tuesday, May 14, 2024
    22 days ago
Abstract
To provide a variable reference voltage source for which a measuring instrument is unnecessary for calibration on the outside. A variable reference voltage source that generates a variable reference voltage corresponding to setting data set from outside includes a control unit including a calibration control unit that controls operation for calibrating an offset and a predetermined unit voltage inside the variable reference voltage source and an output control unit that controls operation for outputting the variable reference voltage, a reference voltage unit that outputs a reference voltage Vref, and an integrated-voltage generating unit that repeats, when the calibration control unit controls the operation, an integrating operation until an integrated voltage obtained by integrating the predetermined unit voltage becomes equal to the reference voltage Vref and outputs, when the output control unit controls the operation, the variable reference voltage corresponding to the setting data.
Description
TECHNICAL FIELD

The present invention relates to a variable reference voltage source that does not require a measuring instrument for calibration.


BACKGROUND ART

A voltage source for calibration that outputs a known voltage is used for, for example, a sensor circuit that detects something. A correspondence relation between a digital value and a sensing target signal changes because of changes with time of an offset and a gain of an amplifier, an offset, linearity, and the like of an AD converter of the sensor circuit. In order to suppress the change without increasing maintenance operation, calibration of the amplifier and the AD converter is necessary. In the calibration of the offset and the gain of the amplifier and the offset of the AD converter, the known voltage is input to the amplifier and the calibration is performed according to a correlation between the known voltage and outputs of the amplifier and the AD converter.


Examples of a variable signal source that outputs a known voltage include an R-2R ladder circuit, a resistance string circuit (Non-Patent Literature 1), and a PWM circuit (Non-Patent Literature 2). The R-2R ladder circuit can configure a high-resolution and high-accuracy variable signal source with a relatively small number of resistance elements. The resistance string circuit has low power consumption and monotonicity. The PWM circuit has an advantage that performance is stable because the PWM circuit is configured by only a digital circuit.


CITATION LIST
Non-Patent Literature

Non-Patent Literature 1: Trimming for improving accuracy of a DAC (1/3) EDN Japan [searched on May 22, 2018], Internet (URL: http://ednjapn.com/edn/articles/1611/08/news012.html)


Non-Patent Literature 2: Secret trick! Realize a pseudo D/A converter using PWM [searched on Nov. 13, 2018], Internet (URL: https://service.macnica.co.jp/library/107577)


SUMMARY OF THE INVENTION
Technical Problem

However, in order to improve the accuracy of these signal sources, it is necessary to prepare, on the outside of the signal sources, a measuring instrument serving as a reference and adjusting the signal sources. The R-2R circuit and the resistance string circuit need to finely adjust a value of the resistance element using the measuring instrument on the outside. In the PWM circuit, high accuracy is requested for frequency accuracy of a high-order low-pass filter for removing ripple noise appearing in an output. Therefore, adjustment using the measuring instrument on the outside is necessary.


In order to use the conventional signal source as a reference in this way, there is a problem in that work for preparing the measuring instrument on the outside of the reference signal source and adjusting the reference signal source is essential.


The present invention has been devised in view of this problem and an object of the present invention is to provide a variable reference voltage source for which a measuring instrument for calibration is unnecessary.


Means for Solving the Problem

A variable reference voltage source according to an aspect of the present invention is a variable reference voltage source that generates a variable reference voltage corresponding to setting data set from outside, the variable reference voltage source including: a control unit including a calibration control unit that controls operation for calibrating an offset and a predetermined unit voltage inside the variable reference voltage source and an output control unit that controls operation for outputting the variable reference voltage; a reference voltage unit that outputs a reference voltage; and an integrated-voltage generating unit that repeats, when the calibration control unit controls the operation, an integrating operation until an integrated voltage obtained by integrating the predetermined unit voltage becomes equal to the reference voltage and outputs, when the output control unit controls the operation, the variable reference voltage corresponding to the setting data.


Effects of the Invention

According to the present invention, it is possible to provide a variable reference voltage source for which a measuring instrument for calibration on the outside is unnecessary.





BRIEF DESCRIPTION OF DRAWINGS


FIG. 1 is a functional block diagram showing a configuration example of a variable reference voltage source according to a first embodiment of the present invention.



FIGS. 2(a) and 2(b) are diagrams showing an equivalent circuit of an integrating unit shown in FIG. 1.



FIG. 3 is a schematic diagram schematically showing the operation of a determiner shown in FIG. 1.



FIG. 4 is a schematic diagram schematically showing comparison of a unit voltage and a reference voltage by the determiner shown in FIG. 1.



FIG. 5 is a schematic diagram schematically showing another example of the operation of the determiner shown in FIG. 4.



FIG. 6 is a functional block diagram showing another configuration example of an integrated-voltage generating unit shown in FIG. 1.



FIG. 7 is a functional block diagram showing another configuration example of the integrated-voltage generating unit shown in FIG. 1.



FIG. 8 is a functional block diagram showing a configuration example of a variable reference voltage source according to a second embodiment of the present invention.



FIGS. 9(a) and 9(b) are diagrams showing an equivalent circuit of an operational amplifier shown in FIG. 6.



FIG. 10 is a schematic diagram schematically showing the operation of a determiner shown in FIG. 8.



FIG. 11 is a schematic diagram schematically showing another operation example of the determiner shown in FIG. 8.



FIG. 12 is a functional block diagram showing another configuration example of an integrated-voltage generating unit shown in FIG. 8.





DESCRIPTION OF EMBODIMENTS

Embodiments of the present invention are explained below with reference to the drawings. The same components in a plurality of drawings are denoted by the same reference numerals and signs. Explanation of the components is not repeated.


First Embodiment


FIG. 1 is a functional block diagram showing a functional configuration example of a variable reference voltage source according to a first embodiment of the present invention. A variable reference voltage source 100 shown in FIG. 1 generates a variable reference voltage corresponding to setting data set from the outside and outputs the variable reference voltage to an output 1. The variable reference voltage source 100 includes a reference voltage unit 10, a control unit 20, and an integrated-voltage generating unit 30. The reference voltage unit 10 outputs a reference voltage Vref.


An offset and a predetermined unit voltage are included in the integrated-voltage generating unit 30 on the inside of the variable reference voltage source 100 and change with time because of a drift. Therefore, in order to keep accuracy, it is necessary to calibrate the offset and the unit voltage as explained below. The control unit 20 includes a calibration control unit 21 that controls operation for acquiring calibration data including calibration value of the offset and the predetermined unit voltage of the integrated-voltage generating unit 30 and an output control unit 22 that controls operation for generating a variable reference voltage corresponding to setting data set from the outside based on the calibration data.


The integrated-voltage generating unit 30 repeats, when the calibration control unit 210 controls the operation, an integrating operation until an integrated voltage obtained by integrating the predetermined unit voltage becomes equal to the reference voltage Vref and outputs, when the output control unit controls the operation, a variable reference voltage corresponding to the setting data.


The integrated-voltage generating unit 30 includes a fourth switch (hereinafter, SW4) that changes the magnitude of the unit voltage to the same voltage as the reference voltage Vref or intermediate potential smaller than the reference voltage Vref, a second crossbar switch 33 that determines the polarity of the unit voltage, an integrating unit 34 that generates an integrated voltage obtained by integrating the unit voltage, a determiner 32 that determines which of the reference voltage Vref and the integrated voltage is larger, and a first crossbar switch 31 that switches connection between when the reference voltage Vref is input to one input of the determiner 32 and the integrated voltage is input to the other input of the determiner 32 and when the integrated voltage is input to one input of the determiner 32 and the reference voltage Vref is input to the other input of the determiner 32.


The integrating unit 34 includes an operational amplifier 340, a first capacitor (hereinafter, C1) charged by the unit voltage, a second capacitor (hereinafter, C2) that holds the integrated voltage obtained by integrating the unit voltage, a first switch (hereinafter SW1) that switches a voltage of a positive input of the operational amplifier 340, C2 that connects the other terminal of C1 to ground potential when one terminal of C1 is connected to a negative input of the operational amplifier 340, and a third switch (hereinafter, SW3) that short-circuits both ends of C2.


An integrating operation for integrating the unit voltage is explained. Integration is carried out by repetition of operations of charge accumulation and charge transfer. First, a charge and a voltage integrated in one integrating operation are calculated. Portions surrounded by wavy lines in FIG. 2 are equivalent circuits of the operational amplifier 340. In the equivalent circuits, parasitic capacitance Cp connected to the negative input of the operational amplifier 340 is taken into account. It is conceived that Cp is configured by parasitic capacitance between an electrode connected to the negative input of the operational amplifier 340 of the capacitor C2 and the ground, parasitic capacitance between the negative input of the operational amplifier 340 including a wire and the ground, and the like. Parasitic capacitances are also present in the positive input of the operational amplifier 340, the input of the determiner 32, and the first crossbar switch 31. However, since parasitic capacitance affecting an equation of charge conservation of the integration operation is Cp, only Cp is taken into account in this explanation.


During the integrating operation, SW3 in FIG. 1 is opened. A bias voltage of the integrating unit 34 is set to the ground, V1, or Vref by SW1 in advance and the polarity of an integration unit voltage is set by the second crossbar switch 33. In the following explanation, a case is explained in which the bias voltage of the integrating unit 34 is set to the ground, and s21 and s24, and s22 and s23 of the second crossbar switch 33 are connected.


During the charge accumulation, a2 and b2 of SW2 in FIG. 1 are connected. During the charge transfer, a2 and c2 of SW2 are connected. Equivalent circuits of the integrating unit 34 during the charge accumulation and the charge transfer are shown in FIG. 2 based on this connection. In the equivalent circuits in FIG. 2, it is assumed that signs of charges accumulated in C1 are minus (−) on the ground side and plus (+) on the opposite side. In C2, it is assumed that a side connected to an output of the operational amplifier 340 is plus (+) and a side connected to an input of the operational amplifier 340 is minus (−). In Cp, it is assumed that a negative input side of the operational amplifier 340 is plus (+). For example, in C2, if the output of the operational amplifier 340 is positive, a sign of charges accumulated in C2 is positive. If the output of the operational amplifier 340 is negative, a sign of charges accumulated in C2 is negative.


The following equation holds during the charge accumulation.

Formula 1
Q1,0=C1Vref  (1)
Q2,0=C2(Vop,0−Vofop+Vi  (2)
Qp,0=Cp(−Vi+Vofop)  (3)


Here, Q1,0, Q2,0, and Qp,0 are respectively charges accumulated in the capacitors C1, C2, and Cp. Vofop represents an offset voltage present in the input of the operational amplifier 340. Vop,0 is an output voltage of the operational amplifier 340 and an initial value before the integrating operation is carried out. Vi is a potential difference between positive and negative inputs on the inside of the operational amplifier 340 and has a relation of Vop,0=A Vi with the output voltage Vop,0 (A represents a gain of the operational amplifier 340). Expressions (2) and (3) are represented by the following expressions according to the relational expression between Vop,0=A Vi.









Formula





2












Q





2

,

0
=

C





2


(

Vop
,

0
-
Vofop
+


Vop
,
0

A



)







(
4
)






Qp
,

0
=

Cp


(


-


Vop
,
0

A


+
Vofop

)







(
5
)







During the charge transfer, when a transient phenomenon caused by the resistance of SW2 and the capacitors C1, C2, and Cp sufficiently converges, charges Q1,1, Q2,1, and Qp,1 accumulated in the capacitors C1, C2, and Cp are represented by the following expressions.









Formula





3












Q





1

,

1
=


-
C






1


(

Vofop
-


Vop
,
1

A


)







(
6
)







Q





2

,

1
=

C





2


(

Vop
,

1
-
Vofop
+


Vop
,
1

A



)







(
7
)






Qp
,

1
=

Cp


(


-


Vop
,
1

A


+
Vofop

)







(
8
)







Charges accumulated in the capacitors C1, C2, and Cp immediately after SW2 is connected as during the charge transfer are charge amounts represented by Expression (1), Expression (4), and Expression (5). Charges accumulated in C1, C2, and Cp are charge amounts represented by Expression (6), Expression (7), and Expression (8) when time sufficiently elapses after SW2 is connected as during the charge transfer. At a nodal point B1 of the circuit in FIG. 2(b), since a path through which charges leak is absent in a power supply and the ground, the charge conservation holds and the following expression holds.

Formula 4
Q1,0+Qp,0−Q2,0=Q1,1+Qp,1−Q2,1  (9)


When Expression (1), Expression (4), Expression (5), Expression (6), Expression (7), and Expression (8) are substituted in Expression (9), a relational expression between Vop,0 and Vop,1 can be derived as follows.














Formula





5
















-
C






1

Vref

+

C


p


(


-


Vop
,
0

A


+
Vofop

)



-

C





2


(

Vop
,

0
-
Vofop
+


Vop
,
0

A



)



=


C





1


(

Vofop
-


Vop
,
1

A


)


+

Cp


(


-


Vop
,
1

A


+
Vofop

)


-

C





2


(

Vop
,

1
-
Vofop
+


Vop
,
1

A



)












(



C

1

A

+

Cp
A

+



A
+
1

A


C

2


)


Vop

,

1
=


C





1


(

Vref
+
Vofop

)


+


(


Cp
A

+

C

2



A
+
1

A



)


Vop



,
0







Vop
,

1
=




A





C





1



C





1

+
Cp
+


(

A
+
1

)


C





2





(

Vref
+
Vofop

)


+



Cp
+


(

A
+
1

)


C





2




C





1

+
Cp
+


(

A
+
1

)


C





2




Vop



,
0





(
10
)







The relational expression between Vop,0 and Vop,1 is defined by a form of the following geometrical series.

Formula 6
Vop,1+B0=B1(Vop,0+B0)
Vop,1=B1Vop,0+(B1−1)B0  (11)


B1 is represented by the following expression according to comparison of Expression (10) and Expression (11).














Formula





7













B





1

=



Cp
+


(

A
+
1

)


C





2




C

1

+
Cp
+


(

A
+
1

)


C

2



=


1
-


C





1



C





1

+
Cp
+


(

A
+
1

)


C

2




=

1
-
η







(
12
)











η
=


C

1



C





1

+
Cp
+


(

A
+
1

)


C





2








(
13
)







(B1−1)B0=−ηB0 is represented by the following expression.









Formula





8












-

η

B

0


=



AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





(

Vref
+
Vofop

)






(
14
)







An output Vop,k of the operational amplifier 340 at the time when the operations of the charge accumulation and the charge transfer are repeated k times is represented by the following expression.

Formula 9
Vop,k+B0=B1k(Vop,0+B0)
Vop,k=B1k(Vop,0+B0)−B0=(1−η)k(Vop,0+B0)−B0   (15)


If the capacitors C1 and C2 and the gain A of the operational amplifier 340 are designed such that C1<<(A+1)C2 is obtained, η<<1 is obtained. In this case, if Expression (15) is expanded to a first-order term of η by the Maclaurin's expansion, the following expression is obtained.

Formula 10
Vop,k=(1−kη)(Vop,0+B0)−B0=Vop,0−kη(Vop,0+B0)   (16)


The electric charges accumulated in C2 are reduced to 0 by short-circuiting and opening SW3 at least once according to an RST signal in FIG. 1 before the integrating operation is executed for the first time. Therefore, the initial value Vop,0 is represented by the following expression according to Expression (4).









Formula





11











Vop
,

0
=


A

A
+
1



Vofop






(
17
)







Expression (17) is substituted in Expression (16) to obtain the following expression.














Formula





12


















Vop
,

k
=
Vop

,

0
+

k


(


-

η

Vop


,

0
-

η

B

0



)










Vop
,

k
=



A

A
+
1



Vofop

+

k


{



-


C





1



C





1

+
Cp
+


(

A
+
1

)


C





2






A

A
+
1



Vofop

+



AC





1



C





1

+


Cp


(

A
+
1

)



C





2





(

Vref
+
Vofop

)



}











Vop
,

k
=


k



AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





(

Vref
+


A

A
+
1



Vofop


)


+


A

A
+
1



Vofop









(
18
)







It is seen from Expression (18) that the output of the operational amplifier 340 is proportional to the number of times of integration k but an integration unit voltage, which is a proportional coefficient of k, is affected by the offset voltage of the operational amplifier 340, which is an unknown parameter. C1 and C2 also deviate from design values because of manufacturing variation, temperature, and the like. Therefore, the integration unit voltage is affected by this as well. It is difficult to accurately predict the integration unit voltage from the design value.


Since it is difficult to accurately predict the integration unit voltage from the design value as explained above, it is necessary to calibrate the offset and the integration unit voltage of the operational amplifier 340 before a signal for calibration is output. In the variable reference voltage source 100, this calibration is executed in a calibration state. In the calibration, a maximum number of times of integration with which the output of the operational amplifier 340 is smaller than Vref is calculated using the determiner 32. At this time, since it is likely that an offset voltage is present in the determiner 32 as well, it is also necessary to measure an offset voltage of the determiner 32.


In the calibration state, an offset-polarity-determination processing unit 210, an offset-measurement processing unit 211, an intermediate-potential-measurement processing unit 212, and an integration-unit-measurement processing unit 213 execute processing in this order to calibrate the offset voltage and the integration unit voltage of the operational amplifier 340. In the following expression, the processing executed by the processing units is referred to as, for example, offset polarity determination processing.


In the offset polarity determination processing, SW3 is set in a connected state, a2 and b2 of SW2 are connected, and a1 and c1 of SW1 are connected according to an operation control signal output from the control unit 21. Further, s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected. The output of the operational amplifier 340 is connected to a positive input of the determiner 32. Vref is connected to the negative input of the determiner 32.


If the operational amplifier 340 is the gain A, the output of the operational amplifier 340 is {A/(A+1)}(Vref+Vofop) in this state. If the offset voltage of the determiner 32 is represented as Vofc, a positive input voltage is equivalently represented as {A/(A+1)}(Vref+Vofop)+Vofc. Accordingly, when {A/(A+1)}(Vref+Vofop)+Vofc is small compared with Vref, which is a negative input voltage, a determination signal is not output from the determiner 32. When the control unit 20 confirms that the determination signal is not output, s21 and s24 of the second crossbar switch 33 are connected and s22 and s23 of the second crossbar switch 33 are connected according to an operation control signal output from the control unit 20.


In the offset measurement processing, after the connection of SW3 is opened and a4 and c4 of SW4 are connected, a charge transfer step and a charge accumulation/comparison step are repeatedly carried out until the output of the operational amplifier 340 and the reference voltage Vref become equal and the number of times of integration equivalent to a sum of offset voltages of the operational amplifier 340 and the determiner 32 is calculated. The charge transfer step is a step of performing integration according to transfer of charges to C2. The charge accumulation/comparison step is a step of performing accumulation of charges in C1 and comparison in the determiner 32 of the output of the operational amplifier 340 and the reference voltage Vref.


According to an operation control signal of the control unit 20, in the charge transfer step of the offset measurement processing, a2 and c2 of SW2 are connected in a state in which the positive input of the operational amplifier 340, to which a1 and b1 of SW1 are connected, is set to the ground. In the charge accumulation/comparison step of the offset measurement processing, after a2 and b2 of SW2 are connected in order to accumulate charges in C1, a1 and c1 of SW1 are connected, the positive input of the operational amplifier 340 is set to the reference voltage Vref, and an output of the determiner 32 is confirmed. Thereafter, a1 and b1 of SW1 are connected.


When an output of the operational amplifier 340 before the first charge transfer step is represented as Vop,0, the charges Q2,0 and Qp,0 accumulated in C2 and Cp are represented by Expression (4) and Expression (5). Charges accumulated in C1 are represented by the following expressions.









Formula











13












Q





1

,

0
=

C





1


(

Vref
-

V





1


)







(
19
)







V





1

=



R





2



R





1

+

R





2




Vref





(
20
)







When an output of the operational amplifier 340 after the charge transfer step is represented as Vopa,1, charges Q1a,1, Q2a,1, and Qpa,1 accumulated in C1, C2, and Cp are expressions obtained by replacing Vop,1, Q1,1, Q2,1, and Qp,1 respectively with Vopa,1, Q1a,1, Q2a,1 and Qpa,1 in Expression (6), Expression (7), and Expression (8).


Charges accumulated in C1, C2, and Cp connected to the negative input of the operational amplifier 340 before and after the charge transfer step are saved in the same manner as the explanation of Expression (9). Since Expression (1) and Expression (19) are different from the expansion of Expression (10), a relational expression between Vopa,1 and Vop,0 is as follows.














Formula











14












Vopa
,

1
=




AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





(

Vref
+
Vofop
-

V





1


)


+



Cp
+


(

A
+
1

)


C





2




C





1

+
Cp
+


(

A
+
1

)


C





2




Vop



,
0




(
21
)







When an output of the operational amplifier 340 at the time when a1 and c1 of SW1 are connected in the charge accumulation/comparison step is represented as Vopb,1, since Vref is the reference of the operational amplifier 340, the charges Q2b,1 and Qpb,1 accumulated in C2 and Cp are represented by the following expressions.









Formula











15












Q





2

b

,

1
=

C





2


(

Vopb
,

1
-
Vref
-
Vofop
+


Vopb
,
1

A



)







(
22
)






Qpb
,

1
=

Cp


(


-


Vopb
,
1

A


+
Vref
+
Vofop

)







(
23
)







Since charges of C2 and Cp2 connected to the negative input of the operational amplifier 340 are saved before and after the charge accumulation/comparison step are saved, the following expression holds.

Formula 16
Qpa,1−Q2a,1=Qpb,1−Q2b,1  (24)


When Expression (22) and Expression (23) and expressions obtained by replacing Vop,1, Q2,1, and Qp,1 of Expression (7) and Expression (8) with Vopa,1, Q2a,1, and Qpa,1 are substituted in Expression (24), the following expression is obtained.














Formula





17















Cp


(


-


Vopa
,
1

A


+
Vofop

)


-

C





2


(

Vopa
,

1
-
Vofop
+


Vopa
,
1

A



)



=


Cp


(


-


Vopb
,
1

A


+
Vref
+
Vofop

)


-

C





2


(

Vopb
,

1
-
Vref
-
Vofop
+


Vopd
,
1

A



)












(


Cp
A

+



A
+
1

A


C





2


)


Vopb

,

1
=


(


Cp
A

+



A
+
1

A


C





2


)


Vopa


,

1
+


(

Cp
+

C





2


)


Vref













Vopb
,

1
=
Vopa

,

1
+



A


(

Cp
+

C





2


)



Cp
+


(

A
+
1

)


C





2




Vref







(
25
)







When an output of the operational amplifier 340 at the time when a1 and b1 of SW1 are connected before the next second charge transfer step is represented as Vop,k, since the ground is the reference of the operational amplifier 340, the charges Q2,1 and Qp,1 accumulated in C2 and Cp are represented by the following expressions.









Formula





18












Q





2

,

1
=

C





2


(

Vop
,

1
-
Vofop
+


Vop
,
1

A



)







(
26
)






Qp
,

1
=

Cp


(


-


Vop
,
1

A


+
Vofop

)







(
27
)







Since charges of C2 connected to the negative input of the operational amplifier 340 are saved before and after the connection of SW1 is changed, the following expression holds.

Formula 19
Qpb,1−Q2b,1=Qp,1−Q2,1  (28)


When Expression (20), Expression (21), Expression (24), and Expression (25) are substituted in Expression (26), the following expression is obtained.














Formula





20















Cp


(


-


Vopb
,
1

A


+
Vref
+
Vofop

)


-

C





2


(

Vopb
,

1
-
Vref
-
Vofop
+


Vopb
,
1

A



)



=


Cp


(


-


Vop
,
1

A


+
Vofop

)


-

C





2


(

Vop
,

1
-
Vofop
+


Vop
,
1

A



)












(


Cp
A

+



A
+
1

A


C





2


)


Vop

,

1
=


(


Cp
A

+



A
+
1

A


C





2


)


Vopb


,

1
-


(

Cp
+

C





2


)


Vref









Vop
,

1
=
Vopb

,


1
+



A


(

Cp
+

C





2


)



Cp
+


(

A
+
1

)


C





2




Vref


=




AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





(

Vref
+
Vofop
-

V





1


)


+



Cp
+


(

A
+
1

)


C





2




C





1

+
Cp
+


(

A
+
1

)


C





2




Vop



,
0





(
29
)







Expression (29) is different in a part where (Vref+Vofop) of the first term of Expression (10) is changed to (Vref+Vofop−V1). Therefore, the output Vop,k of the operational amplifier 340 at the time when the charge transfer step and the charge accumulation/comparison step are repeated k times is represented by the following expression.














Formula





21












Vop
,

k
=


k



AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





(

Vref
+


A

A
+
1



Vofop

-

V





1


)


+


A

A
+
1



Vofop







(
30
)







An output Vopb,k of the operational amplifier 340 in the charge accumulation/comparison step is represented by the following expression using Expression (25) and Expression (18).














Formula





22












Vopb
,

k
=
Vopa

,


k
+



A


(

Cp
+

C





2


)



Cp
+


(

Λ
+
1

)


C





2




Vref


=
Vop

,


k
+



A


(

Cp
+

C





2


)



Cp
+


(

A
+
1

)


C





2




Vref


=


k



A





C





1



C





1

+
Cp
+


(

A
+
1

)


C





2





(

Vref
+


A

A
+
1



Vofop

-

V





1


)


+


A

A
+
1



Vofop

+



A


(

Cp
+

C





2


)



Cp
+


(

A
+
1

)


C





2




Vref







(
31
)







When a voltage Vopb,k+Vofc obtained by adding an offset voltage Vofc of the determiner 32 to a positive input voltage Vopb,k of the determiner in the charge accumulation/comparison step is larger than a negative input voltage Vref, the determiner outputs a determination signal. The determination signal is detected by the control unit 20.


A relation among the voltage Vopb,k+Vofc obtained by adding the offset voltage Vofc of the determiner to the positive input voltage Vopb,k of the determiner 32, the negative input voltage Vref, and the number of times of integration k is shown in FIG. 3. Vopb,k+Vofc increases and approaches Vref as the number of times of integration increases. When the number of times the output of the determination signal is detected for the first time is represented as ko+1, ko is defined as the number of times of offset integration.


The following equation holds about the number of times of offset integration ko.









Formula











23











Vref
=



(

VG
-

VG





2


)



(

ko
+

δ





ko


)


+
Vofpb
+

Γ





Vref

+
Vofc





(
32
)






VG
=



A





C





1



C





1

+
Cp
+


(

A
+
1

)


C





2





(

Vref
+


A

A
+
1



Vofop


)






(
33
)







VG





2

=



A





C





1



C





1

+
Cp
+


(

A
+
1

)


C





2




V





1





(
34
)






Vofopb
=


A

A
+
1



Vofop





(
35
)






Γ
=


A


(

Cp
+

C





2


)



Cp
+


(

A
+
1

)


C





2







(
36
)







In Expression (32), the left side is a negative input voltage of the determiner 32 and the right side is a voltage obtained by adding the offset voltage of the determiner 32 to a positive input voltage. δko is a real number equal to or larger than 0 and smaller than 1. VGδko represents a difference between Vref and an output of the operational amplifier 340 at the time of the number of times of integrations ko and the offset voltage of the determiner 32.


In intermediate potential measurement processing, the connection of SW3 is once short-circuited and thereafter opened to reset the charges accumulated in C2, the charge transfer step and the charge accumulation/comparison step are repeatedly carried out in a state in which a4 and c4 of SW4 are connected, and the numbers of times of integration in which the determination signal is output when the reference of the integrating unit 34 is set to V1 and when the reference of the integrating unit 34 is set to the ground are calculated.


Since the charge transfer step of the intermediate potential measurement processing is the same operation as the charge transfer step of the offset measurement processing, detailed explanation of the charge transfer step is omitted. The output voltage Vopa,1 of the operational amplifier 340 after the first charge transfer step of the intermediate potential measurement processing is the same as Expression (21).


In the charge accumulation/comparison step of the intermediate potential measurement processing, after a2 and b2 of SW2 are connected in order to accumulate charges in C1, a1 and d1 of SW1 are connected to set the bias voltage of the integrating unit 34 to V1 and execute comparison in the determiner 32 and a1 and b1 of SW1 are connected to set the bias voltage of the integrating unit 34 to the ground and execute comparison is the determiner 32. When an output of the operational amplifier 340 at the time when the bias voltage of the integrating unit 34 is set to V1 is represented as Vopb,1, the charges Q2b,1 and Cpb,1 accumulated in C2 and Cp are represented by the following expression.









Formula





24












Q





2

b

,

1
=

C





2


(

Vopb
,

1
-

V





1

-
Vofop
+


Vopb
,
1

A



)







(
37
)






Qpb
,

1
=

Cp


(


-


Vopb
,
1

A


+

V





1

+
Vofop

)







(
38
)







The following relational expression between Vopa,1 and Vopb,1 is obtained using a condition under which charges of C2 and Cp connected to the negative input of the operational amplifier 340 are saved.














Formula





25















Cp


(


-


Vopa
,
1

A


+
Vofop

)


-

C





2


(

Vopa
,

1
-
Vofop
+


Vopa
,
1

A



)



=


Cp


(


-


Vopb
,
1

A


+

V





1

+
Vofop

)


-

C





2


(

Vopb
,

1
-

V





1

-
Vofop
+


Vopb
,
1

A



)












(


Cp
A

+



A
+
1

A


C





2


)


Vopb

,

1
=


(


Cp
A

+



A
+
1

A


C





2


)


Vopa


,

1
+


(

Cp
+

C





2


)


V





1













Vopb
,

1
=
Vopa

,

1
+



A


(

Cp
+

C





2


)



Cp
+


(

A
+
1

)


C





2




V





1







(
39
)







When an output of the operational amplifier 340 at the time when the bias voltage of the integrating unit 34 is set to the ground is represented as Vop,1, the charges Q2,1 and Qp,1 accumulated in C2 and Cp are represented by the following expressions.









Formula





26












Q





2

,

1
=

C





2


(

Vop
,

1
-
Vofop
+


Vop
,
1

A



)







(
40
)






Qp
,

1
=

Cp


(


-


Vop
,
1

A


+
Vofop

)







(
41
)







The following relational expression between Vopb,1 and Vop,1 is obtained using the condition under which charges of C2 and Cp connected to the negative input of the operational amplifier 340 are saved.














Formula





27















Cp


(


-


Vopb
,
1

A


+

V





1

+
Vofop

)


-

C





2


(

Vopb
,

1
-

V





1

-
Vofop
+


Vopb
,
1

A



)



=


Cp


(


-


Vop
,
1

A


+
Vofop

)


-

C





2


(

Vop
,

1
-
Vofop
+


Vop
,
1

A



)














Vop
,

1
=
Vopb

,

1
-



A


(

Cp
+

C





2


)



Cp
+


(

A
+
1

)


C





2




V





1







(
42
)







Since Expression (42) is the same as Expression (29), the output Vop,k of the operational amplifier 340 at the time when the charge transfer step and the charge accumulation/comparison step are repeatedly carried out k times is the same as Expression (30). The output Vopb,k of the operational amplifier 340 at the time when the bias voltage of the integrating unit 34 is set to V1 is represented by the following expression.









Formula





30












Q





2

b

,

1
=

C





2


(

Vopb
,

1
-
Vofop
+


Vopb
,
1

A



)







(
46
)






Qpb
,

1
=

Cp


(


-


Vopb
,
1

A


+
Vofop

)







(
47
)







When the bias voltage of the integrating unit 34 is set to V1 and the ground, the numbers of times of integration in which a determination signal is output in the determiner 32 for the first time are represented as kc1+1 and kc2+1, and kc1 is defined as the number of times of intermediate potential integration 1 and kc2 is defined as the number of times of intermediate potential integration 2.


The following equations hold about the number of times of intermediate potential integration 1 and the number of times of intermediate potential integration 2.

Formula 29
Vref=(VG−VG2)(kc1+δkc1)+Vofopb+rV1Vofc  (44)
Vref=(VG−VG2)(kc2+δkc2)+Vofopb+Vofc  (45)


δkc1 is a real number equal to or larger than 0 and smaller than 1. VGδkc1 represents a difference between Vref and a sum of an output of the operational amplifier 340 at the time when the bias voltage of the integrating unit 34 is set to V1 and the number of times of integration is kc1 and the offset voltage of the determiner 32. δkc2 is a real number equal to or larger than 0 and smaller than 1. VGδkc2 represents a difference between Vref and a sum of an output of the operational amplifier 340 at the time when the bias voltage of the integrating unit 34 is set to the ground and the number of times of integration is kc2 and the offset voltage of the determiner 32.


In integration unit measurement processing, the connection of SW3 is once short-circuited and thereafter opened to reset the charges accumulated in C2 and the charge transfer step and the charge accumulation/comparison step are repeatedly carried out. The number of times of integration in which a determination signal is output in a state in which s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected and the number of times of integration in which a determination signal is output in a state in which s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected.


Since the charge transfer step of the integration unit measurement processing is the same operation as the charge transfer step of the offset measurement processing, detailed explanation of the charge transfer step is omitted. The output voltage Vopa,1 of the operational amplifier after the first charge transfer step of the integration unit measurement processing is calculated by an expression in which Vop,1 of Expression (10) is replaced with Vopa,1.


In the charge accumulation/comparison step of the integration unit measurement processing, after a2 and b2 of SW2 are connected in order to accumulate charges in C1, the comparison in the determiner 32 is executed while a1 and b1 of SW1 are kept connected. In this case, when an output of the operational amplifier 340 in the first charge accumulation/comparison step is represented as Vobp,1, the charges Q2b,1 and Cpb,1 accumulated in C2 and Cp are represented by the following expressions.














Formula





31















Cp


(


-


Vopa
,
1

A


+
Vofop

)


-

C





2


(

Vopa
,

1
-
Vofop
+


Vopa
,
1

A



)



=


Cp


(


-


Vopb
,
1

A


+
Vofop

)


-

C





2


(

Vopb
,

1
-
Vofop
+


Vopb
,
1

A



)














Vopb
,

1
=
Vopa

,
1





(
48
)







The following relational expression between Vopa,1 and Vopb,1 is obtained using a condition under which charges of C2 and Cp connected to the negative input of the operational amplifier 340 are saved as in the explanation about Expression (20) in the case of the offset measurement processing.














Formula





31















Cp


(


-


Vopa
,
1

A


+
Vofop

)


-


C

2



(

Vopa
,

1
-
Vofop
+


Vopa
,
1

A



)



=


Cp


(


-


Vopb
,
1

A


+
Vofop

)


-


C

2



(

Vopb
,

1
-
Vofop
+


Vopb
,
1

A



)














Vopb
,

1
=
Vopa

,
1





(
48
)







In the offset measurement processing, since the a1 and b1 of SW1 are kept connected, the output Vop,1 of the operational amplifier 340 before the next second charge transfer step is equal to Vopb,1. Since Vop,1 is equal to Vopa,1 as well according to Expression (48), a recurrence formula of Vop,1 is the same as Expression (10). Accordingly, Vop,k is represented by Expression (18). The output Vopb,k of the operational amplifier 340 at the time of the comparison in the offset measurement processing is represented by the following expression.














Formula





32
















Vopb
,

k
=







A






C

1




C

1

+
Cp
+


(

A
+
1

)



C

2






(

Vref
+


A

A
+
1



Vofop


)


k

+


A

A
+
1



Vofop


=

VGk
+
Vofopb





(
49
)







In a state in which s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected, the output of the operational amplifier 340 is connected to the positive input of the determiner 32 and Vref is connected to the negative input of the determiner 32.


A relation among the voltage Vopb,k+Vofc obtained by adding the offset voltage Vofc of the determiner 32 to the positive input voltage Vopb,k of the determiner 32 in the state in which s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected, the negative input voltage Vref, and the number of times of integration k is shown in FIG. 4. Vopb,k+Vofc increases and approaches Vref as the number of times of integration increases. When the number of times the determination signal is detected for the first time is represented as ki+1, ki is defined as a first number of times of integration. The following equation holds about the first number of times of integration ki1.

Formula 33
Vref=VG(ki1+δki1)+Vofopb+Vofc  (50)


In Expression (50), the left side is a negative input voltage of the determiner 32 and the right side is a voltage obtained by adding the offset voltage of the determiner 32 to a positive input voltage. δki1 is a real number equal to or larger than 0 and smaller than 1. VGδki1 represents a difference between Vref and an output of the operational amplifier 340 at the time of the number of times of integration ki1 and the offset voltage of the determiner.


In a state in which s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected, Vref is connected to the positive input of the determiner 32 and the output of the operational amplifier 340 is connected to the negative input of the determiner 32. A determination signal is output from the determiner 32 at the time when the number of times of integration is small. The output of the determination signal is stopped when the output of the operational amplifier 340 of the negative input of the determiner is larger than an equivalent positive input Vref+Vofc of the determiner 32. The charge transfer step and the charge accumulation/comparison step are repeated and, in the state in which s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected, when the number of times the determination signal is not detected for the first time is represented as ki2+1, ki2 is defined as a second number of times of integration. The following equation holds about the second number of times of integration ki2.

Formula 34
VG(ki2+δki2)+Vofopb=Vref+Vofc  (51)


In Expression (51), the left side is a negative input voltage of the determiner 32 and the right side is a voltage obtained by adding the offset voltage of the determiner 32 to a positive input voltage. δki2 is a real number equal to or larger than 0 and smaller than 1.


In order to simplify expression expansion, it is assumed that Ko=ko+δko, Kc1=kc1+δkc1, Kc2=kc2+δkc2, Ki1=ki1+δki1, and Ki2=ki2+δki2. A difference between Expression (45) and Expression (50) is calculated to obtain the following expression.









Formula





35











0
=



(

VG
-

VG

2


)



Kc

2


-

VGKi

1






(
52
)








VG
-

VG

2


=



Ki

1


Kc

2



VG









VG

2

=

VG
-



Ki

1


Kc

2



VG







(
53
)







A difference between Expression (32) and Expression (50) is calculated to obtain the following expression.














Formula





36


















0
=



(

VG
-

VG

2


)


Ko

+

Γ

Vref

-

VGKi

1









Γ
=



1
Vref



{


VGKi

1

-


(

VG
-

VG

2


)


Ko


}


=


1
Vref



(

1
-

Ko

Kc

2



)



Ki

1

VG









(
54







A ratio of Expression (34) and Expression (33) is calculated and Expression (53) is substituted in an expression obtained by the calculation of the ratio to obtain the following expression.









Formula





37














VG

2

VG

=


V

1


Vref
+
Vofopb










1
-


Ki

1


Kc

2



=


V

1


Vref
+
Vofopb










V

1

=


(

1
-


Ki

1


Kc

2



)



(

Vref
+
Vofopb

)







(
55
)







A difference between Expression (44) and Expression (50) is calculated and Expression (52), Expression (54), and Expression (55) are substituted in an expression obtained by the calculation of the difference to obtain the following expression.














Formula





38


















0
=



(

VG
-

VG

2


)



Kc

1


+

Γ

V

1

-

VGKi

1









0
=



Kc

1




Ki

1


Kc

2



VG

+


1
Vref



(

1
-

Ko

Kc

2



)



Ki1VG


(

1
-


Ki

1


Kc

2



)




(

Vref
+
Vofopb

)


-

VGKi

1













0
=



Kc

1


Kc

2


+


(

1
-

Ko

Kc

2



)



(

1
-


Ki

1


Kc

2



)



(

1
+

Vofopb
Vref


)


-
1














(


Kc

2

-
Ko

)



(


Kc

2

-

Ki

1


)



(

1
+

Vofopb
Vref


)


=


Kc

2



(


Kc

2

-

Kc

1


)













Vofopb
=


{




Kc

2

(

(


Kc

2

-

Kc

1


)




(


Kc

2

-
Ko

)



(


Kc

2

-

Ki

1


)



-
1

}


Verf







(
56
)







A difference between Expression (50) and Expression (51) is calculated and Expression (56) is substituted in an expression obtained by the calculation of the difference to obtain the following expression.














Formula





39














Vref
-

VGKi

2

-
Vofopb

=


VGKi

1

+
Vofopb
+
Vofc
-
Vref
-
Vofc














(


Ki

1

+

Ki

2


)


VG

=


2

Vref

-

2

Vofopb













VG
=


Vref


Ki

1

+

Ki

2





{

4
-

2




Kc

2



(


Kc

2

-

Kc

1


)




(


Kc

2

-
Ko

)



(


Kc

2

-

Ki

1


)





}







(
57
)







Since usually Vref>Vofopb, the right side of Expression (57) is positive.


In Expression (56) and Expression (57), ko, kc1, kc2, ki1, and ki2 are values obtained by the offset measurement processing, the intermediate potential measurement processing, and the integration unit measurement processing. However, δko, δkc1, δkc2, δki1, and δki2 are unknown parameters equal to or larger than 0 and smaller than 1 defined in order to cause the equations of Expression (32), Expression (44), Expression (45), Expression (50), and Expression (51) to hold. In the following explanation, a determining method for calibration values of VG and Vofopb from which the unknown parameters δko, δkc1, δkc2, δki1, and δki2 are removed is explained.


In Expression (56), δko, δkc1, and δki1 are partially differentiated to obtain the following expression.









Formula





40














Vofopb




(

δ

ko

)



=





Kc

2



(


Kc

2

-

Kc

1


)





(


Kc

2

-
Ko

)

2



(


Kc

2

-

Ki

1


)




Vref

>
0





(
58
)









Vofopb




(

δ

kc

1

)



=




Kc

2



(


Kc

2

-
Ko

)



(


Kc

2

-

Ki

1


)




Vref

<
0





(
59
)









Vofopb




(

δ

ki

1

)



=





Kc

2



(


Kc

2

-

Kc

1


)




(


Kc

2

-
Ko

)




(


Kc

2

-

Ki

1


)

2




Vref

>
0





(
60
)







In the above expressions, signs of inequality are derived from the following conditions.


(1) Since the number of times of integration at the integration unit voltage of VG2 is Kc2, the number of times of integration at the integration unit voltage of VG is Ki1, and since VG>VG2, Kc2>Ki1


(2) since the number of times of integration in a range of integration Vref−(Vofopb+Vofc) is Kc2 and the number of times of integration in a range of integration −(Vofopb+Vofc) is Ko, Kc2>Ko


(3) Since the number of times of integration in a range of integration Vref−V1−(Vofopb+Vofc) is Kc1, Kc2>Kc1


Vofopb monotonously increases with respect to δko and δki1 and monotonously decreases with respect to δkc1.


In Expression (56), δkc2 is partially differentiated to obtain the following expression.














Formula





41















Vofopb




(

δ

kc

2

)



=



{



(


Kc

2

-

Kc

1


)



(


Kc

2

-
Ko

)



(


Kc

2

-

Ki

1


)



+


Kc

2



(


Kc

2

-
Ko

)



(


Kc

2

-

Ki

1


)



-



Kc

2



(


Kc

2

-

Kc

1


)





(


Kc

2

-
Ko

)

2



(


Kc

2

-

Ki

1


)



-



Kc

2



(


Kc

2

-

Kc

1


)




(


Kc

2

-
Ko

)




(


Kc

2

-

Ki

1


)

2




}


Vref

=









(


2


Kc

2


-

Kc

1


)



(


Kc

2

-
Ko

)



(


Kc

2

-

Ki

1


)


-








Kc

2



(


Kc

2

-

Kc

1


)




{


(


Kc

2

-
Ko

)

+

(


Kc

2

-

Ki

1


)


}








(


Kc

2

-
Ko

)

2




(


Kc

2

-

Ki

1


)

2




Vref

=









(


2


Kc

2


-

Kc

1


)



{



Kc

2

2

-


(

Ko
+

Ki

1


)



Kc

2


+

Ko

Ki

1


}


-








Kc

2



(


Kc

2

-

Kc

1


)




(


2


Kc

2


-
Ko
-

Ki

1


)








(


Kc

2

-
Ko

)

2




(


Kc

2

-

Ki

1


)

2




Vref

=








Kc

2



{



-

(

Ko
+

Ki

1


)




Kc

2


+

2


KoKi

1


+

2


Kc

1

Kc

2


-


Kc

1

(

Ko
+













Ki

1

)

}

-


Kc

1



{



Kc

2

2

-


(

Ko
+

Ki

1


)



Kc

2


+

KoKi

1


}







(



(


Kc

2

-
Ko

)

2




(


Kc

2

-

Ki

1


)

2


)



Vref

=






Kc

2



{



-

(

Ko
+

Ki

1


)




Kc

2


+

2


KoKi

1


+

Kc

1

Kc

2


}


-

Kc

1

KoKi

1





(


Kc

2

-
Ko

)

2




(


Kc

2

-

Ki

1


)

2




Vref

=





Kc2
2



{


Kc

1

-

(

Ko
+
Ki1

)


}


+


(


2


Kc

2


-

Kc

1


)



KoKi

1






(


Kc

2

-
Ko

)

2




(


Kc

2

-

Ki

1


)

2




Vref










(
61
)







When Expression (61) is negative, since Vofopb monotonously decreases with respect to δkc2, a range of Vofopb is represented by the following expression.














Formula





42














{




(


kc

2

+
1

)



(


kc

2

-

kc

1


)




(


kc

2

+
1
-
ko

)



(


kc

2

+
1
-

ki

1


)



-
1

}


Vref

<
Vofopb
<


{




kc

2



(


kc

2

-
kc1

)




(


kc

2

-
ko
-
1

)



(


kc

2

-

ki

1

-
1

)



-
1

}


Vref





(
62
)







If a calibration value of Vofopb is set to Vofopc represented by Expression (63), which is the median of a range of Expression (62), the calibration value of Vofopb can be derived at accuracy lower than ΔVofopb represented by Expression (64).














Formula





43












Vofopc
=


1
2



{




(


kc

2

+
1

)



(


kc

2

-

kc

1


)




(


kc

2

+
1
-
ko

)



(


kc

2

+
1
-

ki

1


)



+



kc

2



(


kc

2

-

kc

1


)




(


kc

2

-
ko
-
1

)



(


kc

2

-

ki

1

-
1

)



-
2

}


Vref





(
63
)







Δ

Vofopb

=



1
2



{




kc

2



(


kc

2

-
kc1

)




(


kc

2

-
ko
-
1

)



(


kc

2

-

ki

1

-
1

)



-



(


kc

2

+
1

)



(


kc

2

-

kc

1


)




(


kc

2

+
1
-
ko

)



(


kc

2

+
1
-

ki

1


)




}


Vref

=



1
2








(


kc

2

-

kc

1


)



{




kc

2



(


kc

2

+
1
-
ko

)




(


kc

2

+
1
-

ki

1


)


-










(


kc

2

+
1

)



(


kc

2

-

ko





1


)



(


kc

2

-

ki

1

-
1

)


}






(


kc

2






ko





1

)



(


kc

2

-

ki

1

-
1

)



(


kc

2

+
1
-
ko

)



(


kc

2

+
1
-

ki

1


)




Vref

=



1
2












(


kc

2

-

kc

1


)






kc

2

-
ko





(


kc

2

-
ko

)



(


kc

2







ki

1


)


+







(


kc

2

-
ko

)

+

(


kc

2

-

ki

1


)

+
1
-


(


kc

2

-
ko

)



(


kc

2

-

ki

1


)


+









1
-


(


kc

2

-
ko

)



(


kc

2

-

ki

1


)


+

(


ki

2

-
ko

)

+

(


kc

2

-

ki

1


)

-
1






{


-

(


kc

2

-
ko
-
1

)




(



kc

2







ki

1


-
1

)


}






(


kc

2

-
ko
-
1

)



(


kc

2

-

ki

1

-
1

)



(


kc

2

+
1
-
ko

)



(


kc

2

+
1
-

ki

1


)




Vref

=


1
2








(


kc

2

-

kc

1


)



{


2


kc

2






(


kc

2

-
ko

)

+

(


kc

2

-

ki

1


)





-










(


kc

2

-
ko
-
1

)



(


kc

2

-

ki

1

-
1

)


}






(


kc

2

-
ko
-
1

)



(


kc

2

-

ki

1

-
1

)



(


kc

2

+
1
-
ko

)



(


kc

2

+
1
-

ki

1


)




Vref








(
64
)







When Expression (61) is positive, since Vofopb monotonously increases with respect to δkc2, the range of Vofopb is represented by the following expression.














Formula





44














{




kc

2



(


kc

2

-

kc

1

-
1

)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)



-
1

}


Vref

<
Vofopb
<


{




(


kc

2

+
1

)



(


kc

2

-

kc

1

+
1

)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)



-
1

}


Vref





(
65
)







If the calibration value of Vofopb is set to Vofopc represented by Expression (66), which is the median of a range of Expression (65), the calibration value of Vofopb can be derived at accuracy lower than ΔVofopb represented by Expression (67).














Formula





45












Vofopc
=


1
2



{




(


kc

2

+
1

)



(


kc

2

-

kc

1

+
1

)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)



+



kc

2



(


kc

2

-

kc

1

-
1

)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)



-
2

}


Vref





(
66
)







Δ

Vofopb

=



1
2



{




(


kc

2

+
1

)



(


kc

2

-

kc

1

+
1

)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)



-



kc

2



(


kc

2

-

kc

1

-
1

)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)




}


Vref

=



1
2






kc

2



(


kc

2

-

kc

1

+
1
-

kc

2

+

kc

1

+
1

)


+

(


kc

2

-

kc

1

+
1

)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)




Vref

=



1
2





2


kc

2


+

(


kc

2

-

kc

1

+
1

)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)




Vref

=


1
2





3


kc

2


-

kc

1

+
1



(


kc

2

-
ko

)



(


kc

2

-

ki

1


)




Vref








(
67
)







In Expression (64), a numerator is proportional to the cube of the number of times of integration and a denominator is proportional to the fourth power of the number of times of integration. Therefore, ΔVofopb is smaller and accuracy is higher as the number of times of integration is larger. In Expression (67), a numerator is proportional to the first power of the number of times of integration and a denominator is proportional to the square of the number of times of integration. Therefore, ΔVofopb is smaller and accuracy is higher as the number of times of integration is larger. Therefore, in order to highly accurately derive the calibration value of Vofopb, the number of times of integration only has to be increased, that is, an integration unit voltage only has to be reduced.


According to the determination described above, the calibration value of Vofopb is represented with predetermined accuracy by known Vref and the number of times of offset integration, the number of times of intermediate potential integration 1, the number of times of intermediate potential integration 2, the first number of times of integration, and the second number of times of integration obtained by the measurement.


In Expression (57), δko, δkc1, δki1, and δki2 are partially differentiated to obtain the following expression.














Formula





46




















VG




(

δ

ko

)



=



-

Vref


Ki

1

+

Ki

2








Kc

2



(


Kc

2

-

Kc

1


)





(


Kc

2

-
Ko

)

2



(


Kc

2

-

Ki

1


)




<
0






(
68
)














VG




(

δ

kc

1

)



=



Vref


Ki

1

+

Ki

2






Kc

2



(


Kc

2

-
Ko

)



(


Kc

2

-

Ki

1


)




>
0






(
69
)









VG




(

δ

ki

1

)



=




-

Vref


(


Ki

1

+

Ki

2


)

2





{

4
-

2




Kc

2

(


Kc

2

-

Kc

1


)



(


Kc

2

-
Ko

)



(


Kc

2

-

Ki

1


)





}


-


Vref


Ki

1

+

Ki

2







Kc

2



(


Kc

2

-

Kc

1


)




(


Kc

2

-
Ko

)




(


Kc

2

-

Ki

1


)

2





<
0





(
70
)














VG




(

δ

ki

2

)



=



-

Vref


(


Ki

1

+

Ki

2


)

2





{

4
-

2




Kc

2



(


Kc

2

-

Kc

1


)




(


Kc

2

-
Ko

)



(


Kc

2

-

Ki

1


)





}


<
0






(
71
)







In Expression (70) and Expression (71), signs of inequality are derived using the fact that the right side of Expression (57) is positive.


VG monotonously increases with respect to δkc1 and monotonously decreases with respect to δko, δki1, and δki2.


Expression (57) is partially differentiated about δkc2 to obtain the following expression according to the same expansion as Expression (61).














Formula





47















VG




(

δ

kc

2

)



=


-





Kc

2

2



{


Kc

1

-

(

Ko
+

Ki

1


)


}


+


(


2


Kc

2


-

Kc

1


)



KoKi

1






(


Kc

2

-
Ko

)

2




(


Kc

2

-

Ki

1


)

2





Vref





(
72
)







To match the case in which Expression (61) is negative, the right side of Expression (72) is positive. Therefore, VG monotonously increases with respect to δkc2. A range of VG is represented by the following expression.














Formula





48














Vref


ki

1

+

ki

2

+
2




{

4
-

2




kc

2



(


kc

2

-

kc

1


)




(


kc

2

-
ko
-
1

)



(


kc

2

-

ki

1

-
1

)





}


<
VG
<


Vref


ki

1

+

ki

2





{

4
-

2




(


kc

2

+
1

)



(


kc

2

-

kc

1


)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)





}






(
73
)







If a calibration value of VG is set to VGc represented by Expression (74), which is the median of a range of Expression (73), the calibration value of VG can be derived at accuracy lower than ΔVG represented by Expression (75).














Formula





49












VGc
=



Vref


ki

1

+

ki

2





{

2
-



(


kc

2

+
1

)



(


kc

2

-

kc

1


)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)




}


+


Vref


ki

1

+

ki

2

+
2




{

2
-



kc

2



(


kc

2

-

kc

1


)




(


kc

2






ko





1

)



(


kc

2







ki

1






1

)




}







(
74
)







Δ

VG

=




Vref


ki

1

+

ki

2





{

2
-



(


kc

2

+
1

)



(


kc

2

-

kc

1


)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)




}


-


Vref


ki

1

+

ki

2

+
2




{

2
-



kc

2



(


kc

2

-

kc

1


)




(


kc

2

-
ko
-
1

)



(


kc

2

-

ki

1

-
1

)




}



=



2



2

Vref



(


ki

1

+

ki

2


)



(


ki

1

+

ki

2

+
2

)




+

Vref







(


kc

2

-

kc

1


)



{


-

(


kc

2

+
1

)




(


ki

1

+

ki

2

+
2

)



(


kc

2

-
ko
-
1

)











(


kc

2

-

ki

1

-
1

)

+



kc

2



(


ki

1

+

ki

2


)




(

kc2
-
ko

)



(


kc

2

-

ki

1


)



}









(


ki

1

+

ki

2


)



(


kc

2

-
ko

)



(


kc

2

-

ki

1


)








(


ki

1

+

ki

2

+
2

)



(


kc

2

-
ko
-
1

)



(


kc

2

-

ki

1

-
1

)








=



4

Vref



(


ki

1

+

ki

2


)



(


ki

1

+

ki

2

+
2

)



+

Vref










(


kc

2

-

kc

1


)



{



-

(


ki

1

+

ki

2

+
2

)




(


kc

2

-
ko
-
1

)



(


kc

2

-

ki

1

-
1

)


-









kc

2

(


2


(


kc

2

-

ko





1


)


+

(


kc

2







ki

1






1

)











{


(


ki

1

+

ki

2


)



(


2


kc

2


+
ko
+

ki

1

+
1

)


}









(


ki

1

+

ki

2


)



(


kc

2

-
ko

)



(


kc

2

-

ki

1


)








(


ki

1

+

ki

2

+
2

)



(


kc

2

-
ko
-
1

)



(


kc

2

-

ki

1

-
1

)














(
75
)







To match the case in which Expression (61) is positive, the right side of Expression (72) is negative. Therefore, VG monotonously decreases with respect to δkc2. A range of VG is represented by the following expression.














Formula





50














Vref


ki

1

+

ki

2

+
2




{

4
-

2




(


kc

2

+
1

)



(


kc

2

-

kc

1

+
1

)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)





}


<
VG
<


Vref


ki

1

+

ki

2





{

4
-

2




kc

2



(


kc

2

-

kc

1

-
1

)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)





}






(
76
)







If the calibration value of VG is set to VGc represented by Expression (77), which is the median of a range of Expression (76), the calibration value of VG can be derived at accuracy lower than ΔVG represented by Expression (78).














Formula





51












VGc
=



Vref


ki

1

+

ki

2





{

2
-



kc

2



(


kc

2

-

kc

1

-
1

)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)




}


+


Vref


ki

1

+

ki

2

+
2




{

2
-



(


kc

2

+
1

)



(


kc

2

-

kc

1

+
1

)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)




}







(
77
)







Δ

VG

=




Vref


ki

1

+

ki

2





{

2
-



kc

2



(


kc

2

-

kc

1

-
1

)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)




}


-


Vref


ki

1

+

ki

2

+
2




{

2
-



(


kc

2

+
1

)



(


kc

2

-

kc

1

+
1

)




(


kc

2

-
ko

)



(


kc

2

-

ki

1


)




}



=



2



2

Vref



(


ki

1

+

ki

2


)



(


ki

1

+

ki

2

+
2

)




+


Vref


(


kc

2

-
ko

)



(


kc

2

-

ki

1


)





{




kc

2



(


kc

2

-

kc

1

-
1

)



(


ki

1

+

ki

2


)


-



(


kc

2

+
1

)



(


kc

2

-

kc

1

+
1

)



(


ki

1

+

ki

2

+
2

)



}



=



2



2

Vref



(


ki

1

+

ki

2


)



(


ki

1

+

ki

2

+
2

)




+


Vref


(


kc

2

-
ko

)



(


kc

2

-

ki

1


)












kc

2



(


kc

2

-

kc

1

-
1

)




(


ki

1

+

ki

2

+
2

)


-







(


kc

2

+
1

)



(


kc

2

-

kc

1

+
1

)



(


ki

1

+

ki

2


)







(


ki

1

+
ki2

)



(


ki

1

+

ki

2

+
2

)





=



2



2

Vref



(


ki

1

+

ki

2


)



(


ki

1

+

ki

2

+
2

)




+


Vref


(


kc

2

-
ko

)



(


kc

2

-

ki

1


)



×

{









kc

2

(


kc

2

-

kc

1


)



(


ki

1

+

ki

2


)


+







kc

2



{


2


(


kc

2

-

kc

1


)


-

(


ki

1

+

ki

2


)

-
2

}







(


ki

1

+
ki2

)



(


ki

1

+

ki

2

+
2

)



-








kc

2



(


kc

2

-

kc

1


)




(


ki

1

+

ki

2


)


-








kc

2

(


ki

1

+

ki

2


)



(


kc

2

-

kc

1

+
1

)



(


ki

1

+

ki

2


)







(


ki

1

+
ki2

)



(


ki

1

+

ki

2

+
2

)




}



=



2



2

Vref



(


ki

1

+

ki

2


)



(


ki

1

+

ki

2

+
2

)




+


Vref


(


kc

2

-
ko

)



(


kc

2

-

ki

1


)











kc

2



{


2


(


kc

2

-

kc

1


)


-

(


ki

1

+

ki

2


)

-
2

}


-








kc

2

(


ki

1

+

ki

2


)

-


(


kc

2

-

kc

1

+
1

)



(


ki

1

+

ki

2


)








(


ki

1

+
ki2

)



(


ki

1

+

ki

2

+
2

)





=


2



2

Vref



(


ki

1

+

ki

2


)



(


ki

1

+

ki

2

+
2

)




+


Vref


(


kc

2

-
ko

)



(


kc

2

-

ki

1


)



×

{



2


kc

2



{


(


kc

2

-

kc

1


)

-

(


ki

1

+

ki

2


)

-
1

}




(


ki

1

+
ki2

)



(


ki

1

+

ki

2

+
2

)



-



(


kc

2

-

kc

1

+
1

)



(


ki

1

+

ki

2


)




(


ki

1

+
ki2

)



(


ki

1

+

ki

2

+
2

)




}












(
78
)







In Expression (75), a numerator is proportional to the fourth power of the number of times of integration and a denominator is proportional to the sixth power of the number of times of integration. Therefore, ΔVG is smaller and accuracy is higher as the number of times of integration is larger. In Expression (78), a numerator is proportional to the square of the number of times of integration and a denominator is proportional to the fourth power of the number of times of integration. Therefore, ΔVG is smaller and accuracy is higher as the number of times of integration is larger. Therefore, in order to highly accurately derive the calibration value of VG, the number of times of integration only has to be increased, that is, the integration unit voltage only has to be reduced.


Consequently, in this embodiment, in the calibration state, a measuring instrument serving as a reference for calibration is unnecessary on the outside of a sensor node even after sensor circuit setting. It is possible to derive, at predetermined accuracy, calibration values of the offset voltage and the integration unit voltage of the operational amplifier 340.


When the processing explained above is completed, the control unit 20 outputs the calibration values of the offset voltage and the integration unit voltage of the operational amplifier 340 to the outside as calibration data.


When the sensor circuit is calibrated, the variable signal source for calibration is set in an output state. A voltage set by setting data including the number of times of integration k is output. In the output state, after the setting data is acquired by the control unit 20, charges accumulated in C2 are initialized by closing SW3. Subsequently, SW3 is opened and the charge transfer step and the charge accumulation/comparison step are repeatedly executed by the number of times of integration of k. When the charge transfer step and the charge accumulation/comparison step for the number of times of integration are completed, the control unit 20 outputs calibration data representing the completion.


A voltage output from the variable reference voltage source 100 can be treated as a known voltage because the voltage can be derived from Expression (18), Expression (33), and Expression (35) using the calibration values of the integration unit voltage VG and Vofopb derived in the calibration state. Therefore, the known voltage output from the variable reference voltage source 100 is input to the amplifier and the AD converter of the sensor circuit. It is possible to calibrate an offset and a gain of the amplifier and an offset of the AD converter from a correlation with the output.


A measuring instrument serving as a reference for calibration is unnecessary on the outside of a sensor node even after sensor circuit setting. Calibration values of the offset and the integration unit voltage can be calculated at predetermined accuracy according to a calibration state of the variable reference voltage source 100 in this embodiment. Therefore, it is possible to perform calibration of the sensor circuit even if the offset and the integration unit voltage change because of a change with time.


In the above explanation, Vref+Vofop+Vofc is small compared with Vref, which is the negative input voltage of the determiner 32 in the offset polarity determination processing. However, when Vref+Vofop+Vofc is large compared with Vref, a determination signal is output from the determiner 32. When the control unit 20 confirms that the determination signal is output, s21 and s23 of the second crossbar switch 33 are connected and s22 and s24 of the second crossbar switch 33 are connected according to an operation control signal output from the control unit 20.


When the offset measurement processing is carried out in a state in which s21 and s23 of the second crossbar switch 33 are connected and s22 and s24 of the second crossbar switch 33 are connected, a charge Q1,0 accumulated in C1 in the charge accumulation/comparison step is represented by the following expression.

Formula 52
Q1,0=−C1(Vref−V1)  (79)


Accordingly, the relational expression between Vopa,1 and Vop,0 is as follows.














Formula





53












Vopa
,

1
=




A






C

1




C

1

+
Cp
+


(

A
+
1

)



C

2






(


-
Vref

+
Vofop
+

V

1


)


+



Cp
+


(

A
+
1

)



C

2





C

1

+
Cp
+


(

A
+
1

)



C

2





Vop



,
0




(
81
)







Since a relational expression among Vopb,1, Vop,1, and Vopa,1 does not change, a relational expression between Vop,1 and Vop,0 is as follows.














Formula





54












Vop
,

1
=




A






C

1




C

1

+
Cp
+


(

A
+
1

)



C

2






(


-
Vref

+
Vofop
+

V

1


)


+



Cp
+


(

A
+
1

)



C

2





C

1

+
Cp
+


(

A
+
1

)



C

2





Vop



,
0




(
81
)







Expression (81) is different in a part where (Vref+Vofop) of the first term of Expression (10) is changed to (−Vref+Vofop+V1). Therefore, the output Vop,k of the operational amplifier 340 at the time when the charge transfer step and the charge accumulation/comparison step are repeated k times is represented by the following expression.














Formula





55












Vop
,

k
=


k



A






C

1




C

1

+
Cp
+


(

A
+
1

)



C

2






(


-
Vref

+


A

A
+
1



Vofop

+

V

1


)


+


A

A
+
1



Vofop







(
82
)







The output Vopb,k of the operational amplifier 340 in the charge accumulation/comparison step is the following expression.














Formula





56












Vopb
,

k
=


k



A






C

1




C

1

+
Cp
+


(

A
+
1

)



C

2






(


-
Vref

+


A

A
+
1



Vofop

+

V

1


)


+


A

A
+
1



Vofop

+



A


(

Cp

1

C

2

)



Cp
+


(

A
+
1

)


C2




Vref







(
83
)







When the voltage Vopb,k+Vofc obtained by adding the offset voltage Vofc of the determiner 32 to the positive input voltage Vopb,k of the determiner 32 in the charge accumulation/comparison step is larger than the negative input voltage Vref, the determiner 32 outputs a determination signal. The determination signal is detected by the control unit 20.


A relation among the voltage Vopb,k+Vofc obtained by adding the offset voltage Vofc of the determiner 32 to the positive input voltage Vopb,k of the determiner 32, the negative input voltage Vref, and the number of times of integration k is shown in FIG. 3. Vopb,k+Vofc decreases and approaches Vref as the number of times of integration increases. When the number of times a stop of the determination signal is detected for the first time is represented as ko+1, ko is defined as the number of times of offset integration.


The following equation holds about the number of times of offset integration ko.









Formula





57











Vref
=



(


VG

m

+

VG

2


)



(

ko
+
δko

)


+
Vofopb
+

Γ

Vref

+
Vofc





(
84
)







VG

m

=



A






C

1




C

1

+
Cp
+


(

A
+
1

)



C

2






(


-
Vref

+
Vofopb

)






(
85
)







The intermediate potential measurement processing and the integration unit measurement processing are the same as those at the time when the s21 and s24 of the second crossbar switch 33 are connected and s22 and s23 of the second crossbar switch 33 are connected. Therefore, explanation of the intermediate potential measurement processing and the integration unit measurement processing is omitted.


A difference between Expression (84) and Expression (50) is calculated to obtain the following expression.









Formula





58












0
=



(


VG

m

+

VG

2


)


Ko

+

Γ

Vref

-

VG






Ki

1










Γ
=


1
Vref



{


VG






Ki

1


-


(


VG

m

+

VG

2


)


Ko


}







(
86
)







A ratio of Expression (85) and Expression (33) is calculated to obtain the following expression.









Formula





59













VG

m

VG

=



-
Vref

+
Vofopb


Vref
+
Vofopb






(
87
)







A difference between Expression (44) and Expression (50) is calculated and Expression (52), Expression (86), Expression (55), and Expression (87) are substituted in an expression obtained by the calculation of the difference to obtain the following expression.














Formula





60


















0
=



(

VG
-

VG

2


)



Kc

1


+
ΓV1
-

VG






Ki

1










0
=



Kc

1




Ki

1


Kc

2



VG

+


1
Vref



{


VG






Ki

1


-


(





-
Vref

+
Vofopb


Vref
+
Vofopb



VG

+
VG
-



Ki

1


Kc

2



VG


)


Ko


}



(

1
-


Ki

1


Kc

2



)



(

Vref
+
Vofopb

)


-

VG






Ki

1










0
=



(



Kc

1


Kc

2


-
1

)



Ki

1

Vref


+


{


Ki

1

-


(



2

Vofopb


Vref
+
Vofopb


-


Ki

1


Kc

2



)


Ko


}



(

1
-


Ki

1


Kc

2



)



(

Vref
+
Vofopb

)










0
=



(



Kc

1


Kc

2


-
1

)



Ki

1

Vref


+


{




Ki

1



(

1
+

Ko

Kc

2



)




(

Vref
+
Vofopb

)


-

2

Vofopb





Ko


}



(

1
-


Ki

1


Kc

2



)












(


Ki

1

+


Ki

1



Ko

Kc

2



-

2

Ko


)


Vofopb

=





Kc

2

-

Kc

1




Kc

2

-

Ki

1





Ki

1

Vref


-



Ki

1



(

1
+

Ko

Kc

2



)



Vref









Vofopb
=







Ki

1

-

Kc

1




Kc

2

-

Ki

1



-

Ko

Kc

2





Ki

1

+


Ki

1



Ko

Kc

2



-

2

Ko





Ki

1






Verf

=





(


Ki

1

-

Kc

1


)



Kc

2


-

Ko


(


Kc

2

-

Ki

1


)





(


ki

1

Kc

2

+

Ki

1

Ko

-

2


KoKc

2



)



(


Kc

2

-

Ki

1


)





Ki

1






Verf








(
88
)







If Expression (88) is substituted in the following expression obtained by calculating a difference between Expression (50) and Expression (51), VG represented by Ko, Kc2, Ki1, and Ki2 obtained in the calibration state is obtained.









Formula





61














(


Ki

1

+

Ki

2


)


VG

=


2

Vref

-

2

Vofopb









VG
=


2


Ki

1

+

Ki

2





(

Vref
-
Vofopb

)







(
89
)







Expression (88) is partially differentiated about δko, δkc1, and δki1 to obtain the following expression.














Formula





62















Vofopb




(

δ

ko

)



=





(


Kc

2

-

Ki

1


)



(


Ki

1

Kc

2

+

Ki

1

Ko

-

2


KoKc

2



)



(


Kc

2

-

Ki

1


)





Ki

1

Vref


-




{



(


Ki

1

-

Kc

1


)



Kc

2


-

Ko


(


Kc

2

-

Ki

1


)



}



(


Ki

1






2


Kc

2


)





(


Ki

1

Kc

2

+

Ki

1

Ko

-

2


KoKc

2



)

2



(


Kc

2

-

Ki

1


)





Ki

1

Vref



=









(


Kc

2

-

Ki

1


)



(


Ki

1

Kc

2

+


Ki

1

Ko






2


KoKc

2



)


-







{



(


Ki

1

-

Kc

1


)



Kc

2


-

Ko


(


Kc

2

-

Ki

1


)



}



(


Ki

1

-

2


Kc

2



)








(


Ki

1

Kc

2

+

Ki

1

Ko

-

2


KoKc

2



)

2



(


Kc

2

-

Ki

1


)





Ki

1

Vref


=





-

Kc

2




{



Kc

2



(


2


Kc

1


-

Ki

1


)


-

Ki

1

Kc

1


}




(


Ki

1

Kc

2

+

Ki

1

Ko

-

2


KoKc

2



)



(


Kc

2







Ki

1


)





Ki

1

Vref


<
0







(
90
)









Vofopb




(

δ

kc

1

)



=




-

Kc

2




(


Ki

1

Kc2

+

Ki

1

Ko

-

2


KoKc

2



)



(


Kc

2







Ki

1


)





Ki

1

Vref


<
0





(
91
)









Vofopb




(

δ

ki

1

)



=








2


Kc2X
2


-

{



-

(


Kc

1

+
Ko

)




(

Kc2
-

Ki

1


)


+












(


Kc

2

-

2

Ko

+

Kc

1


)



Ki

1


}



Kc

2

X


-


Kc

2

2








(


Kc

2

Ko

-

Kc

2

Kc

1

-

Ko
2

+

KoKc

1


)



Ki

1








X
2



(


Kc

2

-

Ki

1


)


2



Vref

=








2


Kc2X
2


-


{

X
+


(


Kc

1

-

3

Ko


)



Kc

2


-

4


KoKi

1



}



Kc

2

X


-








Kc

2

2



{

KoX
+

2



Ko
2



(


Kc

2







Ki

1


)



+


(

Ko
-

Kc

2


)



Kc

1

Ki

1



}








X
2



(


Kc

2

-

Ki

1


)


2



Vref

=








Kc2X
2

-


{



(


Kc

1

-

4

Ko


)



Kc

2


-

4


KoKi

1



}



KC

2

X


+








Kc

2

2



{



(


Kc

2

-
Ko

)



Kc

1

K

i

1


-

2




Ko

2

2



(


Kc

2

-

Ki

1


)




}








X
2



(


Kc

2

-

Ki

1


)


2



Vref

=









{

X
-


(


Kc

1

-

4

Ko


)



Kc

2


-

4


KoKi

1



}



Kc2

X


+








Kc

2

2



{



(


Kc

2

-
Ko

)



Kc

1

Ki

1


-

2



Ko
2



(


Kc

2

-

Ki

1


)




}








X
2



(


Kc

2

-

Ki

1


)


2



Vref

=







{


Ki

1

Kc

2

+

Ki

1

Ko

-

2


KoKc

2


-


(


Kc

1

-

4

Ko


)



Kc

2


+










4


KoKi

1


}



Kc

2

X


+



Kc

2

2



{



(


Kc

2

-
Ko

)



Kc

1

Ki

1


-










2



Ko
2



(


Kc

2

-

Ki

1


)



}







X
2



(


Kc

2

-

Ki

1


)


2



Vref

=









{



(


Ki

1

-

Kc

1


)



Kc

2


+

SKi

1

Ko

+

2


KoKc

2



}



Kc

2

X


+








Kc

2

2



{



(


Kc

2

-
Ko

)



Kc

1

Ki

1






-

2



Ko
2



(


Kc

2

-

Ki

1


)




}








X
2



(


Kc

2

-

Ki

1


)


2



Vref

>
0










(
92
)







Note that the following expression is used when Expression (92) is obtained.









X
=



KiKc

2

+
Ki1Ko
-

2



KoKc

2



(


Ki

1

-

Kc

1


)




Kc

2


-

Ko


(


Kc

2

-

Ki

1


)


+


(


Kc

2

+
Ko

)



Ki

1



=



2


(


Ki

1

Kc

2

+

Ki

1

Ko

-

2

KoKc2


)


-


(


Kc

1

+
Ko

)



Kc

2



=



2

X

-


(


Kc

1

+
Ko

)



Kc

2


-

(


Ki

1

Kc

2

+

Ki

1

Ko

-

2


KoKc

2



)

+


(


Kc

2

-

Ki

1


)



(


Kc

2

+
Ko

)



=




-
2



(


Ki

1

Kc

2

+

Ki

1

Ko

-

2


KoKc

2



)


+


Kc

2



(


Kc

2

-
Ko

)



=



-
2


X

+


Kc

2



(


Kc

2

-
Ko

)











Formula





63







According to Expression (90), Expression (91), and Expression (92), Vofopb monotonously increases with respect to δki1 and monotonously decreases with respect to δkc1 and δko


Expression (89) is partially differentiated about δkc2 to obtain the following expression.














Formula





64















Vofopb




(

δ

kc

2

)



=





Ki

1

-

Kc

1

-
Ko



(


Ki

1

Kc

2

+

Ki

1

Ko

-

2


KoKc

2



)



(


Kc

2

-

Ki

1


)





Ki

1

Vref


-







{



(


Ki

1

-

Kc

1


)



Kc

2


-

Ko


(


Kc

2

-

Ki

1


)



}



{

(


Ki

1

Kc

2

+

Ki

1

Ko

-












2


KoKc

2


)

+


(


Kc

2

-

Ki

1


)



(


Ki

1

-

2

Ko


)



}







(


Ki

1

Kc

2

+

Ki

1

Ko

-

2


KoKc

2



)

2




(


Kc

2

-

Ki

1


)

2





Ki

1

Vref







(
93
)







When Expression (93) is positive, since Vofopb monotonously increases with respect to δkc2, a range of Vofopb is represented by the following expression.














Formula





65

















(


ki

1

-

kc

1


)



kc

2


-


(

ko
+
1

)



(


kc

2

-

ki

1


)





{


ki

1

kc

2

+


ki

1



(

ko
+
1

)


-

2


(

ko
+
1

)



kc

2



}



(


kc

2

-

ki

1


)





ki

1






Verf

<
Vofopb
<





(


ki

1

-

kc

1

+
1

)



(


kc

2

+
1

)


-

ko


(


kc

2

-

ki

1


)





{



(


ki

1

+
1

)



(


kc

2

+
1

)


+

ko


(


ki

1

+
1

)


-

2


ko


(


kc

2

+
1

)




}



(


kc

2

-

ki

1


)





(


ki

1

+
1

)


Vref





(
94
)







If the calibration value of Vofopb is set to Vofopc represented by Expression (95), which is the median of a range of Expression (94), the calibration value of Vofopb can be derived at accuracy lower than ΔVofopb represented by Expression (96).














Formula





66












Vofopc
=






(


ki

1

-

kc

1

+
1

)



(


kc

2

+
1

)


-

ko


(


kc

2

-

ki

1


)




2


{



(


ki

1

+
1

)



(


kc

2

+
1

)


+

ko


(


ki

1

+
1

)


-

2


ko


(


kc

2

+
1

)




}



(


kc

2

-

ki

1


)





(


ki

1

+
1

)


Verf

+





(


ki

1

-

kc

1

-
1

)



kc

2


-


(

ko
+
1

)



(


kc

2

-

ki

1


)




2


{


ki

1

kc

2

+


ki

1

(

ko
+
1

)

-

2


(

ko
+
1

)



kc

2



}



(


kc

2

-

ki

1


)





Ki

1






Verf






(
95
)







Δ

Vofopb

=






(


ki

1

-

kc

1

+
1

)



(


kc

2

+
1

)


-

ko


(


kc

2

-

ki

1


)




2


{



(


ki

1

+
1

)



(


kc

2

+
1

)


+

ko


(


ki

1

+
1

)


-

2


ko


(


kc

2

+
1

)




}



(


kc

2

-

ki

1


)





(


ki

1

+
1

)


Verf

-





(


ki

1

-

kc

1

-
1

)



kc

2


-


(

ko
+
1

)



(


kc

2

-

ki

1


)




2


{


ki

1

kc

2

+


ki

1

(

ko
+
1

)

-

2


(

ko
+
1

)



kc

2



}



(


kc

2

-

ki

1


)





Ki

1






Verf






(
96
)







When Expression (93) is negative, since Vofopb monotonously decreases with respect to δkc2, the range of Vofopb is represented by the following expression.














Formula





67

















(


ki

1

-

kc

1

-
1

)



(


kc

2

+
1

)


-


(

ko
+
1

)



(


kc

2

-

ki

1

+
1

)





{




ki

1

(


kc

2

+
1

)




ki

1



(

ko
+
1

)



-

2


(

ko
+
1

)



(


kc

2

+
1

)



}



(


kc

2

-

ki

1

+
1

)





ki

1






Verf

<
Vofopb
<





(


ki

1

-

kc

1

+
1

)



kc

2


-

ko


(


kc

2

-

ki

1

-
1

)





{



(


ki

1

+
1

)



kc

2


+

ko


(


ki

1

+
1

)


-

2


kokc

2



}



(


kc

2

-

k

1

-
1

)





(


ki

1

+
1

)


Vref





(
97
)







If the calibration value of Vofopb is set to Vofopc represented by Expression (98), which is the median of a range of Expression (97), the calibration value of Vofopb can be derived at accuracy lower than ΔVofopb represented by Expression (99).














Formula





68












Vofopc
=






(


ki

1

-

kc

1

+
1

)



kc

2


-

ko


(


kc

2

-

ki

1

-
1

)




2


{



(


ki

1

+
1

)



kc

2


+

ko


(


ki

1

+
1

)


-

2


kokc

2



}



(


kc

2

-

k

1

-
1

)





(


ki

1

+
1

)


Verf

+





(


ki

1

-

kc

1

-
1

)



(


kc

2

+
1

)


-


(

ko
+
1

)



(


kc

2

-

ki

1

+
1

)







2


{



ki

1

(


kc

2

+
1

)

+


ki

1

(

ko
+
1

)

-










2


(

ko
+
1

)



(


kc

2

+
1

)


}



(


kc

2

-

ki

1

+
1

)








Ki

1






Verf






(
98
)







Δ

Vofopb

=






(


ki

1

-

kc

1

+
1

)



kc

2


-

ko


(


kc

2

-

ki

1

-
1

)




2


{



(


ki

1

+
1

)



kc

2


+

ko


(


ki

1

+
1

)


-

2


kokc

2



}



(


kc

2

-

k

1

-
1

)





(


ki

1

+
1

)


Verf

-





(


ki

1

-

kc

1

-
1

)



(


kc

2

+
1

)


-


(

ko
+
1

)



(


kc

2

-

ki

1

+
1

)







2


{



ki

1

(


kc

2

+
1

)

+


ki

1

(

ko
+
1

)

-










2


(

ko
+
1

)



(


kc

2

+
1

)


}



(


kc

2

-

ki

1

+
1

)








Ki

1






Verf






(
99
)







Expression (89) is partially differentiated about δko, δkc1, δki1, and δki2 to obtain the following expression.














Formula





69
















VG




(

δ

ko

)






-
2



Ki

1

+

Ki

2







Vofopb




(

δ

ko

)




=




2


Kc

2



{



Kc

2



(


2


Kc

1


-

Ki

1


)


-

Ki

1

Kc

1


}




(


Ki

1

+
Ki2

)




(


Ki

1

Kc

2

+

Ki

1

Ko

-

2


KoKc

2



)

2



(


Kc

2

-

Ki

1


)





Ki

1

Vref


>
0





(
100
)









VG




(

δ

kc

1

)



=




-
2



Ki

1

+

Ki

2







Vofopb




(

δ

kc

1

)




=




2


Kc

2




(


Ki

1

+
Ki2

)



(


Ki

1

Kc

2

+

Ki

1

Ko

-

2


KoKc

2



)



(


Kc

2

-

Ki

1


)





Ki

1

Vref


>
0






(
101
)









VG




(

δ

ki

1

)



=





-
2



(


Ki

1

+

Ki

2


)

2




(

Vref
-
Vofopb

)


+



-
2



Ki

1

+

Ki

2







Vofopb


(

δ

ki

1

)




<
0





(
102
)














VG




(

δ

ki

2

)



=




-
2



(


Ki

1

+

Ki

2


)

2




(

Vref
-
Vofopb

)


<
0






(
103
)







The right side first term of Expression (102) is negative because Vref>Vofopb. Concerning the right side second term, since partial differential of Vofopb with respect to δki1 is negative from Expression (92), the right side second term is also negative. Therefore, a sign of inequality of Expression (102) holds. Concerning Expression (103), Expression (89), which is negative because Vref>Vofopb, is partially differentiated about δkc2 to obtain the following expression.









Formula





70














VG




(

δ

kc

2

)



=



-
2



Ki

1

+

Ki

2







Votopb




(

δ

kc

2

)








(
104
)







When Expression (104) corresponding to when Expression (93) is positive is negative, since VG monotonously decreases with respect to δkc2, a range of VG is represented by the following expression.














Formula





71















2


(


ki

1

+
1

)


Vref



ki

1

+

ki

2

+
2




{

1
-




(


ki

1

-

kc

1

+
1

)



(


kc

2

+
1

)


-

ko


(


kc

2

-

ki

1


)





{



(


ki

1

+
1

)



(


kc

2

+
1

)


+

ko


(


ki

1

+
1

)


-

2


ko


(


kc

2

+
1

)




}



(


kc

2

-

ki

1


)




}


<
VG
<



2


ki

1

Vref




ki

1

+

ki

2





{

1
-




(


ki

1

-

kc

1

-
1

)



kc

2


-


(

ko
+
1

)



(


kc

2

-

ki

1


)





{


ki

1

kc

2

+


ki

1



(

ko
+
1

)


-

2


(

ko
+
1

)



k

2



}



(


kc

2

-

ki

1


)




}






(
105
)







If the calibration value of VG is set to VGc represented by Expression (106), which is the median of a range of Expression (105), the calibration value of VG can be derived at accuracy lower than ΔVG represented by Expression (107).














Formula





72












VGc
=




ki

1

Vref



ki

1

+

ki

2





{

1
-




(


ki

1

-

kc

1

+
1

)



kc

2


-


(

ko
+
1

)



(


kc

2

-

ki

1


)





{


ki

1

kc

2

+


ki

1

(

ko
+
1

)

-

2


(

ko
+
1

)



k

2



}



(


kc

2

-

ki

1


)




}


+




(


ki

1

+
1

)


Vref



ki

1

+

ki

2

+
2




{

1
-




(


ki

1

-

kc

1

+
1

)



(


kc

2

+
1

)


-

ko


(


kc

2

-

ki

1


)







{



(


ki

1

+
1

)



(


kc

2

+
1

)


+

ko


(


ki

1

+
1

)


-









2

ko


(


kc

2

+
1

)


}



(


kc

2

-

ki

1


)







}







(
106
)







Δ

VG

=




ki

1

Vref



ki

1

+

ki

2





{

1
-




(


ki

1

-

kc

1

-
1

)



kc

2


-


(

ko
+
1

)



(


kc

2

-

ki

1


)





{


ki

1

kc

2

+


ki

1

(

ko
+
1

)

-

2


(

ko
+
1

)



k

2



}



(


kc

2

-

ki

1


)




}


-




(


ki

1

+
1

)


Vref



ki

1

+

ki

2

+
2




{

1
-




(


ki

1

-

kc

1

+
1

)



(


kc

2

+
1

)


-

ko


(


kc

2

-

ki

1


)







{



(


ki

1

+
1

)



(


kc

2

+
1

)


+

ko


(


ki

1

+
1

)


-









2

ko


(


kc

2

+
1

)


}



(


kc

2

-

ki

1


)







}







(
107
)







When Expression (104) corresponding to when Expression (93) is negative is positive, since VG monotonously increases with respect to δkc2, the range of VG is represented by the following expression.














Formula





73















2


(


ki

1

+
1

)


Vref



ki

1

+

ki

2

+
2




{

1
-




(


ki

1

-

kc

1

+
1

)



kc

2


-

ko


(


kc

2

-

ki

1

-
1

)





{



(


ki

1

+
1

)



kc

2


+

ko


(


ki

1

+
1

)


-

2


kokc

2



}



(

kc2
-

ki

1

-
1

)




}


<
VG
<



2


ki

1

Vref




ki

1

+

ki

2





{

1
-




(


ki

1

-

kc

1

-
1

)



(


kc

2

+
1

)


-


(

ko
+
1

)



(


kc

2

-

ki

1

+
1

)







{



ki

1

(


kc

2

+
1

)

+


ki

1



(

ko
+
1

)


-









2


(

ko
+
1

)



(


k

2

+
1

)


}



(


kc

2

-

kc

1

+
1

)







}






(
108
)







If the calibration value of VG is set to VGc represented by Expression (109), which is the median of a range of Expression (108), the calibration value of VG can be derived at accuracy lower than ΔVG represented by Expression (110).














Formula





74












VGc
=




ki

1

Vref



ki

1

+

ki

2





{

1
-




(


ki

1

-

kc

1

-
1

)



(


kc

2

+
1

)


-


(

ko
+
1

)



(


kc

2

-

ki

1

+
1

)







{



ki

1

(


kc

2

+
1

)

+


ki

1

(

ko
+
1

)

-









2


(

ko
+
1

)



(


k

2

+
1

)


}



(


kc

2

-

ki

1

+
1

)







}


+




(


ki

1

+
1

)


Vref



ki

1

+

ki

2

+
2




{

1
-




(


ki

1

-

kc

1

+
1

)



kc

2


-

ko


(


kc

2

-

ki

1

-
1

)





{



(


ki

1

+
1

)



kc

2


+

ko


(


ki

1

+
1

)


-

2


kokc

2



}



(


kc

2

-

ki

1

-
1

)




}







(
109
)







Δ

VG

=




ki

1

Vref



ki

1

+

ki

2





{

1
-




(


ki

1

-

kc

1

-
1

)



(


kc

2

+
1

)


-


(

ko
+
1

)



(


kc

2

-

ki

1

+
1

)







{



ki

1

(


kc

2

+
1

)

+


ki

1

(

ko
+
1

)

-









2


(

ko
+
1

)



(


k

2

+
1

)


}



(


kc

2

-

ki

1

+
1

)







}


-




(


ki

1

+
1

)


Vref



ki

1

+

ki

2

+
2




{

1
-




(


ki

1

-

kc

1

+
1

)



kc

2


-

ko


(


kc

2

-

ki

1

-
1

)





{



(


ki

1

+
1

)



kc

2


+

ko


(


ki

1

+
1

)


-

2


kokc

2



}



(


kc

2

-

ki

1

-
1

)




}







(
110
)







As explained above, even when a positive input Vref+Vofop+Vofc is large compared with the negative input voltage Vref of the determiner 32 in the offset polarity determination processing, the calibration values of the offset voltage and the integration unit voltage of the operational amplifier 340 can be derived at predetermined accuracy.


Operation at the time when the sensor circuit is calibrated is the same as the operation at the time when the positive input Vref+Vofop+Vofc is small compared with the negative input voltage Vref of the determiner 32 in the offset polarity determination processing. Therefore, explanation of the operation is omitted. A known voltage output from the variable reference voltage source 100 in this embodiment by the operation is input to the amplifier and the AD converter of the sensor circuit. It is possible to perform calibration of a gain and an offset of the amplifier and an offset of the AD converter from a correlation with the output.


A measuring instrument serving as a reference for calibration is unnecessary on the outside of a sensor node even after sensor circuit setting. The calibration values of the offset and the integration unit voltage can be calculated at predetermined accuracy according to the calibration state of the variable reference voltage source 100 in this embodiment. Therefore, it is possible to perform calibration of the sensor circuit even if the offset and the integration unit voltage change because of a change with time.


Second Configuration of the First Embodiment

A second configuration example of the integrated-voltage generating unit in the first embodiment is shown in FIG. 6. An integrated-voltage generating unit 50 in this configuration example is configured by an integrating unit 54, the determiner 32 that has positive and negative inputs and determines that a positive input voltage exceeds a negative input voltage during a calibration state and outputs a determination signal, and the first crossbar switch 31 used for measurement of an offset voltage of the determiner 32.


Connection of SW5, SW2, SW3, SW4, and the first crossbar switch 31 is controlled by operation control signals CHG1, CHG2, RST, PRE, and POL1 output from a control unit 40.


In the calibration state, processing is executed in the order of offset cancel integration unit measurement processing and integration unit measurement processing in this order to calibrate an offset voltage and an integration unit voltage of the operational amplifier 340. An offset-cancel-integration-unit-measurement processing unit 410 of a calibration control unit 41 executes the offset cancel integration unit measurement processing. The integration-unit-measurement processing unit 213 executes the integration unit measurement processing.


The offset cancel integration unit measurement processing is configured by an initial/comparison step, a charge accumulation step, and a charge transfer step.


In the beginning of the offset cancel integration unit measurement processing, SW3 is connected to initialize charges of C2 to zero and connection of a1 and b1 of SW5, connection of a2 and b2 of SW2, and connection of a4 and b4 of SW4, which are connection of SW2 to SW5 in the initial/comparison step and disconnection of SW3 are carried out. After the initialization in the beginning of the offset cancel integration unit measurement processing, the disconnection of SW3 is maintained. The parasitic capacitance Cp is present in the negative input of the operational amplifier 340 as shown in FIG. 2. When the output of the operational amplifier 340 is represented as Vop,0, the charges Q2,0 and Qp,0 accumulated in C2 and Cp are represented by Expression (4) and Expression (5).


Subsequently, in the charge accumulation step, after a4 and c4 of SW4 are connected, a2 and c2 of SW2 are connected. By connecting a4 and c4 of SW4, charges accumulated in C2 are saved. The operational amplifier 340 operates as a unity gain buffer. The output Vopa,1 of the operational amplifier 340 at this time is represented by the following expression.









Formula





75












Vopa
,

1
=

A


(


Vofop
-
Vopa

,
1

)










Vopa
,

1
=


A

A
+
1



Vofop







(
111
)







A differential voltage between the reference voltage Vref and Vopa,1 is applied to C1. The charges Q1a,1, Q2a,1, and Qpa,1 accumulated in C1, C2, and Cp in this step are represented by the following expression.









Formula





76












Q

1

a

,

1
=


C

1



(

Vref
-


A

A
+
1



Vofop


)







(
112
)







Q

2

a

,

1
=

Q

2


,

0
=


C

2



(




A
+
1

A


Vopb

,

0
-
Vofop


)







(
113
)






Qpa
,

1
=

Cp


A

A
+
1



Vofop






(
114
)







In the charge transfer step, after a4 and b4 of SW4 are connected, a1 and c1 of SW5 are connected. The charges Q1b,1, Q2b,1, and Qpb,1 accumulated in C1, C2, and Cp in this step are represented by the following expression.









Formula





77












Q

1

b

,

1
=

-


C

1



(



-

1
A



Vopb

,

1
+
Vofop


)








(
115
)







Q

2

b

,

1
=


C

2



(




A
+
1

A


Vopb

,

1
-
Vofop


)







(
116
)






Qpb
,

1
=

Cp


(



-

1
A



Vopb

,

1
+
Vofop


)







(
117
)







Charges accumulated in the capacitors connected to the negative input of the operational amplifier 340 before and after the charge transfer step are salved. Accordingly, a relational expression between Vopb,1 and Vop,0 is as follows.














Formula





78













-

Q

1

a


,

1
+
Qpa

,

1
-

Q

2

a


,

1
=

-

Q

1

b



,

1
+






Qpb


,

1
-














Q2b


,


1
-


C

1



(

Vref
-


A

A
+
1



Vofop


)


+

Cp


A

A
+
1



Vofop

-


C

2



(




A
+
1

A


Vop

,

0
-
Vofop


)



=



C

1



(



-

1
A



Vopb

,

1
+
Vofop


)


+

Cp


(



-

1
A



Vopb

,

1
+
Vofop


)


-



C

2



(




A
+
1

A


Vopb

,

1
-
Vofop


)




(



C

1

A

+


Cp

2

A

+



A
+
1

A



C

2



)


Vopb



,

1
=



C

1



(

Vref
-


A

A
+
1



Vofop

+
Vofop

)


+


C

2




A
+
1

A


Vop



,

0
+


Cp


(

Vofop
-


A

A
+
1



Vofop


)







Vopb


,

1
=




AC

1



C

1

+
Cp
+


(

A
+
1

)



C

2






(

Vref
+


1

A
+
1



Vofop


)


+




(

A
+
1

)



C

2




C

1

+
Cp
+


(

A
+
1

)



C

2





Vop



,

0
+


Cp


C

1

+
Cp
+


(

A
+
1

)



C

2






A

A
+
1



Vofop






(
118
)







When the processing transitions to the initial/comparison step again, the charges Q2,1 and Qp,1 accumulated in C2 and Cp are represented by expressions obtained by replacing Vop,0, Q2,0, and Qp,0 respectively with Vop,1, Q2,1, and Qp,1 in Expression (4) and Expression (5). Charges accumulated in the capacitors connected to the negative input of the operational amplifier before and after the transition to the initial/comparison step are saved. Accordingly, a relational expression between Vop,1 and Vopb,1 is as follows.






Formula





79
















Qpb

,
1


=


Q





2


b

,
1



=


Qp

,
1


-

Q






2

,
1














Cp


(



-

1
A



Vopb

,

1
+
Vofop


)


-

C





2


(




A
+
1

A


Vopb

,

1
-
Vofop


)



=


Cp


(



-

1
A



Vop

,

1
+
Vofop


)


-

C





2


(




A
+
1

A


Vop

,

1
-
Vofop


)














Vop
,

1
=
Vopb

,
1






(
119
)







Therefore, a relational expression between Vop,1 and Vop,0 is the following expression.











Formula





80










Vop
,

1
=




AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





(

Vref
+


1

A
+
1



Vofop


)


+




(

A
+
1

)


C





2



C





1

+
CP
+


(

A
+
1

)


C





2




Vop



,

0
+


Cp


C





1

+
Cp
+


(

A
+
1

)


C





2





A

A
+
1








(
120
)







As in the derivation of Expression (18), when the relational expression between Vop,1 and Vop,0 is represented in the form of Expression (11), B1, η, and −ηB0 are represented by the following expression.











Formula





81











B





1

=




(

A
+
1

)


C





2



C





1

+
Cp
+


(

A
+
1

)


C





2



=


1
-



C





1

+
Cp



C





1

+
Cp
+


(

A
+
1

)


C





2




=

1
-
η







(
121
)











η
=



C





1

+
CP



C





1

+
Cp
+


(

A
+
1

)


C





2








(
122
)








-
η






B





0

=




AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





(

Vref
+


1

A
+
1



Vofop


)


+


Cp


C





1

+
Cp
+


(

A
+
1

)


C





2





A

A
+
1



Vofop






(
123
)







Vop,0 is the same as Expression (17). The output Vop,k of the operational amplifier 340 at the time when it is assumed that η<<1 as in the derivation of Expression (18) and the initial/comparison step, the charge accumulation step, and the charge transfer step are repeated k times is represented by the following expression by substituting Expression (17), Expression (122), and Expression (123) in Expression (16).






Formula





82
















Vop

,
k


=


Vop

,
0


-

k






η


(


Vop

,
0


+

B





0


)












Vop

,
k


=



A

A
+
1



Vofop

+

k


{



-



C





1

+
Cp



C





1

+
Cp
+


(

A
+
1

)


C





2






A

A
+
1



Vofop

+



AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





(

Vref
+


1

A
+
1



Vofop


)


+


Cp


C





1

+
Cp
+


(

A
+
1

)


C





2





A

A
+
1



Vofop


}















Vop

,
k


=


k



AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2




Vref

+


A

A
+
1



Vofop








(
124
)







In the state in which s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected, the output of the operational amplifier 340 is connected to the positive input of the determiner 32 and Vref is connected to the negative input of the determiner 32. As in the explanation with reference to FIG. 4, Vopb,k+Vofc increases and approaches Vref as the number of times of integration increases. When the number of times the determination signal is detected for the first time is represented as kr1+1, kr1 is defined as a first number of times of offset cancel integration. The following equation holds about the first number of times of offset cancel integration kr1.






Formula





83









Vref
=


VGr


(


kr





1

+

δ





kr





1


)


+
Vofopb
+
Vofc





(
125
)






VGr
=



AC





1



C





1

+
CP
+


(

A
+
1

)


C





2




Vref





(
126
)







In Expression (125), the left side is a negative input voltage of the determiner 32 and the right side is a voltage obtained by adding the offset voltage of the determiner 32 to a positive input voltage. δkr1 is a real number equal to or larger than 0 and smaller than 1. VGrδkr1 represents a difference between Vref and an output of the operational amplifier 340 at the time of the first number of times of offset cancel integration kr1 and the offset voltage of the determiner. Vofopb in Expression (125) is the same as Expression (35).


In the state in which s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected, Vref is connected to the positive input of the determiner 32 and the output of the operational amplifier 340 is connected to the negative input of the determiner 32. The charge transfer step and the charge accumulation/comparison step are repeated and, in the state in which s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected, when the number of times the determination signal is detected for the first time is represented as kr2+1, kr2 is defined as a second number of times of offset cancel integration. The following equation holds about the second number of times of offset cancel integration kr2.

Formula 84
VGr(kr2+δkr2)+Vofopb=Vref+Vofc  (127)


In Expression (127), the left side is a negative input voltage of the determiner 32 and the right side is a voltage obtained by adding the offset voltage of the determiner 32 to a positive input voltage. δkr2 is a real number equal to or larger than 0 and smaller than 1.


In the integration unit measurement processing, first, a4 and b4 of SW4 are connected and SW3 is connected to reset charges accumulated in C2. After the reset of the charges, SW4 maintains the connection of a4 and b4. Thereafter, the charge transfer step and the charge accumulation/comparison step are repeatedly carried out to calculate the number of times of integration in which the determination signal is output in the state in which s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected.


In the charge accumulation/comparison step of the integration unit measurement processing, a1 and b1 of SW5 are connected and a2 and b2 of SW2 are connected. In the charge transfer step, a1 and c1 of SW5 are connected and a2 and c2 of SW2 are connected. Operation in the integration unit measurement processing is the same as the operation in the integration unit measurement processing in the first embodiment. A relation between the number of times of repetition k of the charge transfer step and the charge accumulation/comparison step and the output Vop,k of the operational amplifier 340 is the same as Expression (49).


In the state in which s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected, the output of the operational amplifier 340 is connected to the positive input of the determiner 32 and Vref is connected to the negative input of the determiner 32.


As in the explanation with reference to FIG. 4, Vopb,k+Vofc increases and approaches Vref as the number of times of integration increases. When the number of times the detection signal is detected for the first time is represented as ki+1, ki is defined as a first number of times of integration. Expression (50) holds about the first number of times of integration ki1.


The following expression holds from Expression (33) and Expression (126).






Formula





85









VG
=



Vref
+
Vofopb

Vref


VGr





(
128
)







In order to simplify expression expansion, it is assumed that Kr1=kr1+δkr1, Kr2=kr2+δkr2, and Ki1=ki1+δki1. A difference between Expression (125) and Expression (50) is calculated and Expression (128) is substituted in an expression obtained by the calculation to obtain the following expression about Vofopb.






Formula





86










0
=


VGr





Kr





1

-

VG





Ki





1









0
=


VGr





Kr





1

-



Vref
+
Vofopb

Vref


VGr





Ki





1









0
=


VGr





Kr





1

-


(

Vref
+
Vofopb

)


Ki





1









Vofopb
=




Kr





1

-

Ki





1



Ki





1



Vref






(
129
)







A difference between Expression (127) and Expression (128) is calculated to obtain the following expression about VGr.






Formula





87











Vref
-

VGr





Kr





2

-
Vofopb

=



VGrKr





1

+
Vofopb
-


Vref




(


Kr





1

+

Kr





2


)


VGr


=

2


(

Vref
-
Vofopb

)










VGr
=


2


(

Vref
-
Vofopb

)




Kr





1

+

Kr





2








(
130
)







Calibration values of Vofopb and VGr are determined by medians of ranges of Vofopb and VGr as in the first embodiment.


Expression (129) is partially differentiated about δkr1 and δki1 to obtain the following expression.






Formula





88












Vofopb




(

δ





kr





1

)



=



1

Ki





1



Vref

>
0





(
131
)









Vofopb




(

δ





ki





1

)



=



-


Kr





1


Ki






1
2





Vref

<
0





(
132
)







According to Expression (131) and Expression (132), Vofopb monotonously increases with respect to δkr1 and monotonously decreases with respect to δki1. Accordingly, a range of Vofopb is represented by the following expression.






Formula





89













kr





1

-

ki





1

-
1



ki





1

+
1



Vref

<
Vofopb
<




kr





1

-

ki





1

+
1


ki





1



Vref





(
133
)







If a calibration value of Vofopb is set to Vofopc represented by Expression (134), which is the median of a range of Expression (133), the calibration value of Vofopb can be derived at accuracy lower than ΔVofopb represented by Expression (135).






Formula





90









Vofopc
=





kr





1

-

ki





1

+
1


2

ki





1



Vref

+




kr





1

-

ki





1

-
1


2


(


ki





1

+
1

)




Vref






(
134
)







Δ





Vofopb

=





kr





1

-

ki





1

+
1


2

ki





1



Vref

-




kr





1

-

ki





1

-
1


2


(


ki





1

+
1

)




Vref






(
135
)







When Expression (130) is partially differentiated about δkr1, δkr2, and δki1 to obtain the following expressions.






Formula





91












VGr




(

δ





kr





1

)



=



-


2


(

Vref
-
Vofopb

)




(


Kr





1

+

Kr





2


)

2



-


2


Kr





1

+

Kr





2







Vofopb




(

δ





kr





1

)





<
0





(
136
)









VGr




(

δ





kr





2

)



=


-


2


(

Vref
-
Vofopb

)




(


Kr





1

+

Kr





2


)

2



<
0





(
137
)









Vofopb




(

δ





ki





1

)



=



-

2


Kr





1

+

Kr





2








Vofopb




(

δ





ki





1

)




>
0





(
138
)







About a sign of inequality of Expression (136), Vref>Vofopb and ∂Vofopb/∂(δkr1)>0 are used. About a sign of inequality of Expression (137), Vref>Vofopb is used. About a sign of inequality of Expression (138), ∂Vofopb/∂(δki1)<0 is used. According to Expression (136), Expression (137), and Expression (138), VGr monotonously decreases with respect to δkr1 and δkr2 and monotonously increases with respect to δki1. Accordingly, a range of VGr is represented by the following expression.











Formula





92













2

Vref



kr





1

+

kr





2

+
2






2

ki





1

-

kr





1

-
1


ki





1



<
VGr
<



2

Vref



kr





1

+

kr





2







2

ki





1

-

kr





1

+
2



ki





1

+
1







(
139
)







If a calibration value of VGr is set to VGrc represented by Expression (140), which is the median of a range of Expression (139), the calibration value of VGr can be derived at accuracy lower than ΔVGr represented by Expression (141).











Formula





93










VGrc
=



Vref


kr





1

+

kr





2







2

ki





1

-

kr





1

+
2



ki





1

+
1



+


Vref


kr





1

+

kr





2

+
2






2

ki





1

-

kr





1

-
1


ki





1








(
140
)







Δ





VGr

=



Vref


kr





1

+

kr





2







2

ki





1

-

kr





1

+
2



ki





1

+
1



-


Vref


kr





1

+

kr





2

+
2






2

ki





1

-

kr





1

-
1


ki





1








(
141
)







As explained above, in the configuration example in the second embodiment as well, calibration values of the offset voltage and the integration unit voltage of the operational amplifier 340 can be derived at predetermined accuracy.


As operation at the time when the sensor circuit is calibrated, a variable reference voltage source 200 in this embodiment is set in an output state and a voltage set by setting data including the number of times of integration k is output. In the output state, after the setting data is acquired by the control unit 40, charges accumulated in C2 are initialized by closing SW3. Subsequently, SW3 is opened to sequentially repeatedly execute, the number of times of integration k, the initial/comparison step, the charge accumulation step, and the charge transfer step in the number of times of offset cancel integration measurement processing. When the charge transfer step and the charge accumulation/comparison step for the number of times of integration are completed, the control unit 40 outputs calibration data representing the completion.


A voltage output from the variable reference voltage source 200 at this time can be derived from Expression (124) using the calibration values of the integration unit voltage VGr and Vofopb derived in the calibration state. Therefore, the voltage can be treated as a known voltage. Therefore, the known voltage output from the variable signal source for calibration is input to the amplifier and the AD converter of the sensor circuit. It is possible to calibrate an offset and a gain of the amplifier and an offset of the AD converter from a correlation with the output.


A measuring instrument serving as a reference for calibration is unnecessary on the outside of a sensor node even after sensor circuit setting. The calibration values of the offset and the integration unit voltage can be calculated at predetermined accuracy according to the calibration state of the variable reference voltage source 200 in this embodiment. Therefore, it is possible to perform calibration of the sensor circuit even if the offset and the integration unit voltage change because of a change with time.


Third Configuration Example of the First Embodiment

A third configuration example of the integrated-voltage generating unit in the first embodiment is shown in FIG. 7. An integrated-voltage generating unit 70 in this embodiment is configured by an integrating unit 74, the determiner 32 that has positive and negative inputs and determines that a positive input voltage exceeds a negative input voltage during a calibration state and outputs a determination signal, the first crossbar switch 31 used for measurement of an offset voltage of the determiner 32, a voltage generation circuit 75 that generates a bias voltage Vb and intermediate potential V1 of the integrating unit 74, and a determined-voltage switching unit 76 that switches a voltage serving as a reference applied to the determiner 32 through the first crossbar switch 31 at during the calibration state.


Connection of SW2, SW3, SW4, SW6, the first crossbar switch 31, and the determined-voltage switching unit 76 is controlled by operation control signals CHG1, CHG2, RST, PRE, POL1, and THD output from a control unit 60.


This configuration example is different from the configuration example shown in FIG. 6 in that the integrating unit is biased by Vb and the integration unit voltage can be set smaller than V1.


In the calibration state, processing is executed in the order of the offset cancel integration unit measurement processing and the integration unit measurement processing to calibrate a bias voltage and an offset voltage and an integration unit voltage of the operational amplifier 340.


In the configuration example of the integrated-voltage generating unit 70 shown in FIG. 7, in the offset cancel integration unit measurement processing, the number of times of integration in which a determination signal switches in two states explained below is measured. A first state is, when st1 and st3 of the determined-voltage switching unit 76 are connected and V1 is input to the determiner 32, a state in which s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected and a state in which s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected. A second state is, when st1 and st3 of the determined-voltage switching unit 76 are connected and Vref is input to the determiner 32, a state in which s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected and a state in which s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected.


The operation of integration in the offset cancel integration unit measurement processing is configured by an initial/comparison step, a charge accumulation step, and a charge transfer step.


In the beginning of the offset cancel integration unit measurement processing, SW3 is connected to initialize charges of C2 to zero and connection of a1 and b1 of SW6, connection of a2 and b2 of SW2, and connection of a4 and b4 of SW4, which are connection of SW2, SW3, SW4, and SW6 of the initial/comparison step and disconnection of SW3 are carried out. After the initialization in the beginning of the offset cancel integration unit measurement processing, SW3 maintains the disconnection. When an output of the operational amplifier 340 is represented as Vop,0, the charge Q2,0 accumulated in C2 is represented by the following expression in which Vofop in Expression (4) is changed to Vofop+Vb.






Formula





94










Q





2

,

0
=

C





2


{




A
+
1

A


Vop

,

0
-

(

Vofop
+
Vb

)



}







(
142
)







In the charge accumulation step, after a4 and c4 of SW4 are connected, a2 and c2 of SW2 are connected. By connecting a4 and c4 of SW4, charges accumulated in C2 are saved. The operational amplifier 340 operates as a unity gain buffer. The output Vopa,1 of the operational amplifier 340 at this time is represented by the following expression.






Formula





195









Vopa
,

1
=


A

A
+
1




(

Vofop
+
Vb

)







(
143
)







A differential voltage between the reference voltage Vref and Vopa,1 is applied to C1. The charges Q1a,1, Q2a,1, and Qpa,1 accumulated in C1, C2, and Cp in this step are represented by the following expressions.






Formula





96










Q





1

a

,

1
=

C





1


{

Vref
-


A

A
+
1




(

Vofop
+
Vb

)



}







(
144
)







Q





2

a

,

1
=


Q






2

,
0



=

C





2


(




A
+
1

A


Vobp

,

0
-
Vofop
-
Vb


)








(
145
)






Qpa
,

1
=

Cp


A

A
+
1




(

Vofop
+
Vb

)







(
146
)







In the charge transfer step, after a4 and b4 of SW4 are connected, a1 and c1 of SW6 are connected. Since c1 of SW6 is connected to V1, the charges Q1b,1, Q2b,1, and Qpb,1 accumulated in C1, C2, and Cp in this step are represented by the following expressions.






Formula





97










Q





1

b

,

1
=

C





1


{



V





1

+


1
A


Vopb


,

1
-

(

Vofop
+
Vb

)



}







(
147
)







Q





2

b

,

1
=

C





2


(




A
+
1

A


Vobp

,

1
-

(

Vofop
-
Vb

)



}







(
148
)






Qpb
,

1
=

Cp


{



-

1
A



Vopb

,

1
+

(

Vofop
+
Vb

)



}







(
149
)







Charges accumulated in a capacitor connected to the negative input of the operational amplifier 340 before and after the charge transfer step are saved. Accordingly, a relational expression between Vopb,1 and Vop,0 is as follows.











Formula





98


















-
Q






1

a

,

1
+
Qpa

,

1
-

Q





2

a


,

1
=


-
Q






1

b


,

1
+
Qpb

,

1
-

Q





2

b


,

1




-

C





1


{

Vref
-


A

A
+
1




(

Vofop
+
Vb

)



}


+

Cp


A

A
+
1




(

Vofop
+
Vb

)


-

C





2


(




A
+
1

A


Vop

,

0
-
Vofop
-
Vb


)


-

C





1


(



V





1

+


1
A


Vopb


,

1
-
Vofop
-
Vb


)


+

Cp


(



-

1
A



Vopb

,

1
+
Vofop
+
Vb


)


-

C





2


(




A
+
1

A


Vobp

,

1
-
Vofop
-
Vb


)












(



C





1

A

+


Cp





2

A

+



A
+
1

A


C





2


)


Vopb

,

1
=


C





1


{

Vref
-

V





1

+


1

A
+
1




(

Vofop
+
Vb

)



}


+

C





2



A
+
1

A


Vop



,

0
+

Cp


1

A
+
1




(

Vofop
+
Vb

)










Vopb
,

1
=




AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





{

Vref
-

V





1

+


1

A
+
1




(

Vofop
+
Vb

)



}


+




(

A
+
1

)


C





2



C





1

+
Cp
+


(

A
+
1

)


C





2




Vop



,

0
+


Cp


C





1

+
Cp
+


(

A
+
1

)


C





2





A

A
+
1




(

Vofop
+

V





1


)









(
150
)







The output Vop,1 of the operational amplifier 340 at the time when the processing transitions to the initial/comparison step again is the same as Vopb,1 as in the second configuration example shown in FIG. 6. Accordingly, a relational expression between Vop,1 and Vop,0 is as follows.











Formula





99










Vop
,

1
=




AC





1



C





1

+
Cp
+


(

A
+
1

)


C





1





{

Vref
-

V





1

+


1

A
+
1




(

Vofop
+
Vb

)



}


+




(

A
+
1

)


c





2



C





1

+
CP
+


(

A
+
1

)


C





2




Vop



,

0
+


Cp


C





1

+
Cp
+


(

A
+
1

)


C





2





A

A
+
1




(

Vofop
+

V





1


)







(
151
)







As in the derivation of Expression (18), when the relational expression between Vop,1 and Vop,0 is represented in the form of Expression (11), B1, η, and −ηB0 are represented by the following expressions.











Formula





100











B





1

=




(

A
+
1

)


C





2



C





1

+
Cp
+


(

A
+
1

)


C





2



=


1
-



C





1

+
Cp



C





1

+
Cp
+


(

A
+
1

)


C





2




=

1
-
η







(
152
)











η
=



C





1

+
Cp



C





1

+
Cp
+


(

A
+
1

)


C





2








(
153
)








-
η






B





0

=




AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





{

Vref
-

V





1

+


1

A
+
1




(

Vofop
+
Vb

)



}


+


Cp


C





1

+
Cp
+


(

A
+
1

)


C





2





A

A
+
1




(

Vofop
+
Vb

)







(
154
)







Vop,0 is represented by the following expression in which Vofop in Expression (17) is changed to Vofop+Vb.






Formula





101









Vop
,

0
=


A

A
+
1




(

Vofop
+
Vb

)







(
155
)







The output Vop,k of the operational amplifier 340 at the time when it is assumed that η<<1 as in the derivation of Expression (18) and the initial/comparison step, the charge accumulation step, and the charge transfer step are repeated k times is represented by the following expressions by substituting Expression (155), Expression (153), and Expression (154) in Expression (16).











Formula





102















Vop
,

k
=


Vop

,
0


-

k






η


(


Vop

,
0


+

B





0


)










(
156
)






Vop
,

k
=



A

A
+
1




(

Vofop
+
Vb

)


+

k


{



-



C





1

+
Cp



C





1

+
Cp
+


(

A
+
1

)


C





2






A

A
+
1




(

Vofop
+
Vb

)


+



AC





1



C





1

+
CP
+


(

A
+
1

)


C





2





[

Vref
-

V





1

+


1

A
+
1




(

Vofop
+
Vb

)



]


+


CP


C





1

 

Cp

+


(

A
+
1

)


C





2





A

A
+
1




(

Vofop
+
Vb

)



}








(
157
)







Vop
,

k
=


k



AC





1



C





1

+
CP
+


(

A
+
1

)


C





2





(

Vref
-

V





1


)


+


A

A
+
1




(

Vofop
+
Vb

)















VGp
=



AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





(

Vref
-

V





1


)













Vofb
=


A

A
+
1




(

Vofop
+
Vb

)







(
158
)







In the above explanation, explanation of an initial/comparison state for derivation of the output Vop,k by the operational amplifier 340 is simplified. However, in an actual initial/comparison state, after connection of a1 and b1 of SW6, connection of a2 and b2 of SW2, and connection of a4 and b4 of SW4 are carried out, for comparison of V1 and an output of the operational amplifier 340, st1 and st3 of the determined-voltage switching unit 76 are connected and s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected, and an output of the operational amplifier 340 is input to the positive input of the determiner 32 and V1 is input to the negative input of the determine 32. Thereafter, the determined-voltage switching unit 76 maintains the connection, s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected, V1 is input to the positive input of the determiner 32, and an output of the operational amplifier 340 is input to the negative input of the determiner 32. After the output of the operational amplifier 340 is large in all the connections of the first crossbar switch 31 in the comparison of the intermediate potential V1 and the output of the operational amplifier 340 described above, for comparison of Vref and the output of the operational amplifier 340, st1 and st2 of the determined-voltage switching unit 76 are connected, s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected, the output of the operational amplifier 340 is input to the positive input of the determiner 32, and Vref is input to the negative input of the determiner 32. Thereafter, the determined-voltage switching unit 76 maintains the connection, s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected, Vref is input to the positive input of the determiner 32, and the output of the operational amplifier 340 is input to the negative input of the determiner 32.


In a state in which st1 and st3 of the determined-voltage switching unit 76 are connected and s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected, the output of the operational amplifier 340 is connected to the positive input of the determiner 32 and V1 is connected to the negative input of the determiner 32. Vopb,k+Vofc increases and approaches V1 as the number of times of integration increases. When the number of times the determination signal is detected for the first time is represented as kc+1, kc is defined as a first number of times of intermediate potential integration. The following equation holds about the first number of times of intermediate potential integration kc1.

Formula 103
V1=VGp(kc1+δkc1)+Vofb+Vofc  (159)


In Expression (159), the left side is a negative input voltage of the determiner 32 and the right side is a voltage obtained by adding the offset voltage of the determiner 32 to a positive input voltage. δkc1 is a real number equal to or larger than 0 and smaller than 1. VGpδkc1 represents a difference between V1 and an output of the operational amplifier 340 at the time of the number of times of integration kc1 and the offset voltage of the determiner.


In a state in which st1 and st3 of the determined-voltage switching unit 76 are connected and s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected, V1 is connected to the positive input of the determine 32 and the output of the operational amplifier 340 is connected to the negative input of the determiner 32. The charge transfer step and the charge accumulation/comparison step are repeated and, in the state in which s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected, when the number of times the determination signal is detected for the first time is represented as kc2+1, kc2 is defined as a second number of times of intermediate potential integration. The following equation holds about the second number of times of intermediate potential integration kc2.

Formula 104
VGp(kc2+δkc2)+Vofb=V1+Vofc  (160)


In Expression (160), the left side is a negative input voltage of the determiner 32 and the right side is a voltage obtained by adding the offset voltage of the determiner 32 to a positive input voltage. δkc2 is a real number equal to or larger than 0 and smaller than 1.


In a state in which st1 and st2 of the determined-voltage switching unit 76 are connected and s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected, an output of the operational amplifier 340 is connected to the positive input of the determiner 32 and Vref is connected to the negative input of the determiner 32. Vopb,k+Vofc increases and approaches Vref as the number of times of integration increases. When the number of times the determination signal is detected for the first time is represented as kr+1, kr is defined as a first number of times of offset cancel integration. The following equation holds about the first number of times of offset cancel integration kr1.

Formula 105
Vref=VGp(kr1+δkr1)+Vofb+Vofc  (161)


In Expression (161), the left side is a negative input voltage of the determiner 32 and the right side is a voltage obtained by adding the offset voltage of the determiner 32 to a positive input voltage. δkr1 is a real number equal to or larger than 0 and smaller than 1. VGpδkr1 represents a difference between Vref and an output of the operational amplifier 340 at the time of the number of times integration kr1 and the offset voltage of the determiner.


In a state in which st1 and st2 of the determined-voltage switching unit 76 are connected and s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected, Vref is connected to the positive input of the determiner 32 and the output of the operational amplifier 340 is connected to the negative input of the determiner 32. The charge transfer step and the charge accumulation/comparison step are repeated and, in the state in which s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected, when the number of times the determination signal is detected for the first time is represented as kr2+1, kr2 is defined as a second number of times of offset cancel integration. The following equation holds about the second number of times of offset cancel integration kr2.

Formula 106
VGp(kr2+δkr2)+Vofb=Vref+Vofc  (162)


In Expression (162), the left side is a negative input voltage of the determiner 32 and the right side is a voltage obtained by adding the offset voltage of the determiner 32 to a positive input voltage. δkr2 is a real number equal to or larger than 0 and smaller than 1.


In the integration unit measurement processing, first, a4 and b4 of SW4 are connected and SW3 is connected to reset charges accumulated in C2. After the reset of the charges, SW4 maintains the connection of a4 and b4. Thereafter, the charge transfer step and the charge accumulation/comparison step are repeatedly carried out and the number of times of integration is calculated in which the determination signal is output in the state in which s11 and s13 of the crossbar switch 1 are connected and s12 and s14 of the crossbar switch 1 are connected.


In the charge accumulation/comparison step of the integration unit measurement processing, a1 and b1 of SW6 are connected and a2 and b2 of SW2 are connected. In the charge transfer step, a1 and c1 of SW6 are connected and a2 and c2 of SW2 are connected. The operation of the switch in the integration unit measurement processing is the same as the operation in the integration unit measurement processing in the embodiment shown in FIG. 6. This configuration example is different from the embodiment shown in FIG. 6 in that the positive input of the operational amplifier 340 is connected to Vb and c1 of SW6 is connected to V1.


When an output of the operational amplifier 340 in the first charge accumulation/comparison step is represented as Vop,0, the charges Q1,0, Q2,0, and Qp,0 accumulated in C1, C2, and Cp are represented by the following expressions.






Formula





107










Q





1

,

0
=

C





1





Vref






(
163
)







Q





2

,

0
=

C





2


{




A
+
1

A


Vop

,

0
-

(

Vofop
+
Vb

)



}







(
164
)






Qp
,

0
=

Cp


{



-

1
A



Vop

,

0
+

(

Vofop
+
Vb

)



}







(
165
)







When the output of the operational amplifier 340 in the charge transfer step is represented as Vopa,1, the charges Q1a,1, Q2a,1, and Qpa,1 accumulated in C1, C2, and Cp are represented by the following expressions.






Formula





108










Q





1

a

,

1
=

C





1


{



V





1

+


1
A


Vopa


,

1
-

(

Vofop
+
Vb

)



}







(
166
)







Q





2

a

,

1
=

C





2


{




A
+
1

A


Vopa

,

1
-

(

Vofop
+
Vb

)



}







(
167
)






Qpa
,

1
=

Cp


{



-

1
A



Vopa

,

1
+

(

Vofop
+
Vb

)



}







(
168
)







The charge conservation holds about charges accumulated in a capacitor connected to the negative input of the operational amplifier 340 before and after the charge transfer step. Therefore, the following relational expression holds between Vopa,1 and Vop,0.






Formula





109

















-
Q






1

,

0
+
Qp

,

0
-

Q





2


,

0
=


-
Q






1

a


,

1
+
Qpa

,

1
-

Q





2

a


,


1




-

C





1





Vref

+

Cp


{



-

1
A



Vop

,

0
+

(

Vofop
+
Vb

)



}


-

C





2


{




A
+
1

A


Vop

,

0
-

(

Vofop
+
Vb

)



}



=



-
C






1


{



V





1

+


1
A


Vopa


,

1
-

(

Vofop
+
Vb

)



}


+

Cp


{



-

1
A



Vopa

,

1
+

(

Vofop
+
Vb

)



}


-

C





2


{




A
+
1

A


Vopa

,

1
-

(

Vofop
+
Vb

)



}













(



C





1

A

+


Cp





2

A

+



A
+
1

A


C





2


)


Vopa

,

1
=


C





1


{

Vref
-

V





1

+

(

Vofop
+
Vb

)


}


+


(



Cp





2

A

+

C





2



A
+
1

A



)


Vop



,
0







Vopa
,

1
=




AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





{

Vref
-

V





1

+

(

Vofop
+
Vb

)


}


+



Cp
+


(

A
+
1

)


C





2




C





1

+
Cp
+


(

A
+
1

)


C





2




Vop



,
0






(
169
)







When an output of the operational amplifier 340 at the time when the processing changes to the charge accumulation/comparison step again is represented as Vop,1, the charges Q2,1 and Qp,1 accumulated in C2 and Cp are expressions obtained by changing Q2,0, Qp,0, and Vop,0 of Expression (164), Expression (165) to Q2,1, Qp,1, and Vop,1. Since the charge conservation holds before and after the charge accumulation/comparison step, a relational expression between Vop,1 and Vopa,1 is represented by the following expression.











Formula





110












Qpa
,

1
-

Q





2

a


,

1
=
Qp

,

1
-

Q





2


,
1









Cp


{



-

1
A



Vopa

,

1
+

(

Vofop
+
Vb

)



}


-

C





2


{




A
+
1

A


Vopa

,

1
-

(

Vofop
+
Vb

)



}



=


Cp


{



-

1
A



Vop

,

1
+

(

Vofop
+
Vb

)



}


-

C





2


{




A
+
1

A


Vop

,

1
-

(

Vofop
+
Vb

)



}














Vopa
,

1
=
Vop

,
1





Therefore, a relational expression between Vop,1 and Vop,0 is represented by the following expression.











Formula





111










Vop
,

1
=




AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





{

Vref
-

V





1

+

(

Vofop
+
Vb

)


}


+



Cp
+


(

A
+
1

)


C





2




C





1

+
Cp
+


(

A
+
1

)


C





2




Vop



,
0




(
170
)







As in the derivation of Expression (18), when the relational expression between Vop,1 and Vop,0 is represented in the form of Expression (11), B1, η, and −ηB0 are represented by the following expressions.











Formula





112











B





1

=



Cp
+


(

A
+
1

)


C





2




C





1

+
CP
+


(

A
+
1

)


C





2



=


1
-


C





1



C





1

+
Cp
+


(

A
+
1

)


C





2




=

1
-
η







(
171
)











η
=


C





1



C





1

+
Cp
+


(

A
+
1

)


C





2








(
172
)












η





B





0

=



AC





1



C





1

+
CP
+


(

A
+
1

)


C





2





{

Vref
-

V





1

+

(

Vofop
+
Vb

)


}







(
173
)







Vop,0 is the same as Expression (155). The output Vop,k of the operational amplifier 340 at the time when it is assumed that η<<1 as in the derivation of Expression (18) and the initial/comparison step, the charge accumulation step, and the charge transfer step are repeated k times is represented by the following expression by substituting Expression (155), Expression (172), and Expression (173) in Expression (16).






Formula





113














Vop
,

k
=


Vop

,
0


-

k






η


(


Vop

,
0


+

B





0


)










(
174
)







Vop
,

k
=



A

A
+
1




(

Vofop
+
Vb

)


+

k


{



-


C





1



C





1

+
Cp
+


(

A
+
1

)


C





2






A

A
+
1




(

Vofop
+
Vb

)


+



AC





1



C





1

+
CP
+


(

A
+
1

)


C





2





[

Vref
-

V





1

+

(

Vofop
+
Vb

)


]



}











Vop
,

k
=



k



AC





1



C





1

+
CP
+


(

A
+
1

)


C





2





{

Vref
-

V





1

+


A

A
+
1




(

Vofop
+
Vb

)



}


+


A

A
+
1




(

Vofop
+
Vb

)










VGp





2


=



AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





{

Vref
-

V





1

+
Vofb

}









(
175
)







In the state in which s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected, the output of the operational amplifier 340 is connected to the positive input of the determiner 32 and Vref is connected to the negative input of the determiner 32. Vopb,k+Vofc increases and approaches Vref as the number of times of integration increases. When the number of times the determination signal is detected for the first time is represented as ki+1, ki is defined as a first number of times of integration. The following equation holds about the first number of times of integration ki1.

Formula 114
Vref=VGp2(ki1+δki1)+Vofb+Vofc  (176)


To simplify expression expansion, it is assumed that Kc1=kc1+δkc1, Kc2=kc2+δkc2, Kr1=kr1+∂kr1, Kr2=kr2+δkr2, Ki1=ki1+δki1, and Ki2=ki2+δki2. A difference between Expression (176) and Expression (161) is calculated and Expression (157) and Expression (175) are substituted in an expression obtained by the calculation to obtain the following expression.






Formula





115










0
=


VGp





2





Ki





1

-

VGpKr





1











(

Vref
-

V





1

+
Vofb

)






Ki





1

=


(

Vref
-

V





1


)


Kr





1








Vofb
=


(

Vref
-

V





1


)



(



Kr





1


Ki





1


-
1

)







(
177
)







A difference between Expression (159) and Expression (160) is calculated to obtain the following expression.

Formula 116
V1−VGpKc2−Vofb=VGp Kc1=Vofb−V1
2V1=VGp(Kc1+Kc2)+2Vofb  (178)


A difference between Expression (161) and Expression (162) is calculated to obtain the following expression.

Formula 117
Vref−VGpKr2−Vofb=VGpKr1+Vofb−Vref
2Vref=VGp(Kr1=Kr2)+2Vofb  (179)


A difference between Expression (179) and Expression (178) is calculated to obtain the following expression.

Formula 118
2(Vref−V1)=VGp(Kr1+Kr2−Kc1−Kc2)
Vref—V1=½VGp(Kr1+Kr2−Kc1+Kc2)  (180)


Expression (177) and Expression (180) are substituted in Expression (179) to obtain an expression of VGp.











Formula





119












2

Vref

=


VGp






(


Kr





1

+

Kr





2


)


+

2


(



Kr





1


Ki





1


-
1

)



1
2


VGp






(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)










VGp
=




2

Ki





1



Ki





1


(


Kc





1

+

Kc





2


)


+

Kr





1


(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)





Vref

=



2

Ki





1



Ki





1


(


Kc





1

+

Kc





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)





Vref







(
181
)







Expression (180) and Expression (181) are substituted in Expression (177) to obtain an expression of Vofb.






Formula





120












Vofb


=








1
2



(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



(



Kr





1


Ki





1


-
1

)
















2

Ki





1



Kr





1


(


Kc





1

+

Kc





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)





Vref








=









(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



(


Kr





1

-

Ki





1


)




Kr





1


(


Kc





1

+

Kc





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)











(
182
)







Calibration values of Vofb and VGp are determined by medians of ranges of Vofb and VGp as in the first embodiment and the second configuration example of the integration/determination/signal output unit.


Expression (181) is partially differentiated about δkr1, δkr2, and δki1 to obtain the following expression.






Formula





121












VGp




(

δ





kr





1

)



=



-



2

Kr





1

+

Kr





2

-

Kc





1

-

Kc





2




{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2




2

Ki





1

Vref

<
0





(
183
)









VGp




(

δ





kr





2

)



=



-


Kr





1



{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2




2

Ki





1

Vref

<
0





(
184
)












VGp




(

δ





ki





1

)





=









2


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)





Vref

-
















Kc





1

+

Kc





2




{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2



2

Ki





1

Vref








=










Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)


-

Ki





1


(


Kc





1

+

Kc





2


)





{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2



2

Vref








=










Kr





1


(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)




{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2



2

Vref

>
0








(
185
)







In derivation of signs of inequality of Expression (183), Expression (184), and Expression (185), the following condition is used.


“Since the integration unit voltage is the same at VGp in the measurement of Kr1 and Kr2 and Kc1 and Kc2 and the threshold Vref of the measurement of Kr1 and Kr2 is larger than the threshold V1 of the measurement of Kc1 and Kc2,Kr1+Kr2>Kc1+Kc2 is obtained.”


According to Expression (183), Expression (184), and Expression (185), VGp monotonously decreases with respect to δkr1 and δkr2 and monotonously increases with respect to δki1.


Expression (181) is partially differentiated about δkc1 and δkc2 to obtain the following expression.











Formula





122













VGp




(

δ





kc





1

)



=




VGp




(

δkc





2

)



=


-



Ki





1

-

Kr





1




{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2




2

Ki





1

Vref






(
186
)







Expression (182) is partially differentiated about δkr1 and δki1 to obtain the following expression.






Formula





123















Vofb




(

δ





kr





1

)





=











2

Kr





1

+

Kr





2

-

Kc





1

-

Kc





2

-

Ki





1




Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)





Vref

-
















(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



(


Kr





1

-

Ki





1


)



(


2

Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)




{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2



Vref








=














(


2

Kr





1

+

Kr





2

-

Kc





1

-

Kc





2

-

Ki





1


)



{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kc





1


)



(


Kc





1

+

Kc





2


)



}


-







(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



(


Kr





1

-

Ki





1


)



(


2

Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)







{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2



Vref








=













(


2

Kr





1

+

Kr





2

-

Kc





1

-

Kc





2

-

Ki





1


)



{


Kr





1


(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)


+










Ki





1


(


Kc





1

+

Kc





2


)


}

-


(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



(


Kr





1

-

Ki





1


)



(


2

Kr





1

-

Kr





2

-

Kc





1

-

Kc





2


)








{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2



Vref








=













Ki





1


(


Kc





1

+

Kc





2


)



(


2

Kr





1

+

Kr





2

-

Kc





1

-

Kc





2

-

Ki





1


)


+







(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



{


Kr





1


(


2

Kr





1

+

Kr





2

-

Kc





1

-

Kc





2

-

Ki





1


)


-










(


Kc





1

-

Ki





1


)



(


2

Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)


}






{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2



Vref








=













Ki





1


(


Kc





1

+

Kc





2


)



(


2

Kr





1

+

Kr





2

-

Kc





1

-

Kc





2

-

Ki





1


)


+







(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



{


Kr





1


(


-
Ki






1

)


-

Ki





1


(


2

Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



}







{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2



Vref








=














Ki





1


(


Kc





1

+

Kc





2


)



(


2

Kr





1

+

Kr





2

-

Kc





1

-

Kc





2

-

Ki





1


)


+






Ki





1



(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)

2







{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2



Vref

>
0








(
187
)












Vofb




(

δ





ki





1

)





=










-

(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)




Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)





Vref

-
















(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



(


Kr





1

-

Ki





1


)



(


Kc





1

+

Kc





2


)




{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2



Vref








=








-







(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}


+







(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



(


Kr





1

-

Ki





1


)



(


Kc





1

+

Kc





2


)







{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2




Vref








=








-






(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)


-










(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)


}






{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2




Vref








=









-



(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)


Kr





1


(


Kr





1

+

Kr





2


)




{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2




Vref

<
0








(
188
)







According to Expression (187) and Expression (188), Vofb monotonously increases with respect to δkr1 and monotonously decreases with respect to δki1.


Expression (182) is partially differentiated about δkr2, δkc1, and δkc2 to obtain the following expression.






Formula





124















Vofb




(

δ





kr





2

)





=











Kr





1

-

Ki





1




Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)





Vref

-
















(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



(


Kr





1

-

Ki





1


)


Kr





1



{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2



Vref








=














(


Kr





1

-

Ki





1


)



{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}


-







(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



(


Kr





1

-

Ki





1


)


Kr





1






{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2



Vref








=










(


Kr





1

-

Ki





1


)


Ki





1


(


Kc





1

+

Kc





2


)




{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2



Vref








(
189
)












Vofb




(

δ





kc





1

)



=




Vofb




(

δ





kc





2

)





=











-

(


Kr





1

-

Ki





1


)




Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)





Vref

-
















(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



(


Kr





1

-

Ki





1


)



(


Ki





1

-

Kr





1


)




{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2



Vref








=








-







(


Kr





1

-

Ki





1


)



{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}


+







(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



(


Kr





1

-

Ki





1


)



(


Ki





1

-

Kr





1


)







{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2




Vref








=








-






(


Kr





1

-

Ki





1


)



{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)


-










(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)



(


Kr





1

-

Ki





1


)



(


Ki





1

-

Kr





1


)


}






{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2




Vref








=








-



(


Kr





1

-

Ki





1


)



{



(


2

Kr





1

-

Ki





1


)



(


Kr





1

+

Kr





2


)


+

2


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}




{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2




Vref








=








-



(


Kr





1

-

Ki





1


)



{


2

Kr





1


(


Kr





1

+

Kr





2

-

Kc





1

-

Kc





2


)


+

Ki





1


(


2

KC





1

+

2

Kc





2

-

Kc





1

-

Kc





2


)



}




{


Kr





1


(


Kr





1

+

Kr





2


)


+


(


Ki





1

-

Kr





1


)



(


Kc





1

+

Kc





2


)



}

2




Vref








(
190
)







Since Kr1>Ki1 according to Expression (177) when Vofb>0, Expression (186) is negative and VGp monotonously decreases with respect to δkc1 and δkc2. Since Expression (189) is positive, Vofb monotonously increases with respect to δkr2. Since Expression (190) is negative, Vofb monotonously decreases with respect to δkc1 and δkc2.


Accordingly, ranges of VGp and Vofb are as follows.











Formula





125













2

ki





1




(


kr





1

+
1

)



(


kr





1

+

kr





2

+
1

)


+


(


ki





1

-

kr





1

-
1

)



(


kc





1

+

kc





2

+
2

)





Vref

<
VGp
<



2


(


ki





1

+
1

)




kr





1


(


kr





1

+

ke





2


)


+


(


ki





1

-

kr





1

+
1

)



(


kc





1

+

kc





2


)





Vref





(
191
)










(


kr





1

+

kr





2

-

kc





1

-

kc





2

-
2

)



(


kr





1

-

ki





1

-
1

)




kr





1


(


kr





1

+

kr





2


)


+


(


ki





1

-

kr





1

+
1

)



(


kc





1

+

kc





2

+
2

)





Vref

<
Vofb
<




(


kr





1

+

kr





2

-

kc





1

-

kc





2

+
2

)



(


kr





1

-

ki





1

+
1

)





(


kr





1

+
1

)



(


kr





1

+

kr





2

+
2

)


+


(


ki





1

-

kr





1

-
1

)



(


kc





1

+

kc





2


)





Vref





(
192
)







If a calibration value of VGpc is set to VGpc represented by Expression (193), which is the median of a range of Expression (191), the calibration value of VGp can be derived at accuracy of ΔVGp represented by Expression (194). If a calibration value of Vofb is set to Vofbc represented by Expression (195), which is the median of Expression (192), the calibration value of Vofb can be derived at accuracy of ΔVofb represented by Expression (196).











Formula





126










VGpc
=




(


ki





1

+
1

)



ki





1


(


kr





1

+

kr





2


)


+


(


ki





1

-

kr





1

+
1

)



(


kc





1

+

kc





2


)





Vref

+



ki





1



(


kr





1

+
1

)



(


kr





1

-


+
kr






2

+
1

)



(


ki





1

-

kr





1

-
1

)



(


kc





1

+

kc





2

+
2

)




Vref






(
193
)







Δ





VGp

=




(


ki





1

+
1

)



ki





1


(


kr





1

+

kr





2


)


+


(


ki





1

-

kr





1

+
1

)



(


kc





1

+

kc





2


)





Vref

-



ki





1



(


kr





1

+
1

)



(


kr





1

-


+
kr






2

+
1

)



(


ki





1

-

kr





1

-
1

)



(


kc





1

+

kc





2

+
2

)




Vref






(
194
)






Vofbc
=



1
2





(


kr





1

+

kr





2

-

kc





1

-

kc





2

+
2

)



(


kr





1

-

ki





1

+
1

)





(


kr





1

+
1

)



(


kr





1

+

kr





2

+
2

)


+


(


ki





1

-

kr





1

-
1

)



(


kc





1

+

kc





2


)





Vref

+


1
2





(


kr





1

+

kr





2

-

kc





1

-

kc





2

-
2

)



(


kr





1

-

ki





1

-
1

)




kr





1


(


kr





1

+

kr





2


)


+


(


ki





1

-

kr





1

+
1

)



(


kc





1

+

kc





2

+
2

)





Vref






(
195
)







Δ





Vofbc

=



1
2





(


kr





1

+

kr





2

-

kc





1

-

kc





2

+
2

)



(


kr





1

-

ki





1

+
1

)





(


kr





1

+
1

)



(


kr





1

+

kr





2

+
2

)


+


(


ki





1

-

kr





1

-
1

)



(


kc





1

+

kc





2


)





Vref

-


1
2





(


kr





1

+

kr





2

-

kc





1

-

kc





2

-
2

)



(


kr





1

-

ki





1

-
1

)




kr





1


(


kr





1

+

kr





2


)


+


(


ki





1

-

kr





1

+
1

)



(


kc





1

+

kc





2

+
2

)





Vref






(
196
)







Since Kr1<Ki1 according to Expression (177) when Vofb<0, Expression (186) is positive and VGp monotonously increases with respect to δkc1 and δkc2. Since Expression (189) is negative, Vofb monotonously decreases with respect to δkr2. Since Expression (190) is positive, Vofb monotonously increases with respect to δkc1 and δkc2.


Accordingly, ranges of VGp and Vofb are as follows.











Formula





127













2

ki





1




(


kr





1

+
1

)



(


kr





1

+

kr





2

+
1

)


+


(


ki





1

-

kr





1

-
1

)



(


kc





1

+

kc





2

+
2

)





Vref

<
VGp
<



2


(


ki





1

+
1

)




kr





1


(


kr





1

+

ke





2


)


+


(


ki





1

-

kr





1

+
1

)



(


kc





1

+

kc





2


)





Vref





(
197
)










(


kr





1

+

kr





2

-

kc





1

-

kc





2

-
2

)



(


kr





1

-

ki





1

-
1

)




kr





1


(


kr





1

+

kr





2


)


+


(


ki





1

-

kr





1

+
1

)



(


kc





1

+

kc





2

+
2

)





Vref

<
Vofb
<




(


kr





1

+

kr





2

-

kc





1

-

kc





2

+
2

)



(


kr





1

-

ki





1

+
1

)







(


kr





1

+
1

)


9

kr





1

+

kr





2

+
2

)

+


(


ki





1

-

kr





1

-
1

)



(


kc





1

+

kc





2


)





Vref





(
198
)







If a calibration value of VGpc is set to VGpc represented by Expression (199), which is the median of a range of Expression (197), the calibration value of VGp can be derived at accuracy of ΔVGp represented by Expression (200). If a calibration value of Vofb is set to Vofbc represented by Expression (201), which is the median of Expression (198), the calibration value of Vofb can be derived at accuracy of ΔVofb represented by Expression (202).











Formula





128










VGpc
=




(


ki





1

+
1

)



ki





1


(


kr





1

+

kr





2


)


+


(


ki





1

-

kr





1

+
1

)



(


kc





1

+

kc





2


)





Vref

+



ki





1



(


kr





1

+
1

)



(


kr





1

-


+
kr






2

+
1

)



(


ki





1

-

kr





1

-
1

)



(


kc





1

+

kc





2

+
2

)




Vref






(
199
)







Δ





VGp

=




(


ki





1

+
1

)



ki





1


(


kr





1

+

kr





2


)


+


(


ki





1

-

kr





1

+
1

)



(


kc





1

+

kc





2


)





Vref

-



ki





1



(


kr





1

+
1

)



(


kr





1

-


+
kr






2

+
1

)



(


ki





1

-

kr





1

-
1

)



(


kc





1

+

kc





2

+
2

)




Vref






(
200
)






Vofbc
=



1
2





(


kr





1

+

kr





2

-

kc





1

-

kc





2

+
2

)



(


kr





1

-

ki





1

+
1

)





(


kr





1

+
1

)



(


kr





1

+

kr





2

+
2

)


+


(


ki





1

-

kr





1

-
1

)



(


kc





1

+

kc





2


)





Vref

+


1
2





(


kr





1

+

kr





2

-

kc





1

-

kc





2

-
2

)



(


kr





1

-

ki





1

-
1

)




kr





1


(


kr





1

+

kr





2


)


+


(


ki





1

-

kr





1

+
1

)



(


kc





1

+

kc





2

+
2

)





Vref






(
201
)







Δ





Vofbc

=



1
2





(


kr





1

+

kr





2

-

kc





1

-

kc





2

+
2

)



(


kr





1

-

ki





1

+
1

)





(


kr





1

+
1

)



(


kr





1

+

kr





2

+
2

)


+


(


ki





1

-

kr





1

-
1

)



(


kc





1

+

kc





2


)





Vref

-


1
2





(


kr





1

+

kr





2

-

kc





1

-

kc





2

-
2

)



(


kr





1

-

ki





1

-
1

)




kr





1


(


kr





1

+

kr





2


)


+


(


ki





1

-

kr





1

+
1

)



(


kc





1

+

kc





2

+
2

)





Vref






(
202
)







In the derivation of VGp and Vofb, when kr1>ki1, Expression (193) and Expression (195) are used. When kr1<ki1, Expression (199) and Expression (201) are used.


Consequently, in this embodiment, in the calibration state, a measuring instrument serving as a reference for calibration is unnecessary on the outside of a sensor node even after sensor circuit setting. It is possible to derive, at predetermined accuracy, calibration values of the offset voltage and the integration unit voltage of the operational amplifier 340.


When the processing explained above is completed, the control unit 60 outputs the calibration values of the offset voltage and the integration unit voltage of the operational amplifier 340 as calibration data.


As operation at the time when the sensor circuit is calibrated, a variable reference voltage source 300 in this embodiment is set in an output state and a voltage set by setting data including the number of times of integration k is output. When a voltage larger than Vofb is output, an initial/comparison step, a charge accumulation step, and a charge transfer step are repeatedly executed in the same processing as the number of times of offset cancel integration measurement processing by a positive-offset-cancel-integration processing unit 621 of an output control unit 62. A voltage output from the variable reference voltage source 300 at this time can be derived from Expression (156) using the calibration values of the integration unit voltage VGp and Vofb derived in the calibration state. Therefore, the voltage can be treated as a known voltage. Therefore, the known voltage output from the variable reference voltage source 300 is input to the amplifier and the AD converter of the sensor circuit. It is possible to calibrate an offset and a gain of the amplifier and an offset of the AD converter from a correlation with the output.


When a voltage smaller than Vofb is output, negative offset cancel integration processing is executed by a negative-offset-cancel-integration processing unit 620 of the output control unit 62. The negative offset cancel integration processing is configured by an initial/comparison step, a charge accumulation step, and a charge transfer step. First, SW3 is connected to initialize charges of C2 to zero and connection of a1 and c1 of SW6, connection of a2 and b2 of SW2, and connection of a4 and b4 of SW4, which are connection of SW2, SW3, SW4, and SW6 of the initial/comparison step and disconnection of SW3 are carried out. After the initialization in the beginning, the disconnection of SW3 is maintained. When an output of the operational amplifier 340 is represented as Vop,0, the charge Q2,0 accumulated in C2 is the same as Expression (142).


In the charge accumulation step, after a4 and c4 of SW4 are connected, a2 and c2 of SW2 are connected. By connecting a4 and c4 of SW4, charges accumulated in C2 are saved. The operational amplifier 340 operates as a unity gain buffer. The output Vopa,1 of the operational amplifier 340 at this time is the same as Expression (143). A differential voltage between the voltage V1 and Vopa,1 is applied to C1. The charge Q1a,1 accumulated in C1 in this step is represented by the following expression.






Formula





129










Q





1

a

,

1
=

C





1


{


V





1

-


A

A
+
1




(

Vofop
+
Vb

)



}







(
203
)







The charges Q2a,1 and Qpa,1 accumulated in C2 and Cp are Expression (145) and Expression (146).


In the charge transfer step, after a4 and b4 of SW4 are connected, a1 and b1 of SW6 are connected. Since b1 of SW6 is connected to Vref, the charge Q1b,1 accumulated in C1 in this step is represented by the following expression.






Formula





130










Q





1

b

,

1
=

C





1


{


Vref
+


1
A


Vopb


,

1
-

(

Vofop
+
Vb

)



}







(
204
)







The charges Q2b,1 and Qpb,1 accumulated in C2 and Cp are Expressions (148) and Expression (149).


Charges accumulated in a capacitor connected to the negative input of the operational amplifier 340 before and after the charge transfer step are saved. Accordingly, a relational expression between Vopb,1 and Vop,0 is as follows.






Formula





131

















-




Q






1

a

,

1
+
Qpa

,

1
-

Q





2

a


,

1
=


-
Q






1

b


,

1
+
Qpb

,

1
-

Q





2

b


,


1




-

C





1


{


V





1

+


A

A
+
1




(

Vofop
+
Vb

)



}


+

Cp


A

A
+
1




(

Vofop
+
Vb

)


-

C





2


(




A
+
1

A


Vop

,

0
-
Vofop
-
Vb


)



=


C





1


(


Vref
+


1
A


Vopb


,

1
-
Vofop
-
Vb


)


+

Cp


(



-

1
A



Vopb

,

1
+
Vofop
+
Vb


)


-

C





2


(




A
+
1

A


Vobp

,

1
-
Vofop
-
Vb


)













(



C





1

A

+


Cp





2

A

+



A
+
1

A


C





2


)


Vopb

,

1
=


C





1


{


V





1

-
Vref
+


1

A
+
1




(

Vofop
+
Vb

)



}


+

C





2



A
+
1

A


Vop



,

0
+

Cp


1

A
+
1




(

Vofop
+
Vb

)










Vopb
,

1
=




AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





{


V





1

-
Vref
+


1

A
+
1




(

Vofop
+
Vb

)



}


+




(

A
+
1

)


C





2



C





1

+
Cp
+


(

A
+
1

)


C





2




Vop



,

0
+


Cp


C





1

+
Cp
+


(

A
+
1

)


C





2





A

A
+
1




(

Vofop
+
Vb

)









(
205
)







The output Vop,1 of the operational amplifier 340 at the time when the processing transitions to the initial/comparison step again is the same as Vopb,1 as in the second configuration example in the first embodiment shown in FIG. 6. Accordingly, a relational expression between Vop,1 and Vop,0 is the following expression.











Formula





132










Vop
,

1
=




AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





{


V





1

-
Vref
+


1

A
+
1




(

Vofop
+
Vb

)



}


+




(

A
+
1

)


C





2



C





1

+
Cp
+


(

A
+
1

)


C





2




Vop



,

0
+


Cp


C





1

+
Cp
+


(

A
+
1

)


C





1





A

A
+
1




(

Vofop
+
Vb

)







(
206
)







When Expression (206) is compared with Expression (151), only signs of V1 and Vref of the right side first term are different. Therefore, the output Vop,k of the operational amplifier 340 at the time when the initial/comparison step, the charge accumulation step, and the charge transfer step are repeated k times is represented by the following expression.






Formula





133












Vop
,

k
=



-
k




AC





1



C





1

+
Cp
+


(

A
+
1

)


C





2





(

Vref
-

V





1


)


+
Vofb








=


-
kVGp

+
Vofh








(
207
)







Since calibration values of VGp and Vofb in Expression (207) are derived in the calibration state, in the negative offset cancel integration processing as well, an output voltage of the operational amplifier 340 after the negative offset cancel integration processing is repeated by the number of times of integration k can be treated as a known voltage. Therefore, the known voltage output from the variable signal source for calibration is input to the amplifier and the AD converter of the sensor circuit. It is possible to calibrate an offset and a gain of the amplifier and an offset of the AD converter from a correlation with the output.


Second Embodiment

A configuration example of a variable reference voltage source according to a second embodiment of the present invention is shown in FIG. 8 is shown. A variable reference voltage source 400 shown in FIG. 8 is configured by the reference voltage unit 10 that outputs the reference voltage Vref, a control unit 80, and an integrated-voltage generating unit 90. The control unit 80 changes a state to a calibration state and an output state based on command/response data from a sensor node and executes, in the calibration state, processing of calibration of an offset, an integration unit voltage, and a buffer gain and acquires calibration values of the offset, the integration unit voltage, and the buffer gain. In the output state, the control unit 80 executes processing for setting and outputting a voltage used for the calibration. In the calibration state, the integrated-voltage generating unit 90 executes, based on an operation control signal from the control unit 80, in order to calculate the offset and the integration unit voltage, an integration operation until a voltage based on charges accumulated in the capacitor Co becomes equal to the reference voltage Vref. In the output state, the integrated-voltage generating unit 90 executes the integration operation by a predetermined number of times based on the command/response data from the sensor node and outputs the voltage.


The integrated-voltage generating unit 90 includes the determiner 32 that has positive and negative inputs and determines that a positive input voltage exceeds a negative input voltage during a calibration state and outputs a determination signal, the first crossbar switch 31 used for measurement of an offset voltage of the determiner 32, the capacitor Co, a current source 91 that supplies charges to the capacitor Co, SW1 connected when the charges are supplied to the capacitor Co, SW2 that resets charges accumulated in the capacitor Co, an operational amplifier 92 that outputs a voltage set during an output state, a third crossbar switch 93 used when polarity of an offset of the operational amplifier 92 is determined, SW3 connected when the offset of the operational amplifier 92 is determined, SW4 that changes connection between the time when the offset of the operational amplifier 92 is calibrated and the output state, and SW5 that changes connection between the time when the offset of the operational amplifier 92 is calibrated and the time when an integration unit voltage is configured.


The integration operation in this embodiment is explained. Integration is carried out by supplying charges from the current source to the capacitor Co in a time period an integer times as long as a predetermined time unit. An equivalent circuit in the case in which s21 and s23 of the third crossbar switch 93 are connected and s22 and s24 of the third crossbar switch 93 are connected is shown in FIG. 9(a). In the equivalent circuit, an electrode connected to the current source side of Co is represented as plus (+) and an electrode connected to the ground side is represented as minus (−). When an output current of the current source 91 is represented as Io and the predetermined time unit is represented as Δt, charges supplied from the current source 91 in a time period kΔt k times as long as Δt is IlkΔt. When parasitic capacitance Cp1 present in a positive input of the operational amplifier 92 is considered, a voltage Vo of Co is represented by the following expression.






Formula





134









Vo
=


Io

Co
+

Cp





1




Δ





t





k





(
208
)







When s21 and s24 of the third crossbar switch 93 are connected and s22 and s23 of the third crossbar switch 93 are connected as shown in FIG. 9(b), parasitic capacitance Cp2 on a negative input side of the operational amplifier 92 is connected to Co. Accordingly, the voltage Vo of Co generated by the charges supplied from the current source in the time kΔt k times as long as Δt is represented by the following expression.






Formula





135









Vo
=


Io

Co
+

Cp





2




Δ





t





k





(
209
)







In this way, the voltage Vo is proportional to the integer time k of the predetermined time Δt.


In the calibration state in this embodiment, processing is executed in the order of offset polarity determination processing, offset measurement processing, integration unit measurement processing, and buffer gain calibration processing to calibrate an offset voltage, an integration unit voltage, and a buffer gain.


In the offset polarity determination processing, a6 and b6 of SW5 are connected, a5 and b5 of SW4 are connected, SW3 is set in a connected state, and SW1 and SW2 are set in a disconnected state according to an operation control signal output from a control/processing unit. Further, s21 and s23 of the third crossbar switch 93 are connected and s22 and s24 of the third crossbar switch 93 are connected.


When an offset voltage of the operational amplifier 92 is represented as Vofop, Vref+Vofop is equivalently input to the positive input of the operational amplifier 92 and Vref is input to the negative input of the operational amplifier 92. Accordingly, in the case of Vofop>0, a high-output voltage, which is a maximum value of an output of the operational amplifier 92, is output. In the case of Vofop<0, a low-output voltage, which is a minimum value of the output of the operational amplifier 92, is output. Therefore, in the case of Vofop>0, the determination signal is the high-output voltage. In the case of Vofop<0, the determination signal is the low-output voltage. When the control unit 80 detects that the determination signal is the high-output voltage, s21 and s24 of the third crossbar switch 93 are connected and s22 and s23 of the third crossbar switch 93 are connected. When the control unit 80 detects the low-output voltage, the processing shifts to the offset measurement processing without changing the connection of the third crossbar switch 93.


In the offset measurement processing, a6 and b6 of SW5 are connected and a5 and b5 of SW4 are connected. After SW1 is set in the disconnected state, SW3 is set in the connected state and thereafter set in the disconnected state. Thereafter, the charge accumulation step and the comparison step are repeated until the output of the operational amplifier 92 changes. In the following explanation, Vofop>0, that is, s21 and s24 of the third crossbar switch 93 are connected and s22 and s23 of the third crossbar switch 93 are connected (equivalent to FIG. 9(b)).


In the charge accumulation step, SW1 is set in the connected state in a period of the predetermined time Δt and, thereafter, SW1 is set in the disconnected state. When viewed from the current source 91, the capacitor Co and the parasitic capacitance Cp2 are connected in parallel. Therefore, charges supplied from the current source in the period of the predetermined time Δt are accumulated such that voltages generated in Co and Cp2 are the same. When voltages by charges accumulated in Co and Cp2 before and after SW1 is set in the connected state in the period of the predetermined time Δt (hereinafter described as voltages of Co) are respectively represented as Vo,0 and Vo,1, the following expression is obtained from charges Δt·Io supplied from the current source in the period of the predetermined time Δt and the charge conservation.






Formula





136












(

Co
+

Cp





2


)


Vo

,

1
=


(

Co
+

Cp





2


)


Vo


,

0
+

Δ





t





Io









Vo
,

1
=
Vo

,

0
+


Δ





t





Io


Co
+

Cp





2









(
210
)







Subsequently, in the comparison step, the output of the operational amplifier 92 is monitored by the control unit 80. The positive input of the operational amplifier 92 is equivalently Vref+Vofop. If the negative input, which is the voltage of Co, is large, the output of the operational amplifier 92 is the low-output voltage. If the negative input is small, the output of the operational amplifier 92 is the high-output voltage. When the output of the operational amplifier 92 is the high-output voltage, the processing shifts to the charge accumulation step.


In the case of Vofop>0, the charge accumulation step and the comparison step are repeated until the output of the operational amplifier 92 changes from the high-output voltage of the first output to the low-output voltage. Since the voltage of Co is represented by an arithmetical series according to Expression (210), a voltage Vo,k of Co at the time when the charge accumulation step and the comparison step are repeated k times is the following expression.






Formula





137









Vo
,

k
=


k



Δ





t





Io


Co
+

Cp





2




+
Vo


,

0
=


k





VGi

+
Vo


,
0




(
211
)






VGi
=


Δ





t





Io


Co
+

Cp





2







(
212
)







In the offset measurement processing, since SW3 is set in the connected state first, Vo,0 is Vref. A relation between the negative input voltage Vo,k and the number of times of integration k with respect to the positive input voltage Vref+Vofop of the operational amplifier 92 is shown in FIG. 10. Vo,k increases and approaches Vref+Vofop as the number of times of integration increases. When the number of times of integration in which the output of the operational amplifier 92 changes from the high-output voltage of the first output to the low-output voltage is represented as ke+1, ke is defined as the number of times of offset integration. The following expression holds when the positive and negative inputs of the operational amplifier 92 are equal.

Formula 138
Vref+Vofop=(ke+δke)VGi+Vref  (213)


In expression (213), δke is a real number equal to or larger than 0 and smaller than 1. VGiδke represents a difference between Vref+Vofop and a voltage of Co at the time of the number of times of integration ke.


In the integration unit measurement processing in the case of Vofop>0, a6 and b6 of SW5 are connected, s5 and b5 of SW4 are connected, and SW3 is set in the disconnected state. First, a first number of times of integration is measured in a state in which s21 and s24 of the third crossbar switch 93 are connected and s22 and s23 of the third crossbar switch 93 are connected. Subsequently, a second number of times of integration is measured in a state in which s21 and s23 of the third crossbar switch 93 are connected and s22 and s24 of the third crossbar switch 93 are connected. In the measurement of the first number of times of integration and the second number of times of integration, the charge accumulation step and the comparison step are repeatedly executed.


After SW1 is set in the disconnected state, SW2 is set in the connected state and the charges accumulated in Co are reset. Thereafter, in the charge accumulation step, SW1 is set in the connected state in the period of the predetermined time Δt. Thereafter, SW1 is set in the disconnected state. When respective voltages of Co before and after SW1 is set in the connected state in the period of the predetermined time Δt are represented as Vo,0 and Vo,1, the following relational expression is obtained.






Formula





139












(

Co
+

Cp





2


)


Vo

,

1
=


(

Co
+

Cp





2


)


Vo


,

0
+

Δ





t





Io









Vo
,

1
=
Vo

,

0
+


Δ





t





Io


Co
+

Cp





2









(
214
)







In the comparison step, the output of the operational amplifier 92 is monitored by the control/processing unit. The charge accumulation step and the comparison step are repeated until the output of the operational amplifier 92 changes from the first high-output voltage to the low-output voltage. An output of the operational amplifier 92 at the time when the charge accumulation step and the comparative step are repeated k times is the same as Expression (211). When the number of times of integration in which the output of the operational amplifier 92 changes from the high-output voltage of the first output to the low-output voltage is represented as kf1+1, the kf1 is a first number of times of integration. The following equation holds about the first number of times of integration.

Formula 140
Vref+Vofop=(kf1+δkf1)VGi  (215)


In Expression (215), δkf1 is a real number equal to or larger than 0 and smaller than 1. VGiδkf1 represents a difference between Vref+Vofop and a voltage of Co at the time of the number of times of integration kf1.


After the first number of times of integration is obtained, s21 and s23 of the crossbar switch 2 are connected and s22 and s24 of the crossbar switch 2 are connected and, after SW1 is set in the disconnected state, SW2 is set in the connected state to reset the charges accumulated in Co. Thereafter, the charge accumulation step and the comparison step are repeatedly executed until the second integration unit voltage is obtained. The first output of the operational amplifier 92 in this state is the low-output voltage.


Since the connection of s21 and s23 of the third crossbar switch 93 and the connection of s22 and s24 of the third crossbar switch 93 are equivalent to the equivalent circuit shown in FIG. 9(a), Co and Cp1 are connected in parallel. In the charge accumulation step, SW1 is set in the connected state in the period of the predetermined time Δt. Thereafter, SW1 is set in the disconnected state. A relational expression between the voltages Vo,0 and Vo,1 before and after SW1 is set in the connected state in the period of the predetermined time Δt is an expression in which Cp2 of Expression (210) is replaced with Cp1.






Formula





141









Vo
,

1
=
Vo

,

0
+


Δ





t





Io


Co
+

Cp





1








(
216
)







In the comparison step, the output of the operational amplifier 92 is monitored by the control unit 80. The charge accumulation step and the comparison step are repeatedly executed until the output of the operational amplifier 92 changes from the first low-output voltage to the high-output voltage. A voltage of Co at the time when the charge accumulation step and the comparison step are repeated k times is represented by the following expressions because Vo,0 is zero.






Formula





142









Vo
,

k
=


k



Δ





t





Io


Co
+

Cp





1




=

k





VGj







(
217
)






VGj
=


Δ





t





Io


Co
+

Cp





1







(
218
)







When the number of times of integration in which, in the comparison step, the output of the operational amplifier 92 changes from the low-output voltage of the first output to the high-output voltage is represented as kf2+1, kf2 is a second number of times of integration. The following equation holds about the second number of times of integration.

Formula 143
Vref=(kf2+δkf2)VGj+Vofop  (219)


In Expression (219), δkf2 is a real number equal to or larger than 0 and smaller than 1. VGjδkf2 represents a difference between Vref and a sum of a voltage of Co at the time of the number of times of integration kf2 and Vofop.


In the buffer gain calibration processing, a6 and c6 of SW5 are connected, a5 and c5 of SW4 are connected, and SW3 is set in the disconnected state. Further, s21 and s23 of the crossbar switch 2 are connected and s22 and s24 of the crossbar switch 2 are connected. An equivalent circuit of the operational amplifier in this case is shown in FIG. 11. When a gain of the operational amplifier 92 is represented as A, a relational expression between the output Vop of the operational amplifier 92 and the positive input Vo of the operational amplifier 92 is as follows.






Formula





144









Vop
=

A


(

Vo
+
Vofop
-
Vop

)






(
220
)







Vop
=



A

A
+
1




(

Vo
+
Vofop

)


=

Ae


(

Vo
+
Vofop

)










Ae
=

A

A
+
1







(
221
)







In the buffer gain calibration processing, the charge accumulation step and the comparison step are repeatedly carried out to calculate the number of times of integration in which the determination signal is output in the state in which s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected and the number of times of integration in which the determination signal is output in the state in which s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected.


After SW1 is set in the disconnected state first, SW2 is set in the connected state to reset the charges accumulated in Co. Thereafter, SW2 is set in the disconnected state to execute the charge accumulation step.


In the charge accumulation step, SW1 is set in the connected state in the period of the predetermined time Δt. Thereafter, SW1 is set in the disconnected state. When voltages of Co before and after SW1 is set in the connected state in the period of the predetermined time Δt are respectively represented as Vo,0 and Vo,1, a relational expression of Expression (216) is obtained. The voltage Vo,k of the capacitor Co at the time when this is repeated k times is represented by Expression (217). Therefore, the output Vop,k of the operational amplifier 92 is represented by the following expression according to Expression (220).

Formula 145
Vop,k=Ae(kVGj+Vofop)  (222)


In the comparison step, the determination signal of the determiner 32 is monitored by the control unit 80 in the state in which s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected and the state in which s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected.


In the state in which s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected, the output of the operational amplifier is connected to the positive input of the determiner 32 and Vref is connected to the negative input of the determiner 32. A voltage Vop,k+Vofc obtained by adding the offset voltage Vofc of the determiner 32 to the positive input voltage Vop,k of the determiner 32 in the state in which s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected and the negative input voltage Vref are compared by the determiner 32. When the number of times Vop,k+Vofc becomes larger than Vref for the first time and the determination signal is detected is represented as kj1+1, kj1 is defined as a first number of times of gain calibration integration. The following equation holds about the first number of times of gain calibration integration kj1.

[Formula 146]
Vref=Ae{(kj1+δkj1)VGj+Vofop}+Vofc  (223)


In Expression (223), δkj1 is a real number equal to or larger than 0 and smaller than 1. VGjδkj1 represents a difference between Vref and an output of the operational amplifier 92 at the time of the number of times of integration kj1 and the offset voltage of the determiner 32.


In the state in which s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected, Vref is connected to the positive input of the determiner 32 and the output of the operational amplifier 92 is connected to the negative input of the determiner 32. The charge accumulation step and the comparison step are repeated. In the state in which s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected, when the number of times the determination signal is detected for the first time is represented as kj2+1, kj2 is defined as a second number of times of gain calibration integration. The following equation holds about the second number of times of gain calibration integration kj2.

Formula 147
Ae{(kj2+δkj2)VGj+Vofop}=Vref+Vofc  (224)


In Expression (224), the left side is a negative input voltage of the determiner 32 and the right side is a voltage obtained by adding the offset voltage of the determiner to a positive input voltage. δkj2 is a real number equal to or larger than 0 and smaller than 1.


In the output state, since a voltage represented by Expression (222) is output from the operational amplifier 92, after measurement by the first and second numbers of times of gain calibration integration is completed, calibration values of VGj, Vofop, and Ae are determined. To simplify expression expansion, it is assumed that Ke=ke+δke, Kf1=kf1+δkf1, Kf2=kf2+δkf2, Kj1=kj1+δkj1, and Kj2=kj2+δkj2. The following expression is obtained from Expression (213).






Formula





148









VGi
=

Vofop
Ke





(
225
)







Expression (225) is substituted in Expression (215) to obtain the following expression.






Formula





149











Vref
+
Vofop

=

Kf





1


Vofop
Ke









Vofop
=


Ke


Kf





1

-
Ke



Vref






(
226
)







The following expression is obtained from Expression (219).






Formula





150










Vref
=


Kf





2

VGj

+
Vofop








VGj
=


Vref
-
Vofop


Kf





2







(
227
)







A difference between Expression (223) and Expression (224) is calculated to obtain the following expression.






Formula





151











Vref
-

Ae


(


Kj





2

VGj

+
Vofop

)



=


Ae


(


Kj





1





VGj

+
Vofop

)


+
Vofc
-
Vref
-
Vofc









Ae


{



(


Kj





1

+

Kj





2


)


VGj

+

2

Vofop


}


=
Vref







Ae
=

Vref



(


Kj





1

+

Kj





2


)


VGj

+

2

Vofop








(
228
)







A method of removing unknown real numbers δke, δkf1, δkf2, δkj1, and δkj2 included in VGj, Vofop, and Ae and determining calibration values of VGj, Vofop, and Ae is explained below. Expression (226) is partially differentiated about δke and δkf1 to obtain the following expressions.











Formula





152













Vofop




(

δ





ke

)



=




1


Kf





1

-
Ke



Vref

+


Ke


(


Kf





1

-
Ke

)

2



Vref


=




Kf





1



(


Kf





1

-
Ke

)

2



Vref

>
0






(
229
)














Vofop




(

δ





kf





1

)



=



-

Ke


(


Kf





1

-
Ke

)

2




Vref

<
0






(
230
)







According to Expression (229) and Expression (230), Vofop monotonously decreases with respect to δkf1 and monotonously increases with respect to δke. Accordingly, a range of Vofop is represented by the following expression.






Formula





153











ke


kf





1

-
ke
+
1



Vref

<
Vofop
<



ke
+
1



kf





1

-
ke
-
1



Vref





(
231
)







If a calibration value of Vofop is set to Vofopc represented by Expression (232), which is the median of a range of Expression (231), the calibration value of Vofop can be derived at accuracy lower than ΔVofop represented by Expression (233).






Formula





154









Vofopc
=




ke
+
1


2


(


kf





1

-
ke
-
1

)




Vref

+


ke

2


(


kf





1

-
ke
+
1

)




Vref






(
232
)







Δ





Vofop

=




ke
+
1


2


(


kf





1

-
ke
-
1

)




Vref

-


ke

2


(


kf





1

-
ke
+
1

)




Vref






(
233
)







Expression (227) is partially differentiated about δke, δkf1, and δkf2 to obtain the following expressions.






Formula





155












VGj




(

δ





ke

)



=


-



Vofop




(

δ





ke

)




<
0





(
234
)









VGj




(

δ





kf





1

)



=


-



Vofop




(

δ





kf





1

)




>
0





(
235
)









VGj




(

δ





kf





2

)



=


-


Vref
-
Vofop


Kf






2
2




<
0





(
236
)







According to Expression (234), Expression (235), and Expression (236), VGj monotonously decreases with respect to δke and δkf2 and monotonously increases with respect to δkf1. Expression (226) is substituted in Expression (227) to obtain the following expression. A range of VGj is represented by Expression (237).






Formula





156










VGj
=



Vref
-
Vofop


Kf





2


=



Vref

Kf





2




(

1
-

Ke


Kf





1

-
Ke



)


=




Kf





1

-

2

Ke



Kf





2


(


Kf





1

-
Ke

)




Vref














kf





1

-

2

ke

-
2



(


kf





2

+
1

)



(


kf





1

-
ke
-
1

)




Vref

<
VGj
<




kf





1

-

2

ke

+
1


kf





2


(


kf





1

-
ke
+
1

)




Vref






(
237
)







If a calibration value of VGj is set to VGjc represented by Expression (238), which is the median of a range of Expression (237), the calibration value of VGj can be derived at accuracy lower than ΔVGj represented by Expression (239).











Formula





157










VGjc
=





kf





1

-

2

ke

+
1


2

kf





2


(


kf





1

-
ke
+
1

)




Vref

+




kf





1

-

2

ke

-
1


2


(


kf





2

+
1

)



(


kf





1

-
ke
-
1

)




Vref






(
238
)







Δ





VGj

=





kf





1

-

2

ke

+
1


2

kf





2


(


kf





1

-
ke
+
1

)




Vref

-




kf





1

-

2

ke

-
1


2


(


kf





2

+
1

)



(


kf





1

-
ke
-
1

)




Vref






(
239
)







Expression (229) is partially differentiated about δke, δkf1, δkf2, δkj1, and δkj2 to obtain the following expression.






Formula





158















Ae




(

δ





ke

)





=











(


Kj





1

+

Kj





2


)


Vref



{



(


Kj





1

+

Kj





2


)


VGj

+

2

Vofop


}

2






Vgj




(

δ





ke

)




-















2

Vref



{



(


Kj





1

+

Kj





2


)


VGj

+

2

Vofop


}

2






Vofop




(

δ





ke

)











=











(


Kj





1

+

Kj





2


)

-
2


{

(


Kj





1

+

Kj





2



(

VGj
+

2

Vofop


}

2







Vref




Vofop




(

δ





ke

)




>
0








(
240
)









Ae




(

δ





kf





1

)



=





(


Kj





1

+

Kj





2


)

-
2



{



(


Kj





1

+

Kj





2


)


VGj

+

2

Vofop


}

2



Vref




Vofop




(

δ





kf





1

)




<
0





(
241
)









Ae




(

δ





kf





2

)



=



-



(


Kj





1

+

Kj





2


)


Vref



{



(


Kj





1

+

Kj





2


)


VGj

+

2

Vofop


}

2







VGj




(

δ





kf





2

)




>
0





(
242
)









Ae




(

δ





kj





1

)



=



-

VGj


{



(


Kj





1

+

Kj





2


)


VGj

+

2

Vofop


}

2




Vref

<
0





(
243
)









Ae




(

δ





kj





2

)



=



-

VGj


{



(


Kj





1

+

Kj





2


)


VGj

+

2

Vofop


}

2




Vref

<
0





(
244
)







According to Expression (240), Expression (241), Expression (242), Expression (243), and Expression (244) Ae monotonously decreases with respect to δkf1, δkj1, and δkj2 and monotonously increases with respect to δke and δkf2. Expression (226) and Expression (227) are substituted in Expression (228) to obtain the following expression. A range of Ae is represented by Expression (245).











Formula





159











Ae
=


Vref



(


Kj





1

+

Kj





2


)


VGj

+

2

Vofop



=


1



(


Kj





1

+

Kj





2


)





Kf





1

-

2

Ke



Kf





2


(


Kf





1

-
Ke

)




+

2


Ke


Kf





1

-
Ke





=


Kf





2


(


Kf





1

-
Ke

)





(


Kj





1

+

Kj





2


)



(


Kf





1

-

2

Ke


)


+

KeKf





2














kf





2


(


kf





1

-
ke
+
1

)





(


kj





1

+

kj





2

+
2

)



(


kf





1

-

2

ke

+
1

)


+

2

kckf





2



<
Ae
<





(


kf





2

+
1

)


9

kf





1

-
ke
-
1

)




(


kj





1

+

kj





2


)



(


kf





1

-

2

ke

-
2

)


+

2


(

ke
+
1

)



(


kf





2

+
1

)









(
245
)







If a calibration value of Ae is set to Aec represented by Expression (246), which is the median of a range of Expression (245), the calibration value of Ae can be derived at accuracy lower than ΔAe represented by Expression (247).











Formula





160










Aec
=



1
2





(


kf





2

+
1

)



(


kf





1

-
ke
-
1

)





(


kj





1

+

kj





2


)



(


kf





1

-

2

ke

-
2

)


+

2


(

ke
+
1

)



(


kf





2

+
1

)





+


1
2




kf





2


(


kf





1

-
ke
+
1

)





(


kj





1

+

kj





2

+
2

)



(


kf





1

-

2

ke

+
1

)


+

kekf





2









(
246
)







Δ





Ae

=



1
2





(


kf





2

+
1

)



(


kf





1

-
ke
-
1

)





(


kj





1

+

kj





2


)



(


kf





1

-

2

ke

-
2

)


+

2


(

ke
+
1

)



(


kf





2

+
1

)





-


1
2




kf





2


(


kf





1

-
ke
+
1

)





(


kj





1

+

kj





2

+
2

)



(


kf





1

-

2

ke

+
1

)


+

kekf





2









(
247
)







Consequently, in this embodiment, in the calibration state, a measuring instrument serving as a reference for calibration is unnecessary on the outside of a sensor node even after sensor circuit setting. Calibration values of the offset voltage Vofop, the integration unit voltage VGj, and the buffer gain Ae of the operational amplifier 92 can be derived at predetermined accuracy.


When the processing explained above is completed, the control unit 80 outputs the calibration values of the offset voltage Vofop, the integration unit voltage VGj, and the buffer gain Ae of the operational amplifier 92 as correction data.


In the above explanation, Vofop>0. However, the configuration of VGj, Vofopb, and Ae are possible even when Vofop<0.


When it is determined Vofop<0 in the offset polarity determination processing, the processing shifts to the offset measurement processing while s21 and s23 of the third crossbar switch 93 and s22 and s24 of the third crossbar switch 93 are kept connected.


In the offset measurement processing, connection of the switches other than the third crossbar switch 93 is the same as that in the case of Vofop>0. Therefore, explanation about the connection is omitted.


The state in which s21 and s23 of the third crossbar switch 93 are connected and s22 and s24 of the third crossbar switch 93 are connected is equivalent to FIG. 9(a). Therefore, parasitic capacitance is Cp1. Accordingly, the voltage Vo,k of Co at the time when the charge accumulation step and the comparison step are repeated k times is the following expression in which Cp2 of Expression (211) is replaced with Cp1.






Formula





161









Vo
,

k
=


k



Δ





t





Io


Co
+

Cp





1




+
Vo


,

0
=


k





VGj

+
Vo


,
0




(
248
)







In the offset measurement processing, since SW3 is set in the connection state first and thereafter set in the disconnected state, Vo,0=Vref. In a state in which the s21 and s23 of the third crossbar switch 93 are connected and s22 and s24 of the third crossbar switch 93 are connected, Vo,k is input to the positive input of the operational amplifier 92. Vo,k+Vofop and the negative input Vref are equivalently compared. Vo,k increases and approaches Vref as the number of times of integration increases. When the number of times of integration in which the output of the operational amplifier 92 changes from the low-output voltage of the first output to the high-output voltage is represented as ke+1, ke is defined as the number of offset integration. The following expression holds when the positive and negative inputs of the operational amplifier 92 are equal.

Formula 162
Vref=(ke+δke)VGj+Vref+Vofop  (249)


In Expression (249), δke is a real number equal to or larger than 0 and smaller than 1. VGjδke represents a difference between a sum of a voltage of Co at the time of the number of times of integration ke and Vofop and Vref.


In the integration unit measurement processing in the case of Vofop<0, the charge accumulation step and the comparison step are repeatedly executed to measure a first number of times of integration in the state in which s21 and s23 of the third crossbar switch 93 are connected and s22 and s24 of the third crossbar switch 93 are connected. Connection of SW5, SW4, and SW3 is the same as that in the case of Vofop>0. Since the voltage of Co is input to the positive input of the operational amplifier 92 and Vref is input to the negative input of the operational amplifier 92, when the charges of Co are reset, the low-output voltage is output as the output of the operational amplifier 92.


Since the operations of SW1 and SW2 are also the same as the operations in the case of Vofop>0, explanation of detailed operations is omitted. A voltage of Co at the time when the charge accumulation step and the charge comparison step are repeated k times is Expression (217). When the number of times of integration in which the output of the operational amplifier 92 changes from the low-output voltage of the first output to the high-output voltage is represented as kf1+1, kf1 is a first number of times of integration. The following equation holds about the first number of times of integration.

Formula 163
Vref=(kf1+δkf1)VGj+Vofop  (250)


In Expression (250), δkf1 is a real number equal to or larger than 0 and smaller than 1. VGjδkf1 represents a difference between a sum of a voltage of Co at the time of the number of times of integration kf1 and Vofop and Vref.


The operation of the buffer gain calibration processing is the same as the operation in the case of Vofop>0. Therefore, explanation of the operation is omitted.


In the output state, the voltage represented by Expression (222) is output from the operational amplifier 92. After measurement by the first and second numbers of times of gain calibration integration is completed, calibration values of VGj, Vofop, and Ae are determined. To simplify expression expansion, it is assumed that Ke=ke+δke, Kf1=kf1+δkf1, Kj1=kj1+δkj1, and K2j=kj2+δkj2. A difference between Expression (250) and


Expression (249) is calculated to obtain the following expression.






Formula





164










0
=



(


Kf





1

-
Ke

)


VGj

-
Vref








VGj
=

Vref


Kf





1

-
Ke







(
251
)







Expression (251) is substituted in Expression (249) to obtain the following expression.






Formula





165










0
=


Ke





VGj

+
Vofop








Vofop
=



-
Ke



Kf





1

-
Ke



Vref






(
252
)







Ae is the same as that in the case of Vofop>0 and is represented by Expression (228). In the following explanation, a method of determining calibration values of VGj, Vofop, and Ae is explained. Expression (226) is partially differentiated about δke and δkf1 to obtain the following expression.











Formula





166













Vofop




(

δ





ke

)



=





-
1



Kf





1

-
Ke



Vref

-


Ke


(


Kf





1

-
Ke

)

2



Vref


=





-
Kf






1



(


Kf





1

-
Ke

)

2



Vref

<
0






(
253
)














Vofop




(

δ





kf





1

)



=



Ke


(


Kf





1

-
Ke

)

2



Vref

>
0






(
254
)







According to Expression (223) and Expression (224), Vofop monotonously decreases with respect to δke and monotonously increases with respect to δkf1. Accordingly, a range of Vofop is represented by the following expression.






Formula





167













-
ke

-
1



kf





1

-
ke
-
1



Vref

<
Vofop
<



-
ke



kf





1

-
ke
+
1



Vref





(
255
)







If a calibration value of Vofop is set to Vofopc represented by Expression (256), which is the median of a range of Expression (255), the calibration value of Vofop can be derived at accuracy lower than ΔVofop represented by Expression (257).






Formula





168









Vofopc
=




-
ke


2


(


kf





1

-
ke
+
1

)




Vref

+




-
ke

-
1


2


(


kf





1

-
ke
-
1

)




Vref






(
256
)







Δ





Vofop

=




-
ke


2


(


kf





1

-
ke
+
1

)




Vref

-




-
ke

-
1


2


(


kf





1

-
ke
-
1

)




Vref






(
257
)







Expression (251) is partially differentiated about δke and δk+1 to obtain the following expression.






Formula





169












VGj




(

δ





ke

)



=


Vref


(


Kf





1

-
Ke

)

2


>
0





(
258
)









VGj




(

δ





ke

)



=


-

Vref


(


Kf





1

-
Ke

)

2



<
0





(
259
)







According to Expression (258) and Expression (259), VGj monotonously decreases with respect to δkf1 and monotonously increases with respect to δke. Accordingly, a range of VGj is represented by Expression (260).






Formula





170










Vref


kf





1

-
ke
+
1


<
VGj
<

Vref


kf





1

-
ke
-
1






(
260
)







If a calibration value of VGj is set to VGjc represented by Expression (261), which is the median of a range of Expression (260), the calibration value of VGj can be derived at accuracy lower than ΔVGj represented by Expression (262).






Formula





171









VGjc
=


Vref

2


(


kf





1

-
ke
-
1

)



+

CVref

2


(


kf





1

-
ke
+
1

)








(
261
)







Δ





VGj

=


Vref

2


(


kf





1

-
ke
-
1

)



-

CVref

2


(


kf





1

-
ke
+
1

)








(
262
)







Expression (228) is partially differentiated about δkf1 to obtain the following expression.











Formula





172
















Ac




(

δ





kf





1

)





=









-



(


Kj





1

+

Kj





2


)


Vref



{



(


Kj





1

+

Kj





2


)


VGj

+

2

Vofop


}

2







VGj




(

δ





kf





1

)




-















2

Vref



{



(


Kj





1

+

Kj





2


)


VGj

+

2

Vofop


}

2






Vofop




(

δ





kf





1

)











=








Vref


{



(


Kj





1

+

Kj





2


)


VGj

+

2

Vofop


}

2




{




Kj





1

+

Kj





2




(


Kf





1

-
Ke

)

2


-
















2

Ke



(


Kf





1

-
Ke

)

2


}







=









Vref


{



(


Kj





1

+

Kj





2


)


VGj

+

2

Vofop


}

2






Kj





1

+

Kj





2

-

2

Ke




(


Kf





1

-
Ke

)

2



>
0








(
263
)







Expressions obtained by partially differentiating Expression (228) about δkj1 and δkj2 are Expression (243) and Expression (244). According to Expression (263), Expression (243), and Expression (244), Ae monotonously decreases with respect to δkj1 and δkj2 and monotonously increases with respect to kf1. Expression (251) and Expression (252) are substituted in Expression (228) to obtain the following expression. When an expression obtained by partially differentiating Expression (228) about δke is positive, a range of Ae is represented by Expression (264).











Formula





173











Ae
=


Vref



(


Kj





1

+

Kj





2


)


VGj

+

2

Vofop



=


1



(


Kj





1

+

Kj





2


)



1


Kf





1

-
Ke



+

2



-
Ke



Kf





1

-
Ke





=



Kf





1

-
Ke



(


Kj





1

-

Kj





2


)

-

2

Ke



















kf





1

-
ke



(


kj





1

+

kj





2

+
2

)

-

2

ke



<
Ae
<



kf





1

-
ke



(


kj





1

+

kj





2


)

-

2


(

ke
+
1

)









(
264
)







If a calibration value of Ae is set to Aec represented by Expression (265), which is the median of a range of Expression (264), the calibration value of Ae can be derived at accuracy lower than ΔAe represented by Expression (266).






Formula





174









Aec
=



1
2





kf





1

-
ke



(


kj





1

+

kj





2


)

-

2


(

ke
+
1

)





+


1
2





kf





1

-
ke



(


kj





1

+

kj





2

+
2

)

-

2

ke









(
265
)







Δ





Ae

=



1
2





kf





1

-
ke



(


kj





1

+

kj





2


)

-

2


(

ke
+
1

)





-


1
2





kf





1

-
ke



(


kj





1

+

kj





2

+
2

)

-

2

ke









(
266
)







When an expression obtained by partially differentiating Expression (228) about δke is negative, the range of Ae is represented by Expression (267).






Formula





175












kf





1

-
ke
-
1



(


kj





1

+

kj





2

+
2

)

-

2


(

ke
+
1

)




<
Ae
<



kf





1

-
ke
+
1



(


kj





1

+

kj





2


)

-

2

ke







(
267
)







If a calibration value of Ae is set to Aec represented by Expression (268), which is the median of a range of Expression (267), the calibration value of Ae can be derived at accuracy lower than ΔAe represented by Expression (269).






Formula





176









Aec
=



1
2





kf





1

-
ke



(


kj





1

+

kj





2


)

-

2


(

ke
+
1

)





+


1
2





kf





1

-
ke



(


kj





1

+

kj





2

+
2

)

-

2

ke









(
268
)







Δ





Ae

=



1
2





kf





1

-
ke



(


kj





1

+

kj





2


)

-

2


(

ke
+
1

)





-


1
2





kf





1

-
ke



(


kj





1

+

kj





2

+
2

)

-

2

ke









(
269
)







Consequently, even in the case of Vofop<0, in the calibration state, a measuring instrument serving as a reference for calibration is unnecessary on the outside of a sensor node even after sensor circuit setting. It is possible to derive, at predetermined accuracy, calibration values of the offset voltage Vofop, the integration unit voltage VGj, and the buffer gain Ae of the operational amplifier 92.


When the processing explained above is completed, the control unit 80 outputs the calibration values of the offset voltage Vofop, the integration unit voltage VGj, and the buffer gain Ae of the operational amplifier 92 as calibration data.


When the sensor circuit is calibrated, the variable reference voltage source 400 is set in an output state. A voltage set by setting data including the number of times of integration k is output. In the output state, after the setting data is acquired by the control unit 80, charges accumulated in Co are initialized by closing SW2. Subsequently, SW2 is opened and the accumulation step and the comparison step are repeatedly executed by the number of times of integration of k. When the accumulation step and the comparison step for the number of times of integration are completed, the control/processing unit outputs calibration data representing the completion.


A voltage output from the variable reference voltage source 400 can be treated as a known voltage because the voltage can be derived from Expression (222) using the calibration values of VGj, Vofopb, and Ae derived in the calibration state. Therefore, the known voltage output from the variable reference voltage source 400 is input to the amplifier and the AD converter of the sensor circuit. It is possible to calibrate an offset and a gain of the amplifier and an offset of the AD converter from a correlation with the output.


A measuring instrument serving as a reference for calibration is unnecessary on the outside of a sensor node even after sensor circuit setting. Calibration values of the offset and the integration unit voltage can be calculated at predetermined accuracy according to a calibration state of the variable reference voltage source 400 in this embodiment. Therefore, it is possible to perform calibration of the sensor circuit even if the offset and the integration unit voltage change because of a change with time.


In the derivation of the calibration value of Ae in the second embodiment explained above, the number of times of offset integration ke, the first number of times of integration kf1, and the second number of times of integration kf2 are substituted in Expression (246), Expression (265), or Expression (268). Besides this method, it is also possible to substitute derived VGjc and Vofopc respectively in VGj and Vofop of Expression (228) to derive Ae.


In this case, according to Expression (243) and Expression (244) partially differentiated about δkj1 and δkj2 of Expression (228), a range of Ae is Expression (270).











Formula





177











Vref



(


kj





1

+

kj





2

+
2

)


VGjc

+

2

Vofopc



<
Ae


Vref



(


kj





1

+

kj





2


)


VGjc

+

2

Vofopc







(
270
)







If a calibration value of Ae is set to Aec represented by Expression (271), which is the median of a range of Expression (270), the calibration value of Ae can be derived at accuracy lower than ΔAe represented by Expression (272).











Formula





178










Aec
=



1
2



Vref



(


kj





1

+

kj





2

+
2

)


VGjc

+

2

Vofopc




+


1
2



Vref



(


kj





1

+

kj





2

+
2

)


VGjc

+

2

Vofopc









(
271
)







Δ





Ae

=



1
2



Vref



(


kj





1

+

kj





2

+
2

)


VGjc

+

2

Vofopc




-


1
2



Vref



(


kj





1

+

kj





2

+
2

)


VGjc

+

2

Vofopc









(
272
)







With this method, an expression for deriving the calibration value of Ae is only Expression (271) irrespective of a sign of Vofop. Derivation processing for Ae is simplified.


Second Configuration of the Second Embodiment

A second configuration of the integrated-voltage generating unit in the second embodiment according to the present invention is shown in FIG. 12. The integrated-voltage generating unit 90 shown in FIG. 12 is configured by the determiner 32 that has positive and negative inputs and determines that a positive input voltage exceeds a negative input voltage during a calibration state and outputs a determination signal, the first crossbar switch 31 used for measurement of an offset voltage of the determiner 32, the capacitor Co, the current source 91 that supplies charges to the capacitor Co, SW1 connected when the charges are supplied to the capacitor Co, SW2 that resets the charges accumulated in the capacitor Co, and SW3 connected when an offset of the determiner 32 is determined.


In the calibration state in this embodiment, processing is executed in the order of the offset polarity determination processing, the offset measurement processing, and the integration unit measurement processing to calibrate an offset voltage and an integration unit voltage of the determiner 32. An offset-polarity-determination processing unit 1110 of a calibration control unit 111 executes the offset polarity determination processing. An offset-measurement processing unit 1111 of the calibration control unit 111 executes the offset measurement processing. The integration-unit-measurement processing unit 213 of the calibration control unit 111 executes the integration unit measurement processing.


In the offset polarity determination processing, SW3 is set in the connected state and SW1 and SW2 are set in the disconnected state according to an operation control signal output from a control unit 110. Further, s11 and s13 of the crossbar switch 1 are connected and s12 and s14 of the crossbar switch 1 are connected.


When an offset voltage of the determiner 32 is represented as Vofc, Vref+Vofc is equivalently input to the positive input of the determiner 32 and Vref is input to the negative input of the determiner 32. Accordingly, in the case of Vofc>0, a high-output voltage, which is a maximum value of the output of the determiner 32, is output. In the case of Vofc<0, a low-output voltage, which is a minimum value of the output of the determiner 32, is output. Therefore, in the case of Vofc>0, the determination signal is the high-output voltage. In the case of Vofc<0, the determination signal is the low-output voltage. When the control unit 110 detects that the determination signal is the high-output voltage, s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected. When the control unit 110 detects the low-output voltage, the processing shifts to the offset measurement processing without changing the connection of the first crossbar switch 31.


In the offset measurement processing, after SW1 is set in the disconnected state, SW3 is set in the connected state and thereafter set in the disconnected state. Thereafter, the charge accumulation step and the comparison step are repeated until the output of the determiner 32 changes. In the following explanation, Vofc>0, that is, s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected.


In this configuration example, the determiner 32 is represented by the same circuit model as the circuit model of the operational amplifier 92 in FIG. 9. The determiner 32 is an equivalent circuit in which Vofop of the operational amplifier 92 shown in FIG. 8 is replaced with Vofc. When s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected, the determiner 32 is an equivalent circuit in which the parasitic capacitance Cp2 is connected in parallel to Co as in FIG. 9(b). When s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected, the determiner 32 is an equivalent circuit in which the parasitic capacitance Cp1 is connected in parallel to Co as in FIG. 9(a).


In the charge accumulation step, SW1 is set in the connected state in the period of the predetermined time Δt and, thereafter, SW1 is set in the disconnected state. When viewed from the current source 91, the capacitor Co and the parasitic capacitance Cp2 are connected in parallel. Therefore, charges supplied from the current source in the period of the predetermined time Δt are accumulated such that voltages generated in Co and Cp2 are the same. When voltages of Co before and after SW1 is set in the connected state in the period of the predetermined time Δt as in the embodiment shown in FIG. 8 are respectively represented as Vo,0 and Vo,1, the following expression is obtained from charges Δt·Io supplied from the current source in the period of the predetermined time Δt and the charge conservation.






Formula





179












(

Co
+

Cp





2


)


Vo

,

1
=


(

Co
+

Cp





2


)


Vo


,

0
+

Δ





t





Io









Vo
,

1
=
Vo

,

0
+


Δ





t





Io


Co
+

Cp





2









(
273
)







Subsequently, in the comparison step, the output of the determiner 32 is monitored by the control unit 110. The positive input of the determiner 32 is equivalently Vref+Vofc. If the negative input, which is the voltage of Co, is large, the output of the determiner 32 is the low-output voltage. If the negative input is small, the output of the determiner 32 is the high-output voltage. When the output of the determiner 32 is the high-output voltage, the processing shifts to the charge accumulation step.


In the case of Vofc>0, the charge accumulation step and the comparison step are repeated until the output of the determiner changes from the high-output voltage of the first output to the low-output voltage. Since the output of Co is represented by an arithmetical series according to Expression (273), a voltage Vo,k of Co at the time when the charge accumulation step and the comparison step are repeated k times is the following expression.






Formula





180









Vo
,

k
=


k



Δ





t





Io


Co
+

Cp





2




+
Vo


,

0
=


k





VGi

+
Vo


,
0




(
274
)






VGi
=


Δ





t





Io


Co
+

Cp





2







(
275
)







In the offset measurement processing, since SW3 is set in the connected state first, Vo,0 is Vref. Vo,k increases and approaches Vref+Vofc as the number of times of integration increases. When the number of times of integration in which the output of the determiner 32 changes from the high-output voltage of the first output to the low-output voltage is represented as ke+1, ke is defined as the number of times of offset integration. The following expression holds when the positive and negative inputs of the determine 32 are equal.

Formula 181
Vref=Vofc=(ke+δke)VGi+Vref  (276)


In Expression (276), δke is a real number equal to or larger than 0 and smaller than 1. VGiδke represents a difference between Vref+Vofc and a voltage of Co at the time of number of times of integration ke.


In the integration unit measurement processing in the case of Vofc>0, SW3 is set in the disconnected state. First, a first number of times of integration is measured in the state in which the s11 and s14 of the first crossbar switch 31 are connected and s12 and s13 of the first crossbar switch 31 are connected. Subsequently, a second number of times of integration is measured in the state in which s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected. In the measurement of the first number of times of integration and the second number of times of integration, the charge accumulation step and the comparison step are repeatedly executed.


After SW1 is set in the disconnected state, SW2 is set in the connected state to reset the charges accumulated in Co. The operations in the charge accumulation step and the comparison step of the integration unit measurement processing in the case of Vofc>0 are the same as the operations of the offset measurement processing. Since the charges of Co are reset first, the voltage Vo,k of Co that repeats the charge accumulation step and the comparison step k times is represented by an expression Vo,0=0 in Expression (274).






Formula





182









Vo
,

k
=

k



Δ





t





Io


Co
+

Cp





2









(
27
)







When the number of times of integration in which the output of the determiner 32 changes from the high-output voltage of the first output to the low-output voltage is represented as kf1+1, the kf1 is a first number of times of integration. The following equation holds about the first number of times of integration.

Formula 183
Vref+Vofop=kf1+δkf1)VGi  (278)


In Expression (278), δkf1 is a real number equal to or larger than 0 and smaller than 1. VGiδkf1 represents a difference between Vref+Vofc and a voltage of Co at the time of the number of times of integration kf1.


After the first number of times of integration is obtained, s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected and, after, SW1 is set in the disconnected state, SW2 is set in the connected state to reset the charges accumulated in Co. Thereafter, the charge accumulation step and the comparison step are repeatedly executed until the second integration unit voltage is obtained. The output of the determiner 32 in this state is the low-output voltage at first.


In the charge accumulation step, SW1 is set in the connected state in the period of the predetermined time Δt. Thereafter, SW1 is set in the disconnected state. A relational expression between the voltages Vo,0 and Vo,1 before and after SW1 is set in the connected state in the period of the predetermined time Δt in the case in which the s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected is an expression in which Cp2 of Expression (273) is replaced with Cp1.






Formula





184









Vo
,

1
=
Vo

,

0
+


Δ





t





Io


Co
+

Cp





1








(
279
)







In the comparison step, the output of the determiner 32 is monitored by the control unit 110. The charge accumulation step and the comparison step are repeatedly executed until the output of the determiner 32 changes from the first low-output voltage to the high-output voltage. A voltage of Co at the time when the charge accumulation step and the comparison step are repeated k times is represented by the following expressions because Vo,0 is zero.






Formula





185









Vo
,

k
=


k



Δ





t





Io


Co
+

Cp





1




=

k





VGj







(
280
)






VGj
=


Δ





t





Io


Co
+

CP





1







(
281
)







When the number of times of integration in which, in the comparison step, the output of the determiner 32 changes from the low-output voltage of the first output to the high-output voltage is represented as kf2+1, kf2 is a second number of times of integration. The following equation holds about the second number of times of integration.

[Formula 186]
Vref=(kf2+δkf2)VGj+Vofop  (282)


In Expression (282), δkf2 is a real number equal to or larger than 0 and smaller than 1. VGjδkf2 represents a difference between Vref and a sum of a voltage of Co at the time of the number of times of integration kf2 and Vofc.


Thereafter, calibration values of VGj and Vofc are determined. To simplify expression expansion, it is assumed that Ke=ke+δke, Kf1=kf1+δkf1, and Kf2=kf2+δkf2. The following expression is obtained from Expression (276).






Formula





187









Vgi
=

Vofc
Ke





(
283
)







Expression (283) is substituted in Expression (278) to obtain the following expression.






Formula





188











Vref
+
Vofc

=

Kf





1


Vofc
Ke









Vofc
=


Ke


Kf





1

-
Ke



Vref






(
284
)







The following expression is obtained from Expression (282).






Formula





189










Vref
=


Kf





2





VGj

+
Vofc








VGj
=


Vref
-
Vofc


Kf





2







(
285
)







A method of determining calibration values of VGj and Vofc is explained below. Expression (218) is partially differentiated about δke and δkf1 to obtain the following expression.











Formula





190













Vofc




(

δ





kc

)



=




1

Kf






1
·
Ke




Vref

+


Ke


(


Kf





1

-
Ke

)

2



Vref


=




Kf





1



(


Kf





1

-
Ke

)

2



Vref

>
0






(
286
)














Vofc




(

δ





kf





1

)



=



-

Ke


(


Kf





1

-
Ke

)

2




Vref

<
0






(
287
)







According to Expression (286) and Expression (287), Vofc monotonously decreases with respect to δkf1 and monotonously increases with respect to δke. Accordingly, a range of Vofc is represented by the following expression.






Formula





191











ke


kf





1

-
ke
+
1



Vref

<
Vofc
<



ke
+
1



kf





1

-
ke
-
1



Vref





(
28
)







If a calibration value of Vofc is set to Vofcc represented by Expression (289), which is the median of a range of Expression (288), the calibration value of Vofc can be derived at accuracy lower than ΔVofc represented by Expression (290).






Formula





192









Vofcc
=




ke
+
1


1


(


kf





1

-
ke
-
1

)




Vref

+


ke

2


(


kf





1

-
ke
+
1

)




Vref






(
289
)







Δ





Vofc

=




ke
+
1


1


(


kf





1

-
ke
-
1

)




Vref

-


ke

2


(


kf





1

-
ke
+
1

)




Vref






(
290
)







Expression (285) is partially differentiated about δke, δkf1, and δkf2 to obtain the following expressions.






Formula





193












VGj




(

δ





ke

)



=


-



Vofop




(

δ





ke

)




<
0





(
291
)









VGj




(

δ





kf





1

)



=


-



Vofop




(

δ





kf





1

)




>
0





(
292
)









VGj




(

δ





kf





2

)



=


-


Vref
-
Vofop


Kf






2
2




<
0





(
293
)







According to Expression (291), Expression (292), and Expression (293), VGj monotonously decreases with respect to δke and δkf2 and monotonously increases with respect to δkf1. Expression (284) is substituted in Expression (285) to obtain the following expression. A range of VGj is represented by Expression (294).











Formula





194











VGj
=



Vref
-
Vofc


Kf





2


=



Vref

Kf





2




(

1
-

Ke


Kf





1

-
Ke



)


=




Kf





1

-

2

Ke



Kf





2


(


Kf





1

-
Ke

)




Vref














kf





1

-

2

ke

-
2



(


kf





2

+
1

)



(


kf





1

-
ke
-
1

)




Vref

<
VGj
<




kf





1

-

2

ke

+
1


kf





2


(


kf





1

-
ke
+
1

)




Vref






(
294
)







If a calibration value of VGj is set to VGjc represented by Expression (295), which is the median of a range of Expression (228), the calibration value of VGj can be derived at accuracy lower than ΔVGj represented by Expression (296).











Formula





195










VGjc
=





kf





1

-

2

ke

+
1


2

kf





2


(


kf





1

-
ke
+
1

)




Vref

+




kf





1

-

2

ke

-
2


2


(


kf





2

+
1

)



(


kf





1

-
ke
-
1

)




Vref






(
295
)







Δ





VGj

=





kf





1

-

2

ke

+
1


2

kf





2


(


kf





1

-
ke
+
1

)




Vref

-




kf





1

-

2

ke

-
2


2


(


kf





2

+
1

)



(


kf





1

-
ke
-
1

)




Vref






(
296
)







As explained above, even if the capacitance and the like forming the offset, the gain, and the integration unit voltage of the determiner 32 fluctuate because of a change with time, the calibration values of the offset Vofc and the integration unit voltage VGj of the determiner 32 can be derived at predetermined accuracy by the processing in the calibration state described above.


In the above explanation, Vofc>0. However, even when Vofc<0, calibration of VGj and Vofc is also possible.


When it is determined Vofc<0 in the offset polarity determination processing, the processing shifts to the offset measurement processing while the s11 and s13 of the first crossbar switch 31 are kept connected and s12 and s14 of the first crossbar switch 31 are kept connected.


In the offset measurement processing, connection of the switches other than the first crossbar switch 31 is the same as the connection in the case of Vofc>0. Therefore, explanation of the connection is omitted.


Parasitic capacitance is Cp1 in the state in which the s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected. The voltage Vo,k of Co at the time when the charge accumulation step and the comparison step are repeated k times is Expression (280).


In the offset measurement processing, since SW3 is set in the connected state first and thereafter set in the disconnected state, Vo,0=Vref. In the state in which the s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected, Vo,k is input to the positive input of the determiner 32. Vo,k+Vofop and the negative input Vref are equivalently compared. Vo,k increases and approaches Vref as the number of times of integration increases. When the number of times of integration in which the output of the determiner 32 changes from the low-output voltage of the first output to the high-output voltage is represented as ke+1, ke is defined as the number of times of offset integration. The following expression at the time when the positive and negative inputs of the determiner are equal holds.

Formula 196
Vref=(ke+δke)VGj+Vref+Vofc  (297)


In Expression (297), δke is a real number equal to or larger than 0 and smaller than 1. VGjδke represents a difference between Vref and a voltage of Co at the time of the number of times of integration ke.


In the integration unit measurement processing in the case of Vofc<0, the charge accumulation step and the comparison step are repeatedly executed to measure the first number of times of integration in the state in which the s11 and s13 of the first crossbar switch 31 are connected and s12 and s14 of the first crossbar switch 31 are connected. Connection of SW3 is the same as the connection in the case of Vofc>0. Since the voltage of Co is input to the positive input of the determiner 32 and Vref is input to the negative input of the determiner 32, when the charges of Co are reset, the low-output voltage is output as the output of the determiner 32.


The operations of SW1 and SW2 are also the same as the operations in the case of Vofc>0. Therefore, detailed explanation of the operations is omitted. The voltage Vo,k of Co at the time when the charge accumulation step and the comparison step are repeated k times is Expression (280). When the number of times of integration in which the output of the determiner 32 changes from the low-output voltage of the first output to the high-output voltage is represented as kf1+1, kf1 is the first number of times of integration. The following equation holds about the first number of times of integration.

Formula 197
Vref=(kf1+δkf1)VGj+Vofc  (298)


In Expression (298), δkf1 is a real number equal to or larger than 0 and smaller than 1. VGjδkf1 represents a difference between Vref and an output of the determiner at the time of the number of times of integration kf1.


In order to simplify expression expansion, it is assumed that Ke=ke+δke, Kf1=kf1+δkf1, Kj1=kj1+δkj1, and Kj2=kj2+δkj2. A difference between Expression (298) and Expression (297) is calculated to obtain the following expression.






Formula





198










0
=



(


Kf





1

-
Ke

)


VGj

-
Vref








VGj
=

Vref


Kf





1

-
Ke







(
299
)







Expression (299) is substituted in Expression (298) to obtain the following expression.






Formula





199










0
=


Ke





VGj

+
Vofc








Vofc
=



-
Ke



Kf





1

-
Ke



Vref






(
300
)







Expression (300) is partially differentiated about δke and δkf1 to obtain the following expression.











Formula





200













Vofc




(

δ





ke

)



=





-
1



Kf





1

-
KKe



Vref

-


Ke


(


Kf





1

-
Ke

)

2



Vref


=





-
Kf






1



(


Kf





1

-
Ke

)

2



Vref

<
0






(
301
)














Vofc




(

δ





kf





1

)



=



Ke


(


Kf





1

-
Ke

)

2



Vref

>
0






(
302
)







According to Expression (301) and Expression (302), Vofc monotonously decreases with respect to δke and monotonously increases with respect to δkf1. Accordingly, a range of Vofc is represented by the following expression.






Formula





201













-
ke

-
1



kf





1

-
ke
-
1



Vref

<
Vofc
<



-
ke



kf





1

-
ke
+
1



Vref





(
303
)







If a calibration value of Vofc is set to Vofcc represented by Expression (304), which is the median of a range of Expression (303), the calibration value of Vofop can be derived at accuracy lower than ΔVofop represented by Expression (305).






Formula





202









Vofcc
=




-
ke


2


(


kf





1

-
ke
+
1

)




Vref

+




-
ke

-
1


2


(


kf





1

-
ke
-
1

)




Vref






(
304
)







Δ





Vofc

=




-
ke


2


(


kf





1

-
ke
+
1

)




Vref

-




-
ke

-
1


2


(


kf





1

-
ke
-
1

)




Vref






(
305
)







Expression (299) is partially differentiated about δke and δkf1 to obtain the following expression.






Formula





203












VGj




(

δ





ke

)



=


Vref


(


Kf





1

-
Ke

)

2


>
0





(
306
)









VGj




(

δ





kf





1

)



=


-

Vref


(


Kf





1

-
Ke

)

2



<
0





(
307
)







According to Expression (306) and Expression (307), VGj monotonously decreases with respect to δkf1 and monotonously increases with respect to δke. Accordingly, a range of VGj is represented by Expression (308).






Formula





204










Vref


kf





1

-
ke
+
1


<
VGj
<

Vref


kf





1

-
ke
-
1






(
308
)







If a calibration value of VGj is set to VGjc represented by Expression (309), which is the median of a range of Expression (308), the calibration value of VGj can be derived at accuracy lower than ΔVGj represented by Expression (310).






Formula





205









VGjc
=


Vref

2


(


kf





1

-
ke
-
1

)



+

Vref

2


(


kf





1

-
ke
+
1

)








(
309
)







Δ





VGj

=


Vref

2


(


kf





1

-
ke
-
1

)



-

Vref

2


(


kf





1

-
ke
+
1

)








(
310
)







Consequently, in the case of Vofc<0 as well, even if the capacitance and the like forming the offset, the gain, and the integration unit voltage of the determiner 32 fluctuate because of a change with time, the calibration values of the offset Vofc and the integration unit voltage VGr of the determiner 32 can be derived at predetermined accuracy by the processing in the calibration state described above.


When the sensor circuit is calibrated, a variable reference voltage source 500 according to this embodiment is set in an output state. A voltage set by setting data including the number of times of integration k is output. In the output state, after the setting data is acquired by the control unit 110, the charges accumulated in Co are initialized by closing SW2. Subsequently, SW2 is opened and the accumulation step and the comparison step are repeatedly executed by the number of times of integration of k. When the accumulation step and the comparison step for the number of times of integration are completed, the control unit 110 outputs calibration data representing the completion.


A voltage output from the variable reference voltage source 500 at this time can be treated as a known voltage because the voltage can be derived from Expression (214) using the calibration values of VGj and Vofc derived in the calibration state. Therefore, the known voltage output from the variable reference voltage source 500 is input to the amplifier and the AD converter of the sensor circuit. It is possible to calibrate an offset and a gain of the amplifier and an offset of the AD converter from a correlation with the output.


A measuring instrument serving as a reference for calibration is unnecessary on the outside of a sensor node even after sensor circuit setting. Calibration values of the offset and the integration unit voltage can be calculated at predetermined accuracy according to a calibration state of the variable reference voltage source 500 according to this embodiment. Therefore, it is possible to perform calibration of the sensor circuit even if the offset and the integration unit voltage change because of a change with time.


With the variable reference voltage sources 100 to 500 according to the embodiments explained above, it is possible to provide a variable reference voltage source for which a measuring instrument for calibration is unnecessary.


The variable reference voltage sources 100 to 500 according to the embodiments do not require a measuring instrument for calibration and can calibrate themselves with remote operation. Therefore, the variable reference voltage sources 100 to 500 of the present invention are suitably used in combination of a large number of sensor circuits present in remote locations.


That is, even if an operator does not visit sites where the large number of sensor circuits are disposed, it is possible to calibrate a variable reference voltage used by the respective sensors with remote operation.


Note that the present invention is not limited to the embodiments explained above and can be modified within the scope of the gist described in the scope of claims.


REFERENCE SIGNS LIST






    • 10 reference voltage unit


    • 20, 40, 60, 80, 110 control unit


    • 21, 41, 61, 81, 111 calibration control unit


    • 22, 62 output control unit


    • 30, 50, 70, 90, 120 integrated-voltage generating unit


    • 31 first crossbar switch


    • 32 determiner


    • 33 second crossbar switch


    • 34, 54, 74 integrating unit


    • 93 third crossbar switch


    • 340, 92 operational amplifier




Claims
  • 1. A variable reference voltage source that generates a variable reference voltage corresponding to setting data set from outside, the variable reference voltage source comprising: a control unit including a calibration control unit that controls operation for calibrating an offset and a predetermined unit voltage inside the variable reference voltage source and an output control unit that controls operation for outputting the variable reference voltage;a reference voltage unit that outputs a reference voltage; andan integrated-voltage generating unit that repeats, when the calibration control unit controls the operation, an integrating operation until an integrated voltage obtained by integrating the predetermined unit voltage becomes equal to the reference voltage and outputs, when the output control unit controls the operation, the variable reference voltage corresponding to the setting data,wherein the integrated-voltage generating unit includes:a fourth switch that changes magnitude of the unit voltage to a same voltage as the reference voltage or intermediate potential smaller than the reference voltage;a second crossbar switch that determines polarity of the unit voltage;an integrating unit that generate an integrated voltage obtained by integrating the unit voltage;a determiner that determines which of the reference voltage and the integrated voltage is larger; anda first crossbar switch that switches connection between when the reference voltage is input to one input of the determiner and the integrated voltage is input to another input of the determiner and when the integrated voltage is input to the one input of the determiner and the reference voltage is input to the other input of the determiner.
  • 2. The variable reference voltage source according to claim 1, wherein the integrating unit includes: an operational amplifier;a first capacitor charged by the unit voltage;a second capacitor that holds an integrated voltage obtained by integrating the unit voltage;a first switch that switches a voltage of a positive input of the operational amplifier;a second switch that, when one terminal of the first capacitor is connected to a negative input of the operational amplifier, connects another terminal of the first capacitor to ground potential; anda third switch that short-circuits both ends of the second capacitor.
  • 3. The variable reference voltage source according to claim 2, wherein the calibration control unit includes: an offset-polarity-determination processing unit that determines polarity of an offset voltage of the determiner;an offset-measurement processing unit that calculates a number of times of integration of a unit voltage equivalent to a sum of offset voltages of the operational amplifier and the determiner;an intermediate-potential-measurement processing unit that, when a bias voltage of the integrating unit is set to intermediate potential smaller than a reference voltage of the reference voltage unit, calculates a number of times of integration of the unit voltage until an output of the determiner is inverted; andan integration-unit-measurement processing unit that generates an offset integrated voltage obtained by causing the integrating unit to integrate a unit voltage including an offset voltage of the operational amplifier, causes the determiner to perform comparison of the offset integrated voltage and the reference voltage and acquires a number of times of integration.
  • 4. A variable reference voltage source that generates a variable reference voltage corresponding to setting data set from outside, the variable reference voltage source comprising: a control unit including a calibration control unit that controls operation for calibrating an offset and a predetermined unit voltage inside the variable reference voltage source and an output control unit that controls operation for outputting the variable reference voltage;a reference voltage unit that outputs a reference voltage; andan integrated-voltage generating unit that repeats, when the calibration control unit controls the operation, an integrating operation until an integrated voltage obtained by integrating the predetermined unit voltage becomes equal to the reference voltage and outputs, when the output control unit controls the operation, the variable reference voltage corresponding to the setting data,wherein the integrated-voltage generating unit includes:an integrating unit that generates an integrated voltage obtained by integrating the unit voltage;a determiner that determines which of the reference voltage and the integrated voltage is larger; anda first crossbar switch that switches connection between when the reference voltage is input to one input of the determiner and the integrated voltage is input to another input of the determiner and when the integrated voltage is input to the one input of the determiner and the reference voltage is input to the other input of the determiner,the integrating unit includes:an operational amplifier including positive and negative two kinds of inputs;a first capacitor charged by the unit voltage;a second capacitor that holds an integrated voltage obtained by integrating the unit voltage;a fifth switch that connects the reference voltage and the first capacitor when the first capacitor is charged and connects the first capacitor and a positive input of the operational amplifier when the second capacitor is charged;a fourth switch that causes the operational amplifier to operate as a unity gain buffer when one terminal of the first capacitor is connected to a negative input of the operational amplifier; anda third switch that short-circuits both ends of the second capacitor, andthe calibration control unit includes:an offset-cancel-integration-unit-measurement processing unit that generates an integrated voltage obtained by causing the integrating unit to integrate the unit voltage from which an offset voltage of the operational amplifier is removed, performs comparison of the integration voltage and the reference voltage by switching connection of the first crossbar switch, and acquires a first number of times of offset cancel integration and a second number of times of offset cancel integration; andan integration-unit-measurement processing unit that generates an offset integrated voltage obtained by causing the integrating unit to integrate the unit voltage including the offset voltage of the operational amplifier and causes the determiner to perform comparison of the offset integrated voltage and the reference voltage and acquires a number of times of integration.
  • 5. The variable reference voltage source according to claim 4, wherein the integrated-voltage generating unit further includes:a voltage generating unit that generates two kinds of intermediate potentials obtained by dividing the reference voltage; anda determination-voltage switching unit that, when the calibration control unit controls the operation, switches a voltage serving as a reference applied to the determiner via the first crossbar switch to the intermediate potential on a high-potential side or the reference voltage,the integrating unit further includes:a sixth switch that connects one of the reference voltage or the intermediate potential on the high-potential side and a terminal of the first capacitor when the first capacitor is charged and connects another of the reference voltage or the intermediate potential on the high-potential side and the terminal of the first capacitor when the second capacitor is charged; andthe output control unit includes:a positive-offset-cancel-integration processing unit that, when a voltage higher than the intermediate potential on a low-potential side is output based on the setting data, executes processing for connecting the reference voltage and the terminal of the first capacitor when the first capacitor is charged and connecting the intermediate potential on the high-potential side and the terminal of the first capacitor when the second capacitor is charged; anda negative-offset-cancel-integration processing unit that, when a voltage lower than the intermediate potential on the low-potential side is output based on the setting data, executes processing for connecting the intermediate potential on the high-potential side and the terminal of the first capacitor when the first capacitor is charged and connecting the reference voltage and the terminal of the first capacitor when the second capacitor is charged.
  • 6. A variable reference voltage source that generates a variable reference voltage corresponding to setting data set from outside, the variable reference voltage source comprising: a control unit including a calibration control unit that controls operation for calibrating an offset and a predetermined unit voltage inside the variable reference voltage source and an output control unit that controls operation for outputting the variable reference voltage;a reference voltage unit that outputs a reference voltage; andan integrated-voltage generating unit that repeats, when the calibration control unit controls the operation, an integrating operation until an integrated voltage obtained by integrating the predetermined unit voltage becomes equal to the reference voltage and outputs, when the output control unit controls the operation, the variable reference voltage corresponding to the setting data,wherein the integrated-voltage generating unit includes:an integrating unit that generates an integrated voltage obtained by integrating the unit voltage;a determiner that determines which of the reference voltage and the integrated voltage is larger; anda first crossbar switch that switches connection between when the reference voltage is input to one input of the determiner and the integrated voltage is input to another input of the determiner and when the integrated voltage is input to the one input of the determiner and the reference voltage is input to the other input of the determiner, andthe integrating unit includes:a current source;a sixth switch that connects both ends of a unit capacitor;a fifth switch that repeatedly connects the current source and the unit capacitor; anda seventh switch that connects the reference voltage to one terminal of the unit capacitor connected to the fifth switch.
Priority Claims (1)
Number Date Country Kind
2018-216630 Nov 2018 JP national
PCT Information
Filing Document Filing Date Country Kind
PCT/JP2019/043288 11/5/2019 WO
Publishing Document Publishing Date Country Kind
WO2020/105417 5/28/2020 WO A
US Referenced Citations (11)
Number Name Date Kind
5805091 Sherry Sep 1998 A
8390493 Raghavan Mar 2013 B1
8400337 Xu Mar 2013 B1
8766833 Bogner Jul 2014 B1
9711189 Wang Jul 2017 B1
9729163 Song Aug 2017 B1
9774811 Ebihara Sep 2017 B1
9977442 Tan May 2018 B1
20060190746 Boerstler Aug 2006 A1
20220206520 Jiang Jun 2022 A1
20220270664 Jeter Aug 2022 A1
Non-Patent Literature Citations (2)
Entry
EDN Japan, Trimming to Improve DAC Accuracy (1/3), Literature, Nov. 10, 2016, http://ednjapn.com/edn/articles/1611/08/news012.html, pp. 1-11.
Back Trick! Realize a Pseudo D/A Converter Using PWM, Literature, May 23, 2018 (reading day), https://service.macnica.co.jp/library/107577, pp. 1-2.
Related Publications (1)
Number Date Country
20220014094 A1 Jan 2022 US