Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
ELECTRIC CIRCUIT ARRANGEMENT TO CONTROL CURRENT GENERATION
Document Type and Number:
WIPO Patent Application WO/2020/083603
Kind Code:
A1
Abstract:
An electric circuit arrangement (10) to control current generation comprises a current generator circuit (100) comprising a plurality of output current paths (P1,..., PN+1) and a plurality of controllable switching circuits (SC1,...,SCN+1), wherein each of the output current paths (P1,...,PN+1) includes a respective electrical component (T1,...,TN+1) to define a current in the respective output current path (P1,..., PN+1)· The electric circuit arrangement (10) further comprises a random code generator (300) to provide a respective code derived from a respective one of the random codes, and a counter (400) to generate a count. A controller (200) is configured to use the respective derived code or the count to control a respective one of the controllable switching circuits (SC1,...,SCN+1) of the current generator circuit (100).

Inventors:
MACCIONI ALBERTO (NL)
FRANZOLIN MASSIMILIANO (NL)
SCHIPANI MONICA (NL)
MANNOZZI FABRIZIO (NL)
Application Number:
PCT/EP2019/076047
Publication Date:
April 30, 2020
Filing Date:
September 26, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SCIOSENSE BV (NL)
International Classes:
G05F3/26
Foreign References:
US20020026469A12002-02-28
US20120194264A12012-08-02
US20130259091A12013-10-03
US20040227499A12004-11-18
US20150286240A12015-10-08
US20160147247A12016-05-26
US20060255841A12006-11-16
Attorney, Agent or Firm:
EPPING HERMANN FISCHER PATENTANWALTSGESELLSCHAFT MBH (DE)
Download PDF:
Claims:
Claims

1. An electric circuit arrangement to control current generation, comprising:

- a current generator circuit (100) having a first output terminal (01) to generate an output current (II),

- a controller (200) to generate control signals (Ci,

ICi, ...CN+I, ICN+I ) to control the current generator circuit (100) ,

- a random code generator (300) to generate random codes,

- a counter (400) to generate a count,

- wherein the current generator circuit (100) comprises a plurality of output current paths (Pi, ..., PN+i) and a plurality of controllable switching circuits (SCi, ...,

SCN+i) , wherein each of the output current paths (Pi, ...,

PN+i) includes a respective electrical component (Ti, ...,

TN+i) to define a current in the respective output current path (Pi, ..., PN+I) , and wherein a respective one of the controllable switching circuits (SCi, ..., SCN+i) is coupled to a respective one of the output current paths (Pi, ...,

PN+i) to connect the respective electrical component (Ti, ..., TN+i) to the first output terminal (01),

- wherein the random code generator (300) is configured to provide a respective code derived from a respective one of the random codes,

- wherein the controller (200) is configured to use the respective derived code or the count depending on the derived code to generate a respective one of the control signals (Ci, ICi, ...CN+I, ICN+I ) to control a respective one of the

controllable switching circuits (SCi, ..., SCN+i) of the current generator circuit (100).

2. The electric circuit arrangement of claim 1, - wherein the current generator circuit (100) has a second output terminal (02),

- wherein the controller (200) is configured to generate the control signals (Ci, ICi, ...CN+i, ICN+i) such that one of the output current paths (Pi, ..., PN+i) is connected to the second output terminal (02) and the remainder of the output current paths (Pi, ..., PN+i) are connected to the first output terminal (01) .

3. The electric circuit arrangement of claim 1 or 2,

wherein the controller (200) is configured to use the

respective derived code to generate the control signals (Ci, ICi, ...CN+I, ICN+I) , when a decimal representation of the derived code is lower than the number of the remainder of the output current paths .

4. The electric circuit arrangement of claim 3,

wherein the controller (200) is configured to use the count to generate the control signals (Ci, ICi, ...CN+i, ICN+i) , when the decimal representation of the derived code is larger than the number of the remainder of the output current paths.

5. The electric circuit arrangement of any of the claims 1 to

4,

wherein the counter (400) is configured to increase the count, when the count is used by the controller (200) to generate the control signals (Ci, ICi, ...CN+i, ICN+i) .

