1. Field of the Invention
The present invention relates to a method for synthesizing Sigma-Delta Modulator, and in particular to a method for synthesizing Sigma-Delta Modulator, that is capable of integrating coefficient synthesis, circuit specification synthesis, and operation amplifier synthesis simultaneously in realizing the Sigma-Delta Modulator.
2. The Prior Arts
In recent years, Sigma-Delta modulators used in acoustic system have increased significantly, it can be found in various fields of applications ranging from the widely utilized MP3 to high level acoustic device, or even the hearing aid device. Since, presently, the electronic industry not only puts emphasis on high efficiency, but it also requires to reduce cost, therefore, how to rapidly and properly design a product meeting the user's requirements is an essential and important issue.
Presently, in the prior art, most of the technologies taking into account of only a single stage synthesis, have various problems and shortcomings. For example, in coefficient synthesis, the stability determination is not sufficiently accurate; in circuit specification synthesis, the performance obtained deviates too much from that of the real circuit; and the operation amplifier synthesis can be classified into three categories, wherein, the simulation-based synthesis takes too much time; the equation-based synthesis lacks accuracy; and the knowledge-based synthesis requires to establish an enormously large database, all these problems lead to the result that the system performance obtained deviates too much from that of the real circuit, also it takes too long to make such a synthesis.
Therefore, presently, the design and performance of method for synthesizing Sigma-Delta Modulator is not quite satisfactory, and it has much room for further improvements.
In view of the problems and shortcomings of the prior art, the present invention provides a method for synthesizing Sigma-Delta Modulator, that is capable of shortening design schedule, and reducing system and circuit errors for the Sigma-Delta Modulator, hereby solving the drawbacks of the prior art.
A major objective of the present invention is to provide a method for synthesizing Sigma-Delta Modulator, that automatically perform synthesis for coefficients used in system configuration, operation amplifier circuit specification, and operation amplifier circuit.
Another objective of the present invention is to provide a method for synthesizing Sigma-Delta Modulator, which integrates non-ideal effect models of various circuits, to propose a simulation approach for predicting circuit performance more accurately.
A yet another objective of the present invention is to provide a method for synthesizing Sigma-Delta Modulator, that is capable of providing more accurate trans-conductance and drain-source conductance to generate a prediction model, for integrating related specification equations to obtain specifications of an operation amplifier, hereby synthesizing more rapidly and accurately operation amplifier meeting system requirements.
To achieve the objective mentioned above, the present invention provides a method for synthesizing Sigma-Delta Modulator, comprising following steps: (a) select at least a system configuration and a plurality of parameters, substitute a Noise Transfer Formula (NTF) into the system configuration to obtain a plurality of coefficients; then, use a least-square method to obtain a stability equation, and calculate an ideal peak-signal-to-noise-ratio (PSNR) and an ideal peak-signal-to-noise-distortion-ratio (PSNDR) of the system configuration based on the parameters and the stability equation; (b) substitute the coefficients into several circuit non-ideal effect models, and simulate specification of operation amplifier in the system configuration in a hierarchic approach, to calculate the predicted circuit performance of the operation amplifier; and (c) integrate equations of operation amplifier related specifications, utilize Geometric Programming (GP) algorithm to determine if the specification has a solution, and in case the answer is negative, then terminate the synthesis, otherwise, produce length and width of transistors in the operation amplifier, and make calibrations until the operation amplifier meet the requirements of the system specification.
Further scope of the applicability of the present invention will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the present invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the present invention will become apparent to those skilled in the art from this detailed description.
The related drawings in connection with the detailed description of the present invention to be made later are described briefly as follows, in which:
a is a circuit diagram of a fully differential folded-cascade operation amplifier according to the present invention;
b is a circuit diagram of the bias circuit used in
a is a power spectrum density of Sigma-Delta Modulator utilizing fully differential folded-cascade operation amplifier according to the present invention; and
b is power spectrum density of Sigma-Delta Modulator utilizing fully differential two-stage operation amplifier according to the present invention.
The purpose, construction, features, functions and advantages of the present invention can be appreciated and understood more thoroughly through the following detailed descriptions with reference to the attached drawings.
The present invention provides a method for synthesizing Sigma-Delta
Modulator. Refer to
Next, proceed with step S12, to synthesize circuit specification, wherein, substitute coefficients into several non-ideal effect models of circuit, simulate specification of operation amplifier in this system configuration in a hierarchic approach; firstly, synthesize finite-gain and non-linearity of operation amplifier; then utilize the result thus obtained to combine with the non-ideal effect model of the operation amplifier bandwidth and the output voltage slew-rate to continue the synthesis, to calculate and obtain the bandwidth and slew-rate required; and finally, integrate the non-ideal effect model of clock jitter, to perform simulation of clock jitter, thus calculating to obtain the predicted circuit performance of the operation amplifier, and outputting specification of the operation amplifier and the predicted circuit performance.
Then, continue with step S14, synthesis of operation amplifier, and in this step establish a prediction model, that is realized through simulating various current and transistor width, to produce various trans-conductance (gm) and drain-source conductance (gds), collect the result of this trans-conductance (gm) and drain-source conductance (gds), and utilize length and width of a transistor and drain current as variables to establish a prediction model; then, integrate related specification equations of the operation amplifier, and this involves two synthesis approaches: equation-based synthesis and simulation-based synthesis, to determine if the specification of the operation amplifier has a solution, if the answer is negative, then terminate this process; otherwise, in the calibration stage, perform fine tune of transistor length and width of the operation amplifier based on results of synthesis, to achieve and output the optimal transistor length and width and circuit simulation results. Finally, in step S16, synthesize the Sigma-Delta modulator from the system level to the circuit level of the operation amplifier based on the circuit specification, to complete an automatic synthesis of the Sigma-Delta modulator.
Then, refer to
Moreover, in step S121, input the ideal peak-signal-to-noise-distortion-ratio (PSNDR) required for predicting the circuit performance, and in step S122, substitute the coefficients generated in the previous stage into the non-ideal effect models. In step S123, perform simulations to the respective system specifications based on the proposed hierarchical simulation approach, including finite gain, nonlinearity, finite bandwidth and slew rate of operation amplifier, and clock jitter of operation amplifier. In step S124, integrate all the non-ideal effective models, and substitute them into circuit specification of operation amplifier, to proceed with simulation of performance prediction. In step 125, output the circuit specification of the operation amplifier and the predicted circuit performance.
Subsequently, refer to
Then, as shown in step S146, determine if the width and length of transistors of the operation amplifier can be obtained through Geometric Programming (GP) algorithm based on the circuit specification, in case the answer is negative, then in step S147, output an error message and enter into step S155 to terminate the process; otherwise, as shown in step S148, generate the transistor's initial length and width of an operation amplifier, and in step S149, perform simulation based on the initial length and width of the transistor. In step S150, evaluate the result of simulation, namely whether the length and width of the transistor meet the circuit specification required, and if the answer is positive, then as shown in step S154, output the length and width of transistors and the result of simulation, and enter into step S155 and terminate the process; otherwise, enter into step S151 to determine if it has reached calibration limit, if the answer is positive, then in step S154 output the length and width of the transistor and the result of simulation, and enter into step S155 to terminate the process; otherwise, enter into step S152 to proceed with calibrations of various circuit specifications, and obtain relations between a plurality of transistor parameters based on a performance equation of the transistor, to proceed with fine tune of the transistor parameters, then enter into step S153 to obtain the calibrated length and width of the transistor, and return to step S149 to perform simulations on the calibrated length and width of the transistor. The steps S149 to S154 mentioned above belong to the simulation-based synthesis.
In the following, two design examples are provided for reference. In the table 1 below are the system specifications of Sigma-Delta modulators of the two design examples. Wherein, the first example select Feed-Forward (FF) configuration, with order number of 4, oversampling ratio (OSR) of 64, and bandwidth of 20 kHz, and it is realized through an operation amplifier of fully differential folded-cascode configuration. The second example utilizes Multiple-Feedback (MF) configuration, as shown in table 1 below, with order number of 3, oversampling ratio (OSR) of 32, and bandwidth of 256 kHz, and it is realized through an operation amplifier of fully differential two-stage configuration.
Table 2 below is the coefficient synthesis and the result of ideal performance of the two exemplary system configurations as shown in Table 1.Wherein, a1-a4 are coefficients between integrators and quantizers for various stages in a Sigma-Delta Modulator system, b1-b2 are coefficients of partial feedback in a Sigma-Delta Modulator system, and g1-g4 are the gains of various stage integrators in the Sigma-Delta Modulator system.
The following Table 3 indicates the result of circuit specification synthesis, result of Geometric Programming (GP)(equation-based) prediction, simulation result of transistor size obtained through GP, and result of the present invention (integrating equation-based synthesis, simulation-based synthesis, and calibration).
a is a circuit diagram of a fully differential folded-cascade operation amplifier according to the present invention, and
The following Table 4 indicates the transistor length and width of a fully differential folded-cascade operation amplifier, and ideal peak-signal-to-noise-distortion-ratio (PSNDR) of the Sigma-Delta Modulator system and the real circuit.
The following Table 5 indicates the transistor length and width of a fully differential two-stage operation amplifier, and ideal peak-signal-to-noise-distortion (PSNDR) of the Sigma-Delta Modulator system and a real circuit.
a is a power spectrum density of Sigma-Delta Modulator system utilizing fully differential folded-cascade operation amplifier according to the present invention; and
Summing up the above, the present invention provides a method for synthesizing Sigma-Delta Modulator, that includes coefficient synthesis, circuit specification synthesis, and operational amplifier synthesis, and integrates these three parts into an automatic synthesis tool. Wherein, about the coefficient synthesis, the present invention proposes a new approach to determine the system stability of a Sigma-Delta Modulator, that is achieved through a third order equation of a least square method, which uses the maximum input power as input, and this equation takes into consideration of the variations in producing the switched-capacitor circuit, to increase the reliability of the equation; moreover, about the circuit specification synthesis, since the finite gain, nonlinearity, bandwidth, and slew rate of an operation amplifier are quite related to each other, so in the present invention, a new design approach is proposed, that can reduce significantly the performance difference between the system and the circuit; and furthermore, about the circuit synthesis of operation amplifier, the present invention proposes a new approach making use of trans-conductance (gm) and drain-source conductance (gds), meanwhile, it integrates equation-based and simulation-based syntheses, and it adds a calibration stage, so as to improve the inaccuracy of equation-based synthesis, and the defect of long time consuming of the simulation-based synthesis. Finally, the present invention proposes an automatic synthesis tool integrating the three kinds of syntheses mentioned above, and this automatic synthesis tool is capable of synthesizing rapidly from the system level to the operation amplifier circuit level based on user's input, as to save large amount of time used for design, so that even an inexperienced designer may readily and rapidly realize designing a Sigma-Delta Modulator.
The above detailed description of the preferred embodiment is intended to describe more clearly the characteristics and spirit of the present invention. However, the preferred embodiments disclosed above are not intended to be any restrictions to the scope of the present invention. Conversely, its purpose is to include the various changes and equivalent arrangements which are within the scope of the appended claims.