vco spice model

M

Matt Flax

Guest
Hello,

I am after a spice model for a voltage to frequency converter.

Does anyone have one handy ?

I have checked some of the manufacturer pages, but none seem to exist !
For example :
http://www.analog.com/en/prod/0,2877,AD537,00.html

thanks
--
Matt

When replying remove the 'DOT'
 
On Fri, 24 Jun 2005 03:47:43 GMT, Matt Flax <flatmax@ieee.DOT.org>
wrote:

Hello,

I am after a spice model for a voltage to frequency converter.

Does anyone have one handy ?

I have checked some of the manufacturer pages, but none seem to exist !
For example :
http://www.analog.com/en/prod/0,2877,AD537,00.html

thanks
In PSpice, other simulators may require editing notation style...

******************************************************************
..SUBCKT VCO_BEH VCONT OUT F PARAMS: FMAX=200Meg
+ VMAX=2V FMIN=100Meg VMIN=1V
..PARAM PI = 3.141593
G_G1 VC N_1 VALUE { 1+ TANH(80*V(VC, N_1)) }
G_G2 N_2 VC VALUE { 1+ TANH(80*V(N_2, VC)) }
R_R1 N_3 VC 10K
E_BUF1 N_3 0 VCONT 0 1
G_INTEG1 0 $$U_INTEG1 VALUE {V(OMEGA)}
C_INTEG1 $$U_INTEG1 0 {1/1.0}
R_INTEG1 $$U_INTEG1 0 1G
E_INTEG1 OUT 0 VALUE {V($$U_INTEG1)}
.IC V($$U_INTEG1) = 0v
R_R2 F 0 1K
V_V2 N_2 0 {VMIN-100m}
V_V1 N_1 0 {VMAX+100m}
R_R3 OUT 0 1K
R_R4 OMEGA 0 1K
E_E1 F 0 VALUE
+ {((V(VC,0)-VMAX)*(FMAX-FMIN)/(VMAX-VMIN)+FMAX)}
E_E2 OMEGA 0 VALUE { 2*PI*(V(F, 0)) }
..ENDS VCO_BEH
******************************************************************

...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.
 
Hello Jim,

Wasn't there a law that, at least for the state of Indiana:
..PARAM PI = 4?

Regards, Joerg

http://www.analogconsultants.com
 
On Sat, 25 Jun 2005 21:51:11 GMT, Joerg
<notthisjoergsch@removethispacbell.net> wrote:

Hello Jim,

Wasn't there a law that, at least for the state of Indiana:
.PARAM PI = 4?

Regards, Joerg

http://www.analogconsultants.com
I think it was indeed Indiana, but it was pi = 3, and only applied to
small circles ;-)

...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.
 
"Jim Thompson" <thegreatone@example.com> wrote in message
news:hqkrb1ljgvti2lrssc05iq19qrbtag62ib@4ax.com...
Hello Jim,

Wasn't there a law that, at least for the state of Indiana:
.PARAM PI = 4?

Regards, Joerg

http://www.analogconsultants.com

I think it was indeed Indiana, but it was pi = 3, and only applied to
small circles ;-)

...Jim Thompson
Snopes says the modern hoax is about Alabama but does mention (at the
bottom) the bit about Indiana. They said it was passed in the Indiana House
but died in the Senate.

http://www.snopes.com/religion/pi.htm

Robert
 

Welcome to EDABoard.com

Sponsor

Back
Top