6. The electric circuit arrangement of any of the claims 1 to

5,

wherein the counter (400) is configured to increase the count between a start value and a final value, wherein the number of counts between the start value and the final value corresponds to the number of output current paths (PI,

PN+1) of the current generator circuit (100) .

7. The electric circuit arrangement of any of the claims 1 to

6,

wherein the random code generator (300) comprises a linear feedback shift register (310).

8. The electric circuit arrangement of claim 7,

- wherein the linear feedback shift register (310) comprises a shift register (320) including a plurality a storage cells (320a, ..., 320n) , wherein each of the storage cells (320a, ..., 320n) is configured to store one bit of the respective random code,

- wherein the linear feedback shift register (310) is

configured to provide the respective derived code from storage cells (320a, 320b, 320c) to be evaluated, the storage cells (320a, 320b, 320c) to be evaluated being a portion of the plurality of storage cells (320a, ..., 320n) ,

- wherein the linear feedback shift register (310) is

configured to provide the respective derived code in

dependence on a respective storage state of the storage cells (320a, 320b, 320c) to be evaluated.

9. The electric circuit arrangement of claim 8,

wherein the linear feedback shift register (310) is

configured such that the storage cells (320a, 320b, 320c) to be evaluated are provided with a number M which fulfills the condition 2M > N + 1, wherein N + 1 is the number of the output current paths (PI, ..., PN+1) of the current generator circuit (100) .

10. The electric circuit arrangement of any of the claims 1 to 9, comprising:

- a clock circuit (500) to generate a clock signal (CLK) between subsequent time steps,

- wherein the random code generator (300) is clocked by the clock signal (CLK) such that the respective one of the random codes and the respective one of the derived codes is

generated in a respective one of the time steps,

- wherein the controller (200) is clocked by the clock signal (CLK) such that the respective derived code or the count is used in the respective one of the time steps to generate the control signals (Ci, ICi, ...CN+i, ICN+i) .

11. The electric circuit arrangement of any of the claims 1 to 10,

- wherein the current generator circuit (100) comprises a current mirror circuit including a plurality of mirror transistors (Ti, ..., TN+i) , wherein each of the output current paths (Pi, ..., PN+i) includes a respective one of the mirror transistors (Ti, ..., TN+i) ,

- wherein the current generator circuit (100) is configured to connect the respective mirror transistor (Ti, ..., TN+i) to the first output terminal (01) by the respective controllable switching circuit (SCi, ..., SCN+i) .

12. The electric circuit arrangement of claim 11,

wherein a respective one of the controllable switching circuits (SCi, ..., SCN+i) is coupled in series with a

respective one of the mirror transistors (TI, ..., TN+1) .

13. A signal processing circuit, comprising:

- an electric circuit arrangement (10) of one of the claims 1 to 12 , - at least one of a bias current generator (21), a band gap reference circuit (22), a digital to analogue converter (23) and an analogue to digital converter (24),

- wherein the electric circuit arrangement (10) is included in at least one of the bias current generator (21), the band gap reference circuit (22), the digital to analogue converter (23) and the analogue to digital converter (24) .

14. A communication device, comprising:

- a signal processing circuit according to claim 13,

- a sensor circuit (30), wherein the signal processing circuit (1) is included in the sensor circuit (30) .

15. The communication device of claim 14,

- wherein the analogue to digital converter (24) of the signal processing circuit (1) is embodied as a sigma-delta analogue to digital converter,

- wherein the sensor circuit (30) is embodied as one of a temperature sensor circuit, a pressure sensor circuit, a humidity sensor circuit or a resistance measurement circuit.

Description:
Description

ELECTRIC CIRCUIT ARRANGEMENT TO CONTROL CURRENT GENERATION

Technical Field

The disclosure relates to an electric circuit arrangement to control a current generation, wherein an output current is generated as a defined ratio of a reference current.

Background

For a plurality of applications, it is desired to provide a current being derived from a reference current, wherein the generated current and the reference current have a defined ratio. The ratio can be obtained by summing a number of partial currents respectively flowing through a certain number of unit elements, for example a transistor, a

capacitor, a resistor, etc., in order to get a rational factor .

An example of a typical current generator circuit to generate an output current with a defined ratio in relation to a reference current is a current mirror circuit. A current mirror circuit usually comprises an input current path with a precise current source to generate a reference current. The reference current is mirrored in a plurality of output current paths. Each of the output current paths includes a mirror transistor. In order to generate an output current having a defined ratio in relation to the reference current, a certain number of the output current paths is connected to an output terminal so that the partial output currents flowing through the output current paths are summed at the output terminal .

In order to generate the output current precisely with a predefined ratio, it will be necessary that the respective electrical components, for example the respective

transistors, arranged in each of the output current paths are manufactured with a defined exact geometrical size. Those elements, however, are usually not exactly identical because they suffer from a mismatch error, which is usually a

function of their geometrical size.

There is a desire to provide an electric circuit arrangement to control current generation, wherein a mismatch of

electrical components being included in output current paths of a current generator circuit of the circuit arrangement is reduced so that an output current is generated with a precise ratio in relation to a reference current.

Summary

An embodiment of an electric circuit arrangement to control current generation, wherein an output current is generated in a precise relationship to a reference current is specified in claim 1.

According to an embodiment of the electric circuit

arrangement, the electric circuit arrangement to control current generation comprises a current generator circuit having a first output terminal to generate an output current, a controller to generate control signals to control the current generator circuit, a random code generator to

generate random codes, and a counter to generate a count. The current generator circuit comprises a plurality of output current paths. Each of the output current paths includes a respective electrical component to define a current in the respective output current path. Furthermore, the current generator circuit comprises a plurality of controllable switching circuits, wherein a respective one of the

controllable switching circuits is coupled to a respective one of the output current paths to connect the respective electrical component to the first output terminal. The random code generator is configured to provide a respective code derived from a respective one of the random codes. The controller is configured to use the respective derived code or the count depending on the derived code to generate a respective one of the control signals to control a respective one of the controllable switching circuits of the current generator circuit.

In order to reduce the effect of mismatch between the

electrical components included in the output current paths, the electric circuit arrangement is embodied to dynamically re-group the electrical components of the various output current paths by varying the composition of the groups. As a result, the average ratio of an output current in relation to a reference current is closer to an ideal value than if always predefined electrical components of each of the output current paths are used to generate the output current. The electric circuit arrangement thus uses dynamic element matching to generate an output current with a precise

relationship in relation to a reference current.

The current generator circuit comprises N+l output current paths, wherein N of these output current paths may be

connected to the first output terminal by a respective one of the controllable switching circuits coupled to the respective output current path. Furthermore, one of the output current paths is connected to the second output terminal by one of the controllable switching circuits that is coupled to said one of the output current paths. In comparison to a rotation- based dynamic element matching approach, the technique realized by the proposed electric circuit arrangement

combines the generation of a pseudo-random sequence/code generated by the random code generator with the generation of a count generated by a counter. The count may be generated by the counter as a random code from 0 to N.

According to a possible embodiment, the random code generator may be embodied as a linear feedback shift register (LFSR) to generate the pseudo-random sequence/code. The linear feedback shift register has a number X of outputs/storage cells, wherein a portion of a number M of the X storage cells are used to provide the derived code. For this purpose, the number M of the X storage cells is embodied as storage cells to be evaluated which are combined to produce the derived random code. If each of the storage cells to be evaluated includes a binary value, a derived random code between a decimal value 0 and a decimal value 2 M -1 can be generated by the M storage cells to be evaluated.

In order to select the N output current paths to be connected to the first output terminal and the one output current path to be connected to the second output terminal, N+l of the derived codes of the random code generator are required to determine the distribution of the output current paths to the first and second output terminal. The electric circuit arrangement is configured such that a derived code generated by the random code generator is omitted and rather the count/random code generated by the counter is selected in case an illegal/non-permitted derived code is produced by the random code generator. An illegal code non-permitted to generate the control signals is a code, for example a binary or hexadecimal code, corresponding to a decimal value being larger than N. A derived code permitted to generate the control signals corresponds to a decimal value lower than or equal to N.

Using a linear feedback shift register to generate the random codes/derived codes together with an auxiliary counter to generate an additional code, in order to generate the control signals, is a technique used by the proposed electric circuit arrangement that can overcome the limitation of the

generation of 2 N codes given by the linear shift register alone. Furthermore, the programmable counter allows to extend the proposed modified dynamic element matching method to an arbitrary number of codes at run time.

The main difference compared with a rotation-based dynamic element matching method is that the grouping of the

respective electrical components of the output current paths is pseudo-random so that it does not repeat with a period of N. In contrast to the proposed modified dynamic element matching used by the electric circuit arrangement, a

rotation-based dynamic element matching repeats a code with a small period, typically equal to the number of elements to be rotated. This is equivalent to injecting a tone at a specific frequency, which can cause side effects depending on the architecture in which the dynamic element matching is used.

For example, if a current mirror with an implemented

rotation-based dynamic element matching method is used in combination with an on-board sigma-delta analog-to-digital converter so that the rotation-based dynamic element matching interferes with the operation of the on-board sigma-delta analog-to-digital converter, the effect is a sharp increase in output noise and the presence of strong non-linearities at specific input levels. However, the ideal situation would be to excite all codes without periodic signals and with a flat histogram, which means that all codes should be used the same number of times.

Compared with an alternative implementation that uses a linear feedback shift register and a modulo N circuit, the proposed electric circuit arrangement is less costly in terms of area and is less time-critical so it can be employed with a high frequency. Moreover, the difference in gate count is low for low values of N but increases with N as shown in the comparison table below.

Furthermore, if the ratio N is variable, a programmable modulo N circuit is required, with an even greater gate count .

The accompanying drawings are included to provide a further understanding and are incorporated in and constitute a part of this specification. The drawings illustrate several embodiments of the electric circuit arrangement to control current generation, and together with the description serve to explain principles and the operation of the various embodiments .

Brief Description of the Drawings

Figure 1 shows an embodiment of a current generator circuit being comprising as a current mirror to generate an output current by dynamic element matching;

Figure 2 shows a block diagram of an electric circuit

arrangement to control current generation by a current generator circuit using dynamic element matching;

Figure 3 shows an embodiment of a random code generator being configured as a linear feedback shift register to generate random codes;

Figure 4 shows a control algorithm to select a code to

control controllable switching circuits of a current generator circuit using dynamic element matching;

Figure 5 illustrates a table containing states of a random code generator, a counter and selected output to control a current generator circuit using dynamic element matching;

Figure 6A shows an embodiment of a signal processing circuit comprising an electric circuit arrangement to control current generation; and Figure 6B shows an embodiment of a communication device comprising an electric circuit arrangement to control current generation.

Detailed Description

Figure 1 illustrates an exemplified embodiment of a current generator circuit 100 comprising a current mirror. The current generator circuit comprises an input path Po

including a transistor To and a reference current source IS to generate a reference current IREF. The current generator circuit 100 further comprises a plurality of output current paths Pi, ..., P N+i . Each of the output current paths Pi, ..., P N+i includes a respective electrical component Ti, ..., T N+i to define a current in the respective output current path. Furthermore, the current generator circuit 100 comprises a plurality of controllable switching circuit SCi, ..., SC N+i .

A respective one of the controllable switching circuits SCi, ..., SC N+i is coupled to a respective one of the output current paths Pi, ..., P N +I to connect the respective

electrical component Ti, ..., T N+i to an output terminal 01 of the current generator circuit 100 to generate an output current II. Each of the controllable switching circuits SCi, ..., SC N+i comprises a pair of controllable switches respectively including a first controllable switch Sla, S2a, S3a, ... , SN+la and a respective second controllable switch Sib, S2b, S3b, ..., SN+lb.

According to the embodiment of the current generator circuit 100 shown in Figure 1, the current mirror circuit includes a plurality of mirror transistors Ti, ..., T N+i . Each of the output current paths Pi, ..., P N +I includes a respective one of the mirror transistors Ti, T N+i . The current generator circuit 100 is configured to connect the respective mirror transistor Ti, ..., T N+i to the first output terminal 01 by the respective controllable switching circuit SCi, ..., SC N+i .

