MICROPROCESSOR CONTROLLED MICRO-STEPPING CHART DRIVE

Abstract: Microprocessor controlled micro-stepping chart drive circuit. The invention comprises a step clock system (10), a microprocessor controller (12) and a motor drive circuit (16). A speed selector (14) establishes a numerical constant within the controller. This numerical constant is decremented down with each pulse of the step clock (10). When the counter reaches zero, the motor drive circuit is update. Therefore, the time between updates of the motor drive circuit is a function of the value of the numerical constant.

Description: DESC XP ICN Microprocessor Oontrolled Micro-Stepping Chart Drive BAQ.GROUMD OF THE BtVEJSfTIC The present invention relates, to chart drives for σscil- lographic recorders and is particularly directed to a π α-O-stepping rotor control circuit. Driving the chart in an osci,11ographic recorder requires precision control of the driving motor. The prior art has taught two basic methods of driving the chart in. the oscillographic re- corder. The first and most prevalent consists of a synchronous A.C. motor, a mechanical transmission with gear ratios selected by solenoids. The second method is to use a D.C. servo system with a D.Cmotor in σαπhination with a tachometer. The synchronous A.C. motor systsn requires a transmission σonsisting of precision gears and clutches. This type of systsn is difficult to assemble and is quite noisy in operation. Also the speed of the chart paper is not adjustable. It depends on the frequency of the A.C. line, and the build up of all the mechanical tolerances in the system. 5s parts wear, the chart speeds will tend to get farther and farther away frcm their rαninal values. Also with a synchronous A.C. motor systsn, it is difficult to provide ∞n-standard chart speeds since this would require a design for a new transmission. A separate transmission would be needed for 60Hz and 50Hz line frequencies. In the D.C servo system, difficulties arise in low speed operations since the voltages generated by the tachometer are very small. A gcod deal of calibration is required in this type of sys¬ tsn. D.C. motors of sufficient torque to drive a chart in an oscillographic recorder that are small in physical size are quite expensive. OBJECTS OF THE Η ~ B ~~r l ~ An object of the invention, is to provide a chart drive systaα for use in oscillographic recorders that is an order of mag¬ nitude quieter in operation than a motor/transmission systsn. Another object of the invention is to provide a motor con¬ trol systsn that gives extremely tiny increments of motion without gears or multiple pulleys while still retaining high speed capabilities. Still another object of the present invention is to pro- vide a chart drive system that has a αsntiπuously adjustable vari¬ able speed control to vary chart speed over a tκo and one half to one range. Another object of the present i_πvention is to provide an apparatus to oontrol chart speeds in an. oscillographic recorder that is independent of the power frequency. The above objects are given by way of example. Thus, other dt=)s * rable objectives and advantages achieved by the invention may occur to those skilled in the art. The scope of the invention is to be limited only by .the appended claims. B 1K S ~ il ~ m ~ m OF THE ±m m ~ l ~~ 0 ~ The above objects and other advantages are achieved by the present invention, an apparatus is provided for controlling the chart drive in an oscillographic recorder. The present .Invention contsπplates that the chart drive of the oscillographic recorder uses ' a stepping motor in the micro-stepping mode. Micro-stepping is well 3_rsσwn in the literature and will not be discussed in depth. One method to.accomplish micro-stepping is by driving the four poles of a stepper motor through, a linear power amplifier with a quadra¬ ture sine wave. In this mode, each one quarter cycle of the sine corresponds to one full step of the motor. Another method to ac- cαπplish micro-stepping contsπplated by the present invention is to provide full wave rectified sine and cosine signals with a steering circuit to direct which coils will be powered. If the sine cosim signals in either method are generated digitally, then each micro- step will be x/N degrees where x is the normal step angle and N is the number of increments pec quarter cycle. The present invention contemplates a 1.8 degree per step stepping motor with IS incrsnents per quarter cycle thus yielding an incrsnent of arproxiirately .11 degrees per micro-step. The invention comprises of a step clock systsn, a con¬ troller, a speed selector, a motion detector and a motor drive cir¬ cuit. The controller perferably consists of a microprocessor and all associated support circuits. A microprocessor controls the drive of the oscillographic recorder. It does this by generating a numerical constant Y which is determined by the speed selector and in turn controls the period of time between successive pulses driving the stepper motor. The greater the number Y the longer period of time between successive pulses driving the stepper motor, and in turn the slower the rate at which the stepper motor drives the oscillographic -recorder. A step clock input to the microprocessor is monitored by the microprocessor. For each step clock input, the number Y is decremented by one.. When the number Y reaches zero, a pulse is generated which drives the stepper motor. ' If the number Y is not equal to zero, the frequency of the voltage control oscillator is measured with respect to a reference value. If the frequency is rot in adjustment relative to the reference value, then the frequency of the voltage controlled oscillator is adjusted accordingly. If the frequency is proper with respect to the reference value, the systsn awaits for another clock input. The procedure is then repeated. BRIEF DESCRIPTION OF THE DRaHΩKS Figure 1 shows a simplified block diagram of the present invention; Figure 2 is a graph showing motor current vs. πrπher of steps for a classical full stepping of a four phase stsroer motor with four phase switches 90° apart; Figure 3 is a graph showing motor current vs.. number of steps in which the current waveforms are half-wave rectified with the quadrature relationship maintained; Figure 4 is a graph showing motor current vs. number of micro-steps in which, the normalized phase current yields -Lnerenental steps; Figure 5 is a deta led block diagram of the present invention; and Figure 6 is a detailed block diagram of " the present invention using specific digital devices for the controller functions. DESCR-PTICS- OF THE P_35F__>iH___> EMBODI__E-7r A description of the invention follows, referring to the drawings in which like reference ixumerals denote like elements- of structure in each of the several figures. deferring now to Figure 1, the present invention ocrπprises a step clock systsn 10, a controller 12, a speed selector 14, a drive circuit 16, a stepper motor 18 and a motion detector 2C The operation of a stepper motor is known in the art. cro-stepping is a method of achieving much «*»..or- steps, or scalier angular displacements of the motor shaft than occurs during normal operation. The present invention αontsπplates a stepper motor with four windings. Reerring to Figure 2, the vertical * axis represents motor current in each of the four windings and the horizontal axis represents time. A step of the motor occurs at each current pulse on any coil. The current waveforms are four symmetrical, unipolar square waves in a full quadrature relationship to one another. If the motor selected is a 1.8° motor, each, step represents 1.8° of angular motion, giving 200 steps per motor revolution. To achieve micro-stepping, each of the current waveforms is changed to half wave rectified sines while n_a__rrt_ ning th . quadrature relationship, as is shown in Figure 3. If the sines were truly cont nuous, no stepping of the motor would occur. The present invention generates sine waves digitally dividing the sine waves into small discrete steps; The motor will thus step, with the steps being much smaller than normal full steps. The micaro-step will be equal to one full step divided by the number of increments in each quarter cycle of the sine wave with each of the micro-steps being of equal size. The drive circuit 16 also comprises a steering circuit, not shown, to direct which coil will be powered. The preseat invention contemplates- dividing each quarter cycle into 16 increments, giving 16 equal micro-steps per normal full step or 3200 micro-steps per revolution. Each micro-step will then give a rotation of approximately .11° instead of the nασral 1.8°. The waveform for motor current of the present invention can be seen in Figure 4. Another method for acα plishing πacro-stepping is to drive the four poles of the stepper motor 18 through linear amplifiers with a quadrature sine wave. Referring now to Figure 5, a speed is selected from the speed selector 14. This can take the form of a switch or by a re¬ mote interface enable. The speed selector 14 is operative! * / con- nected to the controller 12 which receives a coded signal from the speed selector 14. The controller 12 then generates a numerical constant which is determined by the speed selected * freer the speed selector 14. The step clock system 10 has a voltage controlled, step oscillator 22. The step oscillator 22 is σperatively connected to the controller 12. The αontroller 12 has an output 24 which puts out a digital signal which is indicative of the frequency at which the step oscillator is to run. The output 24 is σperatively con¬ nected to a digital to analog converter, hereina ter D to A con- verter, 26 within the step clock system 10. The output of the D to A converter 26 is operatively connected to a suriraing jurction 28 and then to step oscillator 22. As will be appreciated by those skilled in the art, the output 24 of the controller 12 controls the frequ¬ ency of step oscillator 22. This will he a fixed frequency which is " U R EA 0Λ.PΪ determined at the time of calibration of the controller 12. The sαraring junction 28 also has a capacitor 30 that is used during motor- start , An instantaneous frequency, cannot be placed on a steppingmotor or else the motor will lock up. The frequency must be integrated up to the selected operating frequency. Since the step oscillator 22 is voltage controlled, the capacitor 30 will per¬ mit an integration of the output frequency to the desired value. Avariable adjustment is provide by a potentcrceter net¬ work 32 and an integral switch 34. If pσtentσneter 32 is rotated in one direction, switch 34 opens inst__ucting the controller 12 to sus¬ pend anyattempt to adjust the step oscillator 22. This would per¬ mit continuously variable adjustment of the step oscillator fre¬ quency by potentαneter 32. The step oscillator output activates a decreαeπt counter, not shOT_π> within the controller 12. "The ι__merical constant is de¬ cremented, for at least one pulse of the step oscillator 22 and oould occur on each transition if so desired-.A cαπ arator within the controller 12 determines when the nurπerical constant has been de- crsneπted down to zero. When the manerical constant reaches zero, to advance the output signal to the stepping motor by one incrsnent. Assumingrthe 1.8° motor discussed above with 16 increments per quarter cycle, each time the numerical constant within the controller decrsnents to zero, the motor is advanced approximately .IIP. ' As will be appreciated by those skil ed in the art, it will be apparent that the speed is a direct function of the-value of the numerical constant. The larger the ι_x_erical constant established in the controller 12 by the speed selector 14, the longer it takes to decrement the constant to zero and consequently the slower the motor motion. Inversely, the smaller the value of the numerical constant the faster the motor motion. The present invention also contε_ lates that the πtaπerical constan may not go to zero, but to sane predetermined value. Also, an incrsnent counter may be used in which case the numerical constant would increment to some predeteπnined number before update occurs. If an increment counter is used, the controller would establish an initial snaller number to generate slower speeds and vice-versa. The step clock system 10 has a self αarrecting feature. The cutput of the step oscillator 22 is operatively connected to a frequency counter 36 which is in turn operatively connected to the controller 12. A crystal controlled reference oscillator 38 is also connected to the frequency counter 36 and is αonnected to the controller 12. The controller compares the value of the frequency counter against a reference each time the internal constant within the controller 12 decrements down. If the frequency is incorrect, the output 24 is- adjusted appropriately to adjust the frequency. Such errors may occur due to temperature variations, etc. The reference oscillator 38 provides a time base for the frequency counter 36 and the controller 12. The motion detector 20 comprises a tachometer 40 and a missing pulse, detector 42 hereinafter MPD. The purpose of the motion detector 14 is to provide a fail-safe system. If the motor is stopped externally by force, the MPD 42 interrupts the controller 12 and re-accelerates the motor. Also provided is an external pulse input 43. At the direction of the speed selector 14, the controller may ignore the step clock oscillator and update the motor controller at each transition of the externally supplied oscillator. This effectively permits the motor motion to be controlled by external means. ' The present invention has been described in which the controller 12 is preferably a micro-processor that performs all the functions described supra internally. Those skilled in the art will appreciate that the same functions can be accccplished using specific digital devices instead of the microprocessor. Referring now to Figure 6, the operation of the specific digital devices will be described with respect to __ decrsnent counter. Oie speed _ selector 14 sends a code to the cede converter 44 which generates a "BURE C O.' PI - a - παmerical constant as a function of the speed selected. The code csnverter 44 establishes this numerical constant in a down counter 46 which decrements the numeral down for each step of the step oscillator 22 until the counter reaches zero. At this point, the underflow output of the αounter causes the up αounter 48 to increment and the down counter to reload the numerical constant. The motor drive circuit 16 is thai updated so that the motor advances. The step oscillator control function is acccmplishsd by use of a comparator 50 which compares the output of the frequency counter 36 against a reference count established by reference switch 52. Depending on the result of the comparator, the αounter 54 is either incremented, decremented or left alone. The change in output of the counter 54 will update the voltage output of the digital to analog converter 26 and thus vary the frequency output of stop oscillator 22. This invention has been described with reference to a preferred embodiments Obvious ..edifications and alterations will occur to others upon reading and understanding of this spec__cication. The intention is to include all such modifications and alterations insofar as they core within the scope of the appended claims or the equivalent thereof.

