You need to use EasyEDA editor to create some projects before publishing
Simulation fails without any message
1270 13
ctm 8 years ago
**BUG** Concise problem statement: I do Run the Project > Transient and it runs and stops without any results or error messages. Steps to reproduce bug: 1. Load https://easyeda.com/ctm/Single_cell_LED_Flasher-80wO60icu 2. Ctrl-R 3. Select Transient Simulation Results: Nothing Expected results: Graph Browser: Chrome
Comments
dillon 8 years ago
Hi, Maybe TLV3691 has no spice subckt
Reply
ctm 8 years ago
I did build the TLV3691 component myself and imported the spice model from TI. Below follows Spice netlist exported. Please assist? c-: Flasher XU1 XU1_1 VOLPROBE2 GND VCC VOLPROBE1 TLV3691 V1 VCC GND 1.2 R4 VOLPROBE1 VOLPROBE2 1M R3 XU1_1 VOLPROBE1 1M R2 GND XU1_1 1M R1 XU1_1 VCC 1M C1 VOLPROBE2 GND 1u .param pi = 3.141593 .func LIMIT(x, y, z) {min(max(x, min(y, z)), max(z, y))} .func PWR(x,a) {(MAX(ABS(x), 1e-313))**a} .func PWRS(x,a) {sgn(x) * PWR(x,a)} .func stp(x) {u(x)} .func log10(x) {ln(x)/ln(10)} .func SQRT(x) {(MAX(x, 1e-313))**0.5} .func INT(x) {sgn(x)*floor(ABS(x))} .func URAMP(x) {max(x,0)} .func POW(x,a) + {(((a-(int(a)))==0)||(sgn(x)>=0))*( max(exp(ln(uramp(x))*a),0) + + (2*(0.5-ABS((int(a))-2*int(a/2))))*max(exp(ln(uramp(-1*x))*a),0) )} * TLV3691 ***************************************************************************** * (C) Copyright 2012 Texas Instruments Incorporated. All rights reserved. ***************************************************************************** ** This model is designed as an aid for customers of Texas Instruments. ** TI and its licensors and suppliers make no warranties, either expressed ** or implied, with respect to this model, including the warranties of ** merchantability or fitness for a particular purpose. The model is ** provided solely on an "as is" basis. The entire risk as to its quality ** and performance is with the customer. ***************************************************************************** * ** Released by: WEBENCH(R) Design Center, Texas Instruments Inc. * Part: TLV3691 * Date: 12/10/2013 * Model Type: Transient * Simulator: Pspice * Simulator Version: Pspice 16.2.0.p001 * EVM Order Number: N/A * EVM Users Guide: N/A * Datasheet: SBOS694 - December 2013 * * Model Version: 1.0 * ***************************************************************************** * * Updates: * * Version 1.0 : Release to Web * ***************************************************************************** * Notes: This macromodel conforms with the data sheet specs and features * over specified power supplies and temperature range for the following: * 1. Nominal offset voltage (VOS) and drift over temperature * 2. Bias current (IIB) and drift over temperature * 3. Power-supply rejection ratio (PSRR) * 4. Input common-mode voltage range (CMIR) * 5. Hysterisis * 6. Output voltage swing versus output current * 7. Quiescent current * 8. Operating temperature range * 9. Power supply voltage range * 10.Power-on reset * * The macro has a fixed propagation delay of 28us. * * The macro output will be disabled if the input pins or power supply pins * are driven beyond the specified limits in the ABSOLUTE MAXIMUM RATINGS * shown in the device data sheet. ***************************************************************************** * * *$ .SUBCKT TLV3691 INP INN VCC VEE OUT . . . .
Reply
ctm 8 years ago
I did now fix the power pins but it still fails without any messages. The first line changed to: Flasher XU1 XU1_1 VOLPROBE2 VCC GND VOLPROBE1 TLV3691
Reply
andyfierman 8 years ago
I'm on it. It's an incompatibility between Pspice and ngspice syntax. :( I'll post back when it's fixed. :)
Reply
ctm 8 years ago
Thank you very much. c-:
Reply
andyfierman 8 years ago
@Ctm, 1) I have fixed the TLV3691 spice model for ngspice compatibility; 2) The model is now in the EasyEDA spice model library so you just have to place the symbol with no need to paste-in or attach any spice model or subckt to it. 3) Your schematic has a small error: in spice, the suffix `M` or `m` = milli. For **Mega** you must enter `Meg`. Please also note that spice is case insensitive. For more, please see: https://easyeda.com/Doc/Simulation-eBook/About-naming-conventions.htm#About-naming-conventions
Reply
ctm 8 years ago
Thank you very much, I will import the part again and fix the errors. c-:
Reply
ctm 8 years ago
How do I find and place TLV3691 from the EasyEDA spice model library? c-:
Reply
andyfierman 8 years ago
Just place the `5pin Operational Amplifier` symbol from the **EasyEDA Libs** in the left hand **Navigation** panel and edit the name from `UA741` to `TLV3691`. Done! Please also refer to: https://easyeda.com/Doc/Simulation-eBook/ in particular: https://easyeda.com/Doc/Simulation-eBook/Device-models.htm#Device-models https://easyeda.com/Doc/Simulation-eBook/Schematic-symbols-prefixes-and-pin-numbers.htm#Schematic-symbols-prefixes-and-pin-numbers :)
Reply
andyfierman 8 years ago
I've also put a dedicated TLV3691 spice symbol in the SHIFT+F search library. Just find and place it.
Reply
ctm 8 years ago
Thanks, that worked and the model is running. Where do I find the list of devices available? c-:
Reply
ctm 8 years ago
Thank you very much for all your help. You can close the ticket. Seems that the simulator fails without error messages if the model is broken. c-:
Reply
andyfierman 8 years ago
>Where do I find the list of devices available? https://easyeda.com/forum/topic/How_to_find_out_what_spice_models_are_available_in_EasyEDA_-ACUO5nhXf which reminds me.... I must update it! >Seems that the simulator fails without error messages if the model is broken. Basically if there's any sort of syntax error, even simple typos in the netlist, then it fails without messaging. That in itself is your clue as to what's wrong. Not good and we are working on improving the error messaging but it's some way down the ToDo list.
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