Furthermore, the respective controllable switching circuit SCi, ..., SC N+i can be controlled such that one of the

respective mirror transistors Ti, ..., T N+i is connected to a second output terminal 02 of the current generator circuit 100. By way of example, the mirror transistor Ti of the current path Pi may be connected to the output terminal 02 by operating the controllable switch Sla in a closed or low resistive/conductive state and by operating the controllable switch Sib in an open or high resistive/non-conductive state. Furthermore, the remaining mirror transistors T 2 , ..., T N+i of the current mirror circuit can be connected to the first output terminal 01 by operating the controllable switches S2b, S3b, ..., SN+lb in a closed or low resistive/conductive state and by operating the controllable switches S2a,

S3a, ..., SN+la in an open or high resistive/non-conductive state .

Figure 1 illustrates the current generator circuit 100 comprising a current mirror circuit with P-type transistors. According to a possible alternative embodiment, the current mirror circuit 100 could also be implemented with N-type transistors. In this case, the current generator circuit would sink 11/12. Basically, the current generator circuit can be implemented with transistors of the N- or P-type or with cascaded transistors. Furthermore, any type of mirror circuit can be adapted, as long as it can be decomposed into electrical components/unit elements that can be connected to the output terminal 01 and the output terminal 02 selectively .

Figure 2 illustrates a block diagram of an electric circuit arrangement 10 to control current generation by means of a dynamic element matching method. The electric circuit

arrangement comprises the current generator circuit 100 which can be embodied as shown and explained with reference to Figure 1.

The electric circuit arrangement 10 further comprises a controller 200 to generate control signals Ci, ICi, ..., C N+i , IC N +I to control a respective one of the controllable

switching circuits. The electric circuit arrangement 10 further comprises a random code generator 300 to generate random codes and a counter 400 to generate a count. The random code generator 300 is configured to provide a

respective code derived from a respective one of the random codes .

Figure 3 shows an embodiment of the random code generator 300. As shown in the exemplified embodiment of Figure 3, the random code generator 300 is configured or comprises a linear feedback shift register (LFSR) 310. The linear feedback shift register 310 comprises a shift register 320 including a plurality of storage cells 320a, ..., 320n. Each of the storage cells 320a, ..., 320n is configured to store one bit of the respective random code generated by the linear

feedback shift register.

The linear feedback shift register 310 is configured to provide the respective derived code from storage cells to evaluated, these storage cells being a portion of the plurality of all of the storage cells 320a, 320n. The respective derived code is provided in dependence on a respective storage state of the storage cells to be

evaluated, for example the storage cells 310a, 310b and 310c. According to the illustrated embodiment of the linear

feedback shift register 310, the first three storage cells of the shift register 320 are the cells which contain the derived code which is evaluated by the controller 200.

As shown in Figure 3, the linear feedback shift register 310 further comprises a logic circuitry 330 which receives the storage content of at least two storage cells of the shift register 320. In the illustrated example of the linear feedback shift register 310, the logic circuitry 330 receives the storage content of the third-last storage cell 3201 and the storage content of the last storage cell 320n. The storage content of these two storage cells is combined by the logic circuitry 330. The output of the logic circuitry 330 is connected to an input side of the shift register 320 so that a new storage content is moved in the first storage cell 320a of the shift register and the respective content of the other storage cells 320b, ..., 320n is shifted to the right by one storage cell.

The use of a linear shift register for the random code generator 300 allows to generate a pseudo-random code which repeats with a long period.

The embodiment of the linear feedback shift register shown in Figure 3 is only an example for the implementation of a code generator which may be used for the electric circuit

arrangement 10. The particular implementation of the linear feedback shift register 310 depends from the chosen polynomial. As a result, the random code generator 300 based on the linear feedback shift register 310 can be

advantageously adapted to the application in which the electric circuit arrangement 10 is used for current

generation. In particular, the chosen polynomial and thus the realization of the linear feedback shift register can be adapted to the needed application purpose.

Another advantage is that the length of the generated pseudo random sequence/code can be easily affected by the number X of the storage cells 320a, ..., 320n of the shift register

320. The more storage cells that are provided for the shift register 320, the longer the repeating period for the pseudo random sequence (2 X -1) .

