¿ªÔÆÌåÓý

Re: Square wave vco


 

¿ªÔÆÌåÓý

It won't run my itself. It needs to be included in a schematic with specifications of parameters (the symbols in { }).

On 2024-05-15 07:56, bb_petrov via groups.io wrote:
Hello, I need little help, please. I am trying to run old square wave vco model:
*Voltage Controlled Square Wave Oscillator?
*LOW ? = Peak output low value?
*HIGH ?= Peak output high value *CYCLE = Duty cycle ?
*RISE ?= Rise time *FALL ?= Fall time?
*C1 ? ?= Input control voltage point 1?
*C2 ? ?= Input control voltage point 2?
*C3 ? ?= Input control voltage point 3?
*C4 ? ?= Input control voltage point 4?
*C5 ? ?= Input control voltage point 5?
*F1 ? ?= Output frequency point 1?
*F2 ? ?= Output frequency point 2?
*F3 ? ?= Output frequency point 3?
*F4 ? ?= Output frequency point 4?
*F5 ? ?= Output frequency point 5?
* Connections:?
* ? ? ? ? ? ? ?In+?
* ? ? ? ? ? ? ?| In-?
* ? ? ? ? ? ? ?| | Out+?
* ? ? ? ? ? ? ?| | | Out-?
* ? ? ? ? ? ? ?| | | |?
.SUBCKT SQRVCO 1 2 3 4 PARAMS: C1=0 C2=1 C3=2 C4=3 C5=4 F1=0 F2=1k ?
+ F3=2k F4=3k F5=4k LOW=0 HIGH=5 CYCLE=0.5 RISE=1u FALL=1u?
A1 %vd(1,2) %vd(3,4) ASQRVCO?
.MODEL ASQRVCO square(cntl_array=[{C1} {C2} {C3} {C4} {C5}]?
+ freq_array=[{F1} {F2} {F3} {F4} {F5}] out_low={LOW}?
+ out_high={HIGH} duty_cycle={CYCLE} rise_time={RISE} fall_time={FALL})?
.ENDS SQRVCO

The error is:
Too few nodes: A1 %vd(1,2) %vd(3,4) ASQRVCO?
What I am doing wrong?
Thank you.
--
OOO - Own Opinions Only
Best wishes
John Woodgate, Rayleigh, Essex UK
Keep trying

Virus-free.

Join [email protected] to automatically receive all group messages.