Claims: What is claimed is: 1. Amicro-stepping control circuit for a stepper motor of the typeused to drive the chart within an oscillographic re¬ corder, saidmicro-stepping control circuit cαiiprisingi a speed selector means for selecting the speed at which 5 said stepper motor will drive said chart; a step oscillator means for providing a step frequency pulse signal; a controller means, said controller means being σper¬ atively connected to said speed selector means and said step 10.oscillator means, said controller internally generating a numerical constant whose value is determined by the speed selector means, said numerical constant being either decremented or incrsmented by at least one pulse frcm said stop oscillatormeans, said controller means determining ' if said numerical constant has reached to seme 15 predetermined value and then generating a signal indicative thereof; and drive means operatively connected to-said controller means and said stepper motor for driving said stepper motor, said drive means being updated whenever said controller means deteπnines that 0 said numerical constant reaches said predetermined value, whereby said chart speed is determined by said value numerical constant and the time it takes to reach said predetermined value. 2. The micro-stepping control circuit of Claim 1 wherein update for said drive means provides an incremental part of a full step of said stopper motor. 3. The micro-stepping control circuit of Claim 2 wherein the drive means provides a full wave recti ied sine and cosine signal signal broken into st ircase increments. 4. The micro-stepping control circuit of claim 3 wherein said drive means further comprises a steering circuit to direct which coils of said stepper motor will be powered. 5. The micro-stepping control circuit of Claim 2 wherein the drive means drives the four poles of said stepper motor through -BU REΛ OMPT a i jrnaa-r amplifier with a quadrature sine wave broken into staircase increments. 6. The micro-stopping control ' circuit of CLaiin 1 further cσiprising a motion detector means having a tachcmeter and a missing pulse detector for determining when external force has stopped said chart and to re-accelerate said stepper motor if in continuous operation. 7. A micro-stepping control circuit for a stepper motor of the type used to drive the chart within an oscillographic recorder, said micro-stepping control circuit (...-uprising; means for selecting the speed at which the stepper motor will drive said chart; oscillator means- for providing a step frequency pulse signal; controller means qperatively connected to said selecting means and. said oscillator means, said controller means fceving, means for internally generating a numeral whose value is deterr±Lned by said selecting means, means for decrementing or incrsnenting said rai eral when at least one pulse from said oscillator means occurs, means for determining when said numeral has reached seme predetermined value, and means for generating a signal indicative thereof; means, for driving said stepper motor operatively connected to said controller, means and said stepper motor, said means for driving being updated whenever said numeral reaches said predetermined value. 8. The micro-stepping control circuit substantially as hereinbefore described with ref rence to and as illustrated in the accompanying drawings. o.v.Pi

Inventors: DANIEL RICHARD A, GEIL RONALD J
Applicants: GOULD INC
Application year: 1982
Main classification: G05B19
IPC codes: G05B19, H02P8