Saturday, May 05, 2018

RL Falstad Circuit

During my electromagnetism unit in my AP Physics C course I wanted my students to investigate a resistor-inductor circuit to reinforce the relationships for potential difference and current. Resistor-inductor circuits and resistor-capacitor circuits share a lot of similarities, including difficult-to-derive equations. While the derivations are a bit complicated they follow a similar format and once students have some practice they should see a pattern. Here is a write-up I made for my students for the resistor-inductor circuit equations. I tried to emphasize the patterns of decay and rise of each to reinforce the behavior of the current and potential difference over time. In a resistor-inductor circuit the current is initially zero when the switch is closed as the inductor produces an emf equal to the battery but in the opposite direction. We say that the inductor acts like a broken wire when the switch is first closed. Over time the current rises exponentially and the inductor produces a smaller and smaller emf until eventually the inductor acts like a solid conducting wire. As the current rises, so does the potential difference across the resistor.

As the switch is left closed for a long time the current of the circuit reaches the maximum current as if the inductor was not there at all. If the circuit can be completed without the battery then the inductor will initially produce the same current as before the battery was removed. The current decays over time, therefore the potential difference across the resistor does as well.
When my students were learning about resistor-capacitor circuits I had them use real lab equipment and confirm the potential difference and current equations they had derived. But I did not have inductors to use in a lab for a resistor-inductor circuit. I found this Falstad simulation and it is amazingly powerful. You can make any complex circuit you want! Below is one I mocked up for a homework problem. I screenshot the circuit and added more text to explain it to my students.


I constructed the circuit I wanted my students to explore and exported a link to the circuit. That is something I plan to do again; I can construct a problem-specific simulation and save that simulation forever as an exported link or screen capture. In the #GraphFails post I shared some terrible excel graphs my students had made. Since they obviously need more Excel practice I also decided to make a portion of this lab an Excel lesson.

Students started by drawing a Resistor-Inductor circuit and the appropriate meters to measure the potential difference across the inductor, resistor and the current through the circuit. They were to pick any value they wanted for the battery, resistor, and inductor. They used those values to write specific equations for the potential difference across the inductor, resistor and current when the switch is first closed and then as the switch is moved to exclude the battery. They calculated the time constant and maximum current for their circuit.

Students then opened either Excel or Google Sheets to create their data. I taught them how to make a data table and apply simple equations to fill in their data tables. The equations for resistor-inductor circuits were not the easiest thing to learn to type into a spreadsheet so my instructions included a simple method and a more complex one. By graphing their data students were able to confirm that their equations and data were correct if the shape of their graph matched their expectations.
Students learned to label all the parts of their graphs, resize them, change their legend, etc. They printed out their data tables and graphs for both the rise and decay of current.
The final step was to follow the link to the Falstad simulation and create their circuit. Since I had set the circuit up students just had to right click on each element to change the values to what they had set up in the beginning of their lab. Students then ran the simulation watching the current rise and then change the switch after it leveled off (after 5 time constants) and decayed. They were able to pause the simulation and doublecheck that their values determined by equations matched the simulations.

Overall I felt like it was a successful lab simulation. Students practiced complex equations, double checked their graph predictions with computations, learned how to use Excel/ Google Sheets to write equations, create multiple graphs and customize them, and created a visual of their personal circuit to see the values change with time. In the future I'd love to get a real resistor-inductor circuit lab going but I think that I would add it to this lab rather than replace it.

Lots of students surprised themselves with their accuracy, some getting too excited, "We have no error!" That was inevitably followed with the slow realization, "Wait, everything was done with equations ... we shouldn't have any error." No, you should not. So when a student did produce a graph that disagreed with their prediction they were able to work it backwards to find out where they had made a mistake. All in all Falstad may be my new favorite electric circuits simulation. Shhhh.... don't tell PhET. ;)

1 comment:

Anonymous said...

The Circuit simulation is a good find