Error correction for stepwise signal modification circuits
10715123 ยท 2020-07-14
Assignee
Inventors
Cpc classification
International classification
Abstract
Circuits and methods for correction of errors in multi-stage stepwise signal modification circuits. Embodiments of the invention also provide flexibility to correct accuracy errors over a range of conditions, such as differences in signal frequency and/or temperature. A first embodiment includes sorting actual values of a multi-stage stepwise signal modification circuit to generate a monotonic listing of actual values; mapping input codes to a new order of codes corresponding to the sorted actual values; and providing mapping functionality to convert each input code into a mapped output code. A second embodiment includes searching, for each ideal value corresponding to an input code, all actual values of a multi-stage stepwise signal modification circuit for the actual value closest to the ideal value; mapping input codes to a new order of codes corresponding to the closest actual values; and providing mapping functionality to convert each input code into a mapped output code.
Claims
1. A circuit for correcting accuracy errors in a multi-stage stepwise signal modification circuit configured to receive a plurality of control codes each determining a level of signal modification by one or more stages of signal modification circuitry, the circuit including a mapping functionality circuit coupled between the multi-stage stepwise signal modification circuit and a source of input control codes, the mapping functionality circuit configured to map the input control codes to output control codes representing a monotonic sorted listing of actual values generated by the multi-stage stepwise signal modification circuit, wherein the mapping functionality circuit includes (a) a reduced look-up table of mapping values configured to convert an n-bit wide input control code to a less-wide mapped code, and (b) an adder circuit, configured to receive and sum the n-bit wide input control code and the less-wide mapped code so as to generated an n-bit wide output control code, and wherein the output control codes from the mapping functionality circuit are provided to the multi-stage stepwise signal modification circuit as the plurality of control codes.
2. The invention of claim 1, wherein the reduced look-up table has a plurality of pages of mapping values.
3. The invention of claim 1, wherein the reduced look-up table has a plurality of pages of mapping values, each page corresponding to a selected radio frequency range and/or band.
4. The invention of claim 1, wherein the multi-stage stepwise signal modification circuit includes at least one of a digital phase shifter (DPS) circuit and/or a digital step attenuator (DSA) circuit.
5. The invention of claim 1, wherein the multi-stage stepwise signal modification circuit modifies signals having a frequency of at least 100 MHz.
6. The invention of claim 1, wherein the multi-stage stepwise signal modification circuit is fabricated as MOSFET circuitry.
7. The invention of claim 1, wherein the multi-stage stepwise signal modification circuit is fabricated using a silicon-on-insulator (SOI) fabrication process.
8. A circuit for correcting accuracy errors in a multi-stage stepwise signal modification circuit configured to receive a plurality of control codes each determining a level of signal modification by one or more stages of signal modification circuitry, the circuit including a mapping functionality circuit coupled between the multi-stage stepwise signal modification circuit and a source of input control codes, the mapping functionality circuit configured to map the input control codes to output control codes representing a listing of closest actual values generated by the multi-stage stepwise signal modification circuit, wherein the output control codes from the mapping functionality circuit are provided to the multi-stage stepwise signal modification circuit as the plurality of control codes.
9. The invention of claim 8, wherein the mapping functionality circuit includes a look-up table of mapping values configured to convert an n-bit wide input control code to an n-bit wide control output code.
10. The invention of claim 9, wherein the look-up table has a plurality of pages of mapping values.
11. The invention of claim 9, wherein the look-up table has a plurality of pages of mapping values, each page corresponding to a selected radio frequency range and/or band.
12. The invention of claim 8, wherein the mapping functionality circuit includes: (a) a reduced look-up table of mapping values configured to convert an n-bit wide input control code to a less-wide mapped code; and (b) an adder circuit, configured to receive and sum the n-bit wide input control code and the less-wide mapped code so as to generated an n-bit wide output control code.
13. The invention of claim 12, wherein the look-up table has a plurality of pages of mapping values.
14. The invention of claim 12, wherein the look-up table has a plurality of pages of mapping values, each page corresponding to a selected radio frequency range and/or band.
15. The invention of claim 8, wherein the multi-stage stepwise signal modification circuit includes at least one of a digital phase shifter (DPS) circuit and/or a digital step attenuator (DSA) circuit.
16. The invention of claim 8, wherein the multi-stage stepwise signal modification circuit modifies signals having a frequency of at least 100 MHz.
17. The invention of claim 8, wherein the multi-stage stepwise signal modification circuit is fabricated as MOSFET circuitry.
18. The invention of claim 8, wherein the multi-stage stepwise signal modification circuit is fabricated using a silicon-on-insulator (SOI) fabrication process.
19. The invention of claim 8, wherein the mapping functionality circuit is configured to map N input control codes to N+M output control codes, where N is an integer 2, and M is an integer 1.
20. The invention of claim 8, wherein the multi-stage stepwise signal modification circuit modifies both signal phase and signal amplitude as a function of phase and attenuation input control codes, and wherein the mapping functionality circuit is further configured to map each combination of phase and attenuation input control codes to output control codes representing a listing of closest actual phase and amplitude values generated by the multistage stepwise signal modification circuit.
Description
DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17) 10A is a graph of ideal attenuation and modeled actual multi-stage attenuation as a function of binary control codes for a 5-bit DSA, using corrected and mapped input codes.
(18)
(19)
(20)
(21)
(22)
(23)
(24)
(25)
(26) Like reference numbers and designations in the various drawings indicate like elements.
DETAILED DESCRIPTION
(27) The present invention encompasses circuits and methods for correction of accuracy errors in multi-stage stepwise signal modification circuits that avoids redesigning the circuits. Embodiments of the invention also provide flexibility to correct accuracy errors over a range of conditions, such as differences in signal frequency and/or temperature.
(28) For ease of explanation, the invention will be described in terms of a digital step attenuator (DSA). However, the inventive concepts apply as well to other multi-stage stepwise signal modification circuits, such as digital phase shifters (DPS's) and digital-to-analog converters (DAC's).
(29) Sorting & Re-Ordering Embodiment
(30) As noted above,
(31) Because the attenuation values are sorted, the corresponding codes are no longer likely to be in sequential order. For example, after sorting, code value 15 may correspond to the attenuation level that was generated by code value 17 before sorting. Accordingly, the input codes need to be mapped to the new order of codes corresponding to the sorted attenuation values in order to convert each input code to a mapped code. The mapping functionality may be implemented, for example, in a hardware or software implemented look-up table (LUT), as software implemented conditional statements, or in combinatorial logic circuitry. Mapping circuitry may be embodied on the same integrated circuit (IC) device as a multi-stage stepwise signal modification circuit or implemented externally to such an IC device. Details of one embodiment of mapping functionality are set forth below.
(32)
(33) As noted above, the sorting process described by way of a DSA example applies to any multi-stage stepwise signal modification circuit that exhibits accuracy errors of the type described above, such as a DPS or a DAC.
(34)
(35) Code Transformation Embodiment
(36) An even greater amount of improvement with respect to accuracy error can be achieved with a second embodiment. For each control code corresponding to an ideal attenuation value, the list of all actual attenuation values is searched for the value closest in attenuation to that ideal attenuation valueessentially, a best fit actual attenuation value is found for each ideal attenuation value, allowing the input codes to be transformed via mapping to a new code set.
(37) For example,
(38) In
(39)
(40)
(41)
(42) The transformation of M input control codes to a new set of M output control codes as described above can be mathematically represented as follows. Define:
(43) a.sub.k ideal response for input control code k, k{0, 1, . . . , M}
(44) b.sub.k actual response for input control code k, k{0, 1, . . . , M}
(45) c.sub.k optimized (bit-reordered) output control code response for input control code k, k{0, 1, . . . , M}
(46) Then:
c.sub.k=b.sub.m,m=arg min{|b.sub.ma.sub.k|},k{0,1, . . . ,M},
(47) As with the sorting embodiment above, the codes that correspond to the set of best fit actual attenuation values are unlikely to be in sequential order. Accordingly, the input codes need to be mapped to the new order of codes corresponding to the sorted attenuation values in order to convert each input code to a mapped code, as in
(48) Again, the code transformation process described by way of a DSA example applies to any multi-stage stepwise signal modification circuit that exhibits accuracy errors of the type described above. In the examples set forth above, errors have only been described for signal modification circuits having binary-weighted stages. Another common way to build such circuits is using thermometer-coded stages in which each stage adds an equal increment to the total, rather than a binary-weighted increment. In some applications, a combination of binary and thermometer stages are used. Notably, the bit-reordering method described above works for all these embodiments.
(49)
(50) Mapping Functionality
(51)
(52) In contrast to the examples in
(53) The mapping function 810 may be implemented in a hardware or software, such as a hardware addressable storage device or look-up table (e.g., RAM, ROM, PROM, etc.), or as software implemented look-up table or conditional statements (e.g., as part of device driver code), or in combinatorial logic circuitry. Circuitry implementing the mapping function 810 may be embodied on the same integrated circuit (IC) device as the multi-stage stepwise signal modification circuit 800 or implemented externally to such an IC device.
(54) If the mapping function 810 is implemented as a simple look-up table, in the most general case the table size would be 2.sup.NN-bits (2.sup.N addressesN-bit wide output, where N is an integer 1). However, as noted above, in the case of the code transformation embodiment, the input control codes generally can be mapped to nearby (e.g., 3 or 4) values (see, e.g., graph line 626 in
(55) For example,
(56) Using the example of graph line 626 in
(57) Note that, in this example, when adding a 4-bit signed number to a 6-bit unsigned number (like the input control codes), the result can be 7 bits due to underflow or overflow. However, this can be prevented by purposely limiting values in the reduced look-up table 900 for input control code values that are close to zero or to full-scale values, essentially clipping the corresponding output control codes to zero or full-scale values, respectively. The same principle applies to control codes having fewer than or more than 6 bits.
(58) As mentioned above, accuracy errors may be reduced by redesign of a multi-stage stepwise signal modification circuit. However, for radio frequency circuits, some stages may behave differently at different frequencies. If so, then redesign may not correct as well across a range of frequencies. In contrast, embodiments of the present invention can utilize multiple mapping functions 810, one for each frequency range (e.g., VHF, UHF, etc.) and/or band (e.g., cellular radio bands B1, B2, B3, etc.). For example, a look-up table may have multiple pages, each page loaded with mapping transformations for different frequency ranges and/or bands. Selection of a specific page would be by one or more control signals that correlate to frequency range and/or band. A similar approach may be used to provide mapping transformations as a function of temperature for multi-stage stepwise signal modification circuit having stages that vary with temperature.
(59) The mappings needed for either sorting embodiments or code transformation embodiments of the present invention may be determined from characterization data or calibration data. Characterization data may be obtained for a particular design of a multi-stage stepwise signal modification circuit by testing a sampling of circuits, determining a suitable mapping in accordance with the descriptions above, and applying that mapping to all manufactured units of the circuit. Calibration data may be obtained by testing each unit of a multi-stage stepwise signal modification circuit, determining a suitable mapping in accordance with the descriptions above, and applying that mapping to the tested unit of the circuit.
(60) Somewhat surprisingly, using non-exact value stages in a multi-stage stepwise signal modification circuit often provides additional design flexibility. For example, in a DSA, the IC layout of a particular non-exact attenuation stage value may scale better than the exact value.
(61) Extended Accuracy
(62) Knowing at the design stage that a bit-reordering code transformation is planned for a particular multi-stage stepwise signal modification circuit, there are some design changes that will further improve accuracy results. This section describes three approaches for extending accuracy with respect to a multi-stage stepwise signal modification circuit to which bit-reordering code transformation is applied: fine bit resolution overprovisioning, negative biasing of one or more stages, and added fractional MSB.
(63) Fine Bit Resolution Overprovisioning:
(64) An extra M bits of resolution (where M is an integer 1) may be added in order to reduce the resolution noise by mapping an N-bit input control code (where N is an integer 2) to (N+M) signal modification stages to select a best-fit (N+M)-bit output control code. The overprovisioning bit or bits of resolution may be provided by one or more relatively small added LSB stages (tweak bits), such as one-half of the normal LSB stage value that would otherwise exist without overprovisioning.
(65) For example,
(66) Accordingly, embodiments of the invention may use overprovisioning to provide a number of possible states (e.g., 2{circumflex over ()}(N+1), 2{circumflex over ()}(N+2), etc.) that is larger than the number of desired output states to increase the possibility of a best-fit of N-bit input control codes to (N+M)-bit output control codes. Further discussion of overprovisioning may be found in the above-referenced patent application entitled Reflection-Based RF Phase Shifter.
(67) Negative Biasing of One or More Stages:
(68) If a designer knows where problem bits or error are likely to occur, the designer can adjust the design to compensate knowing that bit-reordering code transformation is available. For instance, if the MSB stage typically results in the largest error, one can design the MSB stage to be intentionally smaller in value than some ideal value (e.g., 7 dB rather than 8 dB). Achieving the targeted original MSB value may require a combination of the smaller MSB stage plus some combination of lesser valued stages, but at least a solution will exist by design and accordingly the targeted original MSB value will not be skipped over in re-ordering (although a tradeoff is reduced overall range).
(69) For example,
(70) Substituting an MSB stage smaller in value than the original MSB stage often allows a re-ordering that is closer to ideal. For example,
(71) The binary errors illustrated in
(72)
(73) where .sub.i is the i.sup.th coefficient in the binary expansion of k, and .sub.i is the actual attenuation of the i.sup.th stage. We can express the actual attenuation of a stage in terms of the stage ideal attenuation 2.sup.i and the stage attenuation error e.sub.i: .sub.i=2.sup.i+e.sub.i. Thus, the total attenuation error is given by:
(74)
(75) Larger attenuation stages tend to have larger errors. Consider a 6-bit attenuator with the following stage error vectors: [1, 0, 0, 0, 0, 0] and [X, 1, 0, 0, 0, 0], where X is 0 or 1 (i.e., a don't care value).
(76) As shown in oval 1108 of
(77) Notably, the plotted errors can be minimized if the errors are biased negatively with respect to the ideal attenuation 1102 plot line, since only positive jumps in error make uncorrectable gaps using the reordering method described above. For example, assume attenuation stage errors are uniformly distributed between 2.sup.i/8 dB and +2.sup.i/8 dB. Accordingly, an 8 dB stage would have error somewhere between 1 dB, a 4 dB stage would have error somewhere between 0.5 dB, etc. One aspect of some embodiments of the invention is to bias errors proportionally negative. For instance, a reasonable compromise would be to target stage attenuation values at 7, 3.5, 2, 1, 0.5, and 0.25 dB, instead of conventional values of 8, 4, 2, 1, 0.5, and 0.25 dB. Thus, the top two most significant bits would be weighted at 7 dB and 3.5 dB rather than at 8 dB and 4 dB.
(78) As described above,
(79) Another way of looking at the process is that negatively biasing some stages with respect to the ideal attenuation level moves the location of error commencement (e.g., within oval 1108 of
(80)
(81) Added Fractional MSB:
(82) A third design modification for enhancing accuracy takes advantage of the above-described bit reordering technique by adding a fractional MSB stage. For example,
(83) Accuracy of the DSA can be enhanced by adding an intermediate stage that has a fractional value relative to the MSB stage. For example, in
(84) Combinations of Accuracy Enhancement Techniques:
(85) Two or more of the three accuracy enhancement techniques described abovefine bit resolution overprovisioning, negative biasing of one or more stages, and added fractional MSBmay be combined in embodiments of the invention. Adding an attenuator stage may increase insertion loss, which may be acceptable for systems in which accuracy is paramount. On the other hand, negative biasing of one or more stages causes no extra insertion loss, with the tradeoff of some decrease in range. Accordingly, this aspect of the invention gives a designer great flexibility in enhancing the accuracy of a multi-stage stepwise signal modification circuit in conjunction with the reordering techniques described above.
(86) Two-Dimensional Remapping
(87) Some RF applications utilize both a phase shifting multi-stage stepwise signal modification circuit and an attenuation multi-stage stepwise signal modification circuit in series. Many embodiments of phase shifting circuits influence the attenuation level of an input RF signal as a function of selected phase shift degree, and many embodiments of attenuator circuits influence the phase of an input RF signal as a function of selected attenuation level. Accordingly, series coupling of phase shifting circuit and an attenuation circuit (in either order) presents a complication where selecting a desired final degree of phase shift and level of attenuation is a function of two interdependent circuits.
(88) This complication can be overcome by essentially treating the concatenated circuits as a single two dimensional (or 2-D) multi-stage stepwise signal modification circuit that modifies both phase and amplitude. Thus, the reordering techniques described above may be applied to the 2-D circuit, for example, by mapping each combination of phase and attenuation input control codes to corresponding output control codes representing a listing of closest actual values (phase and amplitude) generated by the 2-D circuit. Further discussion of 2-D mapping, using a different method of correction, may be found in the above-referenced patent application entitled State Change Stabilization in a Phase Shifter/Attenuator Circuit.
(89) Additional Methods
(90) The methods described above with respect to
(91) Fabrication Technologies & Options
(92) As should be readily apparent to one of ordinary skill in the art, various embodiments of the invention can be implemented to meet a wide variety of specifications. In particular, selection of suitable components and component values for multi-stage stepwise signal modification circuits and/or mapping function circuits is a matter of design choice and various embodiments of the invention may be implemented in any suitable integrated circuit (IC) technology (including but not limited to MOSFET structures), or in hybrid or discrete circuit forms. Integrated circuit embodiments may be fabricated using any suitable substrates and processes, including but not limited to standard bulk silicon, silicon-on-insulator (SOI), and silicon-on-sapphire (SOS). The invention may be implemented in other transistor technologies such as bipolar, GaAs HBT, GaN HEMT, GaAs pHEMT, and MESFET technologies. However, the inventive concepts described above are particularly useful with an SOI-based fabrication process (including SOS), and with fabrication processes having similar characteristics. Fabrication in CMOS on SOI or SOS processes enables circuits with low power consumption, the ability to withstand high power signals during operation due to FET stacking, good linearity, and high frequency operation (particularly radio frequencies of at least 100 MHz and including up to and exceeding 50 GHz). Monolithic IC implementation is particularly useful since parasitic capacitances generally can be kept low (or at a minimum, kept uniform across all units, permitting them to be compensated) by careful design.
(93) The term MOSFET, as used in this disclosure, means any field effect transistor (FET) with an insulated gate and comprising a metal or metal-like, insulator, and semiconductor structure. The terms metal or metal-like include at least one electrically conductive material (such as aluminum, copper, or other metal, or highly doped polysilicon, graphene, or other electrical conductor), insulator includes at least one insulating material (such as silicon oxide or other dielectric material), and semiconductor includes at least one semiconductor material.
(94) As used in this specification, the term radio frequency (RF) refers a rate of oscillation in the range of about 3 kHz to about 300 GHz. This term also includes the frequencies used in wireless communication systems. An RF frequency may be the frequency of an electromagnetic wave or of an alternating voltage or current in a circuit.
(95) Voltage levels may be adjusted, and/or voltage and/or logic signal polarities reversed, depending on a particular specification and/or implementing technology (e.g., NMOS, PMOS, or CMOS, and enhancement mode or depletion mode transistor devices). Component voltage, current, and power handling capabilities may be adapted as needed, for example, by adjusting device sizes, serially stacking components (particularly FETs) to withstand greater voltages, and/or using multiple components in parallel to handle greater currents. Additional circuit components may be added to enhance the capabilities of the disclosed circuits and/or to provide additional functionality without significantly altering the functionality of the disclosed circuits.
CONCLUSION
(96) A number of embodiments of the invention have been described. It is to be understood that various modifications may be made without departing from the spirit and scope of the invention. For example, some of the steps described above may be order independent, and thus can be performed in an order different from that described. Further, some of the steps described above may be optional. Various activities described with respect to the methods identified above can be executed in repetitive, serial, or parallel fashion.
(97) It is to be understood that the foregoing description is intended to illustrate and not to limit the scope of the invention, which is defined by the scope of the following claims, and that other embodiments are within the scope of the claims. In particular, the scope of the invention includes any and all feasible combinations of one or more of the processes, machines, manufactures, or compositions of matter set forth in the claims below. (Note that the parenthetical labels for claim elements are for ease of referring to such elements, and do not in themselves indicate a particular required ordering or enumeration of elements; further, such labels may be reused in dependent claims as references to additional elements without being regarded as starting a conflicting labeling sequence).