Use this when editing a Part to define the Part as a Analog To Digital Converter.
Use this on a Analog To Digital Converter component in a schematic design to change its parameters, or to replace it with a AD Converter part using a different number of bits.
These parts are implemented by using Functional Modelling. They have their Spice Type Built-in Function set to AD Converter.
Shortcuts
Default Keys: F7
Default Menu: Simulation
Command: Edit Spice Value/Model
How To Add A Analog To Digital Converter
There are various ways to add a AD Converter to a Schematic Design:
- From the Parts toolbar, click on the Digital Generic pop-up to display the Digital Generic toolbar. Click on the A-D Converter button.
- From the Parts Browser, click on Spice Category, then on Digital and Generic to display the Digital Generic parts. Drag the A-D Converter part name into the design. Note: This method may not work if you have changed the part categories.
- Use Component from the Insert menu to add the Part called A-D Converter from the SPICE library.
Whichever method is used, you should be presented with the Define Analog To Digital Converter Dialog described below. This works because the part named “A-D Converter” has a blank function definition which forces the dialog to be given to get the required definition from you.
How To Define An Analog To Digital Converter
In a Schematic Design, select the AD Converter device(s) that you wish to change. Press F7 or use the Edit Spice Value/Model option from the Simulation menu, or from the shortcut menu.
From a Parts Library edit the required Part. Press the Edit Spice button on the Details tab. Make sure the Built-in Function is set to AD Converter and press the Edit Definition button
In both cases the following dialog will be displayed:
Number Of Bits
Enter the resolution of converter. Valid values are from 1 to 32.
Convert Time
Enter the time from start convert active (rising edge) to data becoming available.
Max. Conversion Rate
Enter the maximum frequency of start convert. Period (1/frequency) must be less than or equal to the Convert Time.
Input
Enter the Offset Voltage and the full scale Range in volts.
See the ADC model in the Simulator’s Device Reference Manual for more details and an example of how the converter works.
Changing the Symbol
If editing a Part, make sure the chosen Number Of Bits match the Symbol that is used by the Part.
If editing a component in a schematic design, pressing OK with changed Number Of Bits will force the component to be replaced with a Part from the Library that matches the new specification. If no suitable Part exists, an error message will be given giving details of the Part that will need to be created.
Editing Multiple Components
If any of the fields are set to
Related Topics
Digital To Analog Converter | Edit Device Type | Functional Modelling