> From: Steven Kosmerchock[SMTP:skosmerchock@COMTECHEFDATA.COM] > Sent: Wednesday, April 07, 2004 4:55 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: [EE:] OP-AMP Question. > Guys, > I have a linear signal that goes from +0.45V to +1.15V. I need to > convert it to > a signal that is +0.3V, when level is +0.45V and +10V when the signal > is +1.15V. > Could somebody suggest an op-amp circuit that would do this. Would I > need some type > of offset to get this "strange" range? I tried using a regular > "non-inverting op-amp circuit", > but I couldn't get the full range. I am using a R-R op-amp with +10V as > the positive supply. > Any suggestions would be greatly appreciated. > Thanks. > Steve The input signal has a range of 1.15 - 0.45 = 0.70 volts. The corresponding output needs to be 10 - 0.3 = 9.7 volts. The gain must then be 9.7 / 0.7 = 13.86 An additive offset must now be calculated. If an input of 0.45 V gives an output of 0.3 V and the gain is 13.86, then what is the output when the input is zero? Vo = Offset + 13.86 * Vin 0.3 = Offset + 13.86 * 0.45 Offset = 0.3 - 13.86 * .45 = 0.3 - 6.237 = - 5.937 V The standard non-inverting amplifier uses two resistors: R1 from the output of the amplifier to the inverting input, and R2 from the inverting input to ground. The gain determines the ratio between the two resistors: Gain = (R1 + R2) / R2 = 1 + (R1/R2) = 13.86 Either R1 or R2 can be chosen arbitrarily and the other can be found from the above equation. Of course, the initial value is only arbitrary in a theoretical sense; practical values will depend on amplifier bias current and overall power consumption. Now that the gain is taken care of, the offset must be added in. The usual place to add this is between the bottom of R2 and ground. A voltage source must be placed here such that with the input (the non-inverting input of the amp) grounded, the output will be - 5.937V. Since the supply is positive only, you will never see a negative output, but that doesn't matter. The output will saturate if the input is zero. It only matters that the output will be 0.3 V when the input is 0.45V. The amplifier seen from the low end of R2 looks like an inverting amplifier with input resistor R2, feedback resistor R1, and the amp + input grounded. The voltage that is needed to be applied to the low end of R2 is then - 5.937 = Vin * (- R1 / R2) But (R1 / R2) = 13.86 - 1 = 12.86, so - 5.937 = -12.86 * Vin, or Vin = (- 5.937 / -12.86) = 0.461V A voltage divider across +10V that gives 0.461V output will work. This assumes that R2 does not load down the output of the divider. This issue can be accomodated by seeing that the divider and R2 (consisting of 3 resistors total) can be replaced by its Thevenin equivalent circuit. In other words, a divider from +10V to ground can have its output connected to the inverting input directly, eliminating R2, if the resistance looking into the divider (value of its 2 resistors in parallel) is R2 and the open circuit output is 0.461V. This completely determines both resistors in the divider with no ambiguity. If this is too much trouble, just make sure that the lower resistor in the offset divider is much smaller than R2. John Power -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics