Design with the calculators
14.1Size a part with a calculator and place it
Work a value out with one of the 17 calculators and put it into the circuit.
Before you startAn open circuit. To fill the calculator from parts, select them first.
- Press Ctrl+Shift+C and type what you want, for example
ledordivider, then Enter.You should seeThe calculator window opens on it. With parts selected, the calculators that fit them are listed first, with their values filled in. - Type the values you know. Press SOLVE above the value you want worked out.You should seeThat field reads SOLVED and shows the result. The tiles, warnings and plot follow every change.
- Read the amber warnings: each says what is off and what to change.
- Press the orange place button, such as Place and run AC analysis, or Apply to the selected … to write the value into the parts you selected.
ResultThe circuit is placed at a free spot with its source and probes, and its analysis runs. One Ctrl+Z takes it all away again.
| If you see | Do this |
|---|---|
| Apply to the selected … is missing or greyed | It needs the right parts selected: two resistors for the divider, an inductor and a capacitor for LC. |
| Names changed to V2 or OUT2 | The circuit already used those names. The measurements follow the new names. |
| The values are not the ones you typed last time | Values are kept while the app runs. Reset to the defaults starts over. |
See alsoThe calculator window, and each calculator’s own chapter.
14.2Check a calculator design in the simulator
Run the design a calculator gives in the simulator, with the calculator’s numbers as the pass limits.
- In the calculator, press Advanced beside its title.You should seeThe Advanced view: tabs with green, amber or red dots, the inputs on the left, the cards on the right.
- Fix what the red and amber checks say, then open the last tab, Verify in simulation.You should seeA table of each check, the calculator’s value, the analysis that checks it and its limit.
- Press the place-and-run button, such as Place circuit and run AC or Run corners.
ResultThe circuit is placed and run, and the Measurements list marks each check PASS or FAIL, with All pass in its header when every one passes.
| If you see | Do this |
|---|---|
| A row says not simulated | The engine has no model for it (light output, board heat, antennas). The row says why. |
| A measurement fails | Read its value against its limits in the Measurements list, then the Verify table’s method column: it names what the simulator does differently. |
See alsoPlacing the circuit and checking it.
14.3Design a buck or boost stage and pick its inductor
Size a switching stage over its input range and choose a real inductor and regulator from the library.
- Open the buck and boost stage (type
buck) and press Advanced. Choose Buck or Boost, the rectifier and the control. - Type the input range, the output, the load, the switching frequency and the ripple target.You should seeL needed, the three peak currents (full load, current limit, start-up), the efficiency and the warnings.
- Open the Inductor tab and press From library.You should seeThe inductors that fit the L window, each with the whole design worked out, the best first.
- Select a row and press Use this part. For the controller, press Regulator from library in Controller limits.
- Open Verify in simulation and press Run three corners.
ResultThe stage runs at Vin min, nominal and max with the part’s own saturation curve, and twelve measurements pass against the calculator.
| If you see | Do this |
|---|---|
| No inductor passes | Widen the L window or the size filters, or tick Parts with no Isat in the catalog. |
| On-time at Vin max is … under the … minimum | Lower the switching frequency to the value the warning gives. |
See alsoBuck and boost stage.
14.4Choose an op-amp for a gain stage
Find the op-amps of the library that meet a gain stage’s swing, speed, stability and DC error.
- Open the op-amp gain (type
op amp), press Advanced, and set the stage, gain, rails, signal and load. - Press Op-amp from library.You should seeThe filters are set from the design. Every op-amp in them is worked out, the best 30 get the full circuit analysis, and the table lists them by worst-case DC error.
- Select a row to see where each of its figures comes from, then press Use this part.
- Type the datasheet maximum for any figure the model lacks (the notes name them), then open Verify in simulation and press Place with the part.
ResultThe stage runs with the part’s vendor model, and its gain is checked against the calculator.
| If you see | Do this |
|---|---|
| The part you want is not in the 30 | Narrow the filters (GBW, slew, vendor, input type): the 30 are the best of what passes them. |
| A DC error far over the limit after Use this part | The model has no offset and 3 mV stands in for it. Type the datasheet Vos max. |
See alsoThe op-amp picker.
14.5Size a PCB trace and check it in the circuit
Find the trace width for a current, then put the trace into a wire of your circuit with its hot resistance.
- Open Trace current and width (type
trace) and press Advanced. Type the current, the rise allowed, the copper and the length.You should seeWidth to draw, sized on the thinnest copper and the narrowest etch. - Close the window, click the wire the current flows in, and open the calculator again.
- Open Verify in simulation and press Insert in wire and run.
ResultR_TRACE sits in the wire at the trace temperature, the live view runs, and two measurements check the current and the drop against the calculator.
| If you see | Do this |
|---|---|
| Insert in wire and run is greyed | Select a straight horizontal or vertical wire at least 4 grid units long (8 for a via). |
| Both measurements fail | The wire carries more than the design current. Raise the current in the calculator. |
See alsoTrace current and width, Via current and parasitics, Wire gauge and fusing.