Claims
- 1. A converter for providing an output voltage according to an input code, the converter comprising:
a control logic for generating a positive control code and a negative control code according to the input code; a positive electrical module for providing a positive current corresponding to the positive control code to an output; a negative electrical module for providing a negative current corresponding to the negative control code to the output; and an assistant electrical module for providing a non-zero current to the output when the negative electrical module provides the negative current to the output.
- 2. The converter of claim 1 wherein the input code includes a sign code and a value code.
- 3. The converter of claim 2 wherein when the sign code corresponds to a predetermined negative sign code, the control logic encodes the value code as the negative control code by a first coding method; and when the sign code does not correspond to the predetermined negative sign code, the negative control code generated by the control logic prevents the negative electrical module from providing the negative current.
- 4. The converter of claim 2 wherein the control logic encodes the value code as the negative control code by a first coding method according to the sign code of the input code, the first coding method being ones complement arithmetic coding.
- 5. The converter of claim 2 wherein when the input code represents a first negative input code, the first negative input code is encoded by a second coding method, the second coding method being twos complement arithmetic coding.
- 6. The converter of claim 1 wherein the assistant electrical module comprises a unit current source and each current provided by the negative electrical module is a multiple of the unit current.
- 7. The converter of claim 1 wherein if the input code is a first positive input code, the control logic generates a first positive control code and a first negative control code according to the first positive input code, the first negative control code preventing the negative electrical module from providing the negative current to the output.
- 8. The converter of claim 1 wherein if the input code is a first negative input code, the control logic generates a second positive control code and a second negative control code according to the first negative input code, the second positive control code preventing the positive electrical module from providing the positive current to the output.
- 9. The converter of claim 1 wherein the positive control code comprises a plurality of positive control bits, the positive electrical module having a plurality of positive current sources, each positive current source corresponding to a positive control bit in order to provide a positive current to a first node according to the positive control bit, and the negative control code comprises a plurality of negative control bits, the negative electrical module having a plurality of negative current sources, each negative current source corresponding to a negative control bit in order to provide a negative current to the first node according to the negative control bit.
- 10. The converter of claim 9 wherein the negative current sources of the negative electrical module separately correspond to the positive current sources of the positive electrical module, the negative current sources providing negative current and the positive current sources providing positive current, the magnitude of the negative current being the same as that of the positive current, the phase of the negative current being opposite that of the positive current.
- 11. A method used in a converter for providing an output voltage according to an input code, the method comprising:
generating a positive control code and a negative code according to the input code; providing a positive current to an output according to the positive control code; providing a negative current to the output according to the negative control code; and providing a constant current to the output when the negative current is provided.
- 12. The method of claim 11 wherein the input code includes a sign code and a value code.
- 13. The method of claim 12 wherein steps according to the value code are encoded as the negative control code by a first coding method, the value code according to the sign code of the input code, the steps for generating the positive control code and the negative control code according to the input code.
- 14. The method of claim 13 wherein the first coding method is ones complement arithmetic coding.
- 15. The method of claim 13 wherein the value code is encoded as the negative control code by the first coding method according to the sign code of the input code, when the sign code correspond to a predetermined negative sign code, the value code is encoded as the negative control code by the first coding method.
- 16. The method of claim 15 wherein when the sign code does not correspond to the predetermined negative sign code, the negative current provided by the negative current source is virtually equal to zero according to the negative control code.
- 17. The method of claim 11 wherein when the input code represents a first negative input code, the absolute value of the value representing the first negative code is equal to the value representing a first positive input code, the magnitude of the negative current being the same as that of the positive current, the phase of the negative current being opposite that of the positive current.
- 18. The method of claim 11 wherein the input code represents a first negative input code, the first negative input code is encoded by a second coding method, the second coding method is two” s complement arithmetic coding.
- 19. The method of claim 11 wherein the constant current corresponds to a unit current and the negative current is a multiple of the unit current.
- 20. The method of claim 11 wherein the converter is a digital-to-analog converter.
- 21. An electrical module used in a converter for providing an output voltage according to an input code, the input code including a sign code and a value code, the electrical module comprising:
a positive electrical module for providing a positive current to an output according to a positive control code; a negative electrical module for providing a negative current to the output according to a negative control code; and an assistant electrical module for providing a constant current to the output when the negative electrical module provides a negative current to the output.
- 22. The electrical module of claim 21 further comprising a control logic for generating the positive control code and the negative control code according to the input code.
- 23. The electrical module of claim 22 wherein:
when the sign code corresponds to a predetermined negative sign code, the control logic encodes the value code as the negative control code by a first coding method; and when the sign code does not correspond to the predetermined negative sign code, the negative control code generated by the control logic prevents the negative electrical module from providing the negative current.
- 24. The electrical module of claim 22 wherein the control logic encodes the value code as the negative control code by a first coding method, the value code corresponding to the sign code of the input code, the first coding method being ones complement arithmetic coding.
- 25. The electrical module of claim 22 wherein when the input code represents a first negative input code, the first negative code is encoded by a second coding method, the second coding method being twos complement arithmetic coding.
- 26. The electrical module of claim 21 wherein the assistant electrical module corresponds to a unit current source and current provided by the negative electrical module is a multiple of the unit current.
- 27. The electrical module of claim 21 wherein if the input code is a first positive input code, a first negative control code is generated according to the first positive input code, the first negative control code preventing the negative electrical module from providing a negative current to the output.
- 28. The electrical module of claim 21 wherein if the input code is a first negative input code, a positive control code is generated according to the first negative input code, the positive control code preventing the positive electrical module from providing a positive current to the output.
- 29. The electrical module of claim 21 wherein the positive control code comprises a plurality of positive control bits, the positive electrical module having a plurality of positive current sources, each positive current source corresponding to a positive control bit in order to provide a positive current to a first node according to the positive control bit, and the negative control code comprises a plurality of negative control bits, the negative electrical module having a plurality of negative current sources, each negative current source corresponding to a negative control bit in order to provide a negative current to the first node according to the negative control bit.
- 30. The electrical module of claim 29 wherein the negative current sources of the negative electrical module separately correspond to the positive current sources of the positive electrical module, the negative current sources providing negative current and the positive current sources providing positive current, the magnitude of the negative current being the same as that of the positive current, the phase of the negative current being opposite that of the positive current.
Priority Claims (1)
Number |
Date |
Country |
Kind |
60/417,410 |
Oct 2002 |
US |
|
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] This application claims the benefit of U.S. Provisional Application No. 60/417,410, filed Oct. 10, 2002, and included herein by reference.