Gift: SPICE Double Balanced Mixer Component

Click For Summary
SUMMARY

The discussion centers on a SPICE double balanced mixer component designed for use with LTSpice, specifically LTSpice VI. The provided instructions detail how to integrate the component by placing the .sub file in the LTSpiceVI\lib\sub folder and the .asy file in the symbol folder. Users must modify the symbol's "Value" row to "DBMixer" and include the subcircuit in their netlist with the directive ".lib DBMixer.sub". A bonus tip suggests saving a pre-configured mixer setup as a template for future experiments.

PREREQUISITES
  • Familiarity with LTSpice VI software
  • Understanding of SPICE directives
  • Knowledge of double balanced mixer functionality
  • Basic concepts of IQ modulation
NEXT STEPS
  • Research how to create custom symbols in LTSpice
  • Learn about SPICE subcircuits and their applications
  • Explore advanced IQ modulation techniques
  • Investigate other mixer configurations in LTSpice
USEFUL FOR

Electronics enthusiasts, circuit designers, and students learning about RF components and modulation techniques will benefit from this discussion.

Sam Gallagher
Messages
9
Reaction score
6
<< Mentor Note -- ZIP files are a security risk, and the file has been deleted. Please post the individual files instead. Thanks >>[/color]

I saw a post from 2009 of someone who needed a mixer component to play with. So for learning purposes I zipped a symbol, schematic, and .sub file together for LTSpice of the double balanced mixer that was given in that thread so that anyone that's learning about mixers or IQ modulation can play with it without dealing with a messy schematic!

Instructions:
  • Unzip the file

  • Place .sub file in your LTSpiceVI\lib\sub folder (for windows this is in Program Files(x86)*\LTC)
*If you're running 32 bit windows it's just program files

  • Place the .asy (symbol) file in your symbol folder (also found in lib I'm pretty sure)

In LTSPICE: (You'll have to do this when you want to use the mixer, because LTSpice is a pain sometimes)
  • Place the mixer symbol

  • Ctrl+right click, change "Value" row to "DBMixer"

  • Include the subcircuit in your netlist with a SPICE directive (.op button)
It should say ".lib DBMixer.sub"
Don't forget the .sub part.

  • Use the mixer!

  • Bonus tip: Save a file with the mixer all set up as "mixer template" and use that to start when you want to do a quick mixer experiment.
Use all the mixers you want, you crazy kids.

Example: Basic IQ modulation by mixing (which is multiplying) a sine wave by +1V and -1V (a square wave)
upload_2015-8-18_15-49-55.png


Until next time
~Sam Gallagher
 
Last edited by a moderator:
  • Like
Likes   Reactions: berkeman
Engineering news on Phys.org
Due to the forum's policy on .zip files I can no longer post the files, sorry all.
 

Attachments