You need to use EasyEDA editor to create some projects before publishing
Simulating OSCIllators
2483 4
BrittanysPal 10 years ago
In the anonymous folder i left a circuit called OSC60. It is a closed loop sinewave oscillator based on equal phase shift of the impulse from U1 upon application of power. Idea came from a hobbyist blog. How does one simulate an oscillator in EASYEDA? I know from experience some time back (using Microwave office) that certain circuits require preset conditions to allow spice to evaluate the netlist.
Comments
dillon 10 years ago
Hi, You need to add power for your schematic. check my public project <https://easyeda.com/project_view_Simulating-OSCIllators_jb5YSasmE.htm> Please let me know U next try.
Reply
andyfierman 10 years ago
If you change the Value expression used in V2 from: `15` to: `PULSE(14 15 0 1u)` this will generate a VCC rail that is +14V for time T<0 and steps up to +15V at T=0. This 'kicks' the circuit into oscillation much earlier (<20ms) that if left to start up just relying on internal imbalances and numerical 'noise'. There's an example of this in: <https://easyeda.com/project_view_Projects-for-beginners_tqkewO60i.htm> in: <https://easyeda.com/project_view_Projects-for-beginners_tqkewO60i.htm> and a way to quick start up a cystal oscillator which illustrates a technique than can be applied to other circuits: <https://easyeda.com/file_view_Crystal-oscillator-using-EasyEDA-quick-starting-crystal-model_a71jBTb5n.htm> in: <https://easyeda.com/project_view_How-to-use-basic-elements-of-EasyEDA_BDxrlDVdv.htm> :)
Reply
petrovic 6 years ago
Hi, Today (4 years after this post was published) I tried to run the Oscillator model from the above link (Crystal oscillator using EasyEDA quick starting crystal spice model) and again I got the same issue I have with my model with the same crystal, because of which I started looking for the answer on blogs. Can anyone please help and explain how to simulate oscillators with crystals? OUTPUT: Circuit: gooduntitled Doing analysis at TEMP = 27.000000 and TNOM = 27.000000 Warning: v2: no DC value, transient time 0 value used Warning: v.xqxtal1.vkickstart: no DC value, transient time 0 value used Warning: singular matrix: check nodes xqxtal1.n003 and xqxtal1.n003 Note: Starting dynamic gmin stepping Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Warning: singular matrix: check nodes xqxtal1.n003 and xqxtal1.n003 Warning: Dynamic gmin stepping failed Note: Starting source stepping Warning: singular matrix: check nodes xqxtal1.n003 and xqxtal1.n003 Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful source step Warning: singular matrix: check nodes xqxtal1.n003 and xqxtal1.n003 Warning: singular matrix: check nodes xqxtal1.n003 and xqxtal1.n003 Warning: source stepping failed Transient solution failed - Last Node Voltages ------------------ Node Last Voltage Previous Iter ---- ------------ ------------- xqxtal1_1 0 0 xqxtal1.n001 0 0 xqxtal1.n002 0 0 xqxtal1.n003 0 0 xqxtal1_2 0 0 vcc 0 0 out 0 0 c2_1 0 0 in 0 0 l.xqxtal1.l1#branch 0 0 v2#branch 0 0 v.xqxtal1.vkickstart#branch 0 0 doAnalyses: iteration limit reached tran simulation(s) aborted Error(parse.c--checkvalid): out: no such vector. ngspice-26 done
Reply
andyfierman 6 years ago
Your project is private so only you can see it. Therefore we cannot diagnose what may be wrong in your simulation. You probably have chosen one or more schematic symbols that have no spice model associated with them. Please see (3) in: https://easyeda.com/andyfierman/Welcome_to_EasyEDA-31e1288f882e49e582699b8eb7fe9b1f then read and run: https://easyeda.com/editor#id=35ebd4bdced74628b9888bb42356fb27 in: https://easyeda.com/example/project-BDxrlDVdv
Reply
Login or Register to add a comment
goToTop
你现在访问的是EasyEDA海外版,建议访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus-@1x -mockplus-

Cookie Notice

Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice