Analog test bus device and method thereof for calibrating comparator circuit

By using multiple comparator circuits and digital-to-analog converters in analog test bus equipment, combined with calibration data sets and differential reference lines, the risk of short circuits and inaccuracies when testing circuit nodes is solved, and measurement accuracy and stability are improved. .

CN110873836BActive Publication Date: 2024-10-01NXP BV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910811468.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-08-30
Filing Date
2019-08-29
Publication Date
2024-10-01
Estimated Expiration
2039-08-29

AI Technical Summary

Technical Problem

Existing analog test bus equipment has risks of accidental short circuits and inaccuracies when testing circuit nodes, especially since the connection of power supply voltage and ground nodes can easily lead to parasitic noise and ground bounce, affecting measurement accuracy.

Method used

An analog test bus device is designed that uses multiple comparator circuits and digital-to-analog converters (DACs), adjusts the comparison operation of the comparator circuits to reduce inaccuracies through a calibration data set, and drives the comparator circuits through a differential reference line To reduce the impact of noise and improve measurement accuracy.

Benefits of technology

It effectively reduces the transfer function inaccuracy of the comparator circuit, reduces the risk of short circuit and noise interference, and improves the accuracy and stability of parallel measurement of circuit nodes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110873836B_ABST
    Figure CN110873836B_ABST
Patent Text Reader

Abstract

An example analog test bus (ATB) device includes: a plurality of comparator circuits, each of the comparator circuits having an output port and a pair of input ports of opposite polarity including an inverting port and a non-inverting port; a plurality of circuit nodes selectively connected to the input ports of a first polarity; and at least one digital-to-analog converter (DAC) for driving the input ports of the plurality of comparator circuits. The device further includes data storage and logic circuitry for adjusting comparison operations performed by the plurality of comparator circuits by providing a calibration data set indicating the inaccuracy to each comparator circuit, accounting for inaccuracies attributable to the plurality of comparator circuits.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Aspects of various embodiments are directed to analog test bus apparatus and methods thereof involving calibrating comparator circuits for testing circuit nodes. Background Art

[0002] To access the analog test points, an analog test bus (ATB) according to the standard may be used. The ATB may include an analog-to-digital converter (ADC) that is connected to one of the multiple circuit nodes at a time and transmits output data to a compatible register for shifting out to an industry standard controller, such as a Joint Test Action Group (JTAG)-compatible controller. In such a configuration, one circuit node is measured at a time. In addition, since the supply voltage and ground nodes may be connected to the ATB, there is a risk of accidental short circuits.

[0003] These and other issues have challenged the efficiency of analog test bus device implementations for a variety of applications. Summary of the invention

[0004] According to a first aspect of the present invention, there is provided an analog test bus (ATB) device, comprising:

[0005] a plurality of comparator circuits, each of the comparator circuits having an output port and a pair of opposite polarity input ports including an inverting port and a non-inverting port;

[0006] a plurality of circuit nodes configured and arranged to be selectively connected to the input port of a first polarity;

[0007] at least one digital-to-analog converter (DAC) configured and arranged to drive the input ports of the plurality of comparator circuits; and

[0008] Data storage and logic circuitry configured and arranged to account for inaccuracies attributable to the plurality of comparator circuits by providing a calibration data set indicative of the inaccuracies to each comparator circuit for use in adjusting comparison operations performed by the plurality of comparator circuits.

[0009] In one or more embodiments, the at least one DAC comprises:

[0010] a first DAC configured and arranged to drive the plurality of comparator circuits using a differential reference line selectively connected to the input port of the first polarity; and

[0011] A second DAC configured and arranged to drive the plurality of comparator circuits using a differential reference line connected to the input ports of the opposite polarity.

[0012] In one or more embodiments, the data storage and logic circuitry is configured and arranged to provide the calibration data set based on a combination of input codes of the first DAC and the second DAC and a resulting comparator output of the combination.

[0013] In one or more embodiments, the data storage and logic circuitry is further configured and arranged to test the plurality of circuit nodes using the calibration data set to further include reducing an inaccuracy in a transfer function of at least one comparator circuit of the plurality of comparator circuits.

[0014] In one or more embodiments, the data storage and logic circuitry is further configured and arranged to detect a fault in response to the test and perform a dedicated action selected from the group consisting of: resetting the ATB device, restarting a system associated with the ATB device, raising an error flag, and combinations thereof.

[0015] In one or more embodiments, the data storage and logic circuitry is further configured and arranged to periodically calibrate the plurality of comparator circuits using respective comparator circuit outputs of combinations of input codes of the first DAC and the second DAC.

[0016] In one or more embodiments, the plurality of comparator circuits further include at least one of a differential to single-ended amplifier and a differential comparator.

[0017] According to a second aspect of the present invention, there is provided an analog test bus (ATB) device, comprising:

[0018] a plurality of comparator circuits, each of the comparator circuits having an output port and a pair of opposite polarity input ports including an inverting port and a non-inverting port;

[0019] a plurality of circuit nodes configured and arranged to be connected to the input port of a first polarity;

[0020] a digital-to-analog converter (DAC) configured and arranged to drive the plurality of comparator circuits by being connected to the opposite polarity input ports; and

[0021] Data storage and logic circuitry configured and arranged to account for inaccuracies attributable to the plurality of comparator circuits by adjusting comparison operations performed by the plurality of comparator circuits using a calibration data set indicative of the inaccuracies.

[0022] In one or more embodiments, the apparatus further comprises another DAC configured and arranged to drive the plurality of comparator circuits by selectively connecting to the input port of the first polarity.

[0023] In one or more embodiments, the data storage and logic circuit system is configured and arranged to have the plurality of comparator circuits to test the plurality of circuit nodes by comparing the output of the DAC with the output of the plurality of circuit nodes and using the calibration data set to adjust the comparison operations performed by the plurality of comparator circuits to reduce the inaccuracy.

[0024] In one or more embodiments, the device further includes a plurality of flip-flop circuits, latches, or random access memory (RAM) cells connected to the output ports of the plurality of comparator circuits, the plurality of flip-flop circuits, latches, or RAM cells being configured and arranged to latch in response to a rising edge of the output at the output ports of the comparator circuits, wherein the input code of the DAC is distributed on a digital bus having n bits.

