USB Charger: Schematic

Schematic Drawing

With the parts you have chosen from the previous lab and the provided block diagram, you're ready to start drawing the schematic.

Open KiCad and draw a schematic for your USB charger.


Abstract Schematic (block diagram) of USB Charger

Above is a refresher from the last lab as to what is expected for the schematic. For example, you may want a 01x02 connector symbol for the input power receptacle (aka connector to battery).

Many parts, including R, C, and L, come in the _Small varieties, which simply are smaller, more compact symbols, and may help make your schematic look neater.

Feel free to use these resources for standard component designators and common component symbols

For any schematic design, it is a good idea to start with the core components/submodule in the circuit. In the case of our phone charger, what is the core submodule/component?

If your design pretty much follows the application circuit, you may want to draw your circuit similar to the datasheet but also incorporating ideas of flow from left to right.

Try to name as many nets as possible with useful names! The datasheet(s) may help with this.

Schematic Symbols

You might notice that in general, KiCad's symbol libraries may not have all the parts you want to use. When this happens, you have two options as described below to add more part symbols to your KiCad.

For this lab, please use follow Method A for your regulator IC. For your USB connector, you can use the generic USB A symbol in KiCad. You should also add the DigiKey library by following Method B below, regardless of whether there are already KiCad symbols available:

A. Create a symbol yourself from the datasheet (it will help to have the component datasheet open and ready to go before starting). Follow along in these slides from the lecture.

HINT: we highly recommend going through that slide deck above for this lab

B. Download, import, and check a symbol from an online service

  1. Go to the DigiKey website and download the DigiKey library.
  2. In KiCad go to the 'Symbol Editor' application and click Preferences → Manage Symbol Libraries → the Global Libraries tab → Folder Icon (Add existing library to table) and go to the location where the DigiKey library was downloaded. Go into the digikey-symbols folder and select all of the .lib files.

Oftentimes, component libraries downloaded from the internet are incorrect and it is your job as the designer to verify that the symbol is what you want. This is especially applicable if you choose a service like SnapEDA.

Checkoff

Make sure to keep your schematic and your BOM intact for future lab assignments.

For the actual checkoff:

  • Show us your completed schematic and demonstrate it passes ERC
  • Walk through the major sections of your schematic
  • Compare the part symbol you made and the one you imported to their respective datasheets. Did you have to make this symbol if we did not explicitly ask you to?
  • Optional: Make schematic look like the block diagram using the single-page schematic blocking method as talked about in the Requirements/Design Abstraction lecture. Walkthrough how the individual components fullfil the abstracted version's block functions. Highly recommended for improving readability!

Next Steps

After completing your schematic, you should be almost ready to continue onto the board layout. Assign all your reference designators if you haven't done so already (if you are doing this manually don't forget there is a button that does this automatically!) then assign footprints according to the parts you selected.

Cannot find the footprint you need? You can make you own or import one from online. (note that the page has broken image links at the moment)

FAQ for the switching regulator, if you have an EN pin connect it to V_in directly! A lot of pin assignments can be determined by checking the component datasheet. In this case, we see from the datasheet that we need to tie the enable pin high, hence we connect it to V_in on the schematic.

TPS61023 Datasheet Pin Description

You should note that we have not given any kind of considerations for the layout. Though, maybe there are some things you can already start to think about, such as the fact that this PCB will be paired with 3 AA batteries.

You can move on to starting your layout, but note that you may be required to change things next week!