Simulation in EAGLE is going Digital!

Simulation in EAGLE is going Digital!

edwin.robledo
Alumni Alumni
3,482 Views
20 Replies
Message 1 of 21

Simulation in EAGLE is going Digital!

edwin.robledo
Alumni
Alumni

Artboard 1.png

 

Simulation in EAGLE is going Digital! Join EAGLE Desktop Product Owner ED Pataky on Thurs 9/27@ 5PM EDT for a Sneak Peak Webinar to find out about the coming new Analog and Digital Simulation features! Register now

 



Edwin Robledo
Tech Marketing Manager
Reply
Reply
3,483 Views
20 Replies
Replies (20)
Message 2 of 21

engineeringNCMXB
Collaborator
Collaborator

Thursday, September 29th?

Carlos Acosta
Factory400 - YouTube|Instagram
Reply
Reply
0 Likes
Message 3 of 21

jorge_garcia
Autodesk
Autodesk

Hi @engineeringNCMXB,

I hope you're doing well. That is correct sir, the webinar is today September 27th at 5PM EDT.

Please let me know if there's anything else I can do for you.

Best Regards,



Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
Reply
Reply
0 Likes
Message 4 of 21

crrrack
Enthusiast
Enthusiast

Today is the 27th...

Reply
Reply
0 Likes
Message 5 of 21

jorge_garcia
Autodesk
Autodesk
Hi @crrrack,

That's what I said... just kidding I edited my post to reflect the correct day. The picture has the date wrong, but the text has it right. The webinar is today.

Sorry about the confusion.

Best Regards,


Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
Reply
Reply
Message 6 of 21

rg.jones
Advocate
Advocate

Hi Jorge, was it recorded?

Reply
Reply
0 Likes
Message 7 of 21

jorge_garcia
Autodesk
Autodesk
Hi @rg.jones,

I hope you're doing well. It was recorded and should be posted shortly.

Let me know if there's anything else I can do for you.

Best Regards,


Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
Reply
Reply
0 Likes
Message 8 of 21

banksysan
Advocate
Advocate

@edwin.robledo  Was this recorded?  If it was, is it still available?

Reply
Reply
0 Likes
Message 9 of 21

RichardHammerl
Community Manager
Community Manager

Hi @banksysan 

 

there is a recording on our youtube EAGLE channel: https://youtu.be/BCpYbKRfPa4 

I hope this helps.

 

Best regards,

Richard Hammerl

Autodesk
Reply
Reply
Message 10 of 21

banksysan
Advocate
Advocate

Ah.  My Googling found that one.  I've followed it along but it skips past the first step, how to create a new digital/analogue circuit in the first place.

 

In my schema, as soon as I put a digital component and a convertor the simulation never finishes.  Could you do a video on just creating a functioning digital/analogue circuit from a new, blank schema?

Reply
Reply
0 Likes
Message 11 of 21

jorge_garcia
Autodesk
Autodesk

Hi @banksysan ,

 

Do you have a schematic you could share of what you are trying to do? It's possible you did everything correctly but if the simulation isn't setup just so you might not get it to converge. In this respect our current implementation is temperamental.

 

Let me know if there's anything else I can do for you.

 

Best Regards,



Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
Reply
Reply
0 Likes
Message 12 of 21

banksysan
Advocate
Advocate

Thanks.

 

I've got a video:

 

Here's the Netlist and a screenshot too:

 

banksysan_0-1632227273729.png

 

* SpiceNetList
* 
* Exported from untitled.sch at 21/09/2021 13:29
* 
* EAGLE Version 9.6.2 Copyright (c) 1988-2020 Autodesk, Inc.
* 
.TEMP=25.0

* --------- .OPTIONS ---------
.OPTIONS ABSTOL=1e-12 GMIN=1e-12 PIVREL=1e-3 ITL1=100 ITL2=50 PIVTOL=1e-13 RELTOL=1e-3 VNTOL=1e-6 CHGTOL=1e-15 ITL4=10 METHOD=TRAP SRCSTEPS=0 TRTOL=7 NODE

* --------- .PARAMS ---------

* --------- devices ---------
X_X2 N_1 DRIVERD1_1 
X_X1 N_1 N_2 ATODB 
R_R1 N_2 0 1 

X_D1 N_1 DIG_N_1 DTOAB1
* --------- models ---------

* model file: Base: C:/Users/banks/Documents/EAGLE/projects/Digital Circuit/DigitalAnalogue/DRIVERD1.mdl, DRIVERD1_1

**********************
* autodesk eagle - spice model file
**********************
.SUBCKT DRIVERD1_1 n1
a_source [n1] d_source1
.model d_source1 d_source (input_file="C:/Users/banks/Documents/EAGLE/projects/Digital Circuit/DigitalAnalogue/driverd1_1.dsource.txt")
.ENDS DRIVERD1_1


