Hi Matthew, I'm not entirely sure what you want here, but because the top switch (relay) has the inputs reversed, the voltage across the inputs is always negative (so that means you are sweeping it from 0 to -0.8V). If you swap the inputs to the top switch, then it does transition as you sweep Vin_DC from 0 0.8 (since you've switched the on and off resistances, I don't think you also want to invert the control voltage - if you do, you'll need to adjust the thresholds accordingly). This is what I get with W4 as: W4 (M2_D net05 net02 0) relay vt1=100.0m vt2=700.0m ropen=1 rclosed=1T By the way, I'm not sure why you are using two port components - it seems a bit bizarre having a port when you're driving a high impedance input... why not use a vsource for the Vin_DC input? After all, what is going to happen is that the voltage on the output of the port will be double what you have asked for, because you specify the voltage with the assumption that the load on the port is matched to the 50 ohm impedance, which it isn't here - the high impedance of the relay input means that you'll get double the voltage instead. Regards, Andrew.
↧