Claims
- 1 A micro-controller device for providing a first stream of pulses at an adjustable frequency, said device comprising:
a first circuit for outputting a number representing a currently selected frequency; a second circuit for receiving said number and (completing a counting operation during a time period representative of the currently selected frequency; and a third circuit for outputting a pulse at the completion of the counting operation by the second circuit; wherein, at the completion of each counting operation by the second circuit and until an acknowledgement signal is received, the first circuit outputs a next number representing a next frequency, for causing the second circuit to complete a next counting operation during a time period representative of the next frequency and for causing the third circuit to output a next pulse, thereby producing the first pulse stream.
- 2. The device according to claim 1, wherein at the completion of each counting operation by the second circuit and after the acknowledgement signal is received, the first circuit outputs a number for causing the second circuit to complete a next counting operation during a time period representative of the currently selected frequency and the third circuit to output a next pulse, thereby producing a pulse stream at the currently selected frequency.
- 3. The device according to claim 1, further comprising a fourth circuit for outputting a second pulse stream, wherein the second pulse stream is out of phase with respect to the first pulse stream.
- 4. The device according to claim 2, wherein a beginning of an output pulse in the first pulse stream is delayed from an ending of an output pulse in the second pulse stream.
- 5 The device according to claim 4, wherein the delay is approximately 200 nanoseconds.
- 6 The device according to claim 1, wherein the next frequency is adjusted from the currently selected frequency by a predetermined amount.
- 7. The device according to claim 1, further comprising a fifth circuit for causing the second circuit to complete N counting operations during N time periods representative of the currently selected frequency, wherein N is determined in accordance with a batch preset number.
- 8. The device according to claim 7, wherein the batch preset number is unchangeably stored by the device.
- 9. The device according to claim 7, wherein the batch preset number is changeably provident at an input to the fifth circuit.
- 10. The device according to claim 1, wherein a frequency preset is unchangeably stored by the device and input to the first circuit for determining a first number to be output by the first circuit.
- 11. The device according to claim 1, wherein a frequency preset is changeably provided at an in put to the first circuit to the first circuit for determining a first number to be output by the first circuit.
- 12. The device according to claim 1, further comprising a sixth circuit for determining when the next number is outside a predetermined range of acceptable numbers, and for generating an out-of-range signal when the next number is outside said predetermined range.
- 13. The device according to claim 1, comprising a seventh circuit for processing the acknowledgement signal.
- 14. The device according to claim 13, wherein the seventh circuit comprises a noise eliminator for eliminating false acknowledgement signals.
- 15. The device according to claim 1, including an eighth circuit for initiating operation of the device upon receipt of a start signal.
- 16. The device according to claim 15, wherein the eighth circuit synchronizes operation of the first and second circuits.
- 17. A method for providing a first stream of pulses at an adjustable frequency, the method comprising the steps of:
outputting a current number representing a currently selected frequency; receiving said number and completing a counting operation during a time period representative of the currently selected frequency; and outputting a pulse at the completion of the counting operation; wherein, at the completion of each counting operation and until an acknowledgement signal is received, a next number representing a next frequency is output to cause a counting operation to complete during a time period representative of the next frequency and a next pulse to be output, thereby producing the first pulse stream.
- 18. The method of claim 17, wherein at the completion of each counting operation after the acknowledgement signal is received, the current number is output to cause a next counting operation to complete during a time period representative of the currently selected frequency and a next pulse to be output, thereby producing a pulse stream at the currently selected frequency.
- 19. The method of claim 17, comprising the additional step of outputting a second pulse stream, wherein the second pulse stream is out of phase with respect to the first pulse stream.
- 20. The method of claim 19, wherein a beginning of a pulse in one of the first and second pulse streams is delayed by a predetermined amount from an ending of a pulse in the other pulse stream.
- 21. The method of claim 20, wherein the delay is approximately 200 nanoseconds.
- 22. The method of claim 17, wherein the next frequency is adjusted from the currently selected frequency by a predetermined amount.
- 23. The method of claim 17, further comprising the steps of determining whether the next frequency is outside a predetermined range of frequencies, and generating an out-of range signal A hen the next frequency is outside said range.
- 24. The method of claim 17, further comprising the step of repeating the counting and outputting steps until N working operations are completed and N pulses are output during N time periods representative of the currently selected frequency, wherein N is determined in accordance with a batch preset number.
- 25. A method for providing a first stream of pulses at an adjustable frequency, the method comprising the steps of:
completing a counting operation during a time period representative of a currently selected frequency; and outputting a pulse at the completion of the counting operation; wherein, at the completion of each counting operation and until an acknowledgement signal is received, a next counting operation is completed during a time period representative of a next frequency and a next pulse is output at the completion of the next counting operation, thereby producing the first pulse stream.
- 26. The method of claim 25, wherein at the completion of each counting operation and after the acknowledgement signal is received, a next counting operation is completed during a time period representative of the currently selected frequency and a next pulse is output at the completion of the next counting operation, thereby producing a pulse stream at the currently selected frequency.
CROSS REFERENCE TO RELATED APPLICATION
[0001] The present application is related to Ser. No. ______, entitled “Ultrasonic Driver,” filed concurrently with the present application on Jun. 4, 2002 by inventors common to the present application, and which is hereby incorporated by reference.