Indication circuit and correction method for correcting non-linear deviation of power detection circuit

By introducing a codeword image circuit into the RF transmitter, and using multiple nonlinear substrate conversion detection results to generate indicator codewords, the problem of nonlinear deviation of the power detection circuit in the RF transmitter is solved, and the precise control of the signal output power is realized and Reduced circuit costs.

CN119109534APending Publication Date: 2024-12-10REALTEK SEMICON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310677483.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-08
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

Due to the non-ideal effect, the power detection circuit of existing radio frequency transmitters has a nonlinear relationship with the detection results, and it is impossible to achieve accurate signal output power control.

Method used

Design an indication circuit including a power detection circuit and a codeword image circuit, and generate an indication codeword through multiple nonlinear substrate conversion results. Combined with these conversion results, it can correct the nonlinear deviation of the power detection circuit to ensure the output signal and the indication code. Words are linear.

Benefits of technology

The nonlinear deviation of the power detection circuit is effectively corrected, the linear correspondence between the output signal power and the indicator codeword is realized, the accuracy of the signal output power is improved, and the circuit cost is reduced and the circuit is highly adaptable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119109534A_ABST
    Figure CN119109534A_ABST
Patent Text Reader

Abstract

The invention relates to an indicating circuit and a correction method for correcting non-linear deviation of a power detection circuit. The indicating circuit comprises the power detection circuit and a code word mapping circuit. The power detection circuit is coupled to a signal output end of a transmitter circuit and is used for detecting power of an output signal to generate a detection result. The codeword mapping circuit is used for generating a corresponding indication codeword according to the detection result, and the codeword mapping circuit converts the detection result according to a plurality of non-linear substrates so as to correspondingly generate a plurality of converted detection results and combines the plurality of converted detection results to generate the indication codeword.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a transmission signal strength indicating circuit, in particular to a transmission signal strength indicating circuit capable of correcting the nonlinear deviation of a detection circuit in the indicating circuit. Background Art

[0002] In recent years, wireless communication standards have placed high demands on the accuracy of the signal output power of RF transmitters. Therefore, RF transmitters are usually equipped with a power control mechanism, for example, a power detection circuit (Power Detector) is used to detect the output signal power. The power detection result is used to determine whether the actual output signal power meets the originally set power to ensure accurate output signal power control.

[0003] Under ideal conditions, the power detection result of the power detection circuit will show a linear relationship with the actual output signal power of the RF transmitter. However, due to non-ideal effects in the circuit, the actual output signal power and the power detection result of the power detection circuit cannot show a linear relationship.

[0004] To solve this problem, a transmission signal strength indication circuit that can correct nonlinear deviation is needed. Summary of the invention

[0005] According to an embodiment of the present invention, an indication circuit includes a power detection circuit and a codeword mapping circuit. The power detection circuit is coupled to a signal output terminal of a transmitter circuit to detect a power of an output signal to generate a detection result. The codeword mapping circuit is used to generate a corresponding indication codeword according to the detection result, wherein the codeword mapping circuit converts the detection results according to multiple nonlinear bases to correspondingly generate multiple converted detection results, and combines the multiple converted detection results to generate the indication codeword.

[0006] According to another embodiment of the present invention, a correction method is provided for correcting the nonlinear deviation of a power detection circuit, comprising: detecting the power of an output signal of a transmitter circuit to generate a detection result; converting the detection result according to a plurality of nonlinear bases to correspondingly generate a plurality of converted detection results; and combining the plurality of converted detection results to generate an indication codeword. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 FIG. 4 is a block diagram showing an example of a communication device according to an embodiment of the present invention. Figure 2 It is a curve showing a corresponding relationship between the power of the output signal and the detection result according to an embodiment of the present invention. Figure 3It is a curve showing a corresponding relationship between a detection result and an indicator codeword according to an embodiment of the present invention. Figure 4 It is a curve showing a corresponding relationship between the indicator code word and the power of the output signal according to an embodiment of the present invention. Figure 5 is a flow chart showing an exemplary method for correcting the nonlinear deviation of a power detection circuit according to an embodiment of the present invention. Figure 6 is a circuit diagram showing an example of a codeword mapping circuit according to an embodiment of the present invention. Figure 7 is a circuit diagram showing an example of a base operation circuit according to an embodiment of the present invention. Figure 8 It shows the content of the lookup table element according to an embodiment of the present invention. DETAILED DESCRIPTION

[0008] Figure 1 1 is a block diagram showing an example of a communication device according to an embodiment of the present invention. The communication device 100 may include a transmitter circuit 110 configured on a transmission signal processing path and an indication circuit 120 configured on a feedback signal processing path. The transmitter circuit 110 may include multiple stages of transmission signal processing devices for processing transmission signals. According to an embodiment of the present invention, the transmitter circuit 110 may include a baseband circuit 111, digital to analog converters (DACs) 112-1 and 112-2 located on an in-phase channel I and a quadrature-phase channel Q, filters 113-1 and 113-2, programmable gain amplifiers (PGAs) 114-1 and 114-2, mixers 115-1 and 115-2, adders 116 and power amplifiers 117.

[0009] The baseband circuit 111 can receive a set of input signals located on the in-phase channel (I) and the orthogonal channel (Q), and process the received signals to generate baseband processed signals. In addition, the baseband circuit 111 can further generate control signals to control the operation of the subsequent circuits, for example, by setting the gain values ​​used by the programmable gain amplifiers 114-1 and 114-2 and / or the power amplifier 117 through the control signals, thereby controlling their operation.

[0010] The digital-to-analog converters 112-1 and 112-2 are used to convert the baseband processed signals from the digital domain to the analog domain on the in-phase channel and the orthogonal channel. The filters 113-1 and 113-2 are used to perform filtering operations on the received signals. The programmable gain amplifiers 114-1 and 114-2 are used to perform gain adjustment operations on the received signals. The mixers 115-1 and 115-2 are used to multiply the received signals with an oscillation signal LO_Sig, respectively, to convert the received signals from the baseband to radio frequency signals. The oscillation signals LO_Sig provided to the mixers 115-1 and 115-2 can be two signals with the same frequency and orthogonal phases. In an embodiment of the present invention, the oscillation frequency of the oscillation signal LO_Sig is LO. The adder 116 is used to combine the signals on the in-phase channel and the orthogonal channel. The power amplifier 117 is used to amplify the radio frequency signal before it is transmitted through the antenna.

[0011] The RF signal output by the power amplifier 117 can be coupled to the indication circuit 120 via the RF coupler 130, wherein the RF coupler 130 can also be regarded as a device included in the indication circuit 120. According to an embodiment of the present invention, the indication circuit 120 can be a Transmit Signal Strength Indicator (TSSI) circuit to implement closed-loop power control.

[0012] More specifically, the RF signal (i.e., output signal) output by the power amplifier 117 can be coupled (fed back) to the indication circuit 120 through the RF coupler 130. The indication circuit 120 may include a power detection circuit 121, an analog to digital converter (ADC) 122, and a codeword mapping circuit 123. The power detection circuit 121 is coupled to a signal output terminal of the transmitter circuit 110, such as the signal output terminal of the power amplifier 117, through the RF coupler 130, to receive the output signal of the power amplifier 117 and detect its power to generate a detection result. In one embodiment of the present invention, the power detection circuit 121 may include one or more of an attenuator, an RF rectifier, a mixer, and a filter. The attenuator can be used to adjust (e.g., amplify or attenuate) the received signal. The RF rectifier can be used to perform a rectification operation on the received signal. The mixer can be used to down-convert the received signal into a baseband signal. The filter can be used to perform a filtering operation on the received signal.

[0013] The analog-to-digital converter 122 is used to convert the detection result from the analog domain to the digital domain. The codeword mapping circuit 123 is used to generate a corresponding indication codeword TSSI_CW according to the detection result. The indication codeword TSSI_CW can be provided to the baseband circuit 111, and the baseband circuit 111 can derive a corresponding value according to the received indication codeword TSSI_CW, and this value reflects the detection result of the power detection circuit 121. The baseband circuit 111 can determine whether the actual output signal power meets the originally set power according to this value, and generate a corresponding control signal according to the determination result to control the operation of the programmable gain amplifiers 114-1 and 114-2 and / or the power amplifier 117, for example, the aforementioned gain value setting or adjustment.

[0014] It is worth noting that Figure 1 FIG. 1 is a simplified schematic diagram of a communication device, in which only components related to the present invention are shown. A person skilled in the art will understand that a communication device may include many components not shown in FIG. Figure 1 components to implement wireless communication and related signal processing functions.

[0015] As described above, under ideal conditions, the detection result output by the power detection circuit 121 will present a linear relationship with the actual output signal power of the transmitter circuit 110. However, due to non-ideal effects within the circuit (e.g., the power detection circuit 121), the actual output signal power and the detection output of the power detection circuit cannot present a linear relationship.

[0016] Figure 2 A curve is shown to show a corresponding relationship between the power of the output signal of the transmitter circuit and the detection result of the power detection circuit, wherein the X-axis represents the power PWR_Out of the output signal of the transmitter circuit, and the Y-axis represents the detection result PWR_DET_Out of the corresponding output of the power detection circuit. As shown in the figure, due to the non-ideal effect in the circuit, the power PWR_Out of the output signal and the detection result PWR_DET_Out of the power detection circuit have a nonlinear corresponding relationship, or a non-completely linear corresponding relationship. In this way, the baseband circuit 111 cannot linearly adjust the output power of the transmission signal according to the detection result PWR_DET_Out of the power detection circuit (or, according to the indicator codeword TSSI_CW generated corresponding to the detection result) (for example, by adjusting the gain value of the programmable gain amplifiers 114-1 and 114-2 and / or the power amplifier 117), thereby causing the problem of insufficient accuracy of the signal output power.

[0017] To solve this problem, in an embodiment of the present invention, the codeword mapping circuit 123 can convert a detection result PWR_DET_Out output by the power detection circuit according to multiple nonlinear basis conversions to correspondingly generate multiple converted detection results, and combine the multiple converted detection results to generate an indication codeword TSSI_CW provided to the baseband circuit 111, wherein the multiple converted detection results and the correspondingly generated indication codeword 111 may have a nonlinear corresponding relationship.

[0018] Figure 3 A curve is shown to show a corresponding relationship between the detection result of the power detection circuit and the indication code word TSSI_CW correspondingly output by the code word mapping circuit 123, wherein the X axis represents the detection result PWR_DET_Out output by the power detection circuit, and the Y axis represents the indication code word TSSI_CW correspondingly output by the code word mapping circuit 123 (which may also be equivalent to a corresponding value derived based on the indication code word TSSI_CW). As shown in the figure, the code word mapping circuit 123 can map the detection result PWR_DET_Out output by the detection circuit to a corresponding indication code word TSSI_CW in a nonlinear manner (or, a non-completely linear manner), so that the detection result PWR_DET_Out of the power detection circuit and the indication code word TSSI_CW correspondingly output by the code word mapping circuit 123 (or, a corresponding value derived based on the indication code word TSSI_CW) have a nonlinear corresponding relationship, or, a non-completely linear corresponding relationship.

[0019] However, this nonlinear correspondence can compensate or correct the nonlinear correspondence between the output signal power PWR_Out and the detection result PWR_DET_Out of the power detection circuit, so that the output signal power PWR_Out and the indicator codeword TSSI_CW generated by the codeword mapping circuit 123 have a linear correspondence.

[0020] Figure 4 A curve is shown to show a corresponding relationship between the indication code word TSSI_CW output by the code word mapping circuit 123 and the power of the output signal of the transmitter circuit, wherein the Y axis represents the power PWR_Out of the output signal of the transmitter circuit, and the X axis represents the indication code word TSSI_CW correspondingly output by the code word mapping circuit 123 (or a corresponding value derived based on the indication code word TSSI_CW). As shown in the figure, in one embodiment of the present invention, after the correction operation performed by the code word mapping circuit 123, the indication code word TSSI_CW generated by the code word mapping circuit 123 has a linear corresponding relationship with the actual power PWR_Out of the output signal.

[0021] In other words, in one embodiment of the present invention, the indicator codeword TSSI_CW or a value corresponding to the indicator codeword TSSI_CW (for example, a corresponding value derived based on the indicator codeword TSSI_CW) will reflect a change in the power PWR_Out of the output signal in a linear manner, or there is a linear correspondence between the changes of the two. For example, when the power PWR_Out of the output signal changes, the indicator codeword TSSI_CW or a value corresponding to the indicator codeword TSSI_CW will correspondingly change in a linear manner, thereby reflecting the change in the power PWR_Out of the output signal. The change amount generated by the indicator codeword TSSI_CW or the value corresponding to the indicator codeword TSSI_CW has a linear correspondence with the change amount of the power PWR_Out of the output signal. In this way, the indicator codeword TSSI_CW or a value corresponding to the indicator codeword TSSI_CW can accurately reflect the power PWR_Out of the output signal, and the change of the indicator codeword TSSI_CW or a value corresponding to the indicator codeword TSSI_CW can also accurately reflect the change of the power PWR_Out of the output signal.

[0022] It should be noted that in the embodiment of the present invention, the circuit design inside the analog circuit (e.g., the power detection circuit 121) is not changed, but the detection result PWR_DET_Out output by the detection circuit is mapped to a corresponding indication codeword TSSI_CW in a nonlinear manner (or, a non-completely linear manner) by using the codeword mapping circuit 123 to compensate or correct the nonlinear correspondence between the power PWR_Out of the output signal and the detection result PWR_DET_Out of the power detection circuit. This can effectively save circuit cost, and can also flexibly dynamically and adaptively adjust the nonlinear mapping logic used by the codeword mapping circuit 123 as the analog circuit (e.g., the power detection circuit 121) matched with the transmitter circuit 110 changes (e.g., using power detection circuits manufactured by different manufacturers), so that the correction method and the corresponding indication circuit proposed by the present invention have the advantages of low cost and high adaptability.

[0023] Figure 5 is a flow chart showing an exemplary method for correcting a nonlinear deviation of a power detection circuit according to an embodiment of the present invention, comprising the following steps performed by an indication circuit:

[0024] Step S502: Detect a power of an output signal of the transmitter circuit to generate a detection result.

[0025] Step S504: Convert the detection results according to the plurality of nonlinear bases to correspondingly generate a plurality of converted detection results.

[0026] Step S506: Combine the multiple converted detection results to generate an indicator codeword.

[0027] According to an embodiment of the present invention, when performing step S506 of combining the plurality of transformed detection results to generate the indication codeword, the codeword mapping circuit 123 may further generate the indication codeword according to a plurality of coefficients (eg, C 0 ~C K ) generates an indicator codeword TSSI_CW, wherein the multiple coefficients are used to weight the multiple converted detection results.

[0028] According to an embodiment of the present invention, the multiple bases may be bases of different orders. In steps S504 and S506, the codeword mapping circuit 123 generates the indication codeword in a nonlinear correspondence manner, wherein the nonlinear correspondence can be expressed as a K-order operation as shown below:

[0029] where φ k (·) is the kth order nonlinear basis, and the coefficient C 0 , ..., C K The corresponding coefficient of each basis, K is related to the degree of nonlinear deviation of the analog circuit (e.g., power detection circuit) in the indication circuit. The larger the K, the more serious the nonlinear deviation of the circuit. On the contrary, if K=1, there is a linear correspondence between the indication codeword TSSI_CW and the detection result PWR_DET_Out of the power detection circuit.

[0030] In the embodiment of the present invention, φ k (·) can be designed according to actual circuit measurement results. In one embodiment of the present invention, φ 1 (·)~φ K (·) can be nonlinear polynomials of different orders, for example, the general polynomials illustrated in the following equation (2) and the shifted Legendre polynomials illustrated in the following equation (3): φ k (x) = x k Formula (2)

[0031] In addition, the communication device 100 may be further coupled to an external calculation circuit 150 for calculating the coefficient C 0 , ..., C K In order to obtain the coefficient C 0 , ..., C K, the transmitter circuit 110 may first output N groups of signals with different powers as test signals, and record the output power measured at the antenna end at this time. Figure 1 , assuming that the output power measured at the antenna end is expressed as [PWR_Out 1 ,…,PWR_Out N ], and the detection output of the power detection circuit 121 is represented as [PWR_DET_Out 1 ,…,PWR_DET_Out N ], if the minimum square error calculation is used using the following formula (4), the required coefficient C can be obtained 0 , ..., C K : C=(H T ·H) -1 ·H T ·y=[C 0 , ..., C K ] T Formula (4)

[0032] The operation is the transpose operation of the vector or matrix, and y is the indicator codeword TSSI_CW vector, as shown in the following formula (5), where the indicator codeword is the output power [PWR_Out 1 ,…,PWR_Out N ] is an ideal indicator code word linearly corresponding to, for example, an indicator code word obtained by linear conversion.

[0033] In addition, the matrix H in formula (4) is a matrix of size (N x (K+1)), and its content is expressed as follows:

[0034] As mentioned above, φ k (·) is a known function designed according to actual circuit measurement results, and the signal output power [PWR_Out1, ..., PWR_OutN], the detection output [PWR_DET_Out1, ..., PWR_DET_OutN] and the ideal indicator codeword vector y are also known values. Therefore, the calculation circuit 150 can calculate the coefficient C according to formula (4): 0 , ..., C K . In obtaining the coefficient C 0 , ..., C KAfterwards, the calculation circuit 150 may no longer be coupled to the communication device 100, and the codeword mapping circuit 123 may further utilize equation (1) to generate the corresponding indication codeword TSSI_CW in a nonlinear manner (or, a non-completely linear manner) according to the actual detection result of the power detection circuit 121.

[0035] Figure 6 600 is a circuit diagram showing an example of a codeword mapping circuit according to an embodiment of the present invention. As shown in the figure, the codeword mapping circuit 600 may include a plurality of base operation circuits 601-1, 601-2, ... 601-K, a plurality of multipliers 601-2, 602-2, ... 602-K, and a plurality of adders 603-1, 603-2, ... etc. The base operation circuits 601-1, 601-2, ... 601-K may be respectively based on φ 1 (·)~φ K The content of (·) is designed to perform the corresponding basis operation. In one embodiment of the present invention, the codeword mapping circuit 600 can implement the operation of formula (1). That is, when the detection result PWR_DET_Out of the power detection circuit is input, the codeword mapping circuit 600 can output the corresponding indication codeword TSSI_CW according to the logic shown in formula (1).

[0036] In another embodiment of the present invention, the minimum input and maximum input as well as the minimum output and maximum output of each nonlinear basis can be normalized to values ​​between 0 and 1, and the content of each nonlinear basis can be appropriately quantized and stored in a corresponding lookup table to further simplify the design of the basis operation circuit in the codeword mapping circuit 600.

[0037] More specifically, assume that the detection result PWR_DET_Out is a binary value including multiple bytes, wherein the multiple bytes include a first number of first bits and a second number of second bits, and the first number of first bits includes at least a most significant bit (Most Significant Bit, abbreviated as MSB) among the multiple bytes, for example, the first bit is the N more significant bits starting from the MSB, and the second number of second bits includes at least a least significant bit (Least Significant Bit, abbreviated as LSB) among the multiple word bits, for example, the second bit is the M less significant bits starting from the LSB.

[0038] According to one embodiment of the present invention, when the codeword mapping circuit 123 converts the detection results according to multiple nonlinear bases, the codeword mapping circuit 123 can obtain a first value and a second value according to a first bit of a first quantity, and obtain a difference between the first value and the second value, calculate an offset according to a second bit of a second quantity and the difference, and generate a corresponding converted detection result among the multiple converted detection results according to the first value and the offset.

[0039] According to an embodiment of the present invention, the first value is directly related to the first bit of the first number, and the first value and the second value are set according to a corresponding nonlinear basis among a plurality of nonlinear bases. For example, the codeword mapping circuit 123 may include one or more lookup tables, each lookup table may correspond to one of the plurality of nonlinear bases, and each lookup table may include a plurality of elements set according to the nonlinear basis to store the quantization result of the nonlinear basis, for example, the first value and the second value are both recorded in the corresponding lookup table as part of a plurality of elements, wherein a number of the elements is determined according to the first number.

[0040] Figure 7 is a circuit diagram showing an example of a base operation circuit according to an embodiment of the present invention. In this example, the base operation circuit 700 can be based on the base φ k The content of (·) is designed to perform the corresponding basis operation. Assuming that the detection result PWR_DET_Out output by the power detection circuit is a binary value including (M+N) bits, which includes the first N more significant bits (for example, the first bit including the most significant bit (MSB) in the aforementioned PWR_DET_Out) and the last M less significant bits (for example, the second bit including the least significant bit (LSB) in the aforementioned PWR_DET_Out), the basis operation circuit 700 may include a lookup table LUT k , Lookup Table LUT k- May include (2 N +1) fields to store (2 N +1) elements.

[0041] Take an actual example as an example. Assume that the detection result PWR_DET_Out output by the power detection circuit is a binary value containing 8 bits, where M=4 and N=4. Then the lookup table LUT k The number of elements included is (2 4 +1)=17, and each element can be defined as a 12-bit binary value. As described above, the minimum and maximum inputs and the minimum and maximum outputs of each nonlinear basis can be normalized to values ​​between 0 and 1. Therefore, the nonlinear basis φ kThe maximum input and maximum output of (·) are normalized to 1. In this example, the basis φ is assumed k (·) is a general polynomial with order k = 3, that is, φ 3 (x) = x 3 , then the basis φ 3 The content of (x) can be moderately quantified into 17 elements.

[0042] Figure 8 It shows the content of the lookup table element according to an embodiment of the present invention. The left field shows the lookup table LUT k The right field shows the index value actually stored in the lookup table LUT k The value of (i.e., according to the nonlinear basis φ k (x) The element content to be set, where k = 3, and the middle field shows the basis φ corresponding to each element 3 (x) Ideal value. Assume that the detection result PWR_DET_Out output by the power detection circuit is 01111010 (binary value), which is 122 in decimal. Then the base φ 3 The ideal value of (x) is (122 / 256) 3 =0.108.

[0043] When the codeword mapping circuit 123 converts the detection results according to multiple nonlinear bases, it can be applied Figure 7 The base operation circuit shown generates the corresponding converted detection result. First, since the first 4 (N=4) bits of the detection result are 0111, which corresponds to the decimal value 7, the codeword mapping circuit 123 can take the value 7 corresponding to the first 4 bits 0111 of the detection result as the lookup table LUT k The index value i of the lookup table LUT k Get the corresponding first value LUT k (i) and the second numerical LUT k (i+1), in this example, LUT 3 (7) = 000101010111 and LUT 3 (8) = 001000000000. Then, the adder 701 obtains a difference between the first value and the second value, which is a binary subtraction operation in this example: LUT 3 (8)-LIT 3 (7) = 000010101001. It should be noted that the first value LUT k (i) and the second numerical LUT k (i+1) are all based on the nonlinear basis φ 3(x) and the corresponding index values ​​(i) and (i+1), and because the first value LUT k (i) The value corresponding to the first 4 bits 0111 of the detection result is used as the index value of the lookup table LUT k The value found, so the first value LUT k (i) is directly related to the first 4 bits 0111 (i.e., the first bit mentioned above) of the detection result, the second value LUT k (i+1) is indirectly related to the first bit.

[0044] Next, binary multiplication is performed by multiplier 702 to multiply the last 4 (M=4) bits 1010 of the detection result by the difference value output by adder 701 to calculate an offset, which is the following operation in this example: 3 (8)-LUT 3 (7)]×1010=0000011010011010. Then, the adder 703 performs binary addition to add the first value and the offset to obtain a result equivalent to performing linear interpolation based on the first value and the second value, which is the following operation in this example: LUT 3 (7)+0000011010011010=0001110000001010. It should be noted that, since the first value and the offset have different bit numbers, the most significant bits (MSBs) of the two are aligned before binary addition is performed, that is, in this embodiment, four zeros are added after the first value. Finally, the output of the adder 703 is rounded to a 12-bit value by the rounding circuit 704 as the final output PWR_DET_Out′, which is the aforementioned converted detection result and is also the item φ in formula (1). k In this example, PWR_DET_Out′=000111000001, which corresponds to a decimal value of 449. The normalized and rounded value is (449 / 4096)=0.1096, which is close to the base φ 3 (x) The ideal value is (122 / 256) 3 =0.108.

[0045] As described above, in the embodiment of the present invention, the circuit design inside the analog circuit (e.g., the power detection circuit 121) is not changed, but the detection result PWR_DET_Out output by the detection circuit is mapped to a corresponding indication codeword TSSI_CW in a nonlinear manner (or, a non-completely linear manner) by using the codeword mapping circuit 123 to compensate or correct the nonlinear correspondence between the power PWR_Out of the output signal and the detection result PWR_DET_Out of the power detection circuit. In this way, the circuit cost can be effectively saved, and the nonlinear mapping logic used by the codeword mapping circuit 123 can be dynamically and adaptively adjusted with the change of the analog circuit (e.g., the power detection circuit 121) matched with the transmitter circuit 110 (e.g., using the power detection circuit manufactured by different manufacturers), so that the correction method proposed by the present invention and the corresponding indication circuit have the advantages of low cost and high adaptability. In addition, in some embodiments of the present invention, the design of the base operation circuit in the codeword mapping circuit 600 can be simplified by using a lookup table, so that the circuit complexity of the codeword mapping circuit can be further reduced and the manufacturing cost can be saved. The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made according to the claims of the present invention should fall within the scope of the present invention.

Explanation of symbols

Claims

1. An indicating circuit, It is characterized in that include: A power detection circuit, coupled to a signal output terminal of a transmitter circuit, for detecting a power of an output signal to generate a detection result; as well as A codeword mapping circuit is used to generate a corresponding indication codeword according to the detection result, wherein the codeword mapping circuit converts the detection result according to multiple nonlinear bases to correspondingly generate multiple converted detection results, and combines the multiple converted detection results to generate the indication codeword.

2. The indicating circuit according to claim 1, It is characterized in that The power of the output signal has a nonlinear corresponding relationship with the detection result, the detection result has a nonlinear corresponding relationship with the indication codeword, and the power of the output signal has a linear corresponding relationship with the indication codeword.

3. The indicating circuit according to claim 1, It is characterized in that When the power of the output signal changes, a value corresponding to the indicator codeword changes accordingly in a linear manner.

4. The indicating circuit according to claim 1, It is characterized in that The multiple substrates are substrates of different orders.

5. The indicating circuit according to claim 1, It is characterized in that The detection result is a binary value including multiple bits, the multiple bits including a first number of first bits and a second number of second bits, the first bits of the first number at least include a most significant bit among the multiple bits, and the second bits of the second number at least include a least significant bit among the multiple bits, and when the codeword mapping circuit converts the detection result according to the multiple non-linear bases, the codeword mapping circuit obtains a first value and a second value according to the first bit of the first number, and obtains a difference between the first value and the second value, calculates an offset according to the second bit of the second number and the difference, and generates a corresponding converted detection result among the multiple converted detection results according to the first value and the offset.

6. The indicating circuit according to claim 5, It is characterized in that The first value is directly related to the first number of the first bits, and the first value and the second value are set according to a corresponding one of the plurality of nonlinear bases.

7. The indicating circuit according to claim 5, It is characterized in that The codeword mapping circuit includes one or more lookup tables, one of the one or more lookup tables corresponds to one of the multiple nonlinear bases, and the one or more lookup tables respectively include multiple elements, and a number of the multiple elements is determined according to the first number.

8. A correction method for correcting the nonlinear deviation of a power detection circuit, It is characterized in that include: detecting a power of an output signal of a transmitter circuit to generate a detection result; transforming the detection result according to a plurality of nonlinear bases to correspondingly generate a plurality of transformed detection results; as well as The plurality of transformed detection results are combined to generate an indicator codeword.

9. The calibration method according to claim 8, It is characterized in that The power of the output signal has a nonlinear corresponding relationship with the detection result, the detection result has a nonlinear corresponding relationship with the indication codeword, and the power of the output signal has a linear corresponding relationship with the indication codeword.

10. The calibration method according to claim 8, It is characterized in that When the power of the output signal changes, a value corresponding to the indicator codeword changes correspondingly in a linear manner.