Embodiments in accordance with the invention relate generally to the generation of sawtooth waveforms and more particularly to the generation of segmented sawtooth waveforms.
Sawtooth waveforms, such as shown in
A simple sawtooth generator, as known to the art, comprises a constant current source, a capacitor, and a threshold detector. The constant current source charges the capacitor until a threshold voltage is reached, at which time the capacitor is discharged.
The traditional goal of such a generator is to provide a monotonic, linear ramp.
However, there may be circumstances where nonlinearities are desired. As an example, nonlinearities in a sawtooth waveform may be desired to compensate for nonlinearities in other parts of a system.
One approach to generating such a waveform is by using an arbitrary waveform generator, shown in simplified form in
A substantial amount of circuitry is required to implement such an arbitrary waveform generator. Referring again to
To generate the waveform of
For the waveform of
In accordance with the invention, a segmented sawtooth generator is provided. A digital to analog converter drives a adjustable current source used to charge the timing capacitor in a sawtooth generator. A counter chain responsive to a clock provides addresses to a digital memory. The selected contents of the digital memory provide inputs to the D/A converter. The digital memory and D/A converter need only resolve the required number of different slopes needed to produce the segmented waveform. The D/A converter need not be linear. The clock may be prescaled, reducing the memory required.
The invention will best be understood by reference to the following detailed description of embodiments in accordance with the invention when read in conjunction with the accompanying drawings, wherein:
The invention relates to segmented sawtooth generators. The following description is presented to enable one skilled in the art to make and use the invention, and is provided in the context of a patent application and its requirements. Various modifications to the disclosed embodiments will be readily apparent to those skilled in the art, and the generic principles herein may be applied to other embodiments. Thus, the invention is not intended to be limited to the embodiments show but is to be accorded the widest scope consistent with the appended claims and with the principles and features described herein.
With reference now to the figures and in particular with reference to
This type of generator may be used to produce sawtooth waveforms. While such a generator may be used to generate the waveform of
An embodiment of the present invention is shown in
Adjustable current sources are known to the art. One embodiment is the Howland current source, shown in The Art of Electronics by Horowitz and Hill, 2nd Edition, page 182. Other more suitable approaches are illustrated by components such as the LM 134/224/334 series of adjustable current sources produced by companies such as National Semiconductor, Linear Technology, SGS-Thompson Microelectronics, and others. Other embodiments will be apparent to those familiar with the art.
The output of counter 420 selects a particular location in memory 430. The contents of the memory (which may be read-only, programmable, or read write RAM, for example) represent the slope to be generated and are fed to D/A converter 440. The output of the D/A converter controls current source 460, resulting in timing capacitor 470 being charged at the slope desired.
Referring again to
According to the invention, memory 430 and D/A converter 440 now need only resolve the number of different slopes required for the different segments. In the example shown in
The D/A converter required in the invention also only has to resolve the different slopes. In the example given, the D/A may be a simple resistor ladder if the D/A outputs are known in advance. This ladder may be integrated into the adjustable current source. If a more general solution is needed, such as in the case where the waveform segments are determined and programmed into a system as part of an overall calibration step, an 8-bit memory and an 8-bit D/A converter may be used. Such a combination would provide up to 256 different slope values.
Examining the operation of the segmented sawtooth waveform generator in
While powers of 2 (2, 4, 8, 16, etc.) are common prescaling values, values other than powers of two may also be used.
The selection of prescaling value will be application specific, depending on allowable deviation from an optimal waveform.
The foregoing detailed description of the present invention is provided for the purpose of illustration and is not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Accordingly the scope of the present invention is defined by the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
5760623 | Hastings | Jun 1998 | A |
20040049749 | Croix | Mar 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20050168177 A1 | Aug 2005 | US |