Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

PLL driven power oscillator with f-to-V conversion

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Teleno
    replied
    Originally posted by Davor View Post
    I have a completely different 4046 model, based on a hierarchical model. Funny but it also had some problems, and I fixed them. Let me check where I put it...
    Here, this is the last-known-good model that worked properly, and even gave results comparable to reality. Put 4046.asc and 4046.asy into a folder your schematic is, and simply use the symbol. You may as well make your own symbol, but this one work as well. If you ever wish to obscure what's inside it, use a netlist of 4046.asc and rename it to .sub.
    This model does not have the "tri-state-amplifier" for analogue input, but I modelled the Vdd related resistance... kinda works OK.
    I see there's a lot of work into that model.

    Today I wired up an old CD4046B on a breadboard, these are my findings:

    - The current in the capacitor is: 6 x I(R1) + 4 x I(R2). Some datasheets claim it's I(R1)+I(R2), but it isn't true.
    - The capacitor is charged from approx. -1V (-0.8 to -1.1 depending on Vdd) up to approx. Vdd/2 (+10%). This charging time is 1/2 period of the square waveform.
    - According to the schematic, pin 12 (R2) is the naked current mirror input. However, the variation in the threshold voltage of the input p-mos is too wide (from -1.69 to -2.54 for different currents and Vdd), revealing the presence of some source degeneration resistor.

    These are my data:

    Vdd(V) I(uA) Vth(V)
    5 33.1 -1.69
    5 112 -1.97
    10 81.6 -1.84
    10 285 -2.29
    15 130 -1.96
    15 461 -2.54
    Regarding the improved version 74HC4046, this document has the most comprehensive design formulas an a BASIC program in the appendix to calculate the components:

    http://www.etc.tuiasi.ro/cin/Downloads/pll/PLL-4046.pdf

    Leave a comment:


  • Davor
    replied
    BTW, a bang-bang detector does produce pulses of either polarity. Or none at all.

    Leave a comment:


  • Davor
    replied
    One more thing, to use this model properly, you must define a parameter VCC, which this model uses for digital levels.

    Leave a comment:


  • Davor
    replied
    I have a completely different 4046 model, based on a hierarchical model. Funny but it also had some problems, and I fixed them. Let me check where I put it...
    Here, this is the last-known-good model that worked properly, and even gave results comparable to reality. Put 4046.asc and 4046.asy into a folder your schematic is, and simply use the symbol. You may as well make your own symbol, but this one work as well. If you ever wish to obscure what's inside it, use a netlist of 4046.asc and rename it to .sub.
    This model does not have the "tri-state-amplifier" for analogue input, but I modelled the Vdd related resistance... kinda works OK.
    Attached Files

    Leave a comment:


  • Teleno
    replied
    Originally posted by Teleno View Post
    The SPICE model for CD4046 I provided has a bug
    I withdraw that, it works fine.

    Leave a comment:


  • Teleno
    replied
    The SPICE model for CD4046 I provided has a bug: PC2out (Phase Comp. II out) is pulsing between Vdd/2 and Vss, not between Vdd and Vss as it should.
    I looked at the netlist but couldn't figure it out. I think node "e" which is set at Vdd/2 might have some relation to it.
    Anyone has a netlist-to-schematic onverter to have a look at what's going on?

    Leave a comment:


  • Tim
    replied
    Great stuff Teleno. Looking forward to further developments in this thread.

    Leave a comment:


  • Teleno
    replied
    I've found the solution: swap the L and C components, replace A1 by and inverting buffer.

    The spike is now 300mV instead of 5V, but the DC component of Vosc is now Vcc/2, not a problem though.

    Attached Files

    Leave a comment:


  • Teleno
    replied
    Certainly, the tank is connected just the same, the only difference being the triggering is provided by the phase and amplitude coupling from a target. I suppose there's a certain discrimination from the fact that targets not providing the right amplitude AND phase will not trigger oscillation.

    Anyway, it's a completely different project and I prefer the predictability of the PLL plus the possibilities of mathematical treatment (MCU) of the freq. and amplitude components.

    The CD4046 alone gives quadrature at the center frequency only. I like a version of the PLL oscillator you posted long ago using a Johnson counter so that true Q and I signals are available at all frequencies of the tank. The transistors can then be switched a the zero crossing at all frequencies.

    Since I'm working with, 85-90Khz (my target is gold nuggets), the Johnson counter version would require almost 200KHz from the VCO. The CD4046 can hardly deliver that. I'd have to move to a 74HC4046 which has different - but more predictable) configuration formulas.

    Leave a comment:


  • Davor
    replied
    And BTW, super regenerative receivers have self-AGC nature comparable to log amplifiers - perfect for MD.

    Leave a comment:


  • Davor
    replied
    It may surely work, but Colpitts with two capacitors does the same job without the knitting job.

    I found the mikebg schematic, and you'll see he liked regulation. I think building the device in a super regenerative fashion (allowing oscillation, but quenching it periodically) could do the trick without any kind of regulation. The point is that the onset of oscillation is highly volatile process, where minute differences can play a big difference in detected signal, and however crude they may seem, SR receivers are very sensitive. Their shortcoming in every other possible use is the oscillator emission, while in MD it may only be an advantage.

    See how Tx is in fact your oscillator in disguise:
    Attached Files

    Leave a comment:


  • Teleno
    replied
    Originally posted by Davor View Post
    Also I think mikebg's idea of regenerative detector is worth re-examining. So instead of a PLL you'd have an regenerative amplifier, and perhaps a quenching circuit. Such configuration may work well in LF.
    The regenerative detector needs complicated and unstable manual adjustments, it's very iffy. This circuit is more stable and increases the sensitivity of two signals: amplitude and a voltage proportional to the tank's frequency. This is all you need for discrimination.

    Originally posted by Skippy View Post
    Have you though about tapping the TX coil in order to achieve the high TX power/voltage? Then the L,C,R values of the tank can be chosen for sensible Q values.

    This TX tapping is used by Georgi (Nexus) , there is a thread on here where he showed some circuit diagrams.
    I haven't tried it and I can't find that post. In any case the .zip file contains the LTSpice schematic, you can play with it and post your results.

    Leave a comment:


  • Skippy
    replied
    Have you though about tapping the TX coil in order to achieve the high TX power/voltage? Then the L,C,R values of the tank can be chosen for sensible Q values.

    This TX tapping is used by Georgi (Nexus) , there is a thread on here where he showed some circuit diagrams.

    For the digital power amplifier, you should look into the 'totem pole' output stage, used in logic buffer circuits.
    Would including the power output stage inside the feedback loop of an op-amp circuit help make it behave better, eg. less glitches?

    Leave a comment:


  • Teleno
    replied
    Davor, you're right. This is not typical crossover distortion, it's due to the fact that on end of the tank swings from 0 to Vcc while the other stays always at 0, that's why the step equals Vcc. I've tried the typical approach of biasing Q6 and Q5 to conduct at all times but it doesn't help a bit.

    Leave a comment:


  • Davor
    replied
    I think you won't be able to remove glitches even if you turn the device into a linear regime. But it does not necessary make a problem for the purpose you are pursuing.
    I'd go with a Colpitts if high voltage is a goal.
    Also I think mikebg's idea of regenerative detector is worth re-examining. So instead of a PLL you'd have an regenerative amplifier, and perhaps a quenching circuit. Such configuration may work well in LF.

    Leave a comment:

Working...
X