This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2022-43064 filed on Mar. 17, 2022; the entire contents of which are incorporated herein by reference.
Embodiments described herein relate generally to an integrated circuit having a plurality of AD conversion circuits.
Processing of an AD conversion circuit can be divided into two kinds of processing: sampling processing and conversion processing. In the sampling processing, charging of a capacitor with an inputted analog signal is started when a conversion trigger is received, and the analog signal is held in the capacitor when a predetermined sampling time period elapses. In the conversion processing, the held inputted signal is converted into a digital value by a method such as sequential comparison.
An integrated circuit of an embodiment includes a plurality of AD conversion circuits including a first AD conversion circuit and a second AD conversion circuit, and a control circuit configured to delay a start time of sampling processing of the second AD conversion circuit as compared with a usual start time such that the first AD conversion circuit is not influenced by noise generated by the sampling processing of the second AD conversion circuit, and to shorten a sampling time period to control a termination time of the sampling processing of the second AD conversion circuit to be concurrent with a termination time in a case of performing usual sampling processing.
Hereinafter, an integrated circuit 1 of a first embodiment will be described in detail with reference to the drawings.
The drawings based on embodiments are schematic, and relative time displays of each processing are different from actual time displays.
An AD conversion circuit may generate large noise in an initial period of sampling processing (hereinafter, a start period of the sampling processing) and in an initial period of conversion processing (hereinafter, a start period of the conversion processing). The AD conversion circuit is most likely to be influenced by noise in a final period of the sampling processing (hereinafter, a termination period of the sampling processing) and in a final period of the processing of conversion into a digital signal (hereinafter, a termination period of the conversion processing).
In an integrated circuit having a plurality of: D conversion circuits, a first AD conversion circuit may be influenced by noise generated by a second AD conversion circuit when the second AD conversion circuit starts sampling in the termination period of the sampling processing of the first AD conversion circuit, for example, and may deteriorate in accuracy of AD conversion of the first AD conversion circuit.
As shown in
As shown in
When the AD conversion circuit 10 is influenced by noise in a second period. W1 which is the termination period of the sampling processing S in which charges are accumulated in the capacitor, the inputted analog signal cannot be accurately reflected in the amount of charge accumulated in the capacitor. This may eventually lead to significantly deteriorated conversion accuracy. The second period W1 is a period of more than or equal to 10% and less than or equal to 30% of the time period of the sampling processing S, for example.
In other words, the AD conversion circuit 10 is likely to generate noise in the first period N1 which is the start period of the sampling processing S, and is likely to be influenced by noise in the second period W1 which is the termination period of the sampling processing S.
In the AD conversion circuit 10, large noise may be generated by operation of determining a high-order bit in sequential conversion processing in a third period N2 which is a start period of conversion processing C (digital processing). Noise gradually decreases to a negligible level when the third period N2 elapses. The third period N2 is a period of more than or equal to 10% and less than or equal to 30% of a time period of the conversion processing C, for example.
When the AD conversion circuit 10 is influenced by noise in a fourth period. W2 which is a termination period of the conversion processing C, the AD conversion circuit 10 cannot accurately determine a low-order bit in the sequential conversion processing. This may eventually lead to significantly deteriorated conversion accuracy. The fourth period W2 is a period of more than or equal to 10% and less than or equal to 30% of the time period of the conversion processing C, for example.
In other words, the AD conversion circuit 10 is likely to generate noise in the third period N2 which is the start period of the conversion processing C, and is likely to be influenced by noise in the fourth period W2 which is the termination period of the conversion processing C.
However, in the integrated circuit 1 of the present embodiment which will be described below, an influence of noise generated by the sampling processing S is remarkable, and an influence of noise generated by the conversion processing C is negligible.
As shown in
In a conventional integrated circuit 101 shown in
However, since the above-described conventional control method (B) delays the start of the sampling processing S2 of the second AD conversion circuit 10B, the termination of the sampling processing S2, that is, a time for holding an inputted signal, is delayed as compared with a usual time.
For example, in an integrated circuit that continually digitizes a time-varying analog signal in a constant cycle, a temporal variation of the time for holding an inputted signal is another major cause of reduction in accuracy.
In the integrated circuit 1 of the present embodiment shown in
As shown in
Note that when the sampling time period is excessively shortened, the accuracy of AD conversion is reduced. Therefore, the minimum value of the sampling processing time period (the maximum value of the S waiting time period TWS) is determined within a range in which requirements for accuracy of AD conversion are satisfied.
As described above, in the integrated circuit 1 of the present embodiment, the control circuit 20 exerts control to delay the start time of the sampling processing S2 of the second AD conversion circuit 10B by the S waiting time period TWS as compared with a usual start time such that the first AD conversion circuit 10A is not influenced by noise generated by the sampling processing S2 of the second AD conversion circuit 10B, but to shorten the sampling time period such that the termination time of the sampling processing of the second AD conversion circuit 10B is concurrent with a termination time in a case of performing usual sampling processing.
As shown in
The S prohibited period TSW1 corresponds to the second period W1 which is the termination period of the sampling processing S. The S prohibited period TSW2 corresponds to the fourth period W2 which is the termination period of the conversion processing C.
The S prohibited period TSW1 is terminated at a time when the sampling processing is terminated (when data is held), and is determined by a total time period of the first period N1 and the second period W1, for example.
The S prohibited period TSW2 is terminated at a time when the conversion processing is terminated, and is a total time period of the third period N2 and the fourth period W2, for example. The lengths of the S prohibited periods TSW1 and TSW2 are set in a control register so as to be changed in accordance with a use environment of the integrated circuit, on the basis of the total time period of the third period N2 and the fourth period W2.
Since the integrated circuit 1 is not influenced by noise generated by the sampling processing 5, high conversion accuracy can be achieved. The integrated circuit 1 can also achieve high conversion accuracy particularly in a case of continually digitizing a time-varying analog signal in a constant cycle.
Since an integrated circuit 1A of a second embodiment is similar to the integrated circuit 1 and has the same effects, constitutional elements having the same functions are denoted the same reference characters, and their description is omitted. In the integrated circuit 1A, an influence of noise generated by the conversion processing C is remarkable, and an influence of noise generated by the sampling processing S is negligible.
As shown in
As shown in
As shown in
The C prohibited period TCW1 corresponds to the second period W1 which is the termination period of the sampling processing S. The C prohibited period TCW2 corresponds to the fourth period W2 which is the termination period of the conversion processing C.
The C prohibited period TCW1 is terminated at a time when the sampling processing is terminated (when data is held), and is a total time period of the second period W1 and the sampling processing time period, for example. The C prohibited period TCW2 is terminated at a time when the conversion processing is terminated, and is a conversion processing time period, for example.
As for lengths of the C prohibited periods TCW1 and TCW2, values set in the control register can be changed in accordance with a use environment of the integrated circuit on the basis of the above-described time periods.
Since the integrated circuit 1A is not influenced by noise generated by the conversion processing, high conversion accuracy can be achieved.
Since an integrated circuit 1B of a third embodiment is similar to the integrated circuits 1 and 1A, and has the same effects, constitutional elements having the same functions are denoted the same reference characters, and their description is omitted. In the integrated circuit 1B, the control circuit 20 exerts control taking an influence of noise generated by the conversion processing and an influence of noise generated by the sampling processing into consideration.
As shown in
In the example shown in
Next, a conversion trigger of the second AD conversion circuit 10B is produced. The control circuit 20 determines whether the second AD conversion circuit 10B can start the sampling processing S3. Specifically, the control circuit 20 determines whether the start period (N1) of the sampling processing S3 of the second AD conversion circuit 10B temporally overlaps the S prohibited periods TSW1 and TSW2 of another AD conversion circuit (the first AD conversion circuit 10A).
In
Further, the control circuit 20 controls the time period of the sampling processing S3 of the second AD conversion circuit 10B to be shortened such that the termination time of the sampling processing S3 (the time for holding an inputted signal) does not change.
After the sampling processing S1 of the first AD conversion circuit 10A is terminated, the control circuit 20 determines whether the first AD conversion circuit 10A can start the conversion processing C1. Specifically, the control circuit 20 determines whether the C start period N2 of the first AD conversion circuit 10A overlaps the C prohibited periods TCW1 and TCW2 of another channel (the second AD conversion circuit 10B). In
After the sampling processing S3 of the second AD conversion circuit 10B is terminated, the control circuit 20 determines whether the second AD conversion circuit 10B can start the conversion processing C2. Specifically, the control circuit 20 confirms if the conversion processing start period N2 of the second AD conversion circuit 10B overlaps the C prohibited periods TCW1 and TCW2 of another AD conversion circuit (the first AD conversion circuit 10A). In
As described above, the integrated circuit 1B of the present embodiment can avoid overlapping of a period in which an AD conversion circuit is likely to generate noise and a period in which another AD conversion circuit is likely to be influenced by noise without changing a time period from when a conversion trigger is inputted until when an inputted signal is held (the sampling processing is completed). Thus, the integrated circuit 1B can prevent a conversion result from deteriorating in accuracy. The integrated circuit 1B can also achieve high conversion accuracy particularly in a case of continually digitizing a time-varying analog signal in a constant cycle.
Specifically, each of the AD conversion circuits 10 outputs a data signal of the S prohibited periods TSW1, TSW2 and the C prohibited periods TCW1, TCW2. An integration block of the control circuit 20 calculates a logical sum of each of the S prohibited periods TSW1, TSW2 and the C prohibited periods TCW1, TCW2 of the plurality of AD conversion circuits 10, generates signals of an integrated S prohibited period and an integrated C prohibited period, and transmits the generated signals to each of the AD conversion circuits 10 as control signals.
Note that, for example, each of the AD conversion circuits 10 may calculate the logical sum of the S prohibited periods TSW1, TSW2 and the logical sum of the C prohibited periods TCW1, TCW2 and output the logical sums to the control circuit 20, and the integration block of the control circuit 20 may perform integration of the S prohibited periods and the C prohibited periods of the plurality of AD conversion circuits 10. Alternatively, each of the AD conversion circuits 10 may output the start time of the sampling processing and the start time of the conversion processing, and the control circuit 20 may generate signals indicating the S prohibited periods and the C prohibited periods in the integration block, and integrate the S prohibited periods and the C prohibited periods.
In a case in which a large number of the AD conversion circuits 10 operate at the same time, a case is considered in which it is impossible to avoid overlapping of the first period N1, the third period N2 and the second period W1, the fourth period W2 even if the S waiting time period and the C waiting time period are adjusted.
In such a case, for example, the S prohibited periods and the C prohibited periods set in the control register are changed to be shorter than the S prohibited periods and the C prohibited periods in usual processing. Alternatively, the lengths of the first period N1, the second period W1, the third period N2, and the fourth period W2 may be changed to be shorter than the lengths of the first period N1, the second period W1, the third period N2, and the fourth period W2 in usual processing.
For example, the control circuit 20 may set the start period (the first period N1) of the sampling processing at a period less than 10% of the time period of usual sampling processing. The lengths of the first period N1, the second period W1, the third period N2, and the fourth period W2 may be set in accordance with specifications of the AD conversion accuracy. For example, when the first period N1 and the like are made longer, the conversion accuracy is improved, and when the first period N1 and the like are made shorter, the conversion accuracy is reduced.
The control circuit 20 may also designate an AD conversion circuit in which reduction in accuracy is permitted and an important AD conversion circuit in which reduction in accuracy is not, permitted to preferentially ensure the accuracy of the important AD conversion circuit. For example, the accuracy of the important AD conversion circuit can easily be maintained if output of the AD conversion circuit in which reduction in accuracy is permitted in the S prohibited periods and the C prohibited periods is set at zero.
Note that the plurality of AD conversion circuits 10 and the control circuit 20 may each be an independent dedicated circuit, or may be implemented by a processor reading and executing a program and various types of information stored in a memory.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2022-043064 | Mar 2022 | JP | national |