Semiconductor device and method of manufacturing the same
AssigneeRenesas Electronics Corporation
InventorHideyuki TAJIMA
Life of this patent
Estimating the term…
Abstract
A semiconductor device includes a first terminal, an oscillation circuit that generates a first clock signal and a second clock signal, an AD conversion circuit, a correction circuit that corrects the digital signal obtained by the AD conversion circuit based on a correction data stored in a memory circuit and outputs the digital signal, an averaging circuit, a sampling circuit, a current generation circuit, and a superposition circuit, the correction data is generated based on an output of the sampling circuit when a dispersion current is superposed on a detection current, and is stored in the memory circuit.
Claims10
A semiconductor device comprising:
- a first terminal;
- an oscillation circuit that generates a first clock signal and a second clock signal having a frequency that is an integer fraction of the first clock signal;
- an AD conversion circuit that oversamples a detection current corresponding to a current flowing through the first terminal in accordance with the first clock signal and converts the detection current into a digital signal;
- a correction circuit that corrects the digital signal obtained by the AD conversion circuit based on a correction data stored in a memory circuit and outputs the digital signal;
- an averaging circuit that operates in accordance with the first clock signal and averages the digital signal output from the correction circuit;
- a sampling circuit that downsamples the digital signal averaged by the averaging circuit in accordance with the second clock signal;
- a current generation circuit that generates a current based on an output of the sampling circuit and target current data and supplies the current to the first terminal;
- and
- a superposition circuit that superposes a dispersion current on the detection current when generating the correction data,
- wherein the correction data is generated based on an output of the sampling circuit when the dispersion current is superposed on the detection current, and is stored in the memory circuit.
A method of manufacturing a semiconductor device, comprising steps of:
- (a) preparing a semiconductor substrate;
- (b) forming a plurality of circuits including a first circuit that outputs a first signal corresponding to target current data via a first terminal on a surface of the semiconductor substrate;
- and
- (c) correcting the first circuit,
- wherein the first circuit includes
- a current detection circuit connected to the first terminal,
- an AD conversion circuit connected to the current detection circuit,
- a correction circuit connected to the AD conversion circuit,
- an averaging filter connected to the correction circuit, and
- a downsampler connected to the averaging filter,
- wherein the plurality of circuit further includes
- an offset removing circuit connected to the AD conversion circuit, and
- a current generation circuit connected to a first node that connects the current detection circuit and the AD converting circuit, and
- wherein the step of (c) includes steps of
- (c1) superposing a second signal having a first period generated by the current generation circuit on the first signal at the first node to generate a third signal,
- (c2), after the step of (c1), converting the third signal, which is an analog signal, into a digital signal in the AD conversion circuit to generate a fourth signal,
- (c3), after the step of (c2), removing an offset caused by superposing the second signal included in the fourth signal on the first signal using the offset removing circuit to generate a fifth signal,
- (c4), after step of (c3), averaging the fifth signal using the averaging filter to generate a sixth signal,
- (c5), after the step of (c4), thinning out data at a period that is an integer fraction of the first period using the downsampler to generate a seventh signal, and
- (c6), after the step of (c5), outputting the seventh signal to outside.
Dependencies are inferred from the claim text.