[0025] In one or more embodiments, at least one comparator circuit of the plurality of comparator circuits is associated with less than n flip-flop circuits, latches, or RAM cells.

[0026] In one or more embodiments, the data storage and logic circuitry is further configured and arranged to test the plurality of circuit nodes using the calibration data set to further include reducing an inaccuracy in a transfer function of at least one comparator circuit of the plurality of comparator circuits.

[0027] In one or more embodiments, the calibration data set includes a table with combinations of input codes to the DAC and another DAC and resulting comparator outputs associated with the combinations.

[0028] According to a third aspect of the present invention, there is provided an analog test bus (ATB) device, comprising:

[0029] a plurality of comparator circuits, each of the comparator circuits having an output port and a pair of opposite polarity input ports including an inverting port and a non-inverting port;

[0030] a first digital-to-analog converter (DAC) configured and arranged to drive the plurality of comparator circuits via an input port connected to a first polarity;

[0031] a second DAC configured and arranged to drive the plurality of comparator circuits by being connected to the input ports of opposite polarity;

[0032] a plurality of circuit nodes configured and arranged to be selectively connected to the input port of the first polarity; and

[0033] A data storage and logic circuit system configured and arranged to account for inaccuracies attributable to the plurality of comparator circuits by providing a calibration data set indicative of the inaccuracies and adjusting comparison operations performed by the plurality of comparator circuits by using the calibration data set.

[0034] In one or more embodiments, the device further includes a switching circuit system configured and arranged to selectively connect the first DAC to the input port of the first polarity for calibration and selectively connect the multiple circuit nodes to the input port of the first polarity for testing the multiple circuit nodes.

[0035] In one or more embodiments, the data storage and logic circuitry is configured and arranged to provide the calibration data set based on a combination of input codes to the first DAC and the second DAC and a resulting comparator output for each of the combinations.

[0036] In one or more embodiments, the apparatus further includes a switch circuit system configured and arranged to selectively connect one of the plurality of node circuits to the first DAC to stimulate the one node circuit during testing of the plurality of node circuits.

[0037] In one or more embodiments, the device further includes a plurality of trigger circuits, latches, or random access memory (RAM) cells connected to the output ports of the plurality of comparator circuits, and the plurality of trigger circuits, latches, or RAM cells are configured and arranged to latch in response to a rising edge of the output at the output ports of the comparator circuits.

[0038] In one or more embodiments, the DAC input code is distributed on a digital bus having n bits, and at least one comparator circuit of the plurality of comparator circuits is associated with less than n flip-flop circuits, latches, or RAM cells.

[0039] These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Various example embodiments may be more fully understood by considering the following detailed description in conjunction with the accompanying drawings, in which:

[0041] Figure 1 shows an example of an ATB device according to various embodiments;

[0042] Figure 2 shows an example of an ATB device according to various embodiments;

[0043] Figure 3 shows an example of an ATB device according to various embodiments;

[0044] Figure 4 shows an example of an ATB device according to various embodiments;

[0045] Figure 5 shows an example of an ATB device according to various embodiments;

[0046] Figure 6A-6B shows an example comparator circuit according to various embodiments; and

[0047] Figure 7A-7B An example of a calibration data set for a comparator circuit according to various embodiments is shown.

[0048] Although the various embodiments discussed herein are subject to modification and alternative forms, the various aspects of these embodiments have been illustrated by way of example in the accompanying drawings and will be described in detail. However, it should be understood that it is not intended to limit the present disclosure to the specific embodiments described. On the contrary, it is intended to cover all modifications, equivalents and alternatives of the various aspects defined in the claims that fall within the scope of the present disclosure. In addition, the term "example" as used throughout this application is only used as an illustration and is not limited. DETAILED DESCRIPTION

[0049] Aspects of the present disclosure are considered to be applicable to a variety of different types of devices, systems and methods for calibrating an analog test bus (ATB) for a comparator circuit for testing a circuit node. In certain embodiments, aspects of the present disclosure have been shown to be beneficial when used in the context of an ATB device including at least one digital-to-analog converter (DAC), which compares a reference voltage with a voltage of a corresponding circuit node by a comparator circuit to provide a rising or falling reference voltage for each circuit node in a simultaneous test circuit node. In some embodiments, the ATB device includes a comparator circuit for each circuit node, which can be accurate and below a threshold in size by calibrating the comparator circuit using the ATB device. Although various aspects can be understood by the following discussion of non-limiting examples using exemplary contexts, it is not necessary to be limited thereto.

[0050] Therefore, in the following description, various specific details are set forth to describe the specific examples presented herein. However, it should be apparent to those skilled in the art that one or more other examples and / or variations of these examples may be practiced without all the specific details given below. In other examples, well-known features are not described in detail to avoid confusing the description of the examples herein. For ease of illustration, the same reference numerals may be used in different figures to refer to the same elements or additional instances of the same elements. In addition, although various aspects and features may be described in individual figures in some cases, it should be understood that features from one figure or embodiment may be combined with features of another figure or embodiment, even if the combination is not explicitly shown or explicitly described as a combination.