As shown in Figure 2, the electric circuit arrangement 1 comprises a clock circuit 500 to generate a clock signal CLK between subsequent time steps. The random code generator 300 is clocked by the clock signal CLK such that the respective one of the random codes and the respective one of the derived codes is generated in a respective one of the time steps.

Referring to Figure 2, the controller 200 is configured to select one of the respective derived code and the count depending on the derived code and to use the selected one of the respective derived code and the count provided by the counter 400 to generate a respective one of the control signals Ci, ICi, ..., C N+i , IC N+i to control a respective one of the controllable switching circuits SCi, ..., SC N+i of the current generator circuit 100. The controller 200 is clocked by the clock signal CLK such that the respective derived code of the random code generator 300 or the count of the counter 400 is used in the respective one of subsequent time steps to generate the control signals Ci, ICi, ...C N+i , IC N+i .

The use of a clock circuit advantageously enables to operate the controller 200 and the random code generator 300 as clocked circuits. As a result, a new random code, and thus a new derived code, is provided by the random code generator 300 in every clock cycle. Furthermore, the switching state of the controllable switching circuits SCi, ..., SC N+i is changed by the controller 200 in every clock cycle so that the use of the electrical components, for example the mirror

transistors, for the generation of the output current is changed every clock cycle by means of dynamic element

matching. As a result, an output current can be generated by the current generator circuit 100 which is close to a

predefined rational factor of the precise reference current IREF.

The controller 200 is configured to generate the control signals Ci, ICi, ...C N+i , IC N+i such that one of the output current paths Pi, ..., P N +I with its respective electrical component is connected to the second output terminal 02 and the remainder of the output current paths with their

respective electrical component are connected to the first output terminal 01. Regarding the embodiment of the current generator circuit 100 being configured as a current mirror circuit shown in Figure 1, the controller 200 is configured to generate the control signals to control the respective controllable switching circuits SCi, ..., SC N+i such that only one of the output current paths with its mirror transistor is connected to the output terminal 02, and the remainder of the output current paths with their respective current mirror are connected to the output terminal 01. The proposed configuration of the electric circuit arrangement enables to provide the output current at the output terminal 01 as a sum of various partial currents which are generated by the electrical components being arranged in the respective output current path. The amount of the output current is thus defined by the number of partial currents to be summed at the output terminal 01 and, in particular, by the geometrical size of the electrical component, for example the mirror transistor, being included in the respective output current path.

According to an embodiment of the electric circuit

arrangement 10, the random code generator 300 may provide the random codes and thus also the derived codes in a hexadecimal or binary format which can easily be stored in the storage cells 320a, ..., 320n of the shift register 320. The

controller 200 is configured to use the derived code to decide if the derived code generated by the random code generator 300 or the count generated by the counter has to be selected to generate the control signals Ci, ICi, ...C N+i , IC N+i to control the controllable switching circuits SCi, ..., SC N+i of the current generator circuit 100.

According to a possible embodiment of the electric circuit arrangement 10, the controller 200 is configured to use the respective derived code provided from the random code

generator 300 to generate the control signals Ci, ICi, ...C N+i , IC N +I, when a decimal representation C of the derived code is lower than the number N of the remaining output current paths. Furthermore, the controller 200 is configured to use the count provided by the counter 400 to generate the control signals Ci, ICi, ...C N+i , IC N+i , when the decimal representation C of the derived code is larger than the number N of

remaining output current paths of the current generator circuit 100.

The proposed embodiment of the controller 200 advantageously allows to combine a random code generation of a random code generator being configured as a linear feedback shift register with the code generation of a counter. Assuming the random code generator 300 comprises X storage cells of which M storage cells are to be evaluated to provide the derived code, the linear feedback shift register generates 2 M derived codes .

Since the generated 2 M derived codes are larger than the number N+l of output current paths but only N+l codes are required to control the controllable switching circuits SCi, ..., SC N+I , the random code generator 300 generates illegal/non-permitted derived codes. The generation of the control signals Ci, ICi, ...C N+i , IC N+i in dependence on an illegal code generated by the random code generator 300 has to be avoided. In particular, if an illegal code, for example an non-permitted binary code, having a decimal representation being larger than the number N of the remaining output current paths of the current generator circuit 100 to be connected to the output terminal 01 is generated by the random code generator 300, the controller 200 advantageously selects the count generated by the counter 400 to determine the code used to generate the control signals Ci,

ICi, ... , C N+I , IC N+I to control the controllable switching circuits SCi, ..., SC N+i of the current generator circuit 100.

According to an embodiment of the electric circuit

arrangement 10, the linear feedback shift register 310 is configured such that the storage cells to be evaluated, for example the storage cells 310a, 310b and 310c, are provided with a number M which fulfils the condition 2 M being larger than N+l, wherein N+l is the number of the output current paths Pi, ..., P N+I of the current generator circuit 100.

This configuration of the linear feedback shift register 310 allows to generate a number of derived codes being larger than the number of available output current paths Pi, ...,

P N+i of the current generator circuit 100. Thus, the linear feedback shift register 310 allows to generate a large number of random codes by avoiding repeating codes with a small period, as this is typical for a rotation-based dynamic element matching.

According to an embodiment of the electric circuit

arrangement 10, the counter 400 is configured to increase the count when the count is used by the controller 200 to

generate the control signals Ci, ICi, ...C N+i, IC N+i . In

particular, the counter 400 may be configured to increase the count between a start value and a final value, wherein the number of counts between the start value and the final value corresponds to the number of output current paths Pi, ...,

P N+i of the current generator circuit 100.

This configuration of the counter 400 advantageously allows to implement the counter 400 with low area consumption, wherein the complexity of the counter 400 is directly

dependent and adapted to the current generator circuit and, in particular, to the number of output current paths of the current generator circuit 100. Moreover, the use of the counter 400 to generate a count which is used as an auxiliary code allows to overcome the limitation of the generation of 2 M codes given by the linear feedback shift register alone. Furthermore, the generation of an auxiliary code by the counter allows to extend the dynamic element matching method to an arbitrary number of codes at run time.

In case an application requires at least two current mirror circuits to be provided, and a correlation between the random codes generated by the current mirror circuits has to be avoided, a second counter dedicated to the additional current generator circuit may be included, and the controller can apply the same algorithm to both outputs. The input code from the linear feedback shift register has to be different, so that a different tap of its outputs has to be selected.

The functionality of the electric circuit arrangement 10 is explained in the following with reference to the control algorithm illustrated in Figure 4 and the list of states of the random code generator 300 and the counter 400 illustrated in Figure 5.

The electric circuit arrangement 10 is used to control current generation such that the current generator circuit 100 generates an output current II with a defined ratio in relation to the reference current IREF or the output current 12. The basing sizing parameter is the target current ratio N. In order to generate an output current II = N*I2, one of the output current paths and thus one of the electrical components, for example one of the mirror transistors, has to be connected to the output terminal 02, whereas the other output current paths and thus the remaining electrical components, for example the remainder of the mirror

transistors, have to be connected to the output terminal 01. Referring to Figure 1, the current generator circuit 100 has N+l output current paths/control lines, wherein the

respective controllable switching circuits SCi, ..., SC N+i decide, which one of the electrical components, for example which one of the unit current sources/mirror transistors Ti, ..., T N+i , has to be connected to the output terminal 01 or the output terminal 02.

The purpose of the random code generator 300, for example the linear feedback shift register 310, is to generate a pseudo random code/number of width X. From the possible X outputs of the random code generator 300, only a number M of storage cells to be evaluated are used to generate a derived code from the generated random code. As a consequence, the random code generator 300 may generate a number of 2 M possible derived codes. As explained above, the number 2 M of possible derived codes is higher than the number of the output current paths Pi, ..., P N+I or the number of the electrical

components, for example the mirror transistors, Ti, ..., T N+i , of the current generator circuit 100.

The controller 200 is configured to update the random code generator 300, for example the linear feedback shift register 310, periodically in every clock cycle, according to the requirements of the application. At every update, the derived code corresponding to the storage content of the number M of storage cells of the shift register 320 is compared with the number N. The controller 200 evaluates the derived code, for example a binary code. If the controller 200 detects that a decimal representation C of the derived code is lower than or equal to N (C£N) , then the derived code generated by the random code generator 300 is considered by the controller 200 as permitted code and is selected by the controller to generate the control signals Ci, ICi, . . . CN+I, ICN+I to control the controllable switching circuits SCi, .. , SC N+i of the current generator circuit 100.

On the other hand, if the controller 200 detects that the decimal representation C of the derived code generated by the random code generator 300 is larger than N (ON) , then the derived code is considered by the controller 200 as non- permitted code, and the controller 200 selects the count of the auxiliary counter 400 counting from 0 to N to generate the control signals Ci, ICi, ...C N+i , IC N+i to control the controllable switching circuits SCi, ..., SC N+i . Thereafter, the count of the counter 400 is increased.

Figure 5 illustrates an example of a list of states of the random code generator 300 and the counter 400 which are evaluated by the controller 200 to detect, if a derived code is a permitted or non-permitted code, and to select the derived code from the random code generator 300, if the derived code is considered as permitted code, and to select the count from the counter 400 to generate the control signals Ci, ICi, ...C N+i , IC N+i to control the controllable switching circuits SCi, ..., SC N+i , if the derived code is considered as a non-permitted code.

Referring to the illustrated exemplary list of Figure 5 and assuming the random code generator 300 comprises the linear shift register 310, the linear feedback shift register 310 comprises twenty storage cells (X = 20) to generate a random code which is given in the first column of the table of Figure 5 in a hexadecimal format. The second column of the table of Figure 5 shows a decimal representation of the derived code of the storage cells to be evaluated, for example the three storage cells of the linear feedback shift register 310.

According to the example in the third row of the table, the random code generator generates the random code DB546. The decimal representation of a derived code with M = 3 storage cells to be evaluated associated to the hexadecimal code DB546 is "6" (row 3, column 2 of the table) . Assuming that the current generator circuit 100 has six output current paths Pi, ..., Re or six electrical components, for example six mirror transistors, Ti, ..., T 6 , i.e. N=6, the controller selects the output of the counter 400 with the count "0" to generate the control signals to control the controllable switching circuits SCi, ..., SC 6 of the current generator circuit 100, because the condition ON is fulfilled.

The subsequent rows 4 to 5 of the table of Figure 5

respectively illustrate an example, where the condition C£N is fulfilled, so that the controller 200 selects the derived code generated from the random code generator 300 to generate the control signals to control the controllable switching circuits SCi, ..., SC 6 of the current generator circuit 100.

Figure 6A shows an example of an application that uses the electric circuit arrangement 10 to control current

generation. According to the illustrated embodiment of an application, the electric circuit arrangement 10 is included in a signal processing circuit 1. The signal processing circuit 1 comprises at least one of a bias current generator 21 and/or a bandgap reference circuit 22 and/or a digital-to- analog converter 23 and/or an analog-to-digital converter 24. The electric circuit arrangement 10 may be included in at least one of the bias current generator 21 and/or the bandgap reference circuit 22 and/or the digital-to-analog converter 23 and/or the analog-to-digital converter 24. In particular, the analog-to-digital converter 24 can be embodied as a sigma-delta analog-to-digital converter.

Figure 6B shows another application comprising a

communication device 2 comprising a sensor circuit 30. The signal processing circuit 1 is included in the sensor circuit 30. The sensor circuit 30 can be embodied, for example, as one of a temperature sensor, a pressure sensor, a humidity sensor or a resistance measurement sensor, etc..

List of Reference Signs

1 signal processing circuit

2 communication device

10 electric circuit arrangement

21 bias current generator

22 bandgap reference circuit

23 digital-to-analog converter

24 analog-to-digital converter 30 sensor circuit

100 current generator circuit 200 controller

300 random code generator

310 linear feedback shift register 320 shift register

320a, 320n storage cells

400 counter

500 clock circuit

Pi · · · PN+I output current path

Ti · · · TN+I electrical components

SC I , ... , SC N+I controllable switching circuit

Ci, ICi , · · . C N+I , IC N+I control signals

01, 02 output terminals

II output current

12, IREF reference current