I am starting to learn to use operational amplifier recently. I construct a simple circuit with an amplifier (http://www.ti.com/product/op07c) with is driven by 9V (on VCC and GND). I have the V+ and V- connected to a function generator providing a sinusoidal signal of 500mV and 100kHz (also tried 100Hz). I have the output (Vout) feedback to the V-. T Vout connect to the V- via an 200ohm resistor (as shown in the fig). But if I observe the output with scope, it is not really a sinusoidal wave (it more like the positive section of the sine is flat while the negative section of the sine is like sinusoidal. But if I connect the Vout to V+ with an 200ohm resistor, the output is pretty well sinusoidal but the amplitude is attenuated instead of magnified.
Just looking at the behavior you described and the datasheet there are a couple of points I want to present.
- Since this doesn't look like a rail-to-rail OpAmp you will have some trouble with the available range in the output. This means in your case that it will probably only be able to swing to something like 1.5v to 7.5v (assuming a 1.5v drop by the OpAmp). If you try to generate an output higher than those values it will simply clip the value, something like your "flat top".
- The other problem that you may encounter is that you are operating near the Unity-gain bandwidth of this IC (which is typically 400kHz, by the datasheet). This means that your OpAmp will operate different than a ideal opamp (which has inf. gain).
Try to reduce the gain of the circuit, or the amplitude of the signal. Also you can try to ad an offset to your signal (shift it up or down).
Also for a great reading about electronics take a look at the book The Art of Electronics. You can go directly to the first chapter about OpAmps, and if you got interested devour it from begin to end.
Aside from the issues brought up in the other answers, your circuit has some more basic problems. By connecting the V- input directly to the inverting pin of the op-amp, you are effectively shorting out the resistor between that node and ground. This will cause the op-amp to act as a comparator, rather than produce a linear gain.
(Note: putting part designators in your schematic would make it much easier to discuss it)
If your function generator has a differential output, the classic op-amp circuit to amplify a differential signal looks like this:
(picture from the excellent Op-Amps for Everyone from TI)
Here, V1 and V2 would be the two output pins of your function generator. Notice that each input has a resistor between it and the op-amp input pins.
Edit in response to edits on the question.
OK, your circuit now shows explicitly that the op-amp's inverting input is tied to ground. The 200 Ohm resistor, now connected between ground and ground, can do nothing in this circuit. It will not work as you wish.
The classic non-inverting amplifier configuration looks like this:
Notice that the negative terminal (BNC outer conductor, in your case) of the input source is only tied to this circuit through the ground symbol. Having R1 between the inverting input of the op-amp and ground allows feedback to drive the inverting input equal to the non-inverting input. This is usually what we want to happen in an op-amp circuit with negative feedback. In your circuit it can't happen because the inverting input is tied directly to ground.