[0051] The analog test bus (ATB) can be used to access analog test points, sometimes referred to as circuit nodes herein. In some embodiments, an analog-to-digital converter (ADC) is selectively connected to each circuit node, wherein the ADC transmits the output data of the ADC to a compatible register for shifting out to a protocol compatible controller, such as being transmitted to a compatible register for shifting out to an industrial standard controller, such as a Joint Test Action Group (JTAG)-compatible controller. Using the ADC may include a measurement value (e.g., a node) at a time and may have the risk of a short circuit. For example, in an instance close to a Vdd node and a ground node, there may be a risk of an accidental short circuit. This can be solved by a high-ohm ATB switch or a strict first-hot-last-break behavior, including during startup and power supply voltage levels. In some embodiments, a digital-to-analog converter (DAC) may be used to provide a rising or falling reference voltage (Vref), and a local comparator circuit may compare the reference voltage with the voltage of the circuit node being tested. Each circuit node in the circuit node may be tested in parallel, and the risk of a short circuit may be reduced. However, using a DAC may present multiple problems. For example, the connection from the circuit node and the DAC to the comparator circuit may be susceptible to parasitic noise due to crosstalk from adjacent wires and / or due to electromagnetic waves from inside or outside the integrated circuit (IC). In addition, the Vref line and the connection from each circuit node to the comparator circuit may be susceptible to ground bounce (e.g., the difference between the DAC ground and the comparator ground and / or the difference between the node ground and the comparator ground). As another example, in order to provide parallel measurement, one comparator circuit is used for each circuit node. Since there may be thousands of circuit nodes, thousands of comparator circuits may be used. In many embodiments, the comparator circuit is either accurate and occupies a considerable IC area, or the comparator circuit is small and inaccurate. As used herein, inaccuracy includes or refers to an offset with a 0V input voltage and has different gains under signal and reference inputs. The data transfer rate after each DAC step may interfere with the power grid, and even if the digital and analog power supplies and grounding are separated, ground bounce or crosstalk on the substrate may also cause interference with the analog power supply during digital shift-out. Although fast low dropout regulators (LDOs) can limit interference to a few microseconds or less, sensitive analog circuit nodes may take longer to recover from such Vdd voltage drops. According to embodiments of the present disclosure, an inaccurate (and small) comparator circuit may be used in an ATB device that involves measuring all circuit nodes in parallel and using a calibration data set to explain inaccuracies attributable to the comparator circuit. For example, there may be a calibration data set for each comparator circuit in the comparator circuit, which indicates inaccuracies and is used to adjust the comparison operation performed by the comparator circuit. The calibration data set is thus used to calibrate the comparator circuit.

[0052] In a number of embodiments, a calibration data set can be derived using two DACs. A first DAC (which may be referred to as a calibration DAC) is selectively connected to a comparator circuit for performing calibration. A second DAC (which may be referred to as a measurement DAC) is connected to a comparator circuit for performing both calibration and measuring node circuits. Both DACs can drive the input port of the comparator circuit. As can be appreciated, the comparator circuit has an output port and a pair of input ports of opposite polarity, for example, an inverting input port and a non-inverting input port. The first DAC is selectively connected to an input port of a first polarity, and the second DAC is connected to an input port of a second polarity. In such embodiments, the first DAC and the circuit node are selectively connected to the comparator circuit and used to calibrate the comparator circuit. For calibration, all combinations of input codes of the first DAC and the second DAC are provided and the resulting comparator output (e.g., 0 or 1) is determined. The calibration result includes a first DAC input code / second DAC input code calibration table for each comparator circuit. A calibration data set is provided for each comparator circuit and is used when measuring and / or testing the node circuit.

[0053] In a plurality of specific embodiments, the ATB device includes a plurality of comparator circuits, a plurality of circuit nodes, at least one DAC, and a data storage and logic circuit system. The plurality of comparator circuits each have an output port and a pair of input ports of opposite polarity including an inverting port and a non-inverting port. In a specific embodiment, the comparator circuit includes a differential to single-ended amplifier and / or a differential comparator. A plurality of circuit nodes (e.g., via a differential line) are selectively connected to an input port of a first polarity. At least one DAC drives the input ports of a plurality of comparator circuits. For example, at least one DAC may include a first DAC that drives a plurality of comparator circuits using a differential reference line selectively connected to an input port of a first polarity, and a second DAC that drives a plurality of comparator circuits using a differential reference line connected to an input port of a second polarity. However, the embodiment is not so limited. The data storage and logic circuit system may be used to adjust the comparison operation performed by the comparator circuit by providing a calibration data set indicating inaccuracy for each comparator circuit, explaining the inaccuracy attributable to a plurality of comparator circuits. The data storage and logic circuit including a register and a controller may provide a calibration data set based on a combination of input codes of a first DAC and a second DAC and a combined resulting comparator output.

[0054] In various embodiments, the data storage and logic circuits use a calibration data set to test multiple circuit nodes. For example, the calibration data set can be used to reduce the inaccuracy of the transfer function of at least one of the multiple comparator circuits, such as offset error and gain error. The calibration can be performed at the manufacturer, performed and applied to multiple ICs, and / or can be performed periodically (e.g., at each startup or every minute) to calibrate the multiple comparator circuits using the corresponding comparator circuit outputs of the combination of the input codes of the first DAC and the second DAC.

[0055] In various embodiments, the ATB device may include a DAC and / or may not perform switching between a second DAC and a circuit node. For example, the ATB device may include a calibration data set based on or obtained during manufacture and / or calibration of an IC of similar implementation. In such embodiments, the device includes a plurality of comparator circuits, a plurality of circuit nodes, a DAC, and a data storage and logic circuit system. A plurality of comparator circuits each have an output port and a pair of input ports of opposite polarity. A plurality of circuit nodes are connected to an input port of a first polarity, for example, via a differential line. The DAC drives a plurality of comparator circuits by being connected to an input port of opposite polarity. The data storage and logic circuit system adjust the comparison operation performed by a plurality of comparator circuits by using a calibration data set indicating inaccuracy, explaining the inaccuracy attributable to a plurality of comparator circuits. The calibration data set may be externally obtained or may be derived using a second DAC, as described above.

[0056] In a specific embodiment, the data storage and logic circuit system is arranged to have a plurality of comparator circuits to test the plurality of circuit nodes by comparing the output of a DAC with the output of the plurality of circuit nodes (e.g., comparing Vref with the circuit node voltage output), and using a calibration data set to adjust the comparison operations performed by the plurality of comparator circuits to reduce inaccuracies. The data storage and logic circuit system may test the plurality of circuit nodes using the calibration data set to reduce inaccuracies in a transfer function of at least one of the plurality of comparator circuits. The calibration data set includes a table having combinations of input codes of a DAC and another DAC and resulting comparator outputs associated with the combinations.

[0057] In a plurality of related embodiments, the ATB device further includes a plurality of trigger circuits, latches and / or random access memory (RAM) cells connected to the output ports of the plurality of comparator circuits. The plurality of trigger circuits, latches and / or RAM cells may latch in response to the rising or valid edge of the output at the output port of the corresponding comparator circuit. The DAC input code may be distributed on a digital bus having n bits. In some more specific embodiments, at least one comparator circuit in the plurality of comparator circuits is associated with less than n trigger circuits, latches or RAM cells. In some more specific embodiments, the ATB device further includes a switch circuit system, which selectively connects one of the plurality of node circuits to another (e.g., calibration) DAC circuit during testing of the plurality of node circuits to stimulate a node circuit.

