# US 2021/0172999 A1 · Circuit for testing monitoring circuit and operating method thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0172999 A1
- Document ID: US20210172999A1
- Status: Published application
- Kind: A1
- Application number: 16/925,389
- Filed: 2020-07-10
- Published: 2021-06-10
- Earliest claimed: 2019-12-09
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Hyunseok Nam; Sangyoung Lee
- Web page: https://patentgrep.com/patent/US20210172999A1

## CPC

- G01R 31/2829: {Testing of circuits in sensor or actuator systems (testing of apparatus for measuring electric or magnetic variables G01R35/00; testing of indicating or recording apparatus G01D; in airbag systems B60R21/0173; checking gas analysers G01N33/007; monitoring or fail-safe circuits for electromagnets H01F7/1844)}
- G01R 35/00: Testing or calibrating of apparatus covered by the other groups of this subclass
- G01R 31/3167: Testing of combined analog and digital circuits {(testing ADC's H03M1/1071)}
- G01R 31/3181: Functional testing (G01R31/3177 takes precedence)
- G01R 31/2856: {Internal circuit aspects, e.g. built-in test features; Test chips; Measuring material aspects, e.g. electro migration [EM]}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

A test circuit for testing a monitoring circuit includes: a ramp generator configured to generate a ramp signal in response to an activated first control signal; a counter configured to count pulses of a clock signal in response to the activated first control signal; at least one register configured to store an output value of the counter based on a change in at least one output signal generated by the monitoring circuit in response to the ramp signal in a test mode; and a controller configured to generate the first control signal and verify the monitoring circuit based on a ratio of a value stored in the at least one register to a duration during which the first control signal is activated.

## Claims

### Claim 1

A test circuit for testing a monitoring circuit, the test circuit comprising:
a ramp generator configured to generate a ramp signal in response to an activated first control signal;
a counter configured to count pulses of a clock signal in response to the activated first control signal;
at least one register configured to store an output value of the counter based on change in an output signal generated by the monitoring circuit in response to the ramp signal; and
a controller configured to generate the first control signal, wherein the monitoring circuit is set to a test mode in response to an activated first control signal, and the controller is further configured to verify operation of the monitoring circuit based on a ratio of at least one value stored in the at least one register, wherein the at least one value is obtained during the test mode.

### Claim 2 (depends on 1)

The test circuit of claim 1, wherein the ramp generator comprises a capacitor and a current source and is configured to generate the ramp signal by charging or discharging the capacitor with a current generated by the current source.

### Claim 3 (depends on 1)

The test circuit of claim 1, further comprising:
a reference register configured to store the output value of the counter at a time at which the first control signal is inactivated,
wherein the controller is further configured to verify operation of the monitoring circuit based on the ratio of a value stored in the reference register and the at least one value stored in the at least one register.

### Claim 4 (depends on 1)

The test circuit of claim 1, wherein the controller is configured to inactivate the activated first control signal when the output value of the counter exceeds a reference value.

### Claim 5 (depends on 4)

The test circuit of claim 4, wherein the controller is configured to verify operation of the monitoring circuit based on a ratio of the reference value to the at least one value stored in the at least one register.

### Claim 6 (depends on 1)

The test circuit of claim 1, wherein the controller is further configured to generate a second control signal, and
the ramp generator is configured to adjust a slope of the ramp signal based on the second control signal.

### Claim 7 (depends on 6)

The test circuit of claim 6, wherein the controller is further configured to generate the second control signal for decreasing the slope of the ramp signal during a candidate period including a time at which the change in the output signal is expected.

### Claim 8 (depends on 6)

The test circuit of claim 6, wherein the controller is further configured to obtain allowable time information for testing of the monitoring circuit, and generate the second control signal based on the allowable time information.

### Claim 9 (depends on 1)

The test circuit of claim 1, wherein the controller is further configured to generate a third control signal, and the test circuit further comprises a clock generator configured to generate the clock signal having a variable frequency based on a third control signal.

### Claim 10 (depends on 9)

The test circuit of claim 9, wherein the controller is further configured to generate the third control signal for increasing the frequency of the clock signal during a candidate period including a time at which the change in the output signal is expected.

### Claim 11 (depends on 9)

The test circuit of claim 9, wherein the controller is further configured to obtain resolution information for testing of the monitoring circuit, and generate the third control signal based on the resolution information.

### Claim 12 (depends on 1)

The test circuit of claim 1, wherein the controller is further configured to determine whether operation of the monitoring circuit is successful when the ratio falls within a reference range.

### Claim 13 (depends on 12)

The test circuit of claim 12, wherein the controller is further configured to update the reference range.

### Claim 14 (depends on 1)

The test circuit of claim 1, wherein the change in the output signal occurs when the ramp signal crosses a lower limit or an upper limit during the test mode, and
the ramp generator is configured to generate the ramp signal crossing both the lower limit and the upper limit during a period in which the first control signal is activated.

### Claim 15 (depends on 14)

The test circuit of claim 14, wherein the at least one register comprises:
a first register configured to store a first value output by the counter when a change in the output signal occurs is relation to the lower limit; and
a second register configured to store a second value output by the counter when a change in the output signal occurs in relation to the upper limit, and
the controller is further configured to determine that operation of the monitoring circuit is successful when a first ratio corresponding to the first value stored in the first register falls within a first reference range, and a second ratio corresponding to the second value stored in the second register falls within a second reference range.

### Claim 16 (depends on 14)

The test circuit of claim 14, wherein the change in the output signal occurs when the ramp signal crosses a short circuit level lower than the lower limit during the test mode, and
the ramp generator is configured to generate the ramp signal further crossing the short circuit level during a period in which the first control signal is activated.

### Claim 17 (depends on 16)

The test circuit of claim 16, wherein the at least one register comprises a third register configured to store a third value output by the counter when the change in the output signal occurs, and
the controller is configured to determine that operation of the monitoring circuit is a failure when a third ratio corresponding to the third value stored in the third register does not fall within a third reference range.

### Claim 18

A system comprising:
a main circuit configured to perform at least one function and generate an object signal;
a monitoring circuit configured to monitor the object signal during a normal mode and monitor a ramp signal during a test mode; and
a test circuit configured as a built-in, self-test for the monitoring circuit, and further configured to generate the ramp signal and test the monitoring circuit based on a ratio between a first period during which the ramp signal is generated, and a second period determined by a change in an output signal of the monitoring circuit in response to the ramp signal.

### Claim 19

(canceled)

### Claim 20 (depends on 18)

The system of claim 18, wherein the monitoring circuit is set to the test mode before the main circuit begins performing of the function, and is set to the normal mode after successful testing is performed by the test circuit.

### Claim at position 21

21-23. (canceled)

### Claim 24

A method of testing a monitoring circuit, the method comprising:
generating a ramp signal;
counting pulses of a clock signal while the ramp signal is generated;
storing a first count value based on a first period determined by a change in an output signal of the monitoring circuit; and
verifying the monitoring circuit based on a ratio of the first count value and a second count value based on a second period determined by the generating of the ramp signal.

### Claim at position 23

25-31. (canceled)
