Switching during simulation
1969 1
ednaldocruzcorreia 3 years ago
Can I change the state of the switches during the simulation, to see the behavior of my circuit? Thanks!
andyfierman 3 years ago
Hi ednaldocruzcorreia, Welcome to EasyEDA. Briefly: * Most of the switch symbols in EasyEDA are non-simulatable. * If you want to place a fixed position closed circuit (On) switch in a simulation then just use a low value resistor. * If you want to place a fixed position open circuit (Off) switch in a simulation then just use a very high value resistor (between about 1e9 and 1e12 Ohms). Note that simply deleting the resistor may cause problems by removing a DC path to ground. You can then run a simulation with the switch in one state then manually run another with it in the opposite state. Unfortunately it is not possible to do consecutive (stepped) simulations with the switch in one and then in the other position in EasyEDA. * If you want to *change* the state of a switch during a simulation then you have to use either a voltage (or current) controlled switch or create a switch function using a voltage (or current) controlled resistor. This may sound hard but in fact it is not. EasyEDA has simple built in voltage (and current) controlled switch elements. All you do is define the finite on and off resistances and the switch make (On) and break (Off) control voltage (or current) levels using a threshold and a hysteresis value using parameters in the right hand panel. Of course you also have to set up a controlling voltage (or current) source. Then you can run a simulation for a while with the switch in one position and then run it for a bit longer with the switch in the other position. This is for example how you could simulate the action of a momentary action pushbutton switch or a periodic sampling switch. The following examples illustrate various aspects of implementing and using switches in EasyEDA but to become properly familiar with simulation in EasyEDA, please read - and play with the linked examples referred to in - Section (3) of: https://easyeda.com/andyfierman/Welcome_to_EasyEDA-31e1288f882e49e582699b8eb7fe9b1f https://easyeda.com/editor#id=4ae6a27abf1f4a5ea9130b34c3bd92a1 https://easyeda.com/example/How_to_simulate_a_DPDT_switch-Wgs2CbLlH https://easyeda.com/editor#id=012322cf32d5446a94e001cdf4bfe381 https://easyeda.com/example/Spice_simulation_skills_02-0JjFAMKjh
Login or Register to add a comment
你现在访问的是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
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.