[0058] In various specific embodiments, the ATB device includes a plurality of comparator circuits, a first DAC, a second DAC, a plurality of circuit nodes, and a data storage and logic circuit system, as described above. In such embodiments, the first DAC drives the plurality of comparator circuits by connecting to an input port of a first polarity, the second DAC drives the plurality of comparator circuits by connecting to an input port of an opposite polarity, and a plurality of circuit nodes are selectively connected to the input port of the first polarity. The ATB device may include a switch circuit system that selectively connects the first DAC to the input port of the first polarity for calibration and selectively connects the plurality of circuit nodes to the input port of the first polarity for testing the plurality of circuit nodes. And, as previously described, the data storage and logic circuit system provides a calibration data set based on a combination of input codes of the first DAC and the second DAC and the resulting comparator output of each of the combinations.

[0059] Now turning to the graph, Figure 1 An example ATB device according to various embodiments is shown. The ATB device 100 includes a plurality of comparator circuits 106-1, 106-N and a plurality of circuit nodes 104-1, 104-N. The ATB device 100 further includes at least one DAC 102-2 driving the input ports of the plurality of comparator circuits 106-1, 106-N for testing the circuit nodes 104-1, 104-N. The at least one DAC 102-2 may provide a reference voltage Vref that rises (slowly) compared to the output voltage of the circuit nodes 104-1, 104-N. As further shown herein, the plurality of comparator circuits 106-1, 106-N may include a differential to single-ended amplifier and / or a differential comparator.

[0060] Each of the comparator circuits 106-1, 106-N includes an output port and a pair of input ports of opposite polarity including an inverting port and a non-inverting port. At least one DAC 102-1, 102-2 can drive the input ports of the plurality of comparator circuits 106-1, 106-N. The plurality of circuit nodes 104-1, 104-N can drive the input ports of a first polarity, and the DAC 102-2 can drive the input port of another polarity. As can be appreciated, the ATB device 100 is an IC that includes a comparator circuit for each node circuit and can be used to test the circuit nodes 104-1, 104-N in parallel.

[0061] In various embodiments, the ATB device 100 includes a first DAC 102-1 and a second DAC 102-2. The two DACs 102-1, 102-2 can be used to calibrate the potential inaccuracies of multiple comparator circuits 106-1, 106-N. The first DAC 102-1 can use a differential line selectively connected to an input port of a first polarity to drive multiple comparator circuits 106-1, 106-N for calibration, and the second DAC can use a differential line connected to an input port of an opposite polarity to drive multiple comparator circuits 106-1, 106-N for calibration and testing node circuits 104-1, 104-N. As shown, the switch circuit system 110, 112 can be used to selectively connect the node circuit 104-1, 104-N or the first DAC 102-1 to the input port of the first polarity of the comparator circuit 106-1, 106-N. For ease of reference, the first DAC is interchangeably referred to as a calibration DAC in this article, and the second DAC is interchangeably referred to as a measurement DAC. In addition, a node circuit is referred to as a node, and a comparator circuit is referred to as a comparator.

[0062] The ATB device 100 further includes a data storage and logic circuit system 108. The data storage and logic circuit system 108 may include registers and an industry standard controller, such as a Joint Test Action Group (JTAG)-compatible controller. As can be understood, during calibration of the comparators 106-1, 106-N and the test nodes 104-1, 104-N, the comparators 106-1, 106-N transmit output data to registers for shifting out to the JTAG-compatible controller. The data storage and logic circuit system 108 can be used to adjust the comparison operation performed by the multiple comparator circuits by providing a calibration data set indicating inaccuracies for each comparator circuit, explaining the inaccuracies attributable to the multiple comparator circuits. The calibration data set is based on a combination of input codes of the first DAC and the second DAC and the resulting comparator output of the combination. For example, each calibration data set may include a table of input codes of the calibration DAC and the measurement DAC and the resulting comparator output. As can be understood by a person of ordinary skill, the DAC input code corresponds to a voltage output.

[0063] The data storage and logic circuit system 108 may test a plurality of circuit nodes using the calibration data set to reduce inaccuracies in the transfer function of at least one of the plurality of comparator circuits, such as reducing offset error and / or gain error inaccuracies. For example, the nodes 104-1, 104-N may be tested by comparing the input code of the measurement DAC 102-2 with the output of the corresponding comparator 106-1, 106-N, which is used to identify the circuit node output voltage by adjusting the comparison operation performed by the comparator 106-1, 106-N using the calibration data set (e.g., comparing Vref with the comparator output to determine the circuit node output voltage). In some specific embodiments, the data storage and logic circuit system 108 may periodically calibrate the comparators 106-1, 106-N using the corresponding comparator output of the combination of the input codes of the DACs 102-1, 102-2. The periodic calibration may occur each time the IC is powered on, every minute or second, and other durations. In a specific embodiment, register values ​​may be shifted out of registers (e.g., Institute of Electrical and Electronics Engineers (IEEE) 1687-compatible registers), and a JTAG-compatible controller may evaluate the register values ​​according to a calibration data set for each of the comparators 106-1, 106-N to evaluate the resulting node voltage. In response to a fault and based on the test, dedicated actions may be performed, such as resetting the IC, restarting the entire system, and / or raising an error flag.

[0064] If Figure 2-6B In addition, the embodiment includes multiple changes. In some embodiments, the ATB device includes both calibration and measurement DACs, wherein the calibration DAC and the node are selectively connected to the non-inverting input port of the comparator, but the embodiment is not so limited, and the calibration DAC and the node can be connected to the inverting input port, and the device can only include a DAC such as calibrated by the manufacturer. In other embodiments, the ATB device may additionally include a plurality of trigger circuits, latches and / or RAM cells latched in response to the rising or effective edge of the output port of the comparator. For example, the DAC input code may be distributed on a digital bus with n bits and each comparator in a plurality of comparators may be associated with n trigger circuits, latches and / or RAM cells. In other embodiments, one or more of the plurality of comparators may be associated with less than n trigger circuits, latches or RAM cells. The ATB device may additionally include a switch circuit system, which selectively connects a node in a plurality of nodes to the calibration DAC and is used to excite the node during testing of a plurality of nodes.

[0065] Figure 2An example of an ATB device according to various embodiments is shown. The ATB device 220 comprises an IC having a measurement DAC 222-2 that provides a rising or falling Vref and a comparator circuit for comparing Vref to the voltage of nodes 224-1, 224-N. All nodes 224-1, 224-N are tested in parallel.

