Background of the Invention
The present invention relates generally to apparatus for regulating the speed of rotation of a body, and more specifically to a pulse width correcting or modulating device which provides a train of equally-spaced, speed-related pulses to serve as a speed control signal.
In applications where maintaining a rotating body at a constant speed is of primary concern, a closed-loop control system is provided to compensate for speed variations arising from changes in load. In one application, a speed-related signal is obtained by photoelectrically detecting light-reflective areas or teeth arranged on the circumference of a revolving shaft or body. The signal is in the form of equally spaced pulses at a given speed of rotation, the interval between successive ones of which is inversely proportional to the speed and used to generate a control signal proportional to the pulse interval. However, it is difficult to ensure equal spacing between successive pulses because of the large mechanical tolerances in the manufacture of the light reflecting teeth. unequal pulse spacing will produce a nonuniform control voltage even when the body rotates at a constant speed and can send a false control signal through the feed-back loop.
Summary of the Invention
Therefore, the primary object of this invention is to enable the closed-loop speed control system which operates free from the aforesaid disadvantage.
More specific objects of the invention are to expedite attainment of a train of equally-spaced, speed-related pulses regardless of possible error in the pulse generating mechanism and to facilitate realization of equally-spaced pulses economically.
Briefly described, the speed control apparatus embodying the invention comprises a first electromechanical pulse generator delivering a pulse for each revolution of a rotating body, a second electromechanical pulse generator delivering a predetermined number of pulses for each revolution with possible error in the pulse spacing which is inversely proportional to the speed of rotation of the body, a shift register having storage elements or flip-flops equal in number to the pulses delivered from the second pulse generator for each revolution and monostable multivibrators each being connected to the output of each of the storage elements. The signal delivered by the first generator is fed into the shift register as a binary input to be shifted through the storage elements in step along manner and the signal delivered by the second generator is applied to the shift register as a clock or shift pulse to cause shifting of the binary input. Each of the multivibrators is provided with a manually adjustable time constant circuit to modulate the pulse width. The time constant values are adjusted individually such that the pulses appearing at the output of each multivibrator are equally spaced apart. Since the pulse spacing represents the speed of rotation, the space-corrected pulses are utilized to generate a control signal to drive the rotating body at a constant speed. Instead of correcting the spacing between successive pulses, the trailing edges of successive pulses may be adjusted to occur at equal intervals. The present invention may be utilized to effect phase control of the rotating body with respect to a reference pulse source in order to control the angular position of the body and further utilized to effect both speed and phase control simultaneously. The pulse width adjustment can be easily effected by viewing the traces on an oscilloscope screen.
The invention is thus characterized in that the serially delivered speed-related, unequally spaced-apart pulses are distributed into respective monostable multivibrators of the type described and the spacing between successive pulses are corrected so that the apparatus of the invention eliminates the need to use a high precision type pulse generating mechanism.
Brief Description of the Drawings
The invention will be further described in detail with reference to the accompanying drawings, in which:
FIG. 1 is a schematic diagram of an embodiment of the invention;
FIGS. 2a-2g is a waveform diagram useful for describing the operation of the FIG. 1 circuit;
FIG. 3 is a detailed circuit of the pulse width modulator of FIG. 1;
FIG. 4 is a circuit diagram of another arrangement of the invention;
FIGS. 5a-5c is a waveform diagram useful for describing the operation of the FIG. 4 circuit;
FIG. 6 is a circuit diagram of still another arrangement; and
FIGS. 7a-7d is a waveform diagram useful for describing the operation of the FIG. 6 circuit.
Description of the Preferred Embodiments
The invention will be described first with reference to FIG. 1. A rotating body or disc 10 is shown mounted on a shaft 11 which is coupled to and driven by drive means such as a motor 12 which is in turn supplied with a control signal to be described. The drive shaft 11 is provided with a first light reflecting portion in the form of a tooth or prong 13 and a set of circumferentially arranged second light reflecting portions as in the form of teeth 14. In proximity of the first light reflecting prong 13 there is a first photoelectrical detecting device 15 consisting of a light source and a photosensor such as a photodiode, which diode together with the prong 13 constitutes a first pulse generator 17. A second photoelectrical detecting device 16 is located in proximity to the second light reflecting portions 14, constituting a second pulse generator 18. When the shaft 11 is rotated, a pulse is generated from the device 15 for each rotation of the shaft, and also a series of pulses is generated in response to the teeth 14 from the device 16 for each rotation. A pulse width modulator 19 is provided which comprises, in accordance with the invention as shown in FIG. 3, a shift register 20 comprising a row of storage elements such as flip-flops M.sub.l and M.sub.n, the number of which is equal to the number of pulses generated for each rotation of the shaft 11 from the pulse generator 18, and a plurality of monostable multivibrators MM.sub.l to MM.sub.n which are coupled to the Q output terminals of the flip-flops to generate a series of pulses in response to the outputs from the flip-flops. Each of the monostable multivibrators is provided with a manually adjustable time constant circuit, the adjustment of which causes the pulse width of the output from each multivibrator to vary, that is, the trailing edge of the pulse can be adjusted to occur at a time position within an allowable range determined by each time constant circuit. The time constant adjustment is effected by a variable resistor or a variable capacitor of the RC time constant circuit which is not shown because those skilled in the art can readily understand it. The output from each of the multivibrators MM.sub.l to MM.sub.n is connected to the output terminal 21 through an OR gate 22.
The signal from the pulse width modulator or corrector 19 is coupled to an inverter 25 which inverts its polarity and delivers the inverted signal to first and second utilization circuits in dashed rectangles 26 and 27, respectively. The first utilization circuit 26 modifies the input signal to develop a speed-related voltage and the second utilization circuit 27 modifies the input signal into a phase-related voltage. These signals are combined at a summing circuit or adder 28 and amplified by an amplifier 29 to a sufficient level required to drive the motor 12.
The first or speed control utilization circuit 26 comprises a monostable multivibrator 30 to provide a pulse of predetermined duration which is inverted by an inverter 31 and coupled to a ramp circuit 32 which in turn generates a sawtooth wave or incremental voltage in response to the input thereto. The signal from the ramp circuit 32 is received by a sample-hold circuit 33 in which the received incremental voltage is sampled by the output from the monostable multivibrator 30.
The second or phase control utlization circuit 27, on the other hand, comprises a reference pulse generator 34 which provides a series of regularly occurring pulses of constant duration to serve as reference phasing information. The phasing information is received by a ramp circuit 35 which in response thereto produces a linearly increasing voltage and applies it to a sample-hold circuit 36 which samples it by the output from the inverter 25.
The waveform shown in FIG. 2 illustrates the actual operation of the circuit of FIG. 1. Each of the pulses generated by the second pulse generator 18 for each shaft revolution occurs at unequal intervals (a.sub.1, a.sub.2, ... a.sub.n) with nonuniform pulse duration due to mechanical inaccuracy of the pulse generating teeth 14, as shown in FIG. 2a. This train of pulses is applied to the clock terminal 24 of shift register 20 to successively trigger each of the flip-flops M.sub.l to M.sub.n to shift the input which has been applied through an inverter 37 to the reset input terminal of flip-flop M.sub.l and to the set terminal thereof through terminal 23 of shift register 20. The Q output of each flip-flop goes high at the leading edge of the clock input and falls to zero level at the leading edge of the next clock pulse. Because of the nature of the monostable multivibrator, each of the multivibrators MM.sub.l to MM.sub.n produces a pulse of duration determined by the adjustment of their time constant values. This adjustment can be made, for example, by viewing the waveform of the pulses at the output of the multivibrators MM.sub.l to MM.sub.n on the screen of an oscilloscope. In the present embodiment the adjustment is made such that the interval between the trailing edges of successive pulses at the multivibrator output is equal to each other as shown in FIG. 2b. These pulses, after polarity inversion at 25 drive the monostable multivibrator 30 to produce at the leading edges of the inverted pulses (the trailing edges of the pulses at the outputs of multivibrators MM.sub. l to MM.sub.n) pulses of predetermined, equal duration c with an equal time interval d between successive pulses (see FIG. 2c). The output from multivibrator 30 is inverted to utilize its trailing edge to trigger the ramp circuit 32 (FIG. 2d) which in turn produces a train of regularly occurring, linearly increasing voltage pulses (FIG. 2d). The output from multivibrator 30 is connected to the sample-hold circuit 33, in which the ramp circuit output is also received, in order to utilize the leading edge of the output from multivibrator 30 to trigger the sampling action of the sample-hold circuit 33 and the sampled voltage remains at a constant level at a given speed of rotation of the body 10 (see FIG. 2e). As the speed of rotation increases the intervals between successive pulses at the output of multivibrator 30 will be made smaller resulting in a low sampled voltage, while with the speed of rotation decreasing the pulse intervals will become longer with the resultant increase in the sampled voltage. On the other hand, a train of regularly occurring pulses generated by reference source 34 as shown in FIG. 2f is applied to ramp circuit 35 to generate sawtooth wave pulses (FIG. 2g) which are sampled in the sample-hold circuit 36. Sampling occurs at the leading edge of the inverted pulses at the output of inverter 25 (trailing edge of the output from the pulse width modulator 19). The sampled voltage thus represents the difference in phase between the trailing edge of the modulator output and the reference pulses and remains at a constant level at a given speed of rotation of the body or disc 10. Upon the occurrence of the next pulse from the first pulse generator 17, the shift register 20 is cleared and at the same time conditioned to receive clock pulses of the next train. Once the adjustment is made of each of the multivibrator MM.sub.l to MM.sub.n, the spacings between successive pulses therefrom are corrected.
Speed and phase control thus can be effected by coupling the combined signal available at the output of adder 28 through amplifier 29 to the drive motor 12.
Speed control can be effected in a modified way by equalizing the intervals between successive pulses at the output of modulator 19 instead of equalizing the interval between the trailing edges of successive pulses at the modulator output as previously described. In order to utilize equally spaced-apart pulses for speed control purposes the speed control utilization circuit 26 of FIG. 1 is modified into a form shown in FIG. 4 which comprises a ramp circuit 40 and a sample-hold circuit 41. Each of the multivibrators MM.sub.l to MM.sub.n of pulse width modulator 19 is adjusted such that the intervals between successive pulses at the output of multivibrators are equal to as shown in FIG. 5b. The equally spaced, polarity-inverted pulses at the output of inverter 25 are received by the ramp circuit 40 to generate a sawtooth wave voltage at the trailing edge of the pulses at the modulator output 19 (see FIG. 5c). The signal for sampling the voltage from the ramp circuit output is obtained from the pulse generator 18 which produces a train of unequally spaced-apart pulses (FIG. 5a) and applied to the sample-hold circuit 41. Similar sampling is effected by connecting the output from the modulator 19 directly to the sampling terminal of circuit 41 as indicated by a dashed line 43 and cutting off the connection between the generator 18 and circuit 41 as at 44.
The time interval between successive pulses at the modulator output are preferably adjusted such that the leading edges of the sampling pulses occur substantially at the middle point of the voltage slopes of the sawtooth wave pulses (see FIG. 5c) when the revolving shaft 11 rotates at a desired speed. In a preferred mode of operation, it is desirable that the sawtooth waveform have alternating polarities with the zero voltage level lying at the middle point of the voltage slopes. When the speed of rotation is greater than the desired speed, the intervals between successive pulses become smaller than at the desired speed, and the sampling point drifts leftward in FIG. 5c to sample a negative voltage, while if the speed is smaller than the desired set point a positive voltage is sampled, so that the rotation of shaft 11 is controled at the desired speed. The increasing voltage developed by the ramp circuit 40 may be sliced off by means of a limiter (not shown) to provide a constant voltage level so that the sampling point occurs at the middle point of the slope.
The circuit of FIG. 1 can be further modified to control the phase of the revolving body 10 in relation to a reference phase source 45 shown in a circuit arrangement of FIG. 6 which is similar to that shown in FIG. 4 except that the pulse width modulator 19 uses the reference pulses from the source 45 as a clock or shifting signal instead of using the output from the second pulse generator 18 for the same purpose. In a manner similar to that described above, the signal from the first pulse generator 17 is used as an input to the pulse width modulator 19 to be clocked thereinto by equally-spaced shift pulses (FIG. 7a) supplied from the reference pulse source 45 to generate a series of pulses (FIG. 7b) at the modulator output. The modulator output pulses are used to trigger the ramp circuit 40 at their trailing edge (FIG. 7c). Voltage sampling occurs at the leading edges of the pulses from the second pulse generator 18 (FIGS. 7c and 7d). The duration of pulses at the output of multivibrators MM.sub.l to MM.sub.n of modulator 19 is adjusted in such manner that their trailing edge occur at points in time preceding the pulses from the second generator 18 by a predetermined amount "e" at a given speed of shaft revolution. Preferably, the adjustment is made of each multivibrator such that the leading edges of the pulses from the second generator 18 occur at the middle portion of the slopes of voltage developed in the ramp circuit 40 are at the zero voltage level of alternating sawtooth waveform, at a desired speed of shaft revolution.
The invention so far described is only exemplary. Various modifications are possible without departing from the scope of the invention which is only limited by the appended claims.