This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

VCA820 PSPICE model

Other Parts Discussed in Thread: VCA820

Hi,

I was trying to use the variable gain amplifier VGA820 as an AGC, and thought i should simulate in PSPICE first. I downloaded the macromodel from TI  website and the simulation won't run. It came up with the following errors:

ERROR -- Subcircuit VCA82X_INPUT_BUFFER_U6_F1 used by X_U1.X_U6_F1 is undefined
ERROR -- Subcircuit VCA82X_BIAS_U7_F8 used by X_U1.X_U7_F8 is undefined
ERROR -- Subcircuit VCA82X_BIAS_U7_F1 used by X_U1.X_U7_F1 is undefined
ERROR -- Subcircuit VCA82X_BIAS_U7_F6 used by X_U1.X_U7_F6 is undefined
ERROR -- Subcircuit VCA82X_BIAS_U7_F3 used by X_U1.X_U7_F3 is undefined
ERROR -- Subcircuit VCA82X_BIAS_U7_F4 used by X_U1.X_U7_F4 is undefined
ERROR -- Subcircuit VCA82X_BIAS_U7_F2 used by X_U1.X_U7_F2 is undefined
ERROR -- Subcircuit VCA82X_BIAS_U7_F7 used by X_U1.X_U7_F7 is undefined
ERROR -- Subcircuit VCA82X_BIAS_U7_F5 used by X_U1.X_U7_F5 is undefined
ERROR -- Subcircuit VCA820_2_OUTPUT_STAGE_U8_F1 used by X_U1.X_U8_F1 is undefined

Can anyone help on this please?

Popoola

  • Hello Popoola,

    In your Pspice model editor, make sure that the following lines are in the imported macro code These lines can be truncated during the import.


    .subckt VCA82X_INPUT_BUFFER_U6_F1 1 2 3 4 
    F_U6_F1         3 4 VF_U6_F1 30
    VF_U6_F1         1 2 0V
    .ends VCA82X_INPUT_BUFFER_U6_F1

    .subckt VCA82X_BIAS_U7_F8 1 2 3 4 
    F_U7_F8         3 4 VF_U7_F8 1
    VF_U7_F8         1 2 0V
    .ends VCA82X_BIAS_U7_F8

    .subckt VCA82X_BIAS_U7_F1 1 2 3 4 
    F_U7_F1         3 4 VF_U7_F1 1
    VF_U7_F1         1 2 0V
    .ends VCA82X_BIAS_U7_F1

    .subckt VCA82X_BIAS_U7_F6 1 2 3 4 
    F_U7_F6         3 4 VF_U7_F6 1
    VF_U7_F6         1 2 0V
    .ends VCA82X_BIAS_U7_F6

    .subckt VCA82X_BIAS_U7_F3 1 2 3 4 
    F_U7_F3         3 4 VF_U7_F3 1
    VF_U7_F3         1 2 0V
    .ends VCA82X_BIAS_U7_F3

    .subckt VCA82X_BIAS_U7_F4 1 2 3 4 
    F_U7_F4         3 4 VF_U7_F4 1
    VF_U7_F4         1 2 0V
    .ends VCA82X_BIAS_U7_F4

    .subckt VCA82X_BIAS_U7_F2 1 2 3 4 
    F_U7_F2         3 4 VF_U7_F2 1
    VF_U7_F2         1 2 0V
    .ends VCA82X_BIAS_U7_F2

    .subckt VCA82X_BIAS_U7_F7 1 2 3 4 
    F_U7_F7         3 4 VF_U7_F7 1
    VF_U7_F7         1 2 0V
    .ends VCA82X_BIAS_U7_F7
    .subckt VCA82X_BIAS_U7_F5 1 2 3 4 
    F_U7_F5         3 4 VF_U7_F5 1
    VF_U7_F5         1 2 0V
    .ends VCA82X_BIAS_U7_F5

    .subckt VCA820_2_OUTPUT_STAGE_U8_F1 1 2 3 4 
    F_U8_F1         3 4 VF_U8_F1 1900
    VF_U8_F1         1 2 0V
    .ends VCA820_2_OUTPUT_STAGE_U8_F1

    These lines should appear after the line '.ENDS VCA820_Model'

  • Popoola - were you able to get the model to work?

  • Hi Kristoffer,

    Yeah, i just did. Thanks very much for your help.

    Cheers.

     

    Popoola