[0066] The comparators 226-1, 226-N may be calibrated using calibration techniques, as previously described. Figure 2 As shown, the ATB device 220 includes a measurement DAC 222-2 and a calibration DAC 222-1. Both DACs 222-1 and 222-2 have differential reference lines that can be connected to comparators 226-1 and 226-N for driving corresponding input ports. In a specific embodiment, the measurement DAC 222-2 has a differential reference line connected to the inverting input port of the comparator 226-1 and 226-N, and the calibration DAC 222-1 selectively has a differential line connected to the non-inverting input port of the comparator 226-1 and 226-N. As further shown herein, the nodes 224-1 and 224-N may have a differential line that is selectively connected to the non-inverting input port and is used to test the nodes 224-1 and 224-2. Because the reference lines from the DACs 222-1, 222-2 to the comparators 226-1, 226-N and the lines from the nodes 224-1, 224-N to the comparators 226-1, 226-N are differential (e.g., relative to ground), such embodiments can reduce the risk of or sensitivity to parasitic noise due to crosstalk from adjacent wires or due to electromagnetic waves and ground bounce from inside or outside the IC.

[0067] By using two DACs 222-1, 222-2, any possible combination of input voltages can be applied to the two comparator input ports. This allows full calibration of the comparators 226-1, 226-2 by covering all combinations of input voltages on each input port of each of the comparators 226-1, 226-2, and can allow the use of inaccurate comparators that take up less IC area than accurate comparators.

[0068] The register 228 and the JTAG-compatible controller 230 can account for inaccuracies attributable to the multiple comparator circuits by providing a calibration data set indicating the inaccuracy and by using the calibration data set to adjust the comparison operation performed by the multiple comparator circuits. For example, the register 228 and the JTAG-compatible controller 230 can be used to provide a calibration data set based on a combination of input codes of the two DACs 222-1, 222-2 and the resulting comparator output of each combination in the combination. The calibration can be performed before production testing, before each field run, and / or other time periods. The calibration DAC 222-1 and the nodes 224-1, 224-N can be selectively connected to the input ports of the comparators 226-1, 226-N using a switching circuit system to provide calibration and test nodes 224-1, 224-N, respectively.

[0069] As a specific example, for calibration, each of the switches associated with the differential reference line of the calibration DAC 222-1 and the differential lines of the nodes 224-1, 224-N is in a first position (e.g., an upper position) for connecting the differential reference line of the calibration DAC 222-1 to the corresponding input port (e.g., the non-inverting input port) of the comparator 226-1, 226-2. The differential reference line of the measurement DAC 222-2 is connected to the other input port of the comparator 226-1, 226-2 for both calibration and testing. The register 228 and the JTAG-compatible controller 230 are used to determine the comparator output (e.g., 0 or 1) of each comparator 226-1, 226-N for all combinations of input codes of the calibration DAC 222-1 and the measurement DAC 222-2. In some embodiments, the DACs 222-1, 222-2 may be highly accurate, and the calibration may be within a specific range (e.g., a small range). The result of the calibration is a calibration data set for each of the comparators 226 - 1 , 226 -N, such as a calibration DAC / measurement DAC table for each of the comparators.

[0070] To test nodes 224-1, 224-N, for example during production testing or built-in self-test, each of the switches associated with the differential reference line of the calibration DAC 222-1 and the differential line of the nodes 224-1, 224-N is in a second position (e.g., a lower position) for connecting the differential line of the nodes 224-1, 224-2 to a corresponding input port (e.g., a non-inverting input port) of the comparator 226-1, 226-N. The node voltage, which is locally grounded and locally converted to a single-ended voltage, is compared to the voltage of the measurement DAC 222-2 (e.g., DAC2 voltage) by the comparator 226-1, 226-N. Using the calibration data set of the comparator 226-1, 226-N, a corresponding calibration voltage equal to the node voltage can be determined. Therefore, the calibration data set can be used to explain the inaccuracy of the comparator 226-1, 226-N.

[0071] Figure 2 (as well as Figure 3-5 ) shows a comparator including at least one of the differential to single-ended amplifiers. However, the embodiment is not so limited, and the comparator may include a differential comparator, for example, Figure 6B In addition, although Figure 2-5 The embodiments show that the calibration DAC / node is selectively connected to the non-inverting input port of the comparator and the measurement DAC is connected to the inverting input port, but the embodiments are not so limited and the calibration DAC / node may be selectively connected to the inverting input port of the comparator and the measurement DAC is connected to the non-inverting input port.

[0072] Figure 3 An example of an ATB device according to various embodiments is shown. The ATB device 332 may include Figure 2 Components of the ATB device 220 shown, with a trigger circuit added. That is, the ATB device 332 includes an IC having a measurement DAC 334-2 that provides a rising or falling Vref, and comparators 338-1, 338-N for selectively comparing Vref with the voltage output of the calibration DAC 334-1 for calibration and with the voltage of nodes 336-1, 336-N for testing. Each of the nodes 336-1, 336-N is tested in parallel. The various components are not repeated, but include the above-mentioned circuit components that provide the above-mentioned functionality.

[0073] In the way the comparator output is processed, Figure 3 ATB device 332 with Figure 2The ATB device 220 of the embodiment is different. In various embodiments, the DAC input code is distributed on a bus having n bits (e.g., for an n-bit DAC, n bits wide). Each of the comparators 338-1, 338-2 is provided with an n-bit register, for example, via a trigger circuit (e.g., as shown by FF 340), but the embodiment is not so limited and may include a latch and / or a RAM unit. The trigger circuit latches in response to the rising or valid edge of the output at the output port of the corresponding comparator, such as the comparator 338-1 for FF 340. For example, once the comparator output changes to 1 (or turns to 0 in various embodiments) for the first time during the DAC ramp (e.g., the slow rise of Vref), the register is loaded with the DAC code through the trigger circuit (e.g., the comparator output clocks the register). Such embodiments include additional circuit systems (e.g., trigger circuits) associated with the n-bit registers of each node, however, the register 342 can be read out by the JTAG-compatible controller 344 after the entire DAC range, rather than after each DAC step. Since data transfer after each DAC step is not performed, grid interruption due to data transfer is reduced or avoided. Also, by using an n-bit register, in addition to readout data count and readout time, digital Vss bounce can be reduced.

