lm2907 an 162

Download Lm2907 an 162

If you can't read please download the document

Upload: mariano-rocha

Post on 17-May-2015

1.207 views

Category:

Business


6 download

TRANSCRIPT

  • 1. LM2907 Tachometer Speed Switch Building Block ApplicationsNational SemiconductorLM2907 Tachometer Speed Application Note 162Switch Building Block June 1976ApplicationsINTRODUCTIONFrequency to voltage converters are available in a number from a single supply voltage which makes them particularlyof forms from a number of sources but invariably requiresuitable for battery operationsignificant additional components before they can be put toPART 1 GENERAL OPERATION PRINCIPLESuse in a given situation The LM2907 LM2917 series ofdevices was developed to overcome these objections Both Circuit Descriptioninput and output interface circuitry is included on chip so Referring to Figure 1 the family of devices all include threethat a minimum number of additional components is re- basic components an input amplifier with built-in hysteresisquired to complete the function In keeping with the systems a charge pump frequency to voltage converter and a versa-building block concept these devices provide an outputtile op amp comparator with an uncommitted output transis-voltage which is proportional to input frequency and providetor LM2917 incorporates an active zener regulator on-chipzero output at zero frequency In addition the input may beLM2907 deletes this option Both versions are obtainable inreferred to ground The devices are designed to operate14-pin and in 8-pin dual-in-line molded packages and tospecial order in other packagesLM2907N-8 LM2917N-8TL H 7451 1 TL H 7451 2 LM2907N LM2917N AN-162TL H 7451 3 TL H 7451 4 FIGURE 1 Block DiagramsC1995 National Semiconductor Corporation TL H 7451RRD-B30M115 Printed in U S A

2. Input Hysteresis Amplifier required to return the capacitor on pin 2 to the high levelThe equivalent schematic diagram is shown in Figure 2 Q1 voltage is duplicated and used to charge the capacitor con-through Q11 comprise the input hysteresis amplifier Q1 nected to pin 3 Thus in one cycle of input the capacitor onthrough Q4 comprise an input differential amplifier which by pin 3 gets charged twice with a charge of CVvirtue of PNP level shifting enables the circuit to operateThus the total charge pumped into the capacitor on pin 3with signals referenced to ground Q7 Q8 D4 and D5 com- per cycle isprise an active load with positive feedback This load be- Q e 2 CV (2)haves as a bi-stable flip-flop which may be set or reset de- Now since V e VCC 2pending upon the currents supplied from Q2 and Q3 Con-sider the situation where Q2 and Q3 are conducting equally thenQ e CVCC(3)i e the input differential voltage is zero Assuming Q7 to be A resistor connected between pin 3 and ground causes aconducting it will be noted that the current from Q3 will be discharge of the capacitor on pin 3 where the total chargedrawn by Q7 and Q8 will be in the OFF state This allowsdrained per cycle of input signal is equal tothe current from Q2 to drive Q7 in parallel with D4 and aV3Tsmall resistor D4 and Q7 are identical geometry devices so Q1 e Rthat the resistor causes Q7 to be biased at a higher levelthan D4 Thus Q7 will be able to conduct more current thanwhere V3 e the average voltage on pin 3Q3 provides In order to reverse the state of Q7 and Q8 it T e period of input signalwill be necessary to reduce the current from Q2 below thatR e resistor connected to pin 3provided by Q3 by an amount which is established by R1 ItIn equilibrium Q e Q1can be shown that this requires a differential input to Q1 andV3TQ4 of approximately 15mV Since the circuit is symmetrical i e CVCC e (4)the threshold voltage to reverse the state is 15 mV in the Rother direction Thus the input amplifier has built-in hystere- RCsis at g 15 mV This provides clean switching where noise and V3 e VCC (5)Tmay be present on the input signal and allows total rejec- or V3 e VCCRCf (6)tion of noise below this amplitude where there is no inputsignal where f e input frequencyCharge PumpOp Amp ComparatorThe charge pump is composed of Q12 through Q32 R4 R5 Again referring to Figure 2 the op amp comparator includesand R6 provide reference voltages equal to 1 4 and 3 4 ofQ35 through Q45 A PNP input stage again provides inputsupply voltage to Q12 and Q13 When Q10 turns ON or common-mode voltages down to zero and if pin 8 is con-OFF the base voltage at Q16 changes by an amountnected to VCC and the output taken from pin 5 the circuitequal to the voltage across R5 that is 1 2 VCC A capacitor behaves as a conventional unity-gain-compensated opera-connected between Pin 2 and ground is either charged bytional amplifier However by allowing alternate connectionsQ21 or discharged by Q22 until its voltage matches that on of Q45 the circuit may be used as a comparator in whichthe base of Q16 When the voltage on Q16 base goes lowloads to either VCC or ground may be switched Q45 is ca-Q16 turns ON which results in Q18 and Q26 turning onpable of sinking 50 mA Input bias current is typically 50 nAwhich causes the current sourced by Q19 and Q20 to beand voltage gain is typically 200 V mV Unity gain slew rateshunted to ground Thus Q21 is unable to charge pin 2 is 0 2 V ms When operated as a comparator Q45 emitterMeanwhile Q27 and Q30 are turned off permitting thewill switch at the slew rate or the collector of Q45 will200 mA sourced by Q28 and Q29 to enter the emitters of switch at that rate multiplied by the voltage gain of Q45Q31 and Q32 respectively The current from Q31 is mirroredwhich is user selectableby Q22 through Q24 resulting in a 200 mA discharge current Active Zener Regulatorthrough pin 2 The external capacitor on pin 2 is thus dis- The optional active zener regulator is also shown in Figurecharged at a constant rate until it reaches the new base 2 D8 provides the voltage reference in conjunction withvoltage on Q16 The time taken for this discharge to occur is Q33 As the supply voltage rises D8 conducts and the basegiven by voltage on Q33 starts to rise When Q33 has sufficient baseCV voltage to be turned ON it in turn causes Q34 to conduct te(1) I current from the power source This reduces the currentwhere C e capacitor on pin 2 available for D8 and the negative feedback loop is thereby completed The reference voltage is therefore the zener V e change in voltage on Q16 base voltage on D8 plus the emitter base voltage of Q33 ThisI e current in Q22 results in a low temperature coefficient voltageDuring this time Q32 sources an identical current into pin 3A capacitor connected to pin 3 will thus be charged by the Input Levels and Protectionsame current for the same amount of time as pin 2 When In 8-pin versions of the LM2907 LM2917 the non-invertingthe base voltage on Q16 goes high Q18 and Q26 areinput of the op amp comparator is connected to the outputturned off while Q27 and Q30 are turned ON In these of the charge pump Also one input to the input hysteresisconditions Q21 and Q25 provide the currents to charge theamplifier is connected to ground The other input (pin 1) iscapacitors on pins 2 and 3 respectively Thus the chargethen protected from transients by first a 10kX series resis- 2 3. 3Note This connection made on LM2907-8 and LM2917-8 onlyNote This connection made on LM2917 and LM2917-8 only TL H 7451 5Note Pin numbers refer to 14-pin packageFIGURE 2 Equivalent Schematic Diagram 4. tor R3 (Figure 2) which is located in a floating isolation Second if R1 is too large it can become a significant frac-pocket and secondly by clamp diode D1 Since the voltagetion of the output impedance at pin 3 which degrades linear-swing on the base of Q1 is thus restricted the only restric- ity Finally ripple voltage must be considered and the sizetion on the allowable voltage on pin 1 is the breakdownof C2 is affected by R1 An expression that describes thevoltage of the 10 kX resistor This allows input swings toripple content on pin 3 for a single R1 C2 combination isg 28V In 14-pin versions the link to D1 is opened in order to fINC11J p-p VCC C1 Vallow the base of Q1 to be biased at some higher voltage VRIPPLE eb CC2 C2 I2Q5 clamps the negative swing on the base of Q1 to about It appears R1 can be chosen independent of ripple howev-300 mV This prevents substrate injection in the region of er response time or the time it takes VOUT to stabilize at aQ1 which might otherwise cause false switching or errone- new frequency increases as the size of C2 increases so aous discharge of one of the timing capacitors compromise between ripple response time and linearityThe differential input options (LM2907-14 LM2917-14) givemust be cosen carefully R1 should be selected accordingthe user the option of setting his own input switching level to the following relationshipand still having the hysteresis around that level for excellent C is selected according tonoise rejection in any applicationV3 Full ScaleHOW TO USE IT C1 e R1VCCfFULL SCALEBasic f to V Converter Next decide on the maximum ripple which can be acceptedThe operation of the LM2907 LM2917 series is best under- and plug into the following equation to determine C2stood by observing the basic converter shown in Figure 3 InJ VCC C1V3this configuration a frequency signal is applied to the inputC2 e1b 2VRIPPLE R1I2of the charge pump at pin 1 The voltage appearing at pin 2 The kind of capacitor used for timing capacitor C1 will deter-will swing between two values which are approximately 1 4 mine the accuracy of the unit over the temperature range(VCC) b VBE and 3 4 (VCC) b VBE The voltage at pin 3 will Figure 15 illustrates the tachometer output as a function ofhave a value equal to VCCfINC1R1K where K is temperature for the two devices Note that the LM2907 op-the gain constant (normally 1 0) erating from a fixed external supply has a negative tempera-The emitter output (pin 4) is connected to the inverting input ture coefficient which enables the device to be used withof the op amp so that pin 4 will follow pin 3 and provide acapacitors which have a positive temperature coefficientlow impedance output voltage proportional to input frequen-and thus obtain overall stabililty In the case of the LM2917cy The linearity of this voltage is typically better than 0 3% the internal zener supply voltage has a positive coefficientof full scalewhich causes the overall tachometer output to have a veryChoosing R1 C1 and C2low temperature coefficient and requires that the capacitor temperature coefficient be balanced by the temperature co-There are some limitations on the choice of R1 C1 and C2 efficient of R1(Figure 3) which should be considered for optimum perform-ance C1 also provides internal compensation for theUsing Zener Regulated Options (LM2917)charge pump and should be kept larger than 100 pF Small- For those applications where an output voltage or currenter values can cause an error current on R1 especially at must be obtained independently of the supply voltage varia-low temperatures Three considerations must be met when tions the LM2917 is offered The reference typically has anchoosing R111X source resistance In choosing a dropping resistor fromFirst the output current at pin 3 is internally fixed and there- the unregulated supply to the device note that the tachome-fore V3 max divided by R1 must be less than or equal toter and op amp circuitry alone require about 3 mA at thethis value voltage level provided by the zener At low supply voltagesV3 maxR1 t I3MINwhere V3 max is the full scale output voltage required13MIN is determined from the data sheet (150 mA) TL H 7451 6 FIGURE 3 Basic f to V Converter 4 5. there must be some current flowing in the resistor above theInput Interface Circuits3 mA circuit current to operate the regulator As an exam- The ground referenced input capability of the LM2907-8 al-ple if the raw supply varies from 9V to 16V a resistance of lows direct coupling to transformer inputs or variable reluc-470X will minimize these zener voltage variations to 160tance pickups Figure 5(a) illustrates this connection InmV If the resistor goes under 400X or over 600X the zener many cases the frequency signal must be obtained fromvariation quickly rises above 200 mV for the same input vari- another circuit whose output may not go below ground Thisation Take care also that the power dissipation of the IC ismay be remedied by using ac coupling to the input of thenot exceeded at higher supply voltages Figure 4 shows LM2907 as illustrated in Figure 5(b) This approach is verysuitable dropping resistor values suitable for use with phototransistors for optical pickupsNoisy signal sources may be coupled as shown in Figure5(c) The signal is bandpass filtered This can be used forexample for tachometers operating from breakerpoints on aconventional Kettering ignition system Remember that theminimum input signal required by the LM2907 is only 30mVp-p but this signal must be able to swing at least 15 mVon either side of the inverting input The maximum signalwhich can be applied to the LM2907 input is g 28V Theinput bias current is a typically 100 nA A path to groundmust be provided for this current through the source or byother means as illustrated With 14-pin package versions ofLM2907 LM2917 it is possible to bias the inverting input tothe tachometer as illustrated in Figure 5(d) This enables thecircuit to operate with input signals that do not go to groundbut are referenced at higher voltages Alternatively thisTL H 7451 7method increases the noise immunity where large signal FIGURE 4 Zener Regular Bias Resistor RangeTL H 7451 10TL H 74518TL H 7451 9 (a) Ground Referenced Inputs(c) Bandpass Filtered Input(b) AC Coupled Input Reduces Noise TL H 7451 11TL H 7451 12(d) Above Ground Sensing (e) High Common-Mode Rejection Input CircuitFIGURE 5 Tachometer Input Configurations5 6. levels are available but large noise signals on ground areplaced in series with the output to protect the LED and thealso present To take full advantage of the common-modeoutput transistorrejection of the input differential stage a balanced bias con-This circuit has no hysteresis in it i e the turn ON andfiguration must be provided One such circuit is illustrated inturn OFF speed voltages are essentially equal In casesFigure 5(e) With this arrangement the effective common- where speed may be fluctuating at a high rate and a flashingmode rejection may be virtually infinite owing to the input LED would be objectionable it is possible to incorporatehysteresishysteresis so that the switch-on speed is above the switch-Output Configurations off speed by a controlled amount Such a configuration isillustrated in Figure 6(b) Figure 6(c) shows how a groundedLM2907 LM2917 series devices incorporate an unusuallyload can also be switched by the circuit In this case theflexible op amp comparator device on-chip for interfacingcurrent limiting resistor is placed in the collector of the pow-with a wide variety of loads This flexibility results from theer transistor The base current of the output transistor (Q45)availability of both the collector and emitter of the outputis limited by a 5 kX base resistor (see Figure 2 ) This raisestransistor which is capable of driving up to 50 mA of loadthe output resistance so that the output swing will be re-current When the non-inverting input is higher than the in-duced at full loadverting input this output transistor is turned ON It may beused to drive loads to either the positive or the negativeThe op amp comparator is internally compensated for unitysupply with the emitter or collector respectively connected gain feedback configurations as in Figure 6(d) By directlyto the other supply For example Figure 6(a) a simpleconnecting the emitter output to the non-inverting input thespeed switch can be constructed in which the speed signal op amp may be operated as a voltage follower Note that aderived from the frequency to voltage converter is com- load resistor is required externally The op amp can also bepared to a reference derived simply by a resistive divideroperated of course as an amplifier integrator active filterfrom the power supply When the speed signal exceeds the or in any other normal operational amplifier configurationreference the output transistor turns on the light emitting One unique configuration which is not available with stan-diode in the load A small current limiting resistor should be dard operational amplifiers is shown in Figure 6(e) Herethe collector of the output transistor is used to drive a loadTL H 745113 TL H 7451 14 TL H 7451 15(a) Switching an LED (b) Adding Hysteresis (c) Switching a Grounded Load to LED SwitchTL H 745116TL H 7451 17TL H 7451 18(d) Voltage Follower(e) Voltage to Current Converter(f) IntegratorFIGURE 6 Output Configurations6 7. with a current which is proportional to the input voltage InFigure 7 illustrates methods for protecting against these andother words the circuit is operating as a voltage to currentother transients Figure 7(a) shows a typical situation inconverter This is ideal for driving remote signal sensors and which the power supply to the LM2907 can be providedmoving coil galvanometers Figure 6(f) shows how an active through a dropping resistor and regulated by an externalintegrator can be used to provide an output which falls withzener diode Z1 but the output drive is required to operateincreasing speedfrom the full available supply voltage In this case a sepa-These are the basic configurations obtainable with the op rate protection zener Z2 must be provided if the voltage onamp comparator Further combinations can be seen in thethe power line is expected to exceed the maximum ratedapplications shown in Part II of this application notevoltage of the LM2907In Figure 7(b) and Figure 7(c) the output transistor is re-Transient Protectionquired only to drive a simple resistive load and no second-Many application areas use unregulated power supplies ary protection circuits are required (Note that the droppingwhich tend to expose the electronics to potentially damag-resistor to the zener also has to supply current to the outputing transients on the power supply line This is particularlycircuit) With the foregoing circuits reverse supply protec-true in the case of automotive applications where two suchtion is supplied by the forward biased zener diode This de-transients are common 1 First is the load dump transientvice should be a low forward resistance unit in order to limitThis occurs when a dead battery is being charged at a highthe maximum reverse voltage applied to the integrated cir-current and the battery cable comes loose so that the cur-cuit Excessive reverse voltage on the IC can cause highrent in the alternator inductance produces a positive tran- currents to be conducted by the substrate diodes with con-sient on the line in the order of 60V to 120V The secondsequent danger of permanent damage Up to 1V negativetransient is called field decay This occurs when the ignition can generally be tolerated Versions with internal zenersis turned OFF and the energy stored in the field windingmay be self-protecting depending on the size of droppingof the alternator causes a negative 75V transient on theresistor used In applications where large negative voltageignition lineTL H 7451 20 TL H 7451 19 (a) (b)TL H 7451 22 TL H 7451 21 (c) (d)FIGURE 7 Transient Protection Schemes7 8. transients may be anticipated a blocking diode may be con- The concept of building blocks requires that a function benected in the power supply line to the IC as illustrated inperformed in the same way as it can be mathematically de-Figure 7(d) During these negative transients the diode D1fined In other words a frequency to voltage converter willwill be reverse biased and prevent reverse currents flowingprovide an output voltage proportional to frequency which isin the IC If these transients are short and the capacitor C1 independent of the input voltage or other input parametersis large enough then the power to the IC can be sustainedexcept the frequency In the same way the output voltageThis is useful to prevent change of state or change of will be zero when the input frequency is zero These fea-charge in in systems connected to it tures are built into the LM2907Temperature Ranges and Packaging ConsiderationsApplications for the device range from simple speed switch for anti-pollution control device functions in automobiles toThe LM2907 LM2917 series devices are specified for oper- motor speed controls in industrial applications The applica-ation over the temperature range b40 C to a 85 C tions circuits which follow are designed to illustrate some ofThe devices are normally packaged in molded epoxy dual-the capabilities of the LM2907 In most cases alternativein-line packages Other temperature ranges and other pack-input or output configurations can be mixed and matched atages are availabe to special order For reliability require-will and other variations can be determined from the de-ments beyond those of normal commercial applicationscription in Part I of this application note For completewhere the cost of military qualification is not bearable other specifications refer to the data sheetprograms are available such as B a Speed SwitchesPART II APPLICATIONS Perhaps the most natural application of the LM2907 is inINTRODUCTION interfacing with magnetic pickups such as the one illustrat-The LM 2907 LM2917 series devices were designed noted in Figure 8 to perform speed switching functions As anonly to perform the basic frequency to voltage function re-example New York taxies are required to change the inten-quired in many systems but also to provide the input and sity of the warning horn above and below 45 mph Otheroutput interface so often needed so that low cost imple- examples include an over-speed warning where a drivermentations of complete functions are available may set the desired maximum speed and have an audible TL H 7451 23FIGURE 8 Typical Magnetic Pickup TL H 7451 25TL H 745124 FIGURE 9 Simple Speed Switch Load is Energized FIGURE 10 RC Selection Chart1 when fIN l2C1R1 8 9. or visual warning of speeds in excess of that level Many the output current is conducted along the supply line so thatanti-pollution devices included on several recent automobile a local current sensing device in the supply line can be usedmodels have included a speed switch to disable the vacuumto get a direct reading of the frequency at the remote loca-advance function until a certain speed is attained2 A circuittion where the electronics may also be situated The smallwhich will perform these kind of functions is shown in Figurezero speed offset due to the device quiescent current may9 A typical magnetic pickup for automotive applications will be compensated by offsetting the zero on the display de-provide a thousand pulses per mile so that at 60 mph the vice This also permits one display device to be shared be-incoming frequency will be 16 6 Hz If the reference level on tween several inputsthe comparator is set by two equal resistors R1 and R2 thenthe desired value of C1 and R1 can be determined from thesimple relationshipVCC e VCCC1R1f2or C1R1f e 0 5and henceC1R1 e 0 03From the RC selection chart in Figure 10 we can choosesuitable values for R1 and C1 Examples are 100 kX and0 3 mF The circuit will then switch at approximately 60 mphwith the stated input frequency relationship to speed Todetermine the ripple voltage refer back to the equation forripple voltage (under Choosing R1 C1 and C2) From thiswe can determine that there will be about 10 mV of ripple atthe switching level To prevent this from causing chatteringof the load a certain amount of hysteresis is added by in-cluding R3 This will provide typically 1% of supply as a TL H 7451 26hysteresis or 1 2 mph in the example Note that since thereference to the comparator is a function of supply voltageas is the output from the charge pump there is no need toregulate the power supply The frequency at which switch-ing occurs is independent of supply voltageIn some industrial applications it is useful to have an indica-tion of past speed excesses for example in notifying theneed for checking of bearings The LM2907 can be made tolatch until the power supply is turned OFF in the casewhere the frequency exceeds a certain limit by simply con-necting the output transistor emitter back to the non-invert-ing input of the comparator as shown in Figure 11 It canalso serve to shut off a tape recorder or editing machine atthe end of a rewind cycle When the speed suddenly in- TL H 7451 27creases the device will sense the condition and shut down( VO e FINV a R1 C1Latchup occurs whenthe motor RB SETPOINT e V aRD a RARB 1Analog Displays FIN eRA a RB R1 C1The LM2907 LM2917 series devices are particularly usefulIndependent of V afor analog display of frequency inputs In situations where FIGURE 11 Overspeed Latchthe display device is a moving coil instrument the advan-tages of the uncommitted output transistor can be realizedby providing a current drive to the meter This avoids tem-perature tracking problems with the varying meter resist-ance and enables high resistance instruments to be drivenaccurately with relatively large voltages as illustrated in Fig-ure 12 The LM2917 version is employed here to provide aregulated current to the instrument The onboard 7 6V zeneris compatible with car and boat batteries and enables themoving coil instrument to employ the full battery voltage forits deflection This enables high torque meters to be usedThis is particularly useful in high vibration environmentssuch as boats and motorcycles In the case of boats themost common speed pickup for the knot meter employs arotating propeller driving a magnetic pickup device Meteo-rologists employ a large number of anemometers for mea-suring wind velocities and these are frequently coupled by amagnetic pickup In examples like these where there is fre-quently a large distance between the display device and theTL H 7451 28sensor the configuration of Figure 13 can be usefully em-FIGURE 12 Analog Display of Frequencyployed to cut down on the number of wires needed Here 9 10. Automotive TachometerNot all inputs are derived from variable reluctance magneticpickups for example in spark ignition engines the tachome-ter is generally driven from the spark coil An interface cir-cuit for this situation is shown in Figure 14 This tachometercan be set up for any number of cylinders by linking theappropriate timing resistor as illustrated A 500X trim resis-tor can be used to set up final calibration A protection cir-cuit composed of a 10X resistor and a zener diode is alsoshown as a safety precaution against the transients whichare to be found in automobilesMotor Speed ControlsDC motors with or without brushes can be purchased withac tachometer outputs already provided by the manufactur-er3 With these motors in combination with theTL H 745129TL H 7451 32FIGURE 15 Normalized Tachometer Output vs TemperatureTL H 745130FIGURE 13 Two Wire Remote Speed Sensor TL H 7451 31FIGURE 14 Gasoline Engine Tachometer 10 11. LM2907 a very low cost speed control can be constructedthe non-inverting input As speed increases the chargeIn Figure 16 the most simple version is illustrated where thepump puts charge into capacitor C2 and causes the outputtachometer drives the non-inverting input of the comparatorVOUT to fall in proportion to speed The output current of theup towards the preset reference level When that level is op amp transistor is used to provide an analog drive to thereached the output is turned off and the power is removedmotor Thus as the motor speed approaches the referencefrom the motor As the motor slows down the voltage fromlevel the current is proportionately reduced to the motor sothe charge pump output falls and power is restored Thusthat the motor gradually comes up to speed and is main-speed is maintained by operating the motor in a switchingtained without operating the motor in a switching mode Thismode Hysteresis can be provided to control the rate of is particularly useful in situations where the electrical noiseswitching An alternative approach which gives proportional generated by the switching mode operation is objectionablecontrol is shown in Figure 17 Here the charge pump inte- This circuit has one primary disadvantage in that it has poorgrator is shown in a feedback connection around the opera- load regulation A third configuration is shown in Figure 18tional amplifier The output voltage for zero speed is equalThis employs an LM2907-8 acting as a shunt mode regula-to the reference voltage set up on the potentiometer ontor It also features an LED to indicate when the device is in regulation TL H 7451 33 FIGURE 16 Motor Speed Control TL H 7451 34FIGURE 17 Motor Speed Control with Proportional Drive11 12. Position SensingThe output of the tachometer is proportional to the productIn addition to their use to complete tachometer feedbackof supply voltage input frequency a capacitor and a resis-loops used in position transducer circuits the LM2907 tor Any one of these may be used as the input variable orLM2917 devices can also be used as position transducers they may be used in combination to produce multiplicationFor example the timing resistor can be removed from pin 3 An example of a capacitive transducer is illustrated in Figureso that the output current produces a staircase instead of a20 where a fixed input frequency is employed either fromfixed dc level If the magnetic pickup senses passing notch- the 60 Hz line as a convenient source or from a stable oscil-es or items a staircase signal is generated which can thenlator The capacitor is a variable element mechanically cou-be compared with a reference to initiate a switching action pled to the system whose position is to be sensed Thewhen a specified count is reached For example Figure 19 output is proportional to the capacitance value which canshows a circuit which will count up a hundred input pulsesbe arranged to have any desired relationship to the me-and then switch on the output stage Examples of this appli- chanical input by suitable shaping of the capacitor elec-cation can be found in automated packaging operations ortrodesin line printersTL H 7451 35FIGURE 18 Motor Speed ControlTL H 745136 TL H 7451 37 FIGURE 19 Staircase Counter 12 13. TL H 7451 38FIGURE 20 Capacitive TransducerAnalog Systems Building BlockThe linearity of voltage controlled oscillators can be im-The LM2907 LM2917 series characterize systems building proved by employing the LM2907 as a feedback control ele-block applications by the feature that the output from the ment converting the frequency back to voltage and compar-device is proportional only to externally programmed inputsing with the input voltage This can often be a lower costAny or all of these inputs may be controlled inputs to pro-solution to linearizing the VCO than by working directly onvide the desired output For example in Figure 20 the ca- the VCO itself in the open loop mode The arrangement ispacitance transducer can be operated as a multiplier Inillustrated in Figure 22flow measurement indicators the input frequency can be avariable depending on the flow rate such as a signal gener-ated from a paddle wheel propeller or vortex sensor4 Thecapacitor can be an indication of orifice size or aperturesize such as in a throttle body The product of these two willindicate volume flow A thermistor could be added to R1 toconvert the volume flow to mass flow So a combination ofthese inputs including control voltage on the supply can beused to provide complex multiplicative analog functions withindependent control of the variablesPhase-locked loops (PLL) are popular today now that lowcost monolithic implementations are available off the shelf TL H 7451 40One of their limitations is the narrow capture range and FIGURE 22 Feedback Controlled VCOhold-in range The LM2907 can be employed as a PLL help- Digital Interfaceer The configuration is shown in Figure 21 The LM2907here serves the function of a frequency-to-voltage converter A growing proportion of the complex control systems todaywhich puts the VCO initially at approximately the right fre- are being controlled by microprocessors and other digitalquency to match the input frequency The phase detector isdevices Frequently they require inputs to indicate positionthen used to close the gap between VCO and input frequen-or time from some mechanical input The LM2907 can becy by exerting a control on the summing point In this wayused to provide zero crossing datum to a digital system us-given proper tracking between the frequency-to-voltage ing the circuits illustrated in Figure 23 At each zero crossingconverter and the VCO (which is a voltage-to-frequency of the input signal the charge pump changes the state ofconverter) a wide-range phase loop can be developedcapacitor C1 and provides a one-shot pulse into the zener diode at pin 3 The width of this pulse is controlled by the internal current of pin 2 and the size of capacitor C1 as well as by the supply voltage Since a pulse is generated by each zero crossing of the input signal we call this a two-shot instead of a one-shot device and this can be used for doubling the frequency that is presented to the microproc- essor control system If frequency doubling is not required and a square wave output is preferred the circuit of Figure 24 can be employed In this case the output swing is the same as the swing on pin 2 which is a swing of half supply voltage starting at 1 VBE below one quarter of supply and TL H 7451 39going to 1 VBE below three-quarters of supply This can beFIGURE 21 Phase-Locked Loop Helper increased up to the full output swing capability by reducingAdded f to V Greatly Increases Capture and Hold Rangeor removing the negative feedback around the op amp13 14. The staircase generator shown in Figure 19 can be used as turned to the processor When the voltage on C2 stepsan A-D converter A suitable configuration is shown in Fig-above the analog input voltage the data line is clamped andure 25 To start a convert cycle the processor generates a C2 ceases to charge The processor by counting the num-reset pulse to discharge the integrating capacitor C2 Eachber of clock pulses received after the reset pulse is thuscomplete clock cycle generates a charge and discharge cy- loaded with a digital measure of the input voltage By mak-cle on C1 This results in two steps per cycle being added toing C2 C1 e 1024 an 8-bit A-D is obtainedC2 As the voltage on C2 increases clock pulses are re- TL H 7451 42VCC C1Pulse width ec 2 I2Input can be g 20 mV to g 28VTL H 7451 41 VCC C1Output frequency equal twice input frequency Pulse width ec Pulse height e VZENER2 I2FIGURE 23 Two-Shot Zero Crossing Detector TL H 7451 44 TL H 7451 43 FIGURE 24 Zero Crossing Detector and Line Drivers TL H 7451 46 TL H 7451 45 FIGURE 25 A-D Converter 14 15. Anti-Skid Circuit Functionsamp comparator is connected with negative feedback withMotor Vehicle Standards 121 place certain stopping require-a diode in the loop so that the amplifier can only pull downments on heavy vehicles which require the use of electronicon the load and not pull up In this way the outputs from theanti-skid control devices 5 These devices generally use vari-two devices can be joined together and the output will beable reluctance magnetic pickup sensors on the wheels to the lower of the two input speeds In Figure 27 the outputprovide inputs to a control module One of the questionsemitter of the onboard op amp provides the pullup requiredwhich the systems designer must answer is whether to use to provide a select-high situation where the output is equalthe average from each of the two wheels on a given axle or to the higher of two speeds The select average circuit into use the lower of the two speeds or to use the higher of Figure 28 saves components by allowing the two chargethe two speeds Each of the three functions can be generat- pumps to operate into a single RC network One of the am-ed by a single pair of LM2907-8 as illustrated in Figures 26plifiers is needed then to buffer the output and provide a low28 In Figure 26 the input frequency from each wheel sensor impedance output which is the average of the two input fre-is converted to a voltage in the normal manner The opquencies The second amplifier is available for other appli- cationsTL H 7451 47 VOUT is proportional to the lower of the two input wheel speeds TL H 7451 48 FIGURE 26 Select-Low Circuit15 16. TL H 7451 49 VOUT is proportional to the higher of the two input wheel speedsTL H 7451 50 FIGURE 27 Select-High CircuitTL H 7451 51FIGURE 28 Select-Average Circuit16 17. Transmission and Clutch Control Functions CONCLUSIONElectric clutches can be added to automotive transmissionsThe applications presented in this note indicate that theto eliminate the 6% slip which typically occurs during cruise LM2907 LM2917 series devices offer a wide variety of usesand which results in a 6% loss in fuel economy These de-ranging from very simple low cost frequency to voltage con-vices could be operated by a pair of LM2907s as illustratedversion to complex systems building blocks It is hoped thatin Figure 29 Magnetic pickups are connected to input andthe ideas contained here have given suggestions which mayoutput shafts of the transmission respectively and providehelp provide new solutions to old problems Additional appli-frequency inputs f1 and f 2 to the circuit Frequency f2 be- cations ideas are included in the data sheet which shoulding the output shaft speed is also a measure of vehicle roadbe referred to for all specifications and characteristicsspeed Thus the LM2907-8 No 2 provides a voltage propor-REFERENCEStional to road speed at pin 3 This is buffered by the op ampin LM2907-8 No 1 to provide a speed output VOUT1 on pin 1 Sociey of Automotive Engineers Preliminary Recom-4 The input shaft provides charge pulses at the rate of 2f1 mended Environmental Practices for Electronic Equip-into the inverting node of op amp 2 This node has the inte- ment Design October 1974grating network R1 C3 going back to the output of the op2 See for example Pollution Control Installers Handbookamp so that the charge pulses are integrated and provideCalifornia Bureau of Automotive Repair No BAR H-001an inverted output voltage proportional to the input speed5 5 4 NOX control systemsThus the output VOUT2 is proportional to the difference be- 3 TRW Globe Motors 2275 Stanley Avenue Dayton Ohiotween the two input frequencies With these two signals45404the road speed and the difference between road speed and4 S A E Paper 760018 Air Flow Measurement for Engineinput shaft speed it is possible to develop a number ofControl Robert D Joycontrol functions including the electronic clutch and a com-plete electronic transmission control (In the configuration 5 Code of Federal Regulations Title 49 Transportationshown it is not possible for VOUT2 to go below zero so that Chapter V National Highway Traffic Safety Administra-there is a limitation to the output swing in this direction Thistion Dept of Transportation Part 571 Federal Motormay be overcome by returning R3 to a negative bias supply Vehicle Safety Standards Standard No 121instead of to ground ) VOUT1 e VCC C2 R2 f2 VOUT2 e VCC (C2 R2 f2 b C1 R1 f1)TL H 7451 52 FIGURE 29 Transmission or Clutch Control Functions 17 18. LM2907 Tachometer Speed Switch Building Block Applications LIFE SUPPORT POLICY NATIONALS PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL SEMICONDUCTOR CORPORATION As used herein 1 Life support devices or systems are devices or 2 A critical component is any component of a life systems which (a) are intended for surgical implantsupport device or system whose failure to perform can into the body or (b) support or sustain life and whose be reasonably expected to cause the failure of the life failure to perform when properly used in accordancesupport device or system or to affect its safety or with instructions for use provided in the labeling can effectiveness be reasonably expected to result in a significant injury to the user National SemiconductorNational Semiconductor National SemiconductorNational SemiconductorAN-162 Corporation Europe Hong Kong Ltd Japan Ltd 1111 West Bardin RoadFax (a49) 0-180-530 85 86 13th Floor Straight Block Tel 81-043-299-2309 Arlington TX 76017Email cnjwge tevm2 nsc com Ocean Centre 5 Canton RdFax 81-043-299-2408 Tel 1(800) 272-9959 Deutsch Tel (a49) 0-180-530 85 85Tsimshatsui Kowloon Fax 1(800) 737-7018 English Tel (a49) 0-180-532 78 32Hong Kong Fran ais Tel (a49) 0-180-532 93 58 Tel (852) 2737-1600 Italiano Tel (a49) 0-180-534 16 80 Fax (852) 2736-9960 National does not assume any responsibility for use of any circuitry described no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications