This CMOS inverter worked as an logic inverter very well. But when I tried to apply to crystal oscillator as below. It did not work at all! Could anyone here explain why ? Thanks all.
The transistor/mosfet half-bridge tends to stagnate when we try to use it in a crystal-driven oscillator.
However with an inductor (CLC shape) the transistor half-bridge does oscillate.
The mosfet half-bridge lacks snap action, whereas an invert-gate does have it. Therefore the single invert-gate is sufficient to make a crystal-driven oscillator. (And that's what we often see demonstrated for crystals.)
This kind of discrete MOSFETS inverter has been built, tested by me on solderless breadboard. From what I see is that it works quite like a normal C-MOS inverter. This C-MOS inverter is supplied with +5V. Output of this inverter is connect to 220 Ohms resistor then to a LED and to ground to test logic level. When I connect input of inverter to VCC, the Led is off. When I connect input of this inverter to ground, the led shine bright. When I connect nothing at the input, the led dim. When I touch the input of this inverter with my finger, it affect the brightness of the led. When I connect 1 Mega ohms resistor at the input and the output of this inverter to try to bias as a linear amplifier, the led dim. But when I try to add 12 Mhz crystal and loading capacitors as shown in the first post of this thread, it does not oscillate at all. By the way, thank you all for your kind replies.
A CD4xxx or 74HCxx Cmos logic IC has tiny little Mosfets that have extremely LOW input capacitance.
Also, they fully turn on with an input of 3.1V above 0V for N-Mos or 3.1V below the + power supply voltage for P-Mos.
Your IRF power Mosfets have input capacitance that is extremely HIGH. A crystal oscillator needs very low capacitance parts and wiring.
They fully turn on with an input of 10V above 0V for N-Mos or 10V below the + power supply voltage for P-Mos.
Why are you using high power, high input voltage and high input capacitance Mosfets?
At 12MHz, the input capacitance of your power Mosfets are a dead short and they will not oscillate in your crystal oscillator.
The wiring and rows of contacts on a solderless breadboard might be to high for a Cmos IC crystal oscillator at 12MHz.