[0074] In some embodiments with n-bit registers, calibration of the comparators 338-1, 338-2 may involve two separate and sequential runs. Depending on the setting of the multiplexer (e.g., Mux 1), the first run may shift out the calibration DAC input code (e.g., DAC1 334-1), and the second run may shift out the measurement DAC input code (e.g., DAC2 334-2).

[0075] Figure 4 An example of an ATB device according to various embodiments is shown. The ATB device 442 may include Figure 2 The components of the ATB device 220 are shown, with the addition of a trigger circuit, and Figure 3 Components of the ATB device 334, including modifications to the node test. However, embodiments are not so limited and may include flip-flop circuits, latches, and / or RAM cells. The ATB device 442 includes an IC having a measurement DAC (e.g., DAC2) that provides a rising or falling Vref, and a comparator for selectively comparing Vref with the voltage output of a calibration DAC (e.g., DAC1) for calibration and with the voltage of a node (e.g., node 1 and node n) for testing. All nodes are tested in parallel. As shown, the various components are not repeated, but include the above-mentioned circuit components that provide the functionality.

[0076] In various embodiments, a calibration DAC (e.g., DAC1) can be used to test analog circuit nodes. For testing nodes, it can sometimes be beneficial to stimulate and observe specific nodes. One or more nodes can be stimulated by a defined voltage. For example, the ATB device 442 includes a switch circuit 444 that selectively connects one of the multiple node circuits (e.g., node 1) to the calibration DAC circuit during testing of multiple node circuits to stimulate one node circuit while measuring all nodes in parallel. Although the embodiment shows a switch circuit, various embodiments include multiple switch circuits.

[0077] Figure 5 An example of an ATB device according to various embodiments is shown. The ATB device 572 may include Figure 2 The components of the ATB device 220 are shown, with the addition of a trigger circuit, and Figure 3 The components of the ATB device 334 of the present invention, and the components and test techniques (e.g., excitation) of the ATB device 442. However, the embodiment is not so limited and may not include additional switching circuits for stimulating one or more nodes during the test. That is, the ATB device 572 includes an IC having a measurement DAC that provides a rising or falling Vref, and a comparator for selectively comparing Vref with the voltage output of the calibration DAC for calibration, and comparing with the voltage of the node for testing. All nodes are tested in parallel. As shown, various components are no longer repeated, but include the above-mentioned circuit components that provide the functionality.

[0078] As shown, not all registers may be n-bit registers with n flip-flop circuits. As previously described, n is equal to the number of DAC input bits. In some embodiments, at least one of the plurality of comparators is associated with less than n flip-flop circuits. For example, one or more least significant bits (LSBs) may not have corresponding flip-flop circuits. By using less than n flip-flops for one or more of the comparators, chip area and transmission length may be reduced. In the specific illustration, node N has a flip-flop circuit that is skipped / not included in the IC. Although Figure 5 The embodiments show a flip-flop circuit, but the embodiments are not so limited and may include latches and / or RAM cells, as previously described.

[0079] Other additional embodiments may include additional improvements to the trigger circuit. For example, it is understood that in many embodiments, the node voltage of interest is within the range between the upper threshold and the lower threshold. Any value below the lower threshold may be too low, which may cause the IC to be rejected during production testing or self-testing. Similarly, any value above the upper threshold may be too high and may cause the IC to be rejected during testing. If the upper threshold is lower than half of the DAC maximum output voltage, the most significant bit (MSB) register trigger circuit may be omitted, provided that the DAC reads out the corresponding register before the DAC reaches half of the maximum output voltage of the DAC. Similar savings of the register trigger circuit are also possible, for example, if the lower threshold is higher than half of the DAC maximum output level. In this way, the chip area and the transmission bit stream length may be reduced, and the node accuracy may not be reduced.

[0080] Figure 6A-6B An example comparator circuit according to various embodiments is shown. For example, Fig. 6A An example of a comparator circuit 684 is shown that includes differential to single-ended amplifiers 686-1, 686-2 and a comparator 685 having an inverting input and a non-inverting input. One of the input ports of the comparator 685 is coupled to a differential reference line of a measurement DAC via one of the amplifiers 686-1, 686-2, and the other input port of the comparator is coupled to a differential reference line of a calibration DAC or a differential line of a node via the other of the amplifiers 686-1, 686-2. Figure 6B An example of a differential comparator 688 is shown. Figure 1-5 The various comparators shown may include one of comparator circuits 684 or 688 .

[0081] As can be understood, Figure 1-6B The various components and techniques discussed in each of the figures may be used in different combinations and may include additional components. For example, an IC may include thousands of nodes that are tested in production and / or in the field, for example for functional safety, where quickly and accurately measuring node voltages may be beneficial. In some specific embodiments, the above-described devices may be used to comply with safety-sensitive protocols because faults on analog node circuits may be detected during device operation. In response to a detected fault, a dedicated action may occur, such as previously described in conjunction with Figure 1 described.

[0082] Figure 7A-7B An example of a calibration data set for a comparator circuit according to various embodiments is shown. More specifically, Fig. 7A An example calibration table including a calibrated DAC input code (eg, DAC1 input code) and a measured DAC input code (eg, DAC2 input code) and the resulting comparator output is shown. Figure 7B Shows how to use Fig. 7A The calibration table shown is used to determine the node voltage V based on the DAC2 input code (eg, input voltage Vref). in+x Example. The measurement DAC input code (e.g., DAC2 input code) is counted up (see vertical arrows) until the comparator output switches from 1 to 0. The measurement DAC input code, in this case: DAC2x, refers to the voltage to be measured. In a previous calibration run, a table of input code versus output voltage for DAC2 has been established, which can be used to calculate the voltage from DAC2x to the V to be measured. in+x Inference of the DAC2 output voltage.

[0083] In certain example embodiments, aspects of the present disclosure relate to an ATB device including at least one digital-to-analog converter (DAC) that provides a rising or falling reference voltage for simultaneously testing each of the circuit nodes by comparing the reference voltage with the voltage of the circuit node through a comparator circuit. Such embodiments include a comparator circuit for each circuit node that may be inaccurate and below a threshold in size and made accurate by calibrating the comparator circuit using the ATB device.

[0084] In a more specific example embodiment, the ATB device includes a plurality of comparator circuits, a plurality of circuit nodes, at least one DAC, and data storage and logic circuit systems. The plurality of comparator circuits each have an output port and a pair of input ports of opposite polarity including an inverting port and a non-inverting port. In a specific embodiment, the plurality of comparator circuits include differential to single-ended amplifiers or differential comparators. A plurality of circuit nodes are selectively connected to an input port of a first polarity for testing circuit nodes. At least one DAC drives the input ports of a plurality of comparator circuits. For example, the ATB device may include a first DAC that drives a plurality of comparator circuits using a differential reference line selectively connected to an input port of a first polarity, and a second DAC that drives a plurality of comparator circuits using a differential reference line connected to an input port of opposite polarity. The data storage and logic circuit systems (e.g., registers and JTAG-compatible controllers) are used to adjust the comparison operations performed by the plurality of comparator circuits by providing a calibration data set indicating inaccuracies for each comparator circuit, explaining the inaccuracies attributable to the plurality of comparator circuits.

[0085] A calibration data set for each comparator circuit in the comparator circuit may be provided by a data storage and logic circuit system based on a combination of input codes of a first DAC and a second DAC and a resulting comparator output of the combination. The data storage and logic circuit may use the calibration data set to test a circuit node. For example, the calibration data set may be used to reduce the inaccuracy of the transfer function of at least one comparator circuit in a plurality of comparator circuits by adjusting the comparator output during the test circuit node. In various embodiments, the data storage and logic circuit may detect a fault in response to testing a plurality of node circuits and may perform a dedicated action selected from the group consisting of: resetting the ATB device, restarting the system associated with the ATB device, raising an error flag, and a combination thereof. The data storage and logic circuit system may periodically (e.g., at each startup, every minute, etc.) calibrate a plurality of comparator circuits using the corresponding comparator circuit output of the combination of the input codes of the first DAC and the second DAC.

[0086] In another specific example embodiment, the ATB device includes a plurality of comparator circuits, a plurality of circuit nodes, a DAC, and a data storage and logic circuit system. Each of the plurality of comparator circuits has an output port and a pair of input ports of opposite polarity including an inverting port and a non-inverting port. A plurality of circuit nodes are connected to the input port of a first polarity. The DAC drives the plurality of comparator circuits by being connected to the input port of opposite polarity. In other specific example embodiments, the ATB device may further include another DAC that drives the plurality of comparator circuits by selectively connecting to the input port of the first polarity. Furthermore, the data storage and logic circuit system adjusts the comparison operation performed by the plurality of comparator circuits by using a calibration data set indicating inaccuracy, explaining the inaccuracy attributable to the plurality of comparator circuits. The calibration data set includes a table of a combination of input codes with a DAC and another DAC and the resulting comparator output associated with the combination. The data storage and logic circuit system is configured and arranged to have a plurality of comparator circuits to test a plurality of circuit nodes by comparing the output of the DAC with the output of a plurality of circuit nodes, and using the calibration data set to adjust the comparison operation performed by the plurality of comparator circuits to reduce inaccuracy. For example, a plurality of circuit nodes may be tested using a calibration data set to reduce an inaccuracy in a transfer function of at least one comparator circuit in the plurality of comparator circuits.

[0087] In various related embodiments, the above-mentioned ATB device may additionally include multiple trigger circuits, latches and / or random access memory (RAM) units. The trigger circuits, latches and / or RAM units are connected to the output ports of multiple comparator circuits and latched in response to the rising or effective edge of the output at the output port of the comparator. The DAC input code may be distributed on a digital bus with n bits. Each comparator circuit in the multiple comparator circuits is associated with n trigger circuits, latches and / or RAM units, and in other embodiments, at least one comparator circuit in the multiple comparator circuits may be associated with less than n trigger circuits, latches or RAM units.

[0088] Various embodiments are directed to an ATB device including a plurality of comparator circuits, a first DAC, a second DAC, a plurality of circuit nodes, and a data storage and logic circuit system. Each of the plurality of comparator circuits has an output port and a pair of input ports of opposite polarity including an inverting port and a non-inverting port. The first DAC drives the plurality of comparator circuits by connecting to an input port of the first polarity. The second DAC drives the plurality of comparator circuits by connecting to an input port of the opposite polarity. A plurality of circuit nodes are selectively connected to the input port of the first polarity. The ATB device may include a switch circuit system that selectively connects the first DAC to the input port of the first polarity for calibration and selectively connects the plurality of circuit nodes to the input port of the first polarity for testing the plurality of circuit nodes. The data storage and logic circuit system explains the inaccuracy attributable to the plurality of comparator circuits by providing a calibration data set indicating the inaccuracy and using the calibration data set to adjust the comparison operation performed by the plurality of comparator circuits. As previously described, the data storage and logic circuit system provides a calibration data set based on a combination of input codes of the first DAC and the second DAC and the resulting comparator output of each of the combinations.

[0089] In a plurality of related and more specific embodiments, the ATB device further includes a switch circuit system, which selectively connects a node circuit in a plurality of node circuits to a first DAC during testing of a plurality of node circuits. The first DAC can excite the node circuit during testing of a plurality of node circuits. In other embodiments and / or in addition, the ATB device may further include a plurality of trigger circuits, latches and / or RAM cells connected to the output ports of a plurality of comparator circuits. A plurality of trigger circuits, latches and / or RAM cells may latch in response to the rising or effective edge of the output at the output port of the comparator. In various embodiments, the DAC input code is distributed on a digital bus with n bits, and at least one comparator circuit in a plurality of comparator circuits is associated with less than n triggers, latches and / or RAM cells.

[0090] Terms indicating orientation, such as upper / lower, left / right, top / bottom, and above / below, may be used herein to refer to the relative positions of elements as shown in the accompanying drawings. It should be understood that the terms are used for convenience of notation only and that in actual use, the disclosed structures may be oriented differently from the orientation shown in the accompanying drawings. Therefore, the terms should not be interpreted in a limiting manner.

