How can I do a 10 khz square wave with LtSpice ?
 User Name Stay logged in? Password
 Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read Search

 Software Tools SPICE, PCB CAD, speaker design and measurement software, calculators

 Please consider donating to help us continue to serve you. Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
 29th August 2011, 01:03 PM #21 AndrewT   R.I.P.   Join Date: Jul 2004 Location: Scottish Borders It's only a square wave. JCX shows how much one needs to know before one can learn anything from LTspice. Simply learning how to operate LTspice is near the end of the learning required. __________________ regards Andrew T.
 6th December 2012, 06:27 PM #22 FdW   diyAudio Member     Join Date: Feb 2009 Location: Both feet on the ground (near Gouda) This is what I use ;PULSE({{ogen}+{vgen}} {{ogen}-{vgen}} {250m/{fgen}} 0 0 {450m/{fgen}} {1/{fgen}}) .param fgen 10k; Frequency .param vgen 100m; Volts .param ogen 300m; Offset volts __________________ Zion; LinkedIn; SignatureOrigin; ElectronicsPictures; ParadiseBuilders
FdW
diyAudio Member

Join Date: Feb 2009
Location: Both feet on the ground (near Gouda)
And this works also
Attached Images
 Square Wave Gen.PNG (60.7 KB, 225 views)

toriversen
diyAudio Member

Join Date: Feb 2012
Location: North of Norway
This is how I do it

A bit late, but this is how I do it:

PULSE(-2 2 0 0.1p 0.1p 0.05m 0.1m)
.tran 1ms

This gives you a square pulse source, with an p-p amplitude of 4 volts (+2, -2)

The attached pdf explains how to do it in detail. (I've made it for myself to remember)

Typical output is shown in the picture.
Attached Images
 10KhzPulse train01 Oct. 23 09.38.jpg (108.8 KB, 172 views)
Attached Files
 Pulse Source in LTSpice.pdf (121.3 KB, 98 views)

Last edited by toriversen; 23rd October 2013 at 08:04 AM. Reason: some typing errors

 29th March 2015, 09:46 PM #25 kelp diyAudio Member   Join Date: Feb 2010 Googled this. Great methods. Thanks to all!

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Site     Site Announcements     Forum Problems Amplifiers     Solid State     Pass Labs     Tubes / Valves     Chip Amps     Class D     Power Supplies     Headphone Systems Source & Line     Analogue Source     Analog Line Level     Digital Source     Digital Line Level     PC Based Loudspeakers     Multi-Way     Full Range     Subwoofers     Planars & Exotics Live Sound     PA Systems     Instruments and Amps Design & Build     Parts     Equipment & Tools     Construction Tips     Software Tools General Interest     Car Audio     diyAudio.com Articles     Music     Everything Else Member Areas     Introductions     The Lounge     Clubs & Events     In Memoriam The Moving Image Commercial Sector     Swap Meet     Group Buys     The diyAudio Store     Vendor Forums         Vendor's Bazaar         Sonic Craft         Apex Jr         Audio Sector         Acoustic Fun         Chipamp         DIY HiFi Supply         Elekit         Elektor         Mains Cables R Us         Parts Connexion         Planet 10 hifi         Quanghao Audio Design         Siliconray Online Electronics Store         Tubelab     Manufacturers         AKSA         Audio Poutine         Musicaltech         Holton Precision Audio         CSS         Dx Classic Amplifiers         exaDevices         Feastrex         GedLee         Head 'n' HiFi - Walter         Heatsink USA         miniDSP         SITO Audio         Twin Audio         Twisted Pear         Wild Burro Audio

 Similar Threads Thread Thread Starter Forum Replies Last Post maouna Solid State 2 11th December 2010 09:34 AM lineup Solid State 20 9th October 2006 12:15 AM mura Solid State 17 31st May 2005 12:19 AM

 New To Site? Need Help?

All times are GMT. The time now is 06:54 PM.