Latest / Mechanical Engineering Made Simple / (#93) Blast from the Past - Simulating Reality Before Cutting Metal
Transcript
- 0:00Welcome back to mechanical engineering made simple.
- 0:02It's great to be back and today we're doing something a little
- 0:06different. We're sort of stepping away from
- 0:08the shop floor for a bit. We really are.
- 0:11You know, when people think about mechanical engineering,
- 0:13the image that usually comes to mind is very physical, very
- 0:17tangible. Oh, absolutely.
- 0:19You think of a wrench, a lathe, maybe a big schematic rolled out
- 0:22on a drafting table. Exactly.
- 0:24The smell of machine oil and metal filings.
- 0:27It's all about the hardware, the stuff you can touch and hold.
- 0:30But today, we're putting all that aside.
- 0:32We are. We're moving beyond the drafting
- 0:34board, beyond the wrench, and into the digital realm.
- 0:38We're doing a deep dive into the digital revolution that
- 0:41completely, and I mean completely, changed how things
- 0:44get made. This isn't just about new tools,
- 0:46it's about a new way of thinking it.
- 0:48Really is. We're looking at the whole
- 0:50ecosystem, from the philosophy of how teams even work together,
- 0:54all the way to these incredible virtual worlds where products
- 0:58get tested for a single atom of them exists in reality.
- 1:02It sounds like science fiction, but it's the day-to-day reality
- 1:05for engineers now. And to guide us, we're analyzing
- 1:08a specific stack of research that really breaks this down
- 1:11into four key pillars. Right, the first one is the
- 1:15philosophy itself. It's called even Current
- 1:17engineering or CE. It's basically the story of how
- 1:20engineers stopped working in isolated silos that.
- 1:22Famous over the wall approach. We'll get into that.
- 1:25Then we have the technologies that made it all possible, the
- 1:27digital glue, if you will. Things we take for granted now,
- 1:31like e-mail and shared databases.
- 1:33But we're revolutionary at the time.
- 1:35And from there we moved to the digital canvas itself, Computer
- 1:38Aided Design, or CAD. How we went from drawing lines
- 1:42to building intelligent 3D models.
- 1:44Finally, the ultimate pay off virtual reality and
- 1:47optimization. This is where we step into the
- 1:50matrix, so to speak, to test and perfect these designs
- 1:53mathematically. So our mission today is to
- 1:55understand how engineers use this digital toolkit to save
- 1:58staggering amounts of time, money, and, let's be honest,
- 2:01their own sanity, all by simulating reality before they
- 2:04even think about cutting a piece of metal.
- 2:06It's the journey from educated guessing to calculated
- 2:10perfection. It's a fascinating story.
- 2:12It really is. So let's start at the beginning.
- 2:16Before the fancy software, before the VR goggles.
- 2:19You have to change how people think and work.
- 2:22Let's talk about concurrent engineering.
- 2:25The sources peg this as a phenomenon of the 1980s.
- 2:28It was a huge phenomenon, and it grew out of a really serious
- 2:31problem. To understand it, you have to
- 2:33look at where it started, which, as is often the case with these
- 2:36big technological shifts, was in the US Department of Defense.
- 2:40The DoD, right? They have the complex projects
- 2:42and the budget to try and fix them.
- 2:45Exactly. So in the 80's the DoD is
- 2:48looking at its procurement process for these incredibly
- 2:50advanced defense systems. Fighter jets, submarines, you
- 2:53name it, and they realize they have a fundamental systemic
- 2:56flaw. Which is what?
- 2:58The people designing the thing were completely disconnected
- 3:00from the people who had to actually build the thing.
- 3:02The classic divide the ivory tower designers versus the
- 3:06factory floor crew. A chasm?
- 3:08Really. You had brilliant engineers
- 3:10designing these systems to be aerodynamically perfect,
- 3:13theoretically flawless, but they weren't thinking at all about
- 3:17what the source calls manufacturability.
- 3:20Can you actually build it? Can you build it?
- 3:21Can you build it on time? Can you build it for a
- 3:23reasonable cost? The answer too often was no.
- 3:27A design would be finalized, signed off, and then it would
- 3:30hit the factory floor. And that's where we get this
- 3:32term. The source uses factory shock.
- 3:35It's a perfect term. Yeah.
- 3:36The design lands and the manufacturing engineers look at
- 3:39it and just their jaws drop. They see a part that requires 5
- 3:43axis machining when a simple stamped piece would do, or a
- 3:46bolt that's placed in such a way that you'd need a child's hands
- 3:49and a custom built wrench to tighten it.
- 3:51So they're discovering these massive shortcomings, but it's
- 3:54way too late in the game. Way too late.
- 3:56The tooling has been ordered, the materials are on their way.
- 3:59The production line is being set up to go back and change the
- 4:02design at that point isn't just expensive, it's catastrophically
- 4:05expensive. It causes huge delays.
- 4:08OK, so the DoD sees this is a massive drain.
- 4:12This leads to a formal report from the Institute of Defense
- 4:15Analysis where they actually define this new idea.
- 4:17They do. They give us the first real
- 4:20formal definition of concurrent engineering, and it's a bit of a
- 4:24mouthful, but the keywords are right in there.
- 4:26They call it a systematic approach to the integrated
- 4:30concurrent design of products and their related processes.
- 4:33Integrated and concurrent. Those are the magic words
- 4:35through. Everything concurrent just means
- 4:37at the same time. So instead of the old way, the
- 4:40classical mold of engineering. Which was sequential step A,
- 4:44then you finish step A, then you start step B.
- 4:45Exactly. Designer finishes, throws it
- 4:48over the wall to the manufacturing engineer.
- 4:50Manufacturing engineer figures out how to build it, then throws
- 4:53it over the wall to the quality control team.
- 4:55It's a relay race. I love that over the wall
- 4:58imagery, it implies you don't even see the person you're
- 5:00handing off to, you just lob it over and hope for the best.
- 5:03It's almost adversarial, but CE says no, we're not doing that.
- 5:08The core idea is parallel working from the absolute
- 5:12outset, from the first sketch on a napkin, you have everyone in
- 5:16the room, everyone. Everyone.
- 5:18You don't just consider design, you consider all elements of the
- 5:21product's entire life cycle, quality, cost, the schedule,
- 5:26user requirements. And this is the one that really
- 5:28stood out to me from the sources, even disposal.
- 5:31Right, I have that note highlighted too, the idea that
- 5:34in CE the customer isn't just the person who buys the final
- 5:37product. That's a huge mental shift.
- 5:39The customer is anyone downstream who has to interact
- 5:42with what you've made. The manufacturing team is your
- 5:45customer. They need a design that's easy
- 5:47to build. The maintenance crew is your
- 5:48customer. So if you design A car engine
- 5:51where you have to remove three other components just to change
- 5:53an oil filter. You've failed your maintenance
- 5:55customer, and that failure has real costs, means higher repair
- 5:59bills, customer dissatisfaction, A damaged brand reputation, all
- 6:03because the designer didn't think about the person who'd
- 6:05have to service it 10 years down the line.
- 6:07And that includes the disposal team, who has to figure out how
- 6:10to safely and efficiently recycle it at the end of its
- 6:12life. Precisely.
- 6:14Are there toxic materials? Can it be easily disassembled?
- 6:18These are design questions in a CE framework.
- 6:22But getting people who are used to working in their own little
- 6:25kingdoms to suddenly collaborate must have been challenging.
- 6:28You're talking about a major culture clash.
- 6:30Oh, it was a huge battle. The sources talk about several
- 6:33major barriers. The first, obviously, is that
- 6:35over the wall mentality. It was just how things were
- 6:38done. It was comfortable.
- 6:39But then there's something they call the cost paradox.
- 6:42This sounds like where the accountants get nervous.
- 6:44This is where management gets very nervous because on paper,
- 6:48concurrent engineering looks more expensive upfront.
- 6:51How so? You need bigger teams from day
- 6:54one. You're having more meetings,
- 6:55You're paying a manufacturing expert, a quality assurance
- 6:58person, maybe even a materials disposal specialist to sit in on
- 7:02a conceptual design meeting. And a manager looking at the
- 7:05quarterly budget just sees salaries and meeting room costs
- 7:07going up. It looks like waste.
- 7:09It looks like pure inefficiency. Why are all these people here?
- 7:12The designers haven't even designed anything yet.
- 7:15But that's the paradox. You spend that money upfront to
- 7:17save 10100 times that amount down the road.
- 7:21Because you catch the untightenable bolt problem in
- 7:23the meeting, not after you've built a million of them.
- 7:26Exactly. You avoid those catastrophic
- 7:28factory shocks. You have far fewer engineering
- 7:31change orders late in the process, but you're incredibly
- 7:34costly. The product gets to market
- 7:35faster, which is a huge competitive advantage.
- 7:38It's the ultimate measure twice, cut once.
- 7:41There's another conflict, mentioned a more human one.
- 7:44The clash between command style management and what they call
- 7:47team empowerment. Yes, this is about power and
- 7:50control. Traditional engineering was very
- 7:52hierarchical. A senior engineer makes a
- 7:55decision and it flows downward. CE requires a much flatter
- 7:59structure. The sources describe the CE team
- 8:02as a flat entity or maybe A2 level structure with a leader
- 8:05and some sub teams. Right.
- 8:07It's not about command and control, it's about consensus
- 8:10and collaboration. Information flows horizontally
- 8:13between disciplines, not just up and down the chain of command.
- 8:16And that can be very threatening to old school managers.
- 8:19And also to old school engineers, it seems they talk
- 8:22about the clash between rigorous analysis and parallel work.
- 8:26This is a deep seated cultural thing for engineers.
- 8:29The classical training is all about rigorous step by step
- 8:32analysis. You don't move on to the next
- 8:34step until you have complete, verified, perfect data from the
- 8:38previous step. You want certainty.
- 8:40You crave certainty, but in CE you can't have it.
- 8:43You're working in parallel. The team designing the chassis
- 8:46is working at the same time as the team designing the engine
- 8:49that goes in it. So you're working with tentative
- 8:51data, incomplete information. You have to, the engine team
- 8:54might say, OK, we think the engine block will be this size
- 8:57±5%, and the chassis team has to take that incomplete data and
- 9:02start their design work. That sounds terrifying for an
- 9:04engineer who likes precision. It requires a massive amount of
- 9:08trust. It's a high trust environment.
- 9:10You have to trust that your colleague in the other
- 9:13department will tell you the instant their data changes.
- 9:16If the engine designer realizes the block has to be 6% bigger,
- 9:20they can't sit on that information.
- 9:22They have to communicate it immediately.
- 9:24Because if they don't, the chassis won't fit and the whole
- 9:27parallel process collapses. It breaks down completely.
- 9:31The workflow is described as these long intervals of focused
- 9:34parallel work, punctuated by these short, intense bursts of
- 9:38communication to sync up and produce consensus.
- 9:41Work sync, work sync. It's a rhythm.
- 9:44It is. But for that rhythm to exist,
- 9:46you need more than just good intentions.
- 9:48You can't just throw people in a room and say collaborate.
- 9:50You need the infrastructure. You need the technology to make
- 9:52it all happen. Which is the perfect segue to
- 9:55our second pillar, the infrastructure, the technologies
- 9:58of collaboration. How do you get all these
- 10:01different experts who might not even be in the same building
- 10:03talking to each other effectively?
- 10:05Well, the sources give us a bit of a fun historical tour here.
- 10:08Start to the basics. Let me guess, e-mail?
- 10:11E-mail. The source, written a while ago,
- 10:14notes that it had already been in use for 1/4 century, but they
- 10:17talk about the move from just plain text to multimedia mail
- 10:22being able to embed images and data.
- 10:25And they mentioned a specific product that I have not heard in
- 10:28a very long time, Lotus Notes. A true blast from the past, but
- 10:34you have to understand how groundbreaking that was.
- 10:37It wasn't just a messaging system, it was about creating
- 10:40structured shared databases for communication.
- 10:43So it's not just sending a message that gets lost in an
- 10:46inbox, it's contributing to a central pool of knowledge that
- 10:50everyone on the project can access and search.
- 10:52Precisely, it's about creating a project memory.
- 10:54But then things get even more interesting when we get to what
- 10:57the source calls computer supported meetings.
- 10:59This is where the Xerox collab comes in.
- 11:00I was fascinated by this. The collab project at Xerox
- 11:03Parerox was so ahead of its time, they basically invented
- 11:06the concept of the electronic chalkboard.
- 11:07And they had that great acronym for it, WASIWIS.
- 11:10Wasiwis, what you see is what I see.
- 11:12It seems so obvious to us now. We do it every day on Zoom or
- 11:16Teams with screen sharing. But the idea that multiple
- 11:20people could be looking at a digital workspace, all seeing
- 11:23the exact same thing in real time and all being able to
- 11:26interact with it, that was a game changer.
- 11:29It absolutely was. It meant the design review
- 11:31meeting was no longer just people pointing at a physical
- 11:33blueprint. It became a dynamic,
- 11:36collaborative design session. But there were even more
- 11:39advanced tools. The ones for argumentation like
- 11:42ark noter and shibas. Right.
- 11:44These tools recognized a fundamental truth about
- 11:47engineering. It's a series of debates and
- 11:49decisions. It's not just about drawing
- 11:51pretty pictures, it's about arguing over trade off.
- 11:54Exactly. You have what the source calls a
- 11:56Tiger team. This multidisciplinary group of
- 11:58experts. Material scientist says we
- 12:01should use composite. The manufacturing engineer says
- 12:03composite is too expensive to machine.
- 12:06The structural engineer says the alternative, aluminum, isn't
- 12:08strong enough. You have a conflict.
- 12:11And these tools were designed to structure that argument.
- 12:14Yes. Instead of it just being a
- 12:16heated discussion where important points get lost, these
- 12:19systems provided A framework. You formally propose an idea,
- 12:23use composite. You then attach arguments for
- 12:26and against it. You document the final decision
- 12:29and, crucially, the rationale behind it.
- 12:32The rationale that connects back to what the source calls
- 12:35corporate history and memory. This is one of the single
- 12:38biggest, most persistent problems in long term
- 12:40engineering projects. The problem of lost rationale.
- 12:43You've got a blueprint from 15 years ago, you're doing a
- 12:46redesign and there's a weird bracket on it and nobody,
- 12:49absolutely nobody in the building knows why it's there.
- 12:52Exactly. The drawing shows you what it
- 12:54is, the geometry, but it doesn't tell you why.
- 12:57Was it there to solve a vibration issue that no longer
- 13:00exists? Was it to hold a sensor that was
- 13:02later removed? You don't know.
- 13:03And because you don't know, you're afraid to remove it.
- 13:05Because maybe it's critically important.
- 13:07So you leave it in adding unnecessary cost and weight to
- 13:11the new design, all because the original intent was lost.
- 13:14That's why they started developing electronic design
- 13:16notebooks, or Edns. To capture the thinking, not
- 13:20just the final geometry. To capture the conversation, the
- 13:23trade-offs, the why, There's a brilliant example in the text
- 13:27about this. They talk about a system for
- 13:29constraint management and the acid test for monitoring a
- 13:32project's health. Another great acronym?
- 13:35Let's breakdown ACID. It stands for Access, Choose,
- 13:39Interpret, and Display. For a project leader to manage a
- 13:42complex design, they need a system that lets them do 4
- 13:46things. First, access all the relevant
- 13:49information, past and present. OK, get the data.
- 13:51Second, choose the specific parameters they want to look at.
- 13:54You don't want to be flooded with everything. 3rd and this is
- 13:57the key. Interpret that information to
- 13:59understand what's really going on and finally display it in a
- 14:02way that's intuitive and easy to grasp.
- 14:04And the specific example they used to illustrate this was
- 14:06about a jet engine blade, right? The strength constraint.
- 14:09It's a perfect example. So imagine you're the project
- 14:12leader. You pull up your project
- 14:13dashboard. The system flags an alert blade
- 14:17strength constraint violated. OK, that's the data, but it's
- 14:21not enough. It's the what, not the why.
- 14:23Exactly. A good system lets you click on
- 14:26that and interpret it. You dig deeper and the system
- 14:29shows you who is violating the constraint.
- 14:32It's the aerodynamics engineer and it shows you that he's done
- 14:35it 10 times in the last two days.
- 14:37OK, now it's getting interesting.
- 14:39It's not a random error, it's a pattern.
- 14:41It's a pattern, and the Electronic Design Notebook tells
- 14:44you why. The notes show that the
- 14:46aerodynamics engineer is relentlessly trying to tweak the
- 14:50blade shape to optimize the airflow path through the
- 14:52turbine. He's not making a mistake, he's
- 14:55pushing the boundaries of his own discipline to improve
- 14:57performance, but it's putting him in conflict with the
- 15:00structural requirements. Precisely.
- 15:02Now, as the project leader, you have full context.
- 15:05You don't just see an error, you see a design conflict between
- 15:08aerodynamics and structural integrity.
- 15:10You know exactly which two engineers you need to get in a
- 15:12room together to find a compromise.
- 15:14That is effective data-driven management, and it's impossible
- 15:18without this kind of digital infrastructure.
- 15:20That makes perfect sense. So we've got the philosophy of
- 15:23teamwork, concurrent engineering.
- 15:25We've got the digital infrastructure to let them talk.
- 15:28Now we need the canvas, the digital space where the design
- 15:31actually takes shape. Let's get into Computer Aided
- 15:33Design CAD. Right.
- 15:35And it's important to remember that CAD has been around in some
- 15:38form for a very long time. The source gives a nod to the
- 15:41SAGE air defense system way back in the 1950s.
- 15:45Using light pens on big CRT screens.
- 15:47It looks primitive now, but that was the genesis.
- 15:50It was. It established the fundamental
- 15:52connection that CAD is all about, linking the intuitive
- 15:55creativity of the human hand with the raw processing speed
- 15:58and precision of a computer. But modern CAD is so much more
- 16:02than just electronic drafting. It's not just about replacing
- 16:05the pencil and T square with a mouse and keyboard.
- 16:07Not at all. It's about building an
- 16:08intelligent mathematical model of an object.
- 16:12To understand that, we have to look at how these systems
- 16:14actually modeled geometry. The earliest method was the
- 16:17wireframe model. The skeleton approach.
- 16:19Exactly. You're just defining the edges
- 16:21of an object. It's basically a 3D stick
- 16:23figure. The main advantage was that it
- 16:26was computationally simple. In an era of slow computers,
- 16:30that mattered a lot. But it had a massive, fatal
- 16:33flaw. Ambiguity.
- 16:34Ambiguity. If you look at a wireframe cube
- 16:37on a screen, your brain can sometimes flip it inside out.
- 16:41You can't definitively tell which face is the front and
- 16:44which is the back. It's like one of those optical
- 16:46illusions. It is, and for a computer that's
- 16:49a disaster. If it doesn't know which surface
- 16:51is which, It can't calculate things like surface area,
- 16:54volume, or mass. It can't tell if two parts are
- 16:57interfering with each other. The model doesn't know it's a
- 17:00solid object, it just thinks it's a collection of lines in
- 17:03space. So we needed a better way, which
- 17:06brings us to solid modeling. Solid modeling.
- 17:08Now the computer understands that this is a solid object with
- 17:10an inside and an outside. The source breaks this down into
- 17:14two main methods for creating these solids, CSG and B Rep.
- 17:18Let's start with CSG. That's constructive, solid
- 17:20geometry. This is the one that feels like
- 17:22playing with digital building blocks.
- 17:24That's the perfect analogy. You start with a set of simple
- 17:27predefined shapes called primitives.
- 17:30Things like a cube, a cylinder, a sphere, a cone.
- 17:34And you combine them using boolean logic.
- 17:36Yes, the same AND or not logic that runs all of computers but
- 17:40applied to geometry. The main operations are union,
- 17:43subtraction and intersection. So if I want to make a simple
- 17:46part like a block with a hole through.
- 17:48It you'd start with AQ primitive, then you'd create a
- 17:50cylinder primitive. You move the cylinder so it
- 17:53passes through the cube where you want the hole.
- 17:55Then you perform a subtraction operation, cube minus cylinder.
- 17:59The computer calculates the resulting geometry and you're
- 18:02left with a block with a perfect hole in it.
- 18:03It's like virtual machining. You're removing material.
- 18:06Exactly. And union is just adding things
- 18:08together, fusing them to one part.
- 18:11Intersection gives you only the volume that two objects share.
- 18:14It's a very powerful and intuitive way to build many
- 18:18types of mechanical parts. OK, so that's CSG.
- 18:21What about the other method B Rep?
- 18:23B. Rep stands for boundary
- 18:25representation. Instead of combining primitives,
- 18:28this method defines an object by explicitly describing its skin
- 18:32or its boundary. So you're defining all the
- 18:34faces, edges and vertices. Correct.
- 18:37You're essentially creating a mathematical description of the
- 18:39object's surface. It's a more complex data
- 18:42structure, but it's also more flexible, can represent much
- 18:45more complex freeform shapes like the body of a car or the
- 18:49wing of an airplane that would be very difficult to build out
- 18:51of simple cubes and cylinders. So most modern CAD systems
- 18:55probably use a combination of both.
- 18:57Yes, many are hybrid systems. You might use CSG like
- 19:01operations to create the basic form and then use B Rep tools to
- 19:04add complex features like flays and chamfers.
- 19:07Now the source gets into another important distinction,
- 19:09parametric versus variational modeling.
- 19:12This feels like the step where the model gets smart.
- 19:15It is absolutely the step where the model gains intelligence.
- 19:18This is a huge leap beyond just being a static 3D shape.
- 19:21Let's talk about parametric modeling first.
- 19:23It's all about defining relationships and constraints
- 19:26between different parts of the geometry.
- 19:28So it's not just a collection of lines and faces, it's a system
- 19:31of rules. A system of equations, really.
- 19:34Think back to our block with a hole in a dumb solid model.
- 19:39If you make the block wider, the hole just stays where it was.
- 19:42It might not be in the center anymore.
- 19:44Right, you'd have to manually move the hole to recenter it.
- 19:46In a parametric system, you don't just place the hole, you
- 19:50define a rule. The center of this hole must
- 19:52always be at the geometric center of this block's top face.
- 19:56That rule is stored as part of the model.
- 19:59So now if I make the block wider.
- 20:01The computer automatically resolves the equations.
- 20:04It finds the new center of the face and moves the hole to match
- 20:07the design intent. The hole is in the center is
- 20:09preserved. That's incredibly powerful.
- 20:11It saves so much rework. It's fundamental to modern
- 20:14design. This concept is taken even
- 20:17further with what's called Feature based modeling.
- 20:19This is another layer of intelligence.
- 20:21This is where we start thinking in terms of primitive shapes
- 20:24like cylinders and start thinking in terms of engineering
- 20:27features like holes. Exactly.
- 20:29You don't tell the computer to subtract a cylinder.
- 20:31You use a hole command and you can specify what kind of hole.
- 20:35Is it a through hole? A blind hole?
- 20:37Is a countersunk? Is it threaded?
- 20:40And the computer understands the engineering meaning of those
- 20:42terms. Yes.
- 20:43So if you place a through hole in a part, and you later make
- 20:46that part thicker, the hole automatically gets deeper to
- 20:50maintain its through nature. The model captures your design
- 20:53intent, not just the resulting geometry.
- 20:56It knows you wanted a hole that goes all the way through, no
- 20:59matter the thickness. OK, this is amazing stuff.
- 21:02But underneath all this intuitive feature based
- 21:04modeling, the computer's just crunching numbers.
- 21:07The source touches on the math behind the graphics, how the
- 21:10computer actually moves things around using matrix algebra.
- 21:13It's worth a quick look because it's so fundamental.
- 21:15Every single point or vertex in your 3D model is stored in the
- 21:20computer's memory as a set of coordinates, an XY and Z value.
- 21:25So a simple cube might just be 8 sets of coordinates.
- 21:28Right. And when you, the user, want to
- 21:30move that cube on the screen, the computer performs a matrix
- 21:33operation on all eight of those coordinate sets simultaneously.
- 21:37So let's take the simplest one, translation, just moving it.
- 21:40That's basically just matrix addition.
- 21:43You define a translation matrix which the source writes as T
- 21:46equals the matrix containing delta X and delta Y.
- 21:49In 3D it would have a delta Z as well and you just add that delta
- 21:53that change to the original coordinates of every point.
- 21:56New position equals old position plus the change.
- 21:58Simple enough. What about scaling?
- 22:01Scaling is matrix multiplication.
- 22:02You define a scaling matrix S and you multiply the coordinate
- 22:05matrix by S The source shows this as I prime equals I * s If
- 22:10your scaling factor is 2, all the coordinates get multiplied
- 22:13by two and the object double S in size.
- 22:15Then rotation is the most complex 1 I assume.
- 22:17It is. The rotation matrix involves
- 22:20trigonometry, sines and cosines to calculate the new coordinates
- 22:23as the object pivots around an axis.
- 22:27And the amazing part is that when you're smoothly spinning a
- 22:29complex model on your screen with your mouse, the computer is
- 22:32performing millions of these matrix multiplications every
- 22:35second. It's incredible to think about
- 22:37the horsepower required, but all this complexity creates a
- 22:41problem. If I'm using brand X CAD
- 22:43software and you're using brand Y, how do we share these complex
- 22:47intelligent models? The interoperability.
- 22:49Problem It's a massive, persistent headache in the
- 22:52industry. For a long time, it was a huge
- 22:54barrier. You were locked into one
- 22:55vendor's ecosystem. So standards had to be developed
- 22:59neutral file formats. Exactly.
- 23:01The source mentions a couple of key ones.
- 23:03The first big one was IG ES, which stands for the Initial
- 23:06Graphics Exchange Specification. This was an early ANSI standard
- 23:10in the US. And it was a good first step
- 23:12that had its problems right. It did.
- 23:14IG ES was pretty good at translating basic geometry
- 23:16surfaces and wireframes, but often struggled with the
- 23:19complexities of solid models and could lose some of the
- 23:22intelligence. It could be ambiguous.
- 23:23Which led to the development of step.
- 23:25Right step. The standard for the exchange of
- 23:28product model data. This is the big international
- 23:31standard and ISO standard. It was designed from the ground
- 23:34up to be much more robust. It's not just about transferring
- 23:37the shape. It's designed to transfer the
- 23:39full product model, including the parametric intelligence,
- 23:43feature information and other metadata.
- 23:45It's the lingua franca of modern CAD.
- 23:48OK, so using all this tech, we've designed our part, we've
- 23:52collaborated on it with the whole team, it exists as a
- 23:55perfect intelligent digital model.
- 23:57But now we want to know does it work in the real world?
- 24:01But we're not ready to build it yet.
- 24:03Now we enter the simulation. We step inside the model.
- 24:07This brings us to our fourth pillar, virtual reality and
- 24:10engineering. VR The source has a great simple
- 24:12definition. It calls it an oxymoron.
- 24:15Reality that does not exist. It's a good way to think about
- 24:17it, but for an engineer it's really defined by two key
- 24:20characteristics, immersion and interactivity.
- 24:23Immersion is the feeling that you are in the digital world,
- 24:25not just looking at it on a screen.
- 24:27And interactivity means that the world responds to you.
- 24:31When you move, your viewpoint changes.
- 24:33When you reach out and touch something, it reacts.
- 24:37Those two things together create the sense of presence that
- 24:40defines VR. And to make that happen, you
- 24:43need some pretty specialized hardware.
- 24:45The source calls them the toys. Let's talk about the input
- 24:48devices first. Right.
- 24:49How do you get your actions into the virtual world?
- 24:52The source gives a great nod to the Nintendo Power Glove, which
- 24:56many of our listeners might remember.
- 24:57For the home enthusiasts. For the home enthusiasts, but in
- 25:00a professional engineering lab, you'd be using something much
- 25:03more sophisticated like the Cyber Glove.
- 25:05These are gloves lined with fiber optic cables or electrical
- 25:08sensors that can precisely track the bend of every joint in your
- 25:12fingers. So your virtual hand can
- 25:14actually make a fist or point. Exactly.
- 25:16Then you have tracking devices like those from Ascension.
- 25:19They use magnetic or optical systems to track the position of
- 25:22your head and hands in 3D space. And they mentioned Spaceballs
- 25:26and six DOF mice. Six DOF 6° of freedom.
- 25:30That's right, it means it can track not just position left,
- 25:34right, up, down, forward, back, but also orientation, pitch, Yaw
- 25:39and roll. It gives you complete freedom of
- 25:41movement in a 3D space. OK, so that's how we get
- 25:44information in. What about getting it out?
- 25:47How do we see and feel this virtual world?
- 25:50The most famous output devices, the HMD, the head mounted
- 25:53display, big goggles that block out the real world and put
- 25:56screens right in front of your eyes.
- 25:58That gives you total immersion, but the source notes they often
- 26:01had drawbacks like being heavy or having low resolution,
- 26:04especially the early ones. They did.
- 26:06An alternative for desktop use is stereo glasses.
- 26:10These are shutter glasses that flicker with each lens opening
- 26:13and closing in perfect sync with the monitor, which is displaying
- 26:16alternating images for your left and right eye.
- 26:18It tricks your brain into seeing a true 3D image popping out of
- 26:21the screen. But the output device that just
- 26:23blew my mind was Haptic interface.
- 26:25They mentioned the phantom device specifically.
- 26:27Haptics is the science of touch, and this is where VR gets really
- 26:30wild. The Phantom was an early robotic
- 26:33arm that you would hold and it would provide force feedback.
- 26:36O you can feel the virtual objects.
- 26:38You can feel them. If you're moving your virtual
- 26:40hand and you push it against a virtual wall, the robotic arm
- 26:44will physically push back against your real hand.
- 26:47You can feel the shape, the texture, the resistance of an
- 26:50object that doesn't actually exist.
- 26:52The applications for that in engineering are just staggering.
- 26:56You could test the ergonomics of a new dashboard design by
- 26:59actually feeling how far the reaches to the radio knob.
- 27:03Or you could simulate a complex assembly task.
- 27:05Can a mechanic actually fit their hand and a wrench into
- 27:08this tight space to remove a part?
- 27:11With haptics, you don't have to guess, you can feel it.
- 27:14So we have all this hardware and the source says it gets
- 27:16configured into a few different types of VR systems.
- 27:19Broadly, yes, you have the fully immersive systems.
- 27:22The classic example is the San BE, which is a room where the
- 27:25walls and sometimes the floor and ceiling are rear projection
- 27:28screens. Stand in the middle, put on the
- 27:30glasses, and you are completely surrounded by the virtual world.
- 27:33Great for architectural walkthroughs or driver training
- 27:35simulations. Then there's the other end of
- 27:37the spectrum, desktop VR. Right, they call it a window on
- 27:40a world is much cheaper. You're using a standard computer
- 27:43monitor but with stereo glasses to get the 3D effect.
- 27:46It's less immersive, but perfect for things like CAD model
- 27:50inspection. And there are hybrids in
- 27:52between, like a virtual workbench where a 3D image is
- 27:55projected down onto a table. So why do all this?
- 27:58Why invest in this expensive complex technology?
- 28:01Is it just a cool gimmick? I'm guessing the answer is
- 28:04money. The answer is always money.
- 28:07It all comes back to a statistic mentioned in the source that is
- 28:10just eye watering. 60 to 70% of a product's total life cycle
- 28:14cost is committed and locked in as soon as the initial concept
- 28:18design is finalized. Wow.
- 28:20Let that sink in. By the time you have the basic
- 28:23shape and concept, most of the money has in effect already been
- 28:27spent. Exactly because that concept
- 28:30dictates the materials you'll use, the manufacturing processes
- 28:33you'll need, the complexity of assembly, everything.
- 28:36So if you make a mistake make at that early stage, it's an
- 28:38incredibly expensive mistake. And virtual prototyping is about
- 28:41catching those mistakes before you ever cut a single piece of
- 28:44metal. That's the whole game.
- 28:46The source gives an example of a virtual lathe.
- 28:49You can put your digital part in a digital machine tool, program
- 28:52a digital cutting tool and watch the simulation.
- 28:56You can see is the tool will chatter if it will collide with
- 28:59the part holder, if the surface finish will be acceptable, all
- 29:03without wasting any material or machine time.
- 29:05They also mentioned a system called Coverts, which sounds
- 29:08like something out of Star Trek. The conceptual virtual design
- 29:11system. This was a research system where
- 29:14the designer could use voice commands and hand gestures
- 29:16inside a VR environment to create and manipulate shapes.
- 29:20Literally saying computer make that cylinder longer while
- 29:24stretching it with your hands. So it's about making the design
- 29:27process more intuitive and catching those fundamental
- 29:29conceptual errors right at the very beginning where it's
- 29:32cheapest to fix them. That's the billion dollar idea
- 29:34right there. OK, so we simulated the world to
- 29:37see if our design is usable and buildable.
- 29:40But is it the best possible design?
- 29:42Is it the cheapest, the strongest, the most efficient?
- 29:46For that, we need to go beyond just simulation.
- 29:48We need to get into the brains of the operation.
- 29:50This is our final segment and it's where the heavy math lives.
- 29:54Design optimization. What is the core concept here?
- 29:57What are we trying to do with optimization?
- 30:00In short, optimization is a mathematical way to find the
- 30:03best solution from among an infinite number of possibilities
- 30:07without having to test them all. Because testing them all would
- 30:10be impossible. It would literally take longer
- 30:12than the age of the universe for any non trivial problem.
- 30:16So to do optimization you need three things.
- 30:19A mathematical model of your system, a performance criteria
- 30:23you want to maximize or minimize, and a set of
- 30:26independent variables that you can change.
- 30:27And the source gives us 2 fantastic, really concrete real
- 30:31world examples to show how this works.
- 30:33I want to walk through them. First up, the oxygen supply
- 30:36system for a steel mill. A great classic systems
- 30:40engineering problem. You have a basic oxygen furnace
- 30:42in a steel plant and it needs huge blasts of pure oxygen at
- 30:46specific times. The question is how do you
- 30:48design the most cost effective system to supply that oxygen?
- 30:51And the system has three main components.
- 30:53Right. You have an oxygen plant that
- 30:55actually produces the gas from the air.
- 30:57You have a big storage tank to hold it and you have a
- 31:00compressor to pressurize the gas so you can fit a lot into the
- 31:03tank. And right away you can see the
- 31:04trade-offs. It's all trade-offs.
- 31:07You could build a gigantic oxygen plant that can produce
- 31:10gas as fast as the furnace needs it.
- 31:13That way you wouldn't need a big storage tank, but a huge plant
- 31:16has a massive upfront capital cost.
- 31:19OK, option 2, you could build a much smaller cheaper plant that
- 31:23just runs constantly 204 seven slowly producing oxygen.
- 31:27But if you do that, you need a massive storage tank to act as a
- 31:30buffer to hold all that gas until the furnace needs a big
- 31:33blast of it. And a huge high pressure tank is
- 31:36also very expensive. And to get all that gas into the
- 31:38tank, you need a really powerful compressor, which is not only
- 31:41expensive to buy, but also cost a fortune and electricity to
- 31:45run. Exactly.
- 31:46Every decision you make affects the cost of the other
- 31:49components. So the engineers defined the key
- 31:52variables they could play with the production rate of the
- 31:55plant, which we can call F, the capacity of the tank V, the
- 31:58capacity of the compressor H, and the maximum storage pressure
- 32:02P. And then they wrote a giant
- 32:04equation for the total cost. The cost function.
- 32:06This is the heart of the optimization.
- 32:08The source describes the annual cost equation and it's basically
- 32:11just adding up all the different costs.
- 32:13If you have the plant cost, which is some fixed cost a 1 + a
- 32:17variable cost, that deends on the roduction rate a two times.
- 32:20FOA one plus a 2 * F. Then you add the tank cost.
- 32:25The source notes that the cost of pressure vessels often scales
- 32:28with volume raised to some power, so they model it as B 1 *
- 32:32V raised to the power of B2. OK, so a term for the plant, a
- 32:36term for the tank. Then a term for the compressor
- 32:38which is similar B 3 * H raised to the power of B4.
- 32:41And finally you have to add the operating cost, the electricity
- 32:44to run that compressor. That's a term like n * B five
- 32:47times T 1 * H. So you have this big long
- 32:50equation that adds up the cost of the plant, the tank, the
- 32:54compressor and the power, and the goal is to find the specific
- 32:57values for FVH and P that make the result of that equation as
- 33:02small as possible. That's it.
- 33:03You feed that equation and the variables into an optimization
- 33:07algorithm, and the computer crunches the numbers.
- 33:10It will methodically test different combinations, always
- 33:13moving in the direction of lower cost, until it finds the sweet
- 33:16spot, the optimal ballast between all those competing
- 33:19factors. It's amazing.
- 33:20It turns a complex design problem into a solvable math
- 33:23problem. The second example is the welded
- 33:26beam, which feels much more like a classic mechanical design
- 33:29scenario. It is.
- 33:30This is a problem every mechanical engineering student
- 33:33is probably seen in some form. You have a steel beam that's
- 33:36welded to a rigid support and it needs to hold a 6000 LB load at
- 33:40its end. And the goal is simple, minimize
- 33:42the cost. Minimize the total cost, which
- 33:44is the cost of the material used plus the cost of the labor to
- 33:47Weld it. So what are the variables we can
- 33:49change here? There are 4 design variables,
- 33:52the thickness of the Weld H, the length of the Weld L, the
- 33:56thickness of the beam itself T, and the width of the beam B.
- 34:01And just like before, there's a cost function.
- 34:03Yep. The source lays it out.
- 34:05F of X equals well. There are two terms for the
- 34:08Weld. The first is H ^2 * L which is
- 34:11related to the cost of the Weld material.
- 34:13Then you add C 3 * H ^2 * L which is the labor cost with C3
- 34:18being a cost coefficient. OK, so material and labor for
- 34:21the Weld? And then you add the cost of the
- 34:23beam itself, which is C 4 * T * B multiplied by the sum of L + L
- 34:28That just represents the cost of the steel bar stock.
- 34:30But wait, if that's the equation, the cheapest solution
- 34:33would be to make HLT and B all equal to 0.
- 34:37Just use no material. But you can't, because you have
- 34:40rules you're not allowed to break.
- 34:42These are the constraints. This is the most important part
- 34:44of real world optimization. The design has to actually work,
- 34:47it can't break. It has to be safe, so the
- 34:50engineers add several constrained equations. 1st, the
- 34:53shear stress in the Weld, which we'll call Tau, cannot be
- 34:56greater than the maximum allowable design shear stress
- 35:00for that material cod. So the Weld can't RIP apart.
- 35:032nd, the bending stress in the beam Sigma cannot exceed the
- 35:07maximum allowable normal stress Sigma.
- 35:10The beam itself can't snap. Third, the beam can't be so long
- 35:13and skinny that it buckles into the load, so the buckling load
- 35:17PC has to be greater than the applied load.
- 35:19So the optimization algorithm has to find the cheapest
- 35:22combination of HLT and B that satisfies all of those safety
- 35:27constraints simultaneously. Precisely.
- 35:29And the source notes that calculating those stresses,
- 35:31particularly the shear stress in the well the Tau of X, is not
- 35:34trivial. It's a combination of a primary
- 35:36shear stress Tau prime and the secondary torsional stress Tau
- 35:39double prime. Some fairly heavy math.
- 35:41But the beauty is the engineer doesn't have to solve it by hand
- 35:441000 times. The computer does the hard work.
- 35:48It explores the design space, constantly checking.
- 35:51Is this design cheaper? Yes.
- 35:53Is it safe? No.
- 35:54OK Backup. Is this design safe?
- 35:56Yes. Is it cheap?
- 35:58Not really. Let's try to make it a little
- 36:00thinner. Until it finds the design that
- 36:02is right on the edge of the allowable limits, the absolute
- 36:06cheapest, lightest beam that will do the job safely.
- 36:09That's the power of optimization.
- 36:11But what if you have goals that are in direct conflict with each
- 36:14other? The source brings up a final
- 36:16concept here, goal programming. This is a really interesting and
- 36:20practical area. It's first situations where you
- 36:23have multiple competing objectives.
- 36:24The classic example they give is from machining.
- 36:26You want to maximize your metal removal rate.
- 36:29You want to cut the part as fast as possible to make more parts
- 36:32per hour. But you also want to maximize
- 36:34your tool life. You don't want to be constantly
- 36:36stopping the machine to replace a worn out drill bit because
- 36:39that cost time and money too. And those two goals are in
- 36:42direct opposition. The faster you cut, the hotter
- 36:45the tool gets and the faster it wears out.
- 36:48Cannot have the absolute maximum of both at the same time.
- 36:51It's impossible. So goal programming changes the
- 36:53question. Instead of trying to maximize
- 36:55both, you take goals. See my goal is a metal removal
- 36:59rate of X and my goal is a tool life of Y.
- 37:03And then you try to get as close as possible to those goals.
- 37:05Exactly. The mathematics is set up to
- 37:07minimize the deviations, the underachievements or over
- 37:11achievements from those goals. These are often written as D
- 37:15minus and D plus. You're trying to find the
- 37:17solution that has the smallest total disappointment.
- 37:20I like that you're mathematically minimizing the
- 37:22engineer's disappointment. A very elegant way to solve a
- 37:26very real problem. It is.
- 37:27It's a pragmatic way to handle the messy reality of conflicting
- 37:30requirements. So if we take a step back and
- 37:32look at the whole journey we've been on today, it's really quite
- 37:36incredible. We started with the old world,
- 37:38the over the wall philosophy where everyone worked in
- 37:41isolation. Then we saw the rise of a new
- 37:43philosophy, concurrent engineering, focused on teamwork
- 37:46and a life cycle view. We looked at the digital glue
- 37:49that held those teams together, the communication and
- 37:52coordination technologies. We moved to the digital canvas
- 37:56of CAD, where we learned to build intelligent models instead
- 37:59of justice. Dumb drawings.
- 38:01From there we stepped inside those models with virtual
- 38:04reality to test them in a human centric way and finally we use
- 38:09the pure logic of design optimization to mathematically
- 38:12perfect them. It paints a clear picture.
- 38:15Modern engineering is not just about physics and materials
- 38:17anymore. It's about information
- 38:19management, it's about simulation, and it's about
- 38:21applied mathematical logic. The wrench and the hammer are
- 38:24still essential, but they're now guided by this immense mountain
- 38:28of data and computation. The physical act of making
- 38:31something is now the final step in a very long, very deep
- 38:35digital process. It is.
- 38:36And that brings me to a final provocative thought for you to
- 38:39take with you. We've talked all about this
- 38:41incredible power of simulation, virtual prototyping,
- 38:44mathematical optimization, having a perfect digital memory
- 38:48of every decision. But are we in danger of
- 38:51optimizing away the happy accidents?
- 38:54That's a really interesting question.
- 38:56What do you mean? Well, so many great inventions
- 38:58in history came from mistakes from serendipity.
- 39:02Someone tried something that shouldn't have worked, or mixed
- 39:04the wrong things together and discovered something amazing
- 39:07like penicillin or post it notes.
- 39:10If we only ever build what the computer has already confirmed
- 39:13is the most efficient or optimal solution.
- 39:16Do we lose the opportunity for those unexpected breakthroughs?
- 39:20Exactly. If we only ever cut the metal
- 39:23that the simulation says is perfect, do we lose the chance
- 39:27to discover something new from a design that looks wrong on paper
- 39:30but has some unforeseen benefit in the messy, unpredictable real
- 39:35world? Are we designing ourselves into
- 39:37a perfectly efficient box and losing the random spark of true
- 39:41invention? It's the paradox of perfection.
- 39:44If you eliminate all risk and error, you might also eliminate
- 39:46all surprise. Something to think about?
- 39:49Well, that brings our deep dive into the digital transformation
- 39:51of engineering to a close. This was a fantastic journey.
- 39:55It was a pleasure, as always. And remember, if you haven't
- 39:58already, get over to our YouTube channel Mechanical Engineering
- 40:01Made Simple, where we post hands on how to videos, visual
- 40:05breakdowns, and practical engineering walkthroughs.
- 40:07You can actually use a family that solves together, stays
- 40:10together.