[0091] Unless otherwise indicated, those skilled in the art will recognize that various terms used in the specification (including claims) are intended to have ordinary meanings in the art. As an example, the specification describes and / or illustrates various aspects of the disclosure that can be used to implement the claimed protection through various circuits or circuit systems, which can be shown as or using, for example, blocks, modules, devices, systems, units, controllers, nodes and / or other circuit type descriptions (e.g., Figure 1 Reference numerals 106-1, 106-N and Figure 2 224-1, 224-N and 230 depict blocks / modules as described herein). Such circuits or circuit systems are used with other elements to illustrate how certain embodiments may be performed in form or structure, steps, functions, operations, activities, etc. For example, in certain embodiments discussed above, as may be Figure 1-5 In the method shown in , one or more modules are discrete logic circuits or programmable logic circuits configured and arranged to implement these operations / activities. In some embodiments, such programmable circuits in one or more computer circuits include memory circuit systems for storing and accessing programs implemented as a set (or multiple sets) of instructions (and / or used as configuration data to define how the programmable circuit executes), and algorithms or methods as described herein used by programmable circuits that perform related steps, functions, operations, activities, etc. Depending on the application, the instructions (and / or configuration data) can be configured to be implemented in a logic circuit system, where the instructions (whether characterized as object code, firmware or software) are stored in a memory (circuit) and can be accessed from the memory. As another example, where this specification may refer to "a first node," "a second node," etc., where node is interchangeable with terms such as "circuit," "circuit system," etc., the adjectives "first" and "second" are not intended to imply any structural description or provide any substantive meaning; rather, such adjectives are merely English antecedents to distinguish one similarly named structure from another similarly named structure (e.g., "a first circuit configured to convert..." is interpreted as "a circuit configured to convert...").

[0092] Based on the above discussion and illustrations, those skilled in the art will readily recognize that various modifications and changes may be made to the various embodiments without strictly following the exemplary embodiments and applications shown and described herein. For example, the methods illustrated in the accompanying drawings may involve steps performed in various orders, wherein one or more aspects of the embodiments herein are retained, or may involve fewer or more steps. For example, by Figure 1-5 The circuit components shown may include more or fewer components, such as Figure 1 Including from Figure 5 Such modifications do not depart from the true spirit and scope of the various aspects of the present disclosure, including those set forth in the claims.

Claims

1. An analog test bus ATB device, characterized in that: include: a plurality of comparator circuits, each of the comparator circuits having an output port and a pair of opposite polarity input ports including an inverting port and a non-inverting port; a plurality of circuit nodes configured and arranged to be selectively connected to the input port of a first polarity; at least one digital-to-analog converter DAC, the at least one digital-to-analog converter configured and arranged to drive the input ports of the plurality of comparator circuits; as well as a data storage and logic circuitry configured and arranged to account for at least one of an offset error and a gain error of the plurality of comparator circuits by providing a calibration data set indicative of the error to each comparator circuit for use in adjusting comparison operations performed by the plurality of comparator circuits; wherein the data storage and logic circuitry is configured to test the plurality of circuit nodes by mitigating at least one of an offset error and a gain error of at least one comparator of the plurality of comparator circuits using the calibration data set; Wherein the data storage and logic circuit system is configured to detect an error in response to the test and is configured to perform a specified action, the action being a dedicated action selected from the group consisting of: resetting the ATB device, restarting a system associated with the ATB device, raising an error flag, and combinations thereof.

2. The device according to claim 1, characterized in that The at least one DAC comprises: a first DAC configured and arranged to drive the plurality of comparator circuits using a differential reference line selectively connected to the input port of the first polarity; and A second DAC configured and arranged to drive the plurality of comparator circuits using a differential reference line connected to the input ports of the opposite polarity.

3. The device according to claim 1, characterized in that The data storage and logic circuitry is configured and arranged to provide the calibration data set based on a combination of input codes to the first DAC and the second DAC and a resulting comparator output of the combination.

4. The device according to claim 1, characterized in that The data storage and logic circuitry is further configured and arranged to periodically calibrate the plurality of comparator circuits using respective comparator circuit outputs of combinations of input codes of the first DAC and the second DAC.

5. The device according to claim 1, characterized in that The plurality of comparator circuits further include at least one of a differential to single-ended amplifier and a differential comparator.

6. An analog test bus ATB device, characterized in that: include: a plurality of comparator circuits, each of the comparator circuits having an output port and a pair of opposite polarity input ports including an inverting port and a non-inverting port; a plurality of circuit nodes configured and arranged to be connected to the input port of a first polarity; a digital-to-analog converter DAC configured and arranged to drive the plurality of comparator circuits by being connected to the input ports of opposite polarity; as well as data storage and logic circuitry configured and arranged to account for at least one of offset error and gain error of the plurality of comparator circuits by adjusting comparison operations performed by the plurality of comparator circuits using a calibration data set indicative of the errors; wherein the data storage and logic circuitry is configured to test the plurality of circuit nodes by mitigating at least one of an offset error and a gain error of at least one comparator of the plurality of comparator circuits using the calibration data set; Wherein the data storage and logic circuit system is configured to detect an error in response to the test and is configured to perform a specified action, the action being a dedicated action selected from the group consisting of: resetting the ATB device, restarting a system associated with the ATB device, raising an error flag, and combinations thereof.

7. The device according to claim 6, characterized in that The calibration data set includes a table having combinations of input codes to the DAC and another DAC and resulting comparator outputs associated with the combinations.

8. An analog test bus ATB device, characterized in that: include: a plurality of comparator circuits, each of the comparator circuits having an output port and a pair of opposite polarity input ports including an inverting port and a non-inverting port; a first digital-to-analog converter DAC configured and arranged to drive the plurality of comparator circuits via input ports connected to a first polarity; a second DAC configured and arranged to drive the plurality of comparator circuits by being connected to the input ports of opposite polarity; a plurality of circuit nodes configured and arranged to be selectively connected to the input port of the first polarity; as well as data storage and logic circuitry configured and arranged to account for at least one of offset error and gain error of the plurality of comparator circuits by providing a calibration data set indicative of the error and adjusting comparison operations performed by the plurality of comparator circuits by using the calibration data set; wherein the data storage and logic circuitry is configured to test the plurality of circuit nodes by mitigating at least one of an offset error and a gain error of at least one comparator of the plurality of comparator circuits using the calibration data set; Wherein the data storage and logic circuit system is configured to detect an error in response to the test and is configured to perform a specified action, the action being a dedicated action selected from the group consisting of: resetting the ATB device, restarting a system associated with the ATB device, raising an error flag, and combinations thereof.