Q 1. Parameters AC magnitude and AC phase are only effective in an AC analysis. AC phase does not change the phase of vsin in a transient analysis - at least it does not in IC6.1. There is a parameter "Initial phase for sinusoid" than can be set to a non-zero value to set the phase of the source in a transient analysis. "DC voltage" sets the DC value of vsin in a DC operating point analysis or AV analysis. The vsin parameter "Offset voltage" sets the DC average of the vsin source in a transient analysis.
Q 2. The DC voltage parameter can be used to set the DC value of the vsin source in a DC operating point analysis. This value can be different than parameter "Offset voltage" which is the average value in a transient analysis.
This is what I observed from running a few test cases in IC6.1 and I hope this is useful.
In reply to smlogan:
Just to clarify what Shawn said. If you specify the DC voltage but not the "Offset voltage", when the DC voltage will be used as the mid-voltage of the sinusoid. If Offset voltage is specified, that is used instead (for the transient).
For a DC analysis (or for any small signal analysis that requires a DC operating point), the DC value of the source is taken as the DC voltage (if specified), or if not specified, it's the time-zero value of the source. These could of course be different...
Shawn is absolutely right in saying that the AC phase does not affect transient. It's the initial phase for sinusoid that affects that.
I would generally recommend using vsource rather than vsin (they're the same thing in spectre) because the parameters are better organized.
In reply to Andrew Beckett:
Thank you for your clarification concerning the use of parameter DC voltage in vsin during a transient analysis when "Offset voltage" is left blank. You are absolutely correct. I have noticed this and should have included it! Good poiint (again!).
One more question - maybe it's too trivial:
Does the properties of instances (e.g., "vsin" etc.) from "analogLib" used in the schematic change with the simulator (e.g., "spectre") being used?
In reply to jdp721:
Yes, they do. Not all properties on an analogLib component (e.g. vsin, vsource, isource, port, etc.) are supported by all simulators.
In fact, I recommend using vsource with sourcetype=sine instead of vsin if you are simulating with Spectre. vsin is a subset of vsource. New features are put into vsource. vsource has a much more intuitive GUI.
Similarly, if using spectre, I recommend port (instead of psin). All of the port properties are documented in the SpectreRF User Guide (version 13.1 and 13.1.1). Many of the port properties are the same as the vsource properties.
Sr. Staff Support AE, Global Customer Support
Cadence Design Systems, Inc.
In reply to Tawna:
One more thing...
Use the Tool Filter (In IC616, go to Options-Tool Filter) to limit what parameters are displayed in the schematic and in the Edit Properties/Add Instance form.
For example, if you choose hspice (and deselect all others) and OK the form, you will see a different parameter set than if you check spectre (and deselect all others).