ME2120 - Fall 2025
Overview
Professor Ryan C. Cooper introduces Project 2, a four-bar linkage design exercise using NanoHub and a Jupyter notebook, and demonstrates how link lengths and fixed-point locations determine motion. The analysis calculates position and velocity across a full crank cycle, illustrates design applications such as knee mechanics, and shows how unsuitable geometry can produce solver warnings, broken constraints, and implausible speeds.
Key takeaways
- A four-bar linkage model must satisfy position-closure constraints at every crank angle; the notebook enforces matching horizontal and vertical displacements between links and fixed pivots.
- Sampling a 0-to-360-degree crank cycle at 361 points gives one-degree increments and lets the notebook plot the linkage's full motion rather than a single configuration.
- Angular velocity becomes linear hinge speed through v = rω: a 1 m rocker rotating at 20 rad/s produces a hinge speed of about 20 m/s.
- Solver warnings, jagged motion curves, movement of a supposedly fixed hinge, and implausible speeds are signs that a linkage design may violate its constraints.
- A four-bar linkage's dimensions should be chosen for its application: Cooper contrasts meter-scale mechanisms such as oil pumps with centimeter-scale knee-replacement geometry.
Chapters
- Ryan C. Cooper says Quiz 2 is online and its due date has been pushed to the following week.
- Project 2 centers on designing and analyzing a four-bar linkage, building on linkage work from the homework.
- The notebook can execute cells in any order, but later cells may fail if earlier variables have not been defined.
- Cooper recommends Kernel, Restart and Run All to rebuild notebook state from the top and reveal errors.
- The example sets three link lengths to 0.25 m, 1 m, and 1 m, with fixed pivots at (0, 0) and (0, 0.95 m).
- A one-line Python lambda returns two position-closure constraints, requiring the links' vertical and horizontal displacements to match the fixed-pivot spacing.
- The crank angle is sampled from 0 to 360 degrees using 361 points, giving one-degree increments.
- At every crank position, the notebook solves for the connecting-link and rocker angles using the same geometry constraints as in the homework.
- The notebook calculates hinge locations A, B, and C, plus midpoint P on the connecting link.
- The crank-side hinge traces a circle, while the rocker-side hinge moves through an arc; the midpoint follows a more complex path.
- Cooper relates four-bar motion to knee mechanics, where ligament and bone geometry can be modeled as linked segments.
- Velocity constraints extend the position analysis to calculate how quickly the rocker and connecting link rotate throughout the cycle.
- For a 1 m rocker rotating at about 0.4 rad/s, the corresponding hinge speed is about 0.4 m/s, using linear speed equals angular speed times radius.
- Project work changes design parameters, then uses motion and speed plots to check whether the linkage behaves as intended.
- Cooper contrasts scales for different uses: an oil-pump mechanism may need links many times larger than the example, while a knee replacement needs centimeter-scale geometry.
- Changing link one from 0.25 m to 1 m produces a markedly different linkage configuration and a path resembling overlapping circles.
- In the example, the rocker reaches roughly 20 rad/s; with a 1 m radius, that corresponds to about 20 m/s at the hinge.
- The exercise demonstrates that changing one dimension can alter both the motion path and operating speed.
- Increasing a link to 1.1 m triggers Jacobian-related warnings, even though the solver still returns results.
- Irregular curves, a supposedly fixed hinge moving, and extreme calculated speeds indicate that the constraints or geometry are not behaving physically.
- Students are asked to choose a geometry and use the notebook's motion and speed plots to evaluate it over multiple iterations.
- The written analysis should explain why the selected link lengths and mounting points produce the intended behavior.
- Cooper notes that a crank design must satisfy physical reach constraints, such as having enough total link length to span the distance between mounting points.
- The class spends this interval working on linkage designs and discussing results with Cooper, but the available transcript captures little intelligible technical detail.
- The notebook-based design exercise continues after the example of failed geometry and solver warnings.
- At about 54:08, Cooper says he is placing items on the wall so students can identify their seats.
- The remaining audio includes a brief question about the number of teeth and a mention of reverse engineering near 59:53, without enough context to establish further technical conclusions.
Transcript excerpt
1:30 Okay, welcome back. logistical updates. Uh, quiz 2 is up, like it's online. I pushed off due date till next week, so there's actually time to look at it and not just like scramble through and I don't know, just gobble or just chat GPT it like how do I do dynamics? Um, >> what is it? You don't use it. >> Yeah. >> It It's not super helpful for a lot. Have you asked it to do a free body diagram for you? >> No. >> Oh, it is like just ridiculous in the most obscene way. Like
2:20 it's it's like if you asked a graphic designer just like just like draw some arrows for me anywhere just wherever you want and they're just all over the place. Stuff is going in circles but it's not torque. It's like forces there's positions. There's velocities. We'll try it some other time. Um so quiz two and then project two. Project two is the main thing that we have today like getting that getting that up and running. Trying that one out. Sound like a plan. Cool. We I know on Wednesday I ran over time. Thanks for staying. Um we only talked about like one question so I didn't get to I didn't get to like add the other
3:08 ones that people were working on. There were some other ideas of like four bar linkages and that kind of stuff. four bar linkage we're going to deep dive into with this project anyway. So we'll get like some working knowledge there um because that was kind of the last thing we did in the in the homework. So I have Nano Hub up and running. I'm logged in and to start I'll just give a tour of kind of like this is the way
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Professor Ryan C. Cooper.