Analog to digital conversion employing the system clock of a microprocessor, the clock frequency varying with analog input
First Claim
1. In an electronic system operative to generate a digital signal representative of a varying analog signal, and including a microprocessor operative to perform the analog to digtial conversion, the microprocessor including an oscillator circuit which controls the rate of operation of the microprocessor, means for connecting the varying analog signal to the oscillator input of the microprocessor so that the microprocessor operates at a rate dependent upon the varying analog signal, a counter operative to receive the outputs of the oscillator, and a constant frequency oscillator connected to the counter to clear the counter at regular intervals, the outputs of the counter at clearing representing digital signals representative of the varying analog signal.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention performs analog to digital conversion using the system clock of a microprocessor, the system clock being the clock which controls the rate of operation of the microprocessor. A varying analog signal is applied to the clock frequency control input of the microprocessor, thereby causing the clock frequency and the rate of operation of the microprocessor to vary in accordance with the varying analog signal. The clock is counted for a predetermined period of time. In the preferred embodiment this predetermined period of time is set by the 60 Hz AC power line. The counted contents at the end of this predetermined period of time is a digital representation of the varying analog signal. The microprocessor includes circuits for performing other operations at the rate set by the clock frequency. The other operations performed by the microprocessor must not be deleteriously affected by the varying rate of operation caused by the varying analog signal. In the preferred embodiment the varying analog signal is the output of a thermistor corresponding to the ambient temperature and the microprocessor includes additional control functions for using the digital representation of the analog signal for thermostatic control of a temperature modifying apparatus.
206 Citations
9 Claims
- 1. In an electronic system operative to generate a digital signal representative of a varying analog signal, and including a microprocessor operative to perform the analog to digtial conversion, the microprocessor including an oscillator circuit which controls the rate of operation of the microprocessor, means for connecting the varying analog signal to the oscillator input of the microprocessor so that the microprocessor operates at a rate dependent upon the varying analog signal, a counter operative to receive the outputs of the oscillator, and a constant frequency oscillator connected to the counter to clear the counter at regular intervals, the outputs of the counter at clearing representing digital signals representative of the varying analog signal.
-
7. In a microprocessor system including a microprocessor with a clock oscillator for generating a clock siganl controlling the rate of operation of the microprocessor, the clock oscillator including a time constant input for determining the frequency of the clock signal, the improvement comprising:
-
an analog signal generating means connected to said time constant input for applying a varying analog signal to the time constant input controlling the frequency of the clock signal of the clock oscillator and thereby the rate of operation of the microprocessor; a digital counter means for counting the clock signal of the oscillator; a digital latch means for storing a digital count; a constant frequency oscillator, having a frequency much less than said clock oscillator, connected to said digital counter means for periodically loading said digital latch means from said digital counter means and clearing said digital counter means, the digital count stored in said digital latch means being a digital representation of said analog signal; and a digital signal utilization means for performing a control function based on said digital count stored in said digital latch means, wherein said digital counter means, said digital latch means and said digital signal utilization means are formed as part of the microprocessor, said control function performed by said digital signal utilization means of a type not deleteriously affected by the variation in rate of operation of the microprocessor. - View Dependent Claims (8, 9)
-
Specification