* (model found in library)

**********************
* Autodesk EAGLE - SPICE Model File
**********************
.SUBCKT ATODB A D
abridge [A] [D] adc_buff
.model adc_buff adc_bridge(in_low = 0.3 in_high = 2.5)
.ENDS ATODB


**********************
* Autodesk EAGLE - SPICE Model File
**********************
.SUBCKT DTOAB1 D A
abridge [D] [A] dac_buff
 .model dac_buff dac_bridge(out_low = 0.3 out_high = 2.5)
.ENDS DTOAB1

* --------- simulation ---------


.control
set filetype=ascii
TRAN 0.03 6 0 0.03 
write untitled.sch.sim V(DIG_N_1)
.endc

.END
Reply
Reply
0 Likes
Message 13 of 21

holger.vogt
Advocate
Advocate

There is a bug in your circuit.

 

out from X2 is digital.

You then select the A->D converter. It has to be a D->A converter.

Reply
Reply
Message 14 of 21

banksysan
Advocate
Advocate

You're correct.  Sorry, typo from looking at this for too long.

I've corrected that and get the same problem,.

 

banksysan_0-1632328954806.png

 

* SpiceNetList
* 
* Exported from AnalogueDigital.sch at 22/09/2021 17:41
* 
* EAGLE Version 9.6.2 Copyright (c) 1988-2020 Autodesk, Inc.
* 
.TEMP=25.0

* --------- .OPTIONS ---------
.OPTIONS ABSTOL=1e-12 GMIN=1e-12 PIVREL=1e-3 ITL1=100 ITL2=50 PIVTOL=1e-13 RELTOL=1e-3 VNTOL=1e-6 CHGTOL=1e-15 ITL4=10 METHOD=TRAP SRCSTEPS=0 TRTOL=7 NODE

* --------- .PARAMS ---------

* --------- devices ---------
X_X1 N_1 DRIVERD1_1 
R_R1 N_2 0 1 
X_X2 N_1 N_2 DTOAB 

X_D1 N_1 DIG_N_1 DTOAB1
* --------- models ---------

* model file: Base: C:/Users/banks/Documents/EAGLE/projects/Digital Circuit/DigitalAnalogue/DRIVERD1.mdl, DRIVERD1_1

**********************
* autodesk eagle - spice model file
**********************
.SUBCKT DRIVERD1_1 n1
a_source [n1] d_source1
.model d_source1 d_source (input_file="C:/Users/banks/Documents/EAGLE/projects/Digital Circuit/DigitalAnalogue/driverd1_1.dsource.txt")
.ENDS DRIVERD1_1


* (model found in library)

**********************
* Autodesk EAGLE - SPICE Model File
**********************
.SUBCKT DTOAB D A
abridge [D] [A] dac_buff
.model dac_buff dac_bridge(out_low = 0.3 out_high = 2.5)
.ENDS DTOAB


**********************
* Autodesk EAGLE - SPICE Model File
**********************
.SUBCKT DTOAB1 D A
abridge [D] [A] dac_buff
 .model dac_buff dac_bridge(out_low = 0.3 out_high = 2.5)
.ENDS DTOAB1

* --------- simulation ---------


.control
set filetype=ascii
TRAN 0.025 5 0 6 
write AnalogueDigital.sch.sim V(DIG_N_1)
.endc

.END

 

Reply
Reply
0 Likes
Message 15 of 21

holger.vogt
Advocate
Advocate
Please post the contents of
driverd1_1.dsource.txt
Reply
Reply
0 Likes
Message 16 of 21

banksysan
Advocate
Advocate
Where would I find that? I only have two files, the .sch and .sch.net.
Reply
Reply
0 Likes
Message 17 of 21

jorge_garcia
Autodesk
Autodesk

Hi @banksysan

 

You can find the models for the built in parts in the EAGLE installation directory, inside of examples > spice > examples.

 

Let me know if there's anything else I can do for you.

 

Best Regards,



Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
Reply
Reply
0 Likes
Message 18 of 21

banksysan
Advocate
Advocate

Found it.

0 0s
20m 1s
25m 0s
40m 1s
45m 0s
Reply
Reply
0 Likes
Message 19 of 21

banksysan
Advocate
Advocate

Actually, I have several.  I think this is the effective one though:

0 1s
1 0s
2 1s
3 0s
4 1s
5 0s

 

Reply
Reply
0 Likes
Message 20 of 21

banksysan
Advocate
Advocate

Thanks @jorge_garcia, I'm using the ng-spice libraries and have have the models assigned (I'd get an error if I tried to simulate without those).

Reply
Reply
0 Likes