I am trying to design a simple frequency multiplier using CD4046. Since I don't have the ICs I've been trying to simulate on LTSpice. It's a simple circuit with a feedback loop with a D flip-flip which divides the frequency by 2. Therefore, I expect the CD4046 output signal will have its frequency be multiplied by 2.
However, it does not work. I am not sure whether the simulation is not working due to the non-official CD4046 model or if the circuit is wrong.
Why do you expect that there is such a thing as an official model. Neither Linear Technology, nor Analog Devices EVER made a CD4046. Furthermore, there is no authoritative source for any device models that did not originate from either Linear Technology or Analog Devices. This includes pretty much every BJT, diode, and MOSFET. As you can tell from the change logs, even the official source makes mistakes. Please discard your rose-colored glasses.
I've tested this design by just wiring VC0out to CompIn and it works. There must be an issue with this intermediate components in the feedback loop. By the way, the frequencies tested ranged from 5Hz to 5KHz.
Why do you expect that there is such a thing as an official model. Neither Linear Technology, nor Analog Devices EVER made a CD4046. Furthermore, there is no authoritative source for any device models that did not originate from either Linear Technology or Analog Devices. This includes pretty much every BJT, diode, and MOSFET. As you can tell from the change logs, even the official source makes mistakes. Please discard your rose-colored glasses.
Additionally;
The loop filter values are waaaaay too large. I ignore how the simulation handles this, but…A real world circuit will exhibit a long setting time.
Reduce them by a factor of 10. At least.
Additionally;
The loop filter values are waaaaay too large. I ignore how the simulation handles this, but…A real world circuit will exhibit a long setting time.
Reduce them by a factor of 10. At least.