Video
Đăng bởi Ban biên tập OpenER ·
Tác giả giữ toàn bộ bản quyền (All Rights Reserved) — không phải giấy phép mở. Bạn vẫn xem và học miễn phí trên OpenER; muốn tái sử dụng cần xin phép tác giả.
PROFESSOR
Okay, welcome. Welcome to the second lecture of module 2 of EE16.
Được rồi, chào mừng các bạn. Chào mừng đến với bài giảng thứ hai của module 2 môn EE16.
I see we have fewer faces this time than last I optimistically attribute this to the midterm, which from initial feedback I understand went really well.
Tôi thấy lần này ít gương mặt hơn lần trước, tôi lạc quan cho rằng đó là do kỳ thi giữa kỳ, mà theo phản hồi ban đầu thì tôi biết là mọi chuyện diễn ra rất tốt.
So I'm sure Professor [INAUDIBLE] is extremely happy about that, and so I'm sure are you.
Tôi chắc Giáo sư [KHÔNG NGHE RÕ] cực kỳ vui về điều đó, và tôi chắc các bạn cũng vậy.
OK, so second module, lecture 2, we are talking about circuits.
Được rồi, module thứ hai, bài giảng 2, chúng ta nói về mạch điện.
Our big goal is to design a touchscreen, just like the one that some of you see I see actually perusing right now.
Mục tiêu lớn của chúng ta là thiết kế một màn hình cảm ứng, giống hệt cái mà một số bạn đang, tôi thấy đấy, lướt xem ngay lúc này.
But before we jump right back into this, today we are going to sort of a technique, or a language if you want, for analyzing circuits that we are going to use throughout whenever we deal with circuits.
Nhưng trước khi quay lại việc đó, hôm nay chúng ta sẽ học một kỹ thuật, hay một ngôn ngữ nếu muốn gọi vậy, để phân tích mạch, và chúng ta sẽ dùng nó xuyên suốt mỗi khi làm việc với mạch.
So this is really important.
Vì vậy điều này thực sự quan trọng.
You need to learn how to do that, and there are several ways to do that, so we make it hopefully easy for you so that you all can learn this language.
Các bạn cần học cách làm việc đó, và có nhiều cách để làm, nên chúng tôi cố làm cho dễ nhất có thể để tất cả các bạn học được ngôn ngữ này.
Obviously, in the lecture today, I will explain what's going on. There is also a handout on the web.
Dĩ nhiên, trong bài giảng hôm nay tôi sẽ giải thích chuyện gì đang diễn ra. Còn có một tài liệu phát tay trên web.
It's actually posted on last week's lecture, but it's called node voltage analysis, NVA. So the NVA notes or something like that on the website, so that's something you probably want to download.
Nó được đăng ở bài giảng tuần trước, tên là phân tích điện áp nút, NVA. Trên trang web là các ghi chú NVA hay đại loại vậy, nên các bạn nên tải về.
There is a completely worked out example there. And so that is probably going to be of help. Then we are also going to talk about this technique in the discussions.
Trong đó có một ví dụ được giải hoàn chỉnh. Cái đó chắc sẽ giúp ích cho các bạn. Chúng ta cũng sẽ nói về kỹ thuật này trong các buổi thảo luận.
And, of course, there's going to be plenty of homework problems.
Và dĩ nhiên sẽ có rất nhiều bài tập về nhà.
So, again, this is important because you need to understand this in order to be successful in the rest, do all the other interesting stuff, more interesting stuff.
Một lần nữa, điều này quan trọng vì các bạn cần hiểu nó để thành công ở phần còn lại, để làm những thứ thú vị khác, thú vị hơn.
So what is this? What do we want to do? Well, we have a circuit like this one. And we want to know all the node voltages.
Vậy đây là gì? Chúng ta muốn làm gì? Chúng ta có một mạch như thế này. Và muốn biết tất cả các điện áp nút.
We talked briefly about node voltages at the end of last lecture. Let me repeat that.
Chúng ta đã nói sơ qua về điện áp nút ở cuối bài giảng trước. Để tôi nhắc lại.
So we are not going to analyze here a circuit that is quite so complicated like the one in the handout. We use something a little bit simpler.
Ở đây chúng ta sẽ không phân tích một mạch phức tạp như mạch trong tài liệu phát tay. Chúng ta dùng một mạch đơn giản hơn một chút.
So we have a world source in our simple example circuit. The voltage source and then we have two resistors.
Mạch ví dụ đơn giản của chúng ta có một nguồn áp. Nguồn áp, và sau đó là hai điện trở.
So they have a value, let's say, for 1 and 2. So there's two resistors.
Giả sử giá trị của chúng là 1 và 2. Vậy là có hai điện trở.
So the goal of this method of this node voltage analysis missive is to figure it out all the voltages and all the currents in this circuit. Okay?
Mục tiêu của phương pháp phân tích điện áp nút này là tìm ra tất cả các điện áp và tất cả các dòng điện trong mạch này. Được chứ?
And the approach — so the overall approach, of course, is that we're going to use equations.
Còn cách tiếp cận, cách tiếp cận tổng thể dĩ nhiên là chúng ta sẽ dùng các phương trình.
No big surprise, right? And we have Kirchhoff's equations.
Không có gì bất ngờ, đúng không? Chúng ta có các phương trình Kirchhoff.
And we also have component equations, like Ohm's law.
Và cả các phương trình của linh kiện, như định luật Ohm.
And, of course, if we have more components, there may be other equations also like this type, those orders.
Dĩ nhiên, nếu có thêm linh kiện, có thể sẽ có thêm những phương trình khác thuộc loại này.
So that's basically our ingredients that we will do this analysis with.
Vậy đó là các nguyên liệu cơ bản để chúng ta thực hiện phân tích này.
Now, if you look at that, you will quickly find out that, wonderful, you can actually write down a very large number of equations.
Nếu nhìn vào đó, bạn sẽ nhanh chóng thấy rằng tuyệt, bạn có thể viết ra một số lượng rất lớn các phương trình.
And you will find if you do that, arbitrarily you will find that, first of all, you have more equations than you need. And, secondly, they are not too surprisingly linear dependent on each other.
Và nếu làm vậy một cách tùy ý, bạn sẽ thấy trước hết, bạn có nhiều phương trình hơn mức cần thiết. Thứ hai, chẳng ngạc nhiên, chúng phụ thuộc tuyến tính vào nhau.
We don't want that. So what we want is a technique that gives us just the right number of equations that we need to solve for a problem.
Chúng ta không muốn vậy. Điều chúng ta muốn là một kỹ thuật cho ta đúng số phương trình cần để giải một bài toán.
And, also, if we can help it, sort of the minimum or close to the minimum number of equations to solve a particular problem.
Và nếu được, cũng là số phương trình tối thiểu hoặc gần tối thiểu để giải một bài toán cụ thể.
So a technique that does this is called a node voltage analysis. So that's the technique.
Kỹ thuật làm được điều này gọi là phân tích điện áp nút. Vậy đó là kỹ thuật của chúng ta.
So I should say there are lots of ways to do that. And, in fact, the technique that we are using this semester is slightly different from the technique that was taught last semester.
Tôi nên nói là có rất nhiều cách để làm việc này. Thực tế, kỹ thuật chúng ta dùng trong học kỳ này hơi khác với kỹ thuật được dạy ở học kỳ trước.
But the result is the same.
Nhưng kết quả thì như nhau.
So the technique is called node voltage analysis, or for short, NVA.
Kỹ thuật này gọi là phân tích điện áp nút, gọi tắt là NVA.
Oh, did I change the size of something. Okay, well, yes. Okay, node voltage analysis.
Ồ, tôi vừa đổi kích thước cái gì đó à. Được rồi, vâng. Được rồi, phân tích điện áp nút.
Now, the name, it will make sense in just a moment, because the technique clearly gives us the node voltages.
Cái tên này sẽ hợp lý ngay sau đây, vì rõ ràng kỹ thuật này cho chúng ta các điện áp nút.
So the other thing I should say that's important is that this is sort of one of these mind numbing techniques. It's like a computer program.
Điều khác tôi nên nói, và nó quan trọng, là đây là một trong những kỹ thuật làm máy móc, không cần nghĩ nhiều. Nó giống như một chương trình máy tính.
In fact, there were seven or eight steps that you just have to go through. And not surprisingly, some people already wrote up this technique in a computer program.
Thực ra có bảy hoặc tám bước mà bạn chỉ việc làm lần lượt. Và không ngạc nhiên, một số người đã viết kỹ thuật này thành chương trình máy tính.
In fact, there's lot of computer programs that can do this. The most famous one is called SPICE. And you know where it has been invented?
Thực ra có rất nhiều chương trình máy tính làm được việc này. Chương trình nổi tiếng nhất gọi là SPICE. Các bạn biết nó được phát minh ở đâu không?
STUDENT
Berkeley PROFESSOR: Berkeley, right, in Cory Hall. Professor Peterson and some co-workers they invented that. And it really has been a boon for the industry, because it allows us to analyze very complicated circuits.
Berkeley GIẢNG VIÊN: Berkeley, đúng rồi, ở Cory Hall. Giáo sư Peterson và một số đồng nghiệp đã phát minh ra nó. Nó thực sự là một lợi ích lớn cho ngành công nghiệp, vì cho phép chúng ta phân tích những mạch rất phức tạp.
Without that, there wouldn't be any smart phones today.
Không có nó thì hôm nay sẽ không có điện thoại thông minh.
So it's a technique that we can sort of apply like a computer.
Vậy đây là kỹ thuật mà chúng ta có thể áp dụng như một cái máy tính.
So now again, we're going can analyze this particular circuit here as an example. And we are going to proceed in technique — in steps. So it's like a procedure.
Bây giờ, chúng ta sẽ phân tích mạch cụ thể này ở đây làm ví dụ. Và chúng ta sẽ tiến hành theo từng bước. Nó giống như một quy trình.
Or if you prefer, you can call it a program.
Hoặc nếu thích, bạn có thể gọi nó là một chương trình.
So there is a step 1.
Vậy có bước 1.
So if we want to know something about node voltages, what is the very first thing we need to do?
Nếu muốn biết điều gì đó về các điện áp nút, thì việc đầu tiên cần làm là gì?
Well, if I wanted to know the voltage at this particular node here in the circuit, would it have a value?
Nếu tôi muốn biết điện áp tại nút cụ thể này trong mạch này, nó có một giá trị không?
STUDENT
No.
Không.
PROFESSOR
Why not?
Tại sao không?
Okay, I think I read it off the lips of somebody already. So the reason is that there is no reference node. Without the reference node, it's like sort of asking how tall is Mt.
Ồ, tôi nghĩ tôi vừa đọc được khẩu hình của một bạn rồi. Lý do là vì không có nút tham chiếu. Không có nút tham chiếu thì cũng giống như hỏi núi Everest cao bao nhiêu.
Everest.
If you don't have any notion of sea level or any some other useful reference — well, we all use sea level for altitude — if you don't have a reference, it's moot to us how tall is it.
Nếu bạn không có khái niệm về mực nước biển hay một mốc tham chiếu hữu ích nào khác, mà ta đều dùng mực nước biển để đo độ cao, nếu không có mốc tham chiếu thì hỏi nó cao bao nhiêu là vô nghĩa.
How tall compared to what? Okay, compared to your reference. So the step one is choose reference.
Cao so với cái gì? Đúng rồi, so với mốc tham chiếu của bạn. Vậy bước một là chọn nút tham chiếu.
And we do that by drawing somewhere in our circuit this nice little inverted Christmas tree. This is our reference. We could have chosen another node. In this circuit there are actually how many nodes?
Ta làm điều đó bằng cách vẽ ở đâu đó trong mạch một cái cây thông Noel ngược nho nhỏ này. Đây là nút tham chiếu của ta. Ta có thể chọn một nút khác. Mạch này thực ra có bao nhiêu nút?
Well, there is one here that I just marked. There is the node between the two resister. And there is also the node at the top. Three nodes.
Có một nút ở đây mà tôi vừa đánh dấu. Có nút giữa hai điện trở. Và còn nút ở phía trên cùng. Ba nút.
I could have chosen any one of these three notes as reference. It doesn't matter. It's just afterwards we get node voltages with respect to that point.
Tôi có thể chọn bất kỳ nút nào trong ba nút này làm tham chiếu. Không quan trọng. Chỉ là sau đó ta thu được các điện áp nút so với điểm đó.
Like it's choosing sea level somewhere else.
Giống như chọn mực nước biển ở một chỗ khác.
So step 2, mark known node voltages.
Bước 2: đánh dấu các điện áp nút đã biết.
So which node voltages are known? Well, sort of obvious one is the reference. It's 0 volts, right, by definition. So we're not really going to have to mark that one.
Vậy điện áp nút nào đã biết? Rõ ràng nhất là nút tham chiếu. Nó là 0 volt, theo định nghĩa. Nên ta không cần đánh dấu nút đó.
But there is an other node voltage that would be very easy to say what the value is. Let's say that this voltage source the value is, let's say, 5 volts or something.
Nhưng còn một điện áp nút khác mà rất dễ nói giá trị của nó. Giả sử nguồn áp này có giá trị là 5 volt chẳng hạn.
Can you see one of the nodes where we see right away what the voltage would be?
Bạn có thấy nút nào mà ta biết ngay điện áp của nó là bao nhiêu không?
Well, the node that is connected to this voltage source — this one here — well, here, if we have 0 on the voltage source in between is 5 volts, then this node up here, Vs — I call it also Vs — is then also 5 volts.
Đó là nút nối với nguồn áp này, nút này đây. Nếu một đầu nguồn áp là 0 và giữa hai đầu là 5 volt thì nút phía trên này, Vs, tôi cũng gọi nó là Vs, cũng là 5 volt.
Not too surprising. Okay? Fine, so there is one more node. Do we know the voltage at the additional node here, at this node here?
Không có gì ngạc nhiên. Được chứ? Vậy còn một nút nữa. Ta có biết điện áp tại nút còn lại này không?
Do we know the node voltage at the red node? We don't know that. Okay, so we are done with step 2, and we can move onto step 3.
Ta có biết điện áp nút ở nút màu đỏ không? Ta không biết. Vậy là xong bước 2, ta chuyển sang bước 3.
Node voltages, unknown this time. Okay?
Các điện áp nút, lần này là ẩn số. Được chứ?
STUDENT
Can't read it.
Em không đọc được ạ.
PROFESSOR
Oh, thank you.
À, cảm ơn bạn.
Okay, so unknown voltages, well, we've already said that there's this one here. I call it Vn1 so that I remember.
Các điện áp chưa biết, ta đã nói là có nút này đây. Tôi gọi nó là Vn1 để nhớ.
And I also put it in red so I remember, hey, this is something that I don't know and I would like to find out. That's the whole point of this node voltage analysis.
Và tôi cũng viết màu đỏ để nhớ rằng đây là thứ tôi chưa biết và muốn tìm ra. Đó là toàn bộ mục đích của phân tích điện áp nút.
So incidentally, what does it mean this Vn1 here?
Nhân tiện, Vn1 ở đây nghĩa là gì?
Well, what it really means is that the voltage between this node and the reference, this one here, this voltage here is Vn1. That's the meaning of node voltage.
Nó thực sự có nghĩa là điện áp giữa nút này và nút tham chiếu, ở đây, điện áp này chính là Vn1. Đó là ý nghĩa của điện áp nút.
So node voltage basically is a shorthand that we don't have to indicate where the plus and minus is.
Vậy điện áp nút về cơ bản là cách viết tắt để ta khỏi phải chỉ rõ cực dương và cực âm ở đâu.
The plus is always at the node that has the particular node voltage, Vn1 in this case. And the minus is always where reference is, the inverted Christmas tree.
Cực dương luôn ở nút có điện áp nút đó, ở đây là Vn1. Và cực âm luôn ở chỗ nút tham chiếu, cái cây thông Noel ngược.
So this was easy. So now we finally — you see that these steps are really meant for computer.
Cái này dễ. Giờ thì ta, bạn thấy các bước này thực ra dành cho máy tính.
Step 4, KCL. Anybody remembers what KCL stands for?
Bước 4, KCL. Có ai nhớ KCL viết tắt của gì không?
STUDENT
Kirchhoffs Current Law.
Định luật Kirchhoff về dòng điện.
PROFESSOR
Kirchhoffs Current Law. So we're now going to write Kirchhoffs current law for all unknown.
Định luật Kirchhoff về dòng điện. Giờ ta sẽ viết định luật Kirchhoff về dòng điện cho tất cả các ẩn số.
For all the unknowns. So obviously, we need to have an equation for all the unknowns. So that kind of automatically does this for — ooh, actually, you know what?
Cho tất cả các ẩn số. Rõ ràng ta cần có một phương trình cho mỗi ẩn số. Nên cái đó gần như tự động làm cho... ồ, thật ra, bạn biết không?
This is going to be step 5. I went ahead of myself. So step 4 — sorry about that — it's more tedious.
Đây sẽ là bước 5. Tôi đi nhanh hơn mất rồi. Vậy bước 4, xin lỗi nhé, nó tẻ nhạt hơn.
So step 4 is mark element voltages and currents.
Bước 4 là đánh dấu điện áp và dòng điện của các phần tử.
For all the elements, we will mark the voltages and currents. So, for example, we have resistor R1. We have to mark the voltage in the current. So which direction does the current go in?
Với tất cả các phần tử, ta sẽ đánh dấu điện áp và dòng điện. Ví dụ, ta có điện trở R1. Ta phải đánh dấu điện áp và dòng điện. Vậy dòng điện chạy theo hướng nào?
Does it go down? Who is for the current should go down?
Nó chạy xuống à? Ai cho rằng dòng điện chạy xuống?
Who is for the current to go up? And who says it does not matter? Okay, I agree. It doesn't matter.
Ai cho rằng dòng điện chạy lên? Và ai nói là không quan trọng? Được, tôi đồng ý. Không quan trọng.
You can pick. So should we pick current up, current down?
Bạn có thể chọn. Vậy ta chọn dòng đi lên hay đi xuống?
STUDENT
Down.
Xuống ạ.
PROFESSOR
Down, okay, make it down. We make that the current goes down. So that's IR1. And we pick it that it goes down.
Xuống, được, chọn xuống. Ta cho dòng điện chạy xuống. Đó là IR1. Và ta chọn nó chạy xuống.
We could have picked it to go up. And we go through the entire procedure. And we got exactly the same results.
Ta cũng có thể chọn nó chạy lên. Rồi ta đi qua toàn bộ quy trình. Và ta sẽ nhận được đúng cùng kết quả.
So, now, the voltage across R1, there, we are using this thing that's called passive sign convention. What is passive sign convention?
Còn điện áp trên R1, ở đây, ta dùng cái gọi là quy ước dấu thụ động. Quy ước dấu thụ động là gì?
Well, passive sign convention simply says that the voltage direction is the same as the current direction. So the plus has to be here, and the minus has to be here.
Quy ước dấu thụ động đơn giản nói rằng chiều điện áp cùng chiều với chiều dòng điện. Nên cực dương phải ở đây, và cực âm phải ở đây.
And so this is VR1. So once you pick one of either the current or the voltage, that's it, no more choices.
Và đây là VR1. Vậy một khi em đã chọn dòng điện hoặc điện áp, thì thế là xong, không còn lựa chọn nào nữa.
The other thing that's important — and you can see I taught circuits for a few times already — the other time, it should be obvious, right?
Một điều quan trọng khác — và các em thấy là tôi đã dạy môn mạch vài lần rồi — điều còn lại này thì hiển nhiên thôi, đúng không?
Once you've made your choice, you can't change it anymore. I mean, you can if you start again at the beginning.
Đã chọn rồi thì không được đổi nữa. Ý tôi là, đổi được nếu làm lại từ đầu.
But once you've made a choice, in the middle of the calculation, then you go and change the direction of your arrows, you'll get all the garbage results, obviously.
Nhưng nếu em đã chọn rồi, giữa chừng của phép tính mà lại đổi chiều các mũi tên, thì em sẽ ra toàn kết quả vô nghĩa, đương nhiên rồi.
So we also need to mark the element voltages for R2.
Giờ ta cũng cần đánh dấu điện áp của phần tử R2.
Do you want to cut it to go up or down?
Các em muốn cho nó hướng lên hay xuống?
I haven't quite heard. But let's pick this one that it goes up, just for the heck of it.
Tôi chưa nghe rõ. Thôi ta chọn hướng lên đi, chọn đại thôi.
You can pick the opposite, and in the end, we compare — oop, I made a mistake. The voltage needs to go in the same direction. So this is now a big fat minus.
Em có thể chọn ngược lại, và cuối cùng ta so sánh — ối, tôi nhầm rồi. Điện áp phải cùng chiều. Vậy chỗ này là dấu trừ to đùng.
So this is VR2. This is a minus.
Đây là VR2. Đây là dấu trừ.
All right, now we are at step 5. Well, we already wrote down what step 5 is. KCL equation for all nodes with unknown node voltages. So fortunately, I marked those in red.
Được rồi, giờ ta đến bước 5. Ta đã viết bước 5 là gì rồi. Viết phương trình KCL cho mọi nút có điện áp nút chưa biết. May là tôi đã đánh dấu các nút đó bằng màu đỏ.
And fortunately also, there is just one of them. So we have only one KCL equation to write. Well, what is KCL?
Và cũng may là chỉ có một nút như vậy. Nên ta chỉ phải viết một phương trình KCL. KCL là gì nhỉ?
KCL simply says the sum of all parents leaving the node is equal to the sum of all currents entering the node.
KCL nói rằng tổng các dòng điện đi ra khỏi nút bằng tổng các dòng điện đi vào nút.
So now, there seem to be two currents coming out of this node, IR1 and IR2. And they're both leaving.
Ở đây có hai dòng điện đi ra khỏi nút này, IR1 và IR2. Và cả hai đều đi ra.
So the sum of these two currents — IR1 plus IR2 equals 0.
Vậy tổng của hai dòng này — IR1 cộng IR2 bằng 0.
All right, so then, I think in the notes this is step 6.
Được rồi, trong tài liệu thì tôi nghĩ đây là bước 6.
Whatever. So now, we are going to — is there a question about this? Anybody unsure?
Kệ đi. Giờ ta sẽ — có ai thắc mắc chỗ này không? Có ai chưa chắc không?
Both of these currents, because we have declared IR1 going down — so it goes out of node VN1 — and IR2 going up, it also goes out of node VN1.
Cả hai dòng điện này, vì ta đã chọn IR1 đi xuống — nên nó đi ra khỏi nút VN1 — và IR2 đi lên, nó cũng đi ra khỏi nút VN1.
We have to add all these currents that are leaving the node together. And their sum must be equal to all the currents entering the node. Well, there is no current coming into the node.
Ta phải cộng tất cả các dòng điện đi ra khỏi nút lại với nhau. Và tổng đó phải bằng tổng các dòng điện đi vào nút. Mà không có dòng điện nào đi vào nút.
Consequently, the sum must be 0. So that's what we wrote here? Okay? Agree?
Do đó tổng phải bằng 0. Đó là điều ta đã viết ở đây, đúng không? Được chứ? Đồng ý chứ?
So now, we are going to step 6.
Giờ ta sang bước 6.
Step 6, now we are going to write component equations.
Bước 6, giờ ta viết các phương trình linh kiện.
We're going to write component equations for all the components that are connected to our different — or in this case, just one unknown node voltages.
Ta sẽ viết phương trình linh kiện cho tất cả các linh kiện nối với các điện áp nút chưa biết — hay trong trường hợp này chỉ có một điện áp nút chưa biết.
So these R1 and R2 in this case.
Tức là R1 và R2 trong trường hợp này.
So we're going to write the IR1 equals — well, that's just Ohm's law now — VR1 over R1.
Ta sẽ viết IR1 bằng — đó chính là định luật Ohm — VR1 chia R1.
And likewise, IR2, VR2 over R2.
Tương tự, IR2 bằng VR2 chia R2.
And so incidentally, just a quick remark here, here, it's important that we use passive sign convention. Because if you don't use passive sign convention, these equations can change.
Nhân tiện, một nhận xét nhanh ở đây: điều quan trọng là ta dùng quy ước dấu thụ động. Vì nếu không dùng quy ước dấu thụ động, các phương trình này có thể thay đổi.
In particular, if you did that for resistor, then suddenly Ohm's Law would be IR equals minus VR over R. So just take with passive sign convention.
Cụ thể, nếu làm vậy với điện trở, thì đột nhiên định luật Ohm thành IR bằng trừ VR chia R. Nên cứ dùng quy ước dấu thụ động.
Then you don't need to worry about this stuff.
Thì em không phải lo chuyện này.
So now we are going to replace the element voltages, VR1 and VR2.
Giờ ta sẽ thay các điện áp phần tử, VR1 và VR2, bằng các điện áp nút.
We are going to replace those with node voltages. Why do we do that? Well, the node voltages are unknown. We are going to solve for those.
Tại sao lại làm vậy? Vì các điện áp nút là ẩn số. Ta sẽ giải để tìm chúng.
But VR1 and VR2 are just yet other things. And we don't want to have them show up in our equation. So replace component voltages.
Còn VR1 và VR2 chỉ là những đại lượng khác. Và ta không muốn chúng xuất hiện trong phương trình.
So in, for example, VR1 and VR2 with node voltages.
Vậy ta thay các điện áp linh kiện, ví dụ VR1 và VR2, bằng điện áp nút.
So VN1 and there could be, of course, other ones. In this particular case, there are not.
Tức là VN1, và dĩ nhiên có thể còn các nút khác. Trong trường hợp cụ thể này thì không có.
So how would we represent VR1 with node voltages?
Vậy biểu diễn VR1 bằng điện áp nút thế nào?
Well, where is VR1, well, VR1 — let me use a different color — VR1, that's this branch here.
VR1 nằm ở đâu? VR1 — để tôi dùng màu khác — VR1 là nhánh này đây.
So it is connected between node VN1 — that's at the plus terminal — and 0. So VR1 is actually equal to VN1 — the one at the plus — minus 0.
Nó nối giữa nút VN1 — ở cực dương — và 0. Vậy VR1 thực ra bằng VN1 — nút ở cực dương — trừ 0.
Or that, of course, is just VN1. And exactly the same, we can also do for VR2. That is equal — where the plus sign? The plus, well, that is connected to VN1.
Tức là chính là VN1. Và ta cũng làm y hệt cho VR2. Nó bằng — dấu cộng ở đâu? Cực dương nối với VN1.
So it's VN1 also minus — well, what's the other side here? Well, that's the node voltage VS.
Vậy là VN1 cũng trừ — phía bên kia ở đây là gì? Đó là điện áp nút VS.
STUDENT
Can't read it.
Em không đọc được ạ.
PROFESSOR
Thank you. Okay, so we have the two component voltages expressed in terms of node voltages now.
Cảm ơn em. Vậy là ta đã biểu diễn hai điện áp linh kiện theo các điện áp nút.
So then we substitute — now I'm going to move down a little bit again. What do we substitute in? Well, we substitute into our component current equations. So I move this up again.
Rồi ta thế vào — giờ tôi kéo xuống một chút nữa. Ta thế vào đâu? Ta thế vào các phương trình dòng điện linh kiện. Tôi kéo nó lên lại.
But I'm going to rewrite. IR1, one I copied from above. That was VR1 over R1. I just copy so that you can see the whole thing.
Nhưng tôi sẽ viết lại. IR1, tôi chép từ phía trên xuống. Đó là VR1 chia R1. Tôi chép lại để các em thấy toàn bộ.
And so VR1 is now VN1 — minus 0, we're not going to write — R1. And then the exactly same story for IR2.
Và VR1 giờ là VN1 — trừ 0, ta không viết — R1. Rồi IR2 cũng y hệt như vậy.
It's equal to VN1 minus VS over R2.
Nó bằng VN1 trừ VS chia R2.
Fine, so next step, step number 7, I guess.
Được, bước tiếp theo, bước số 7, tôi nghĩ vậy.
Step number 7, so now, we have expressions for IR, for the currents as a function of node voltages or unknowns, and also where VS happens to be something we know, the node component values.
Bước 7: bây giờ ta đã có biểu thức của IR, tức các dòng điện theo điện áp nút, là các ẩn số, và VS thì là đại lượng ta đã biết, cùng với giá trị các linh kiện.
And so we have our KCL equation from step 5, just one in this particular simple example. So now we are going to substitute into the KCL equation.
Ta cũng có phương trình KCL từ bước 5, chỉ có một phương trình trong ví dụ đơn giản này. Giờ ta sẽ thế vào phương trình KCL.
I'm going to write it again down, so that you can see everything.
Tôi sẽ viết lại ra đây để các em thấy rõ mọi thứ.
So we have step — what was it? Step 6 we were at. So this is going to be step 7.
Vậy ta đang ở bước — nãy giờ là bước mấy nhỉ? Bước 6. Vậy đây sẽ là bước 7.
So substitute step 6 into step 5.
Thế bước 6 vào bước 5.
So step 5, again, if you look up in your notes was IR1 plus IR2 equal to 0.
Bước 5, các em xem lại vở ghi, là IR1 cộng IR2 bằng 0.
And so now we have these expressions up here for IR1 and IR2. And we're simply going to substitute those. So, again, I told you this is mind numbingly trivial.
Và giờ ta có các biểu thức ở trên này cho IR1 và IR2. Ta chỉ cần thế chúng vào. Như tôi đã nói, việc này đơn giản đến mức không cần nghĩ.
It's just work. But that's a good thing. Even in an exam, you're a little bit anxious or so, you can't do this. Or late at night, you can do this.
Chỉ là làm thôi. Nhưng đó là điều tốt. Dù trong kỳ thi các em hơi lo lắng, các em vẫn làm được. Hay thức khuya, các em vẫn làm được.
So IR1 is VN1 over R1 plus IR2 is VN1 minus VS over R2 equals 0.
Vậy IR1 là VN1 trên R1, cộng IR2 là VN1 trừ VS trên R2, bằng 0.
So in this particular case, we only got one equation, because we have only one unknown node voltages in the simple circuit.
Trong trường hợp này ta chỉ có một phương trình, vì chỉ có một điện áp nút chưa biết trong mạch đơn giản này.
Again, in the example and in the homework there's going to be more complicated circuits with more unknowns.
Trong ví dụ sau và trong bài tập về nhà sẽ có những mạch phức tạp hơn, với nhiều ẩn số hơn.
So actually we can see now the only unknown thing in this equation is VN1.
Giờ ta thấy ẩn số duy nhất trong phương trình này là VN1.
So, of course, we can solve for that with any one of your techniques. And, in fact, so step 8 is solve.
Tất nhiên ta có thể giải nó bằng bất kỳ cách nào các em biết. Và bước 8 là giải.
So multiply, for example, both sides with R1 and R2. And then solve for VN1.
Ví dụ, nhân cả hai vế với R1 và R2. Rồi giải ra VN1.
I do this — I'm not going to make a stupid algebra mistake in front of you.
Tôi làm thế này — tôi không muốn mắc lỗi đại số ngớ ngẩn trước mặt các em.
VN1 is equal to VS times R1 over R2, R1 plus R2.
VN1 bằng VS nhân R2 trên R1 cộng R2.
So this happens to be the result for this particular example if you solve this. I'll let you. I'll let you do this on your time.
Đây là kết quả cho ví dụ này nếu các em giải ra. Tôi để các em tự làm lúc rảnh.
So this is the grand result. And, again, if we had a more complicated circuit, of course, it would be VN2 and VN3 and so on also.
Đây là kết quả quan trọng. Và nếu mạch phức tạp hơn thì tất nhiên sẽ có thêm VN2, VN3 và cứ thế.
So kind of we were lucky with the example that we picked, because this example, it's not only a good example for node voltage analysis, but actually this result turns out to be very useful.
Ta khá may mắn với ví dụ đã chọn, vì ví dụ này không chỉ tốt cho phân tích điện áp nút, mà kết quả này còn rất hữu ích.
It's so useful that this actually is called voltage divider.
Hữu ích đến mức nó được gọi là mạch chia áp.
So the circuit, the circuit that we have here, happens to be called voltage divider. Well, why is it called voltage divider?
Vậy mạch mà ta có ở đây được gọi là mạch chia áp. Tại sao gọi là mạch chia áp?
Well, if you look at it, we have a source, VS. And then we have a term that is always less than 1, or at most 1.
Nhìn vào, ta có một nguồn, VS. Và một hệ số luôn nhỏ hơn 1, hoặc tối đa bằng 1.
But generally, it's less than 1, unless R2 is 0. And note the resulting node voltage is the product of the two. So how could this be useful?
Nhưng thường là nhỏ hơn 1, trừ khi R2 bằng 0. Lưu ý điện áp nút thu được là tích của hai đại lượng đó. Vậy nó hữu ích thế nào?
Well, suppose you had a battery. And your battery has 5 volts. Easy number, okay.
Giả sử các em có một cục pin. Pin có 5 volt. Số dễ nhớ nhé.
But in your circuit for some reason, you actually need 3 volts. What you would you do? Well, you could use your battery here. It's 5 volts.
Nhưng vì lý do nào đó mạch của các em lại cần 3 volt. Các em sẽ làm gì? Ta có thể dùng pin ở đây. Nó là 5 volt.
And then you use two resistors. And you choose the value of these resistors such that the voltage in the middle at VN1 is just equal to 3 volts.
Rồi dùng hai điện trở. Và chọn giá trị các điện trở này sao cho điện áp ở giữa, tại VN1, đúng bằng 3 volt.
So all you need to do is choose appropriate values for R1 and R2. And you can generate any voltage you want as long — what the condition?
Chỉ cần chọn giá trị phù hợp cho R1 và R2. Ta có thể tạo ra điện áp bất kỳ miễn là — điều kiện là gì?
It's got to be smaller than VS. This circuit, you cannot use it to jack up the voltage. You can make it smaller, anything that's smaller. And also it has to remain positive.
Phải nhỏ hơn VS. Mạch này không dùng để tăng điện áp lên được. Chỉ làm nhỏ đi được, bất kỳ giá trị nào nhỏ hơn. Và nó phải vẫn dương.
You cannot flip the sign. You have to flip the wires for that. So this is a voltage divider, and we are going to use this circuit liberally.
Không thể đổi dấu. Muốn đổi dấu thì phải đảo dây. Vậy đây là mạch chia áp, và ta sẽ dùng mạch này rất nhiều.
In fact, you know, somehow the voltage here depends on the value of these resistors.
Thực ra, điện áp ở đây phụ thuộc vào giá trị các điện trở này.
So if somebody said that maybe we could build a resistive touch sensor.
Nên nếu ai đó nói rằng ta có thể chế tạo cảm biến cảm ứng điện trở.
So maybe if we somehow could mock around in a way that when we touch these resistors somehow change, then we could use the voltage that they produce as an indication of where we touched our screen.
Có thể nếu ta mày mò sao cho khi chạm vào, các điện trở này thay đổi, thì ta có thể dùng điện áp mà chúng tạo ra để biết ta chạm vào đâu trên màn hình.
I mean it sounds a bit nebulous right now. but let's not discount this idea completely. So let's see if there is something we can do about this.
Nghe có vẻ hơi mơ hồ lúc này, nhưng đừng vội bỏ ý tưởng này. Hãy xem ta có làm được gì không.
So in order to do that, so let's look at resistors.
Để làm vậy, hãy xem xét điện trở.
What is actually resistor?
Điện trở thực sự là gì?
So resistor is a little bit like a wire, except that it's made out of something that conducts some current, but not perfectly.
Điện trở hơi giống một sợi dây, nhưng được làm từ vật liệu dẫn điện nhưng không hoàn hảo.
So let's say we make resistor out of a sheet of material. And I try to draw this here in perspective. So hopefully this is going to turn out.
Giả sử ta làm điện trở từ một tấm vật liệu. Tôi sẽ cố vẽ nó theo phối cảnh. Hy vọng sẽ ra hình.
So this our resistor. So this is some material. For example, it could be copper or something else. So it's going to have a length.
Đây là điện trở của ta. Đây là một vật liệu nào đó. Ví dụ có thể là đồng hoặc thứ khác. Nó có chiều dài.
It's going to have a length, L. It's going to have a width, W. And it also has a thickness, T. This is our resistor.
Chiều dài L, chiều rộng W. Và còn có độ dày T. Đây là điện trở của ta.
So how are we going to use it? Well, we are going to attach two wires, one here and the other one here. And this is our resistor.
Vậy ta dùng nó thế nào? Ta sẽ gắn hai dây, một dây ở đây và dây kia ở đây. Và đây là điện trở của chúng ta.
So really what we want between the red thing, this thing should act like a resistor.
Vậy thực ra điều chúng ta muốn giữa vật màu đỏ này, là vật này phải hoạt động như một điện trở.
So the blue is the physical thing, that's this chunk of material, this sort of rectangle of material.
Màu xanh là vật thể thực tế, tức là khối vật liệu này, một hình chữ nhật vật liệu.
And on the right side in red, we have the circuit symbol for that thing. So now, the question is, what is the value of the resistance?
Còn bên phải, màu đỏ, là ký hiệu mạch của vật đó. Câu hỏi bây giờ là: giá trị của điện trở là bao nhiêu?
I'll give you a trick. I never can remember these equations. So I think, how it should work.
Thầy chỉ cho các em một mẹo. Thầy không bao giờ nhớ nổi các công thức này. Nên thầy nghĩ xem nó phải hoạt động thế nào.
Well, if I make the length of this blue box longer, the current has to flow now through a longer piece of material that is resistive.
Nếu thầy làm chiều dài của khối xanh này dài hơn, thì dòng điện phải chạy qua một đoạn vật liệu dài hơn mà vật liệu đó có điện trở.
So do you think the resistance goes up? Or do you think the resistance goes down? Who is for up? It goes up, right.
Vậy các em nghĩ điện trở tăng lên? Hay điện trở giảm xuống? Ai chọn tăng? Nó tăng, đúng rồi.
So L. And then if I make the width of this box, I make it wider, will the resistance go up or will it go down?
Vậy là L. Còn nếu thầy làm chiều rộng của khối này rộng hơn, thì điện trở sẽ tăng hay sẽ giảm?
STUDENT
Down.
Giảm.
PROFESSOR
It will go down. So it must be dividing by W. And the same thing, of course, if we make it thicker, it also goes down. You could think about it like a highway.
Nó sẽ giảm. Nên phải chia cho W. Tương tự, nếu làm nó dày hơn thì điện trở cũng giảm. Các em có thể hình dung như đường cao tốc.
If it's more lanes, probably you get through faster. Longer, well, it takes you more time, whatever. And then there is a proportionality factor. And this is called rho.
Nhiều làn hơn thì có lẽ đi nhanh hơn. Còn dài hơn thì mất nhiều thời gian hơn, đại loại vậy. Và có một hệ số tỉ lệ. Nó được gọi là rho.
Actually, it's called resitivity. The symbol is rho.
Thực ra nó gọi là điện trở suất. Ký hiệu là rho.
And the units, if you just add it, you can figure it out easily, is ohms times meter, units. But that's the unit. So then I downloaded this from the web.
Còn đơn vị, nếu các em chỉ cần tính ra, dễ dàng suy ra được là ohm nhân mét. Đó là đơn vị. Rồi thầy tải bảng này từ trên mạng.
So this is not something you need to copy. In fact, you, Google and you find much longer tables. So but anyways, this is a table that lists a few materials.
Các em không cần chép lại. Thực tế, các em tìm trên Google sẽ thấy những bảng dài hơn nhiều. Dù sao đây là bảng liệt kê vài vật liệu.
And then it lists the resitivity of them. At the top here, we have copper. We all know copper.
Và điện trở suất của chúng. Trên cùng là đồng. Ai cũng biết đồng.
The resistivity is very small. That means that it's a very good conductor.
Điện trở suất rất nhỏ. Nghĩa là nó dẫn điện rất tốt.
And I guess we shouldn't be surprised because what are the wires that carry all the current through our lights and what not made out of? Well, they're probably made out of copper.
Và chắc chúng ta không ngạc nhiên vì những dây dẫn mang toàn bộ dòng điện cho đèn của chúng ta và các thứ khác được làm bằng gì? Chắc là làm bằng đồng.
Aluminum is a pretty good conductor also. And actually in all the houses, the wiring is actually out of aluminum. Today, it's no longer allowed. But anyways, it's still a pretty good conductor.
Nhôm cũng dẫn điện khá tốt. Và thực ra trong các ngôi nhà, dây điện từng làm bằng nhôm. Ngày nay thì không còn được phép nữa. Nhưng dù sao nó vẫn dẫn điện khá tốt.
But already it's sort of a knock down. Graphite, well, that's a fancy word for carbon, carbon dust. Your basic coal, right. And, you know, it's a conductor.
Nhưng đã kém đi một chút. Graphite, đó là từ hoa mỹ để chỉ carbon, bột carbon. Than thông thường đấy. Và nó cũng là chất dẫn điện.
But you can see it's like two orders of magnitude or so poorer conductor. So if we want to make a wire, let's use copper.
Nhưng các em thấy nó kém hơn khoảng hai bậc độ lớn. Nếu muốn làm dây dẫn, ta dùng đồng.
If you want to make resistors, well, then graphite or again carbon dust is not a bad choice.
Còn nếu muốn làm điện trở, thì graphite, hay bột carbon, là lựa chọn không tệ.
And, in fact, many of these resistors like I shown last time that you can buy, they're actually made out of carbon dust, something like that, some type of mixture.
Và thực tế, nhiều điện trở như thầy đã cho xem lần trước mà các em có thể mua, được làm từ bột carbon hoặc tương tự, một dạng hỗn hợp nào đó.
Silicon, well, you know that our chips, our integrated circuits, the stuff that powers the computer, that powers your smart phone and so on, they are made out of silicon.
Silicon, các em biết các con chip, mạch tích hợp của ta, thứ vận hành máy tính, vận hành điện thoại thông minh của các em, đều làm từ silicon.
Silicon is a little bit a special case here. I don't like it too much that it's on this table, because silicon is a semiconductor.
Silicon ở đây là một trường hợp hơi đặc biệt. Thầy không thích lắm việc nó có trong bảng này, vì silicon là chất bán dẫn.
And we are not going to talk about any details about semiconductors.
Và chúng ta sẽ không đi vào chi tiết nào về chất bán dẫn.
But just one thing that is so terrific about semiconductors is you can vary the conductivity or the resitivity you can vary that over orders of magnitude.
Nhưng có một điều tuyệt vời ở chất bán dẫn là có thể thay đổi độ dẫn điện hay điện trở suất qua nhiều bậc độ lớn.
In fact, by making the silicon a little bit dirty, you can make it that it's pretty much an insulator or it's actually a pretty good conductor.
Thực tế, bằng cách làm silicon hơi "bẩn" một chút, ta có thể biến nó thành gần như chất cách điện hoặc thành chất dẫn điện khá tốt.
And so transistors and so on, they use that stuff. But you're not going to get into that. And then there is quartz. Quartz, that's actually silicon dioxide glass.
Và transistor các thứ đều dùng điều đó. Nhưng các em sẽ không học sâu về nó. Và còn có thạch anh. Thạch anh thực ra là thủy tinh silicon dioxide.
You probably know this as glass. Well, that's a pretty lousy conductor. In fact, pretty much it's not a conductor. You don't get current flowing through glass.
Các em chắc biết nó là thủy tinh. Đó là chất dẫn điện rất tệ. Thực tế, gần như nó không dẫn điện. Dòng điện không chạy qua thủy tinh.
So the important thing to carry away from this table is that there are lots of materials. There are much longer tables. And you get the resitivity for anything you want.
Vậy điều quan trọng cần rút ra từ bảng này là có rất nhiều vật liệu. Có những bảng dài hơn nhiều. Và các em tra được điện trở suất của bất kỳ thứ gì.
And if you want to change the value of a resistor, you can choose either a different material that has the different resitivity or you can change dimensions. Make it longer or make it wider.
Và nếu muốn đổi giá trị của điện trở, các em có thể chọn một vật liệu khác có điện trở suất khác hoặc thay đổi kích thước. Làm nó dài hơn hoặc rộng hơn.
So that's about resistors.
Vậy là xong phần về điện trở.
So we're now getting back to a touch screen.
Giờ ta quay lại với màn hình cảm ứng.
So what is it that we want to do?
Vậy ta muốn làm gì?
If this is your smartphone or whatever gadget that has a touch screen, well, what we really want is that we sort of think of the touch screen to be divided up into regions that, for example, we could call pixels.
Nếu đây là điện thoại thông minh hay thiết bị nào đó có màn hình cảm ứng, thì điều ta thực sự muốn là hình dung màn hình cảm ứng được chia thành các vùng, ví dụ như ta có thể gọi là các pixel.
And what we want is that our touch screen tells us, well, this is the point where it has been touched. That's probably obvious to all of you. So that's what we want to do.
Và ta muốn màn hình cảm ứng cho ta biết, đây là điểm đã bị chạm vào. Chắc điều đó quá rõ với các em. Đó là điều ta muốn làm.
We want to know how high up and how far left or right. So now, could we make this out of a resistor?
Ta muốn biết nó cao bao nhiêu và lệch trái hay phải bao nhiêu. Vậy liệu ta có thể làm nó từ một điện trở không?
So actually I have a little bit space left on the right side. So let me try to make this out of a resistor.
Thực ra bên phải thầy còn chút chỗ trống. Để thầy thử làm nó từ một điện trở.
We're going to use — no, I'm not going to — nevertheless I'm going to make this more space. So I make this.
Ta sẽ dùng — không, thầy sẽ không — dù sao thì thầy sẽ tạo thêm chỗ trống. Thầy vẽ thế này.
This is a resistor. But now this is top view here. Here, that's sort of a perspective view of our resistor. Now, here we are looking simply at the top of our resistor.
Đây là một điện trở. Nhưng bây giờ đây là hình nhìn từ trên xuống. Còn hình ở đây là một kiểu phối cảnh của điện trở. Bây giờ ta chỉ nhìn vào mặt trên của điện trở.
It has a width, W. And it has a height, L.
Nó có chiều rộng W và chiều cao L.
And so, of course, we could figure out if we also know the thickness, which is into the page, we could figure out the resistance. We need to know also what material it is.
Và tất nhiên, ta có thể tính được nếu biết thêm độ dày, tức là chiều đi vào trong trang giấy, thì ta tính được điện trở. Ta cũng cần biết nó làm bằng vật liệu gì.
But let's not worry about that. So then at the top and at the bottom, we're going to make contact, basic piece of copper or something else that conducts well.
Nhưng ta không lo chuyện đó. Rồi ở trên cùng và dưới cùng, ta làm tiếp điểm, một miếng đồng đơn giản hoặc vật liệu khác dẫn điện tốt.
So we can attach to this. So this whole thing now is really going to act like resistor.
Để ta có thể nối vào đó. Như vậy toàn bộ khối này thực sự hoạt động như một điện trở.
So then we can make a circuit out of it. We can, between this node and this node, we can attach a voltage source.
Rồi ta có thể dựng một mạch từ nó. Giữa nút này và nút này, ta có thể nối một nguồn áp.
And we going to get current flowing. And if you want to know how much current, well, you can use Ohm's law, VS over R tells you what the current is.
Và sẽ có dòng điện chạy qua. Nếu muốn biết dòng điện bao nhiêu thì dùng định luật Ohm, VS chia R cho ta dòng điện.
But that's not what we're after now. What we're after is that — let's also define this node as ground.
Nhưng đó không phải điều ta cần bây giờ. Điều ta cần là... hãy định nghĩa nút này là đất (ground).
So it also means that this node here would ground then. So that's our reference. So now that we have a reference, we can ask anywhere in our circuit, what is the voltage?
Nghĩa là nút ở đây cũng là ground. Đó là điểm tham chiếu của ta. Giờ đã có điểm tham chiếu, ta có thể hỏi điện áp ở bất kỳ chỗ nào trong mạch là bao nhiêu?
So I would like to know first what is the voltage here, where my red dot is.
Trước hết tôi muốn biết điện áp ở đây là bao nhiêu, chỗ chấm đỏ của tôi.
Well, we are just connected to the reference through this piece of green that we said that is going to be well conducting. It's probably copper or something.
Ta nối thẳng với điểm tham chiếu qua miếng màu xanh này, mà ta đã nói là dẫn điện tốt. Chắc là đồng hay gì đó.
So that's like a wire. That means there is no resistance. So the voltage here is actually 0 volts. What about here?
Nên nó giống như một sợi dây. Nghĩa là không có điện trở. Vậy điện áp ở đây thực ra là 0 volt. Còn ở đây thì sao?
Let's say VS is again very innovative, another 5 volts. What is the voltage up here?
Giả sử VS lại rất sáng tạo, vẫn là 5 volt. Điện áp ở trên này là bao nhiêu?
So again, the VS is — the source is actually connected here also. So this is VS plus minus.
Vẫn vậy, VS... nguồn cũng được nối vào chỗ này. Đây là VS, cực dương và cực âm.
So what is the voltage here at the top? Well, we are just at the top side of our voltage source. We said it's 5 volts. So that means that here is 5 volts.
Vậy điện áp ở đỉnh này là bao nhiêu? Ta đang ở cực trên của nguồn áp. Ta đã nói là 5 volt. Nên ở đây là 5 volt.
And that the green stuff again, that's a good conductor. So here we also have 5 volts.
Và phần màu xanh lại là chất dẫn điện tốt. Nên ở đây cũng là 5 volt.
This is not a touchscreen yet. But, well, maybe, maybe.
Đây chưa phải là màn hình cảm ứng. Nhưng mà, biết đâu, biết đâu đấy.
Look, what is the voltage if we, let's say, somehow we stuck a wire in this other — let me make it a little star or a cross.
Xem này, điện áp sẽ là bao nhiêu nếu, giả sử, ta cắm một sợi dây vào chỗ khác này... để tôi vẽ một ngôi sao nhỏ hoặc dấu chéo.
What's the node voltage at that cross?
Điện áp nút tại dấu chéo đó là bao nhiêu?
It's probably going to be somewhere in between. It's not going to be 0 volts. And it's probably not going to be 5 volts, but somewhere in between. Let's figure out what it would be.
Chắc là nằm đâu đó ở giữa. Nó sẽ không phải 0 volt. Và có lẽ cũng không phải 5 volt, mà là đâu đó ở giữa. Hãy tìm xem nó là bao nhiêu.
Any ideas on how we could that?
Ai có ý tưởng làm sao không?
Yes.
Mời bạn.
STUDENT
[INAUDIBLE] the distance from the zero to that [INAUDIBLE]..
[KHÔNG NGHE RÕ] khoảng cách từ số không đến điểm đó [KHÔNG NGHE RÕ].
PROFESSOR
Yes.
Vâng.
STUDENT
So you can use that ratio times the [INAUDIBLE]..
Vậy có thể dùng tỉ lệ đó nhân với [KHÔNG NGHE RÕ].
PROFESSOR
Okay, so what we hear here is that we somehow should be able to calculate that voltage as a ratio, as a function of where exactly the height of this thing is — actually, let me introduce a coordinate system for this.
Được, vậy ta nghe được là bằng cách nào đó ta tính được điện áp đó dưới dạng một tỉ lệ, như một hàm của độ cao chính xác của điểm này — à, để tôi đưa vào một hệ tọa độ.
So let's call this coordinate y, so it's same as it's going to be in the homework. And this is then Y1. So that's the solution.
Gọi tọa độ này là y, giống như trong bài tập về nhà. Và đây là Y1. Đó chính là lời giải.
And you have great insight, because the solution you propose is actually correct. But let us figure out a way on how to do this.
Bạn nhìn rất sâu, vì lời giải bạn đề xuất thực ra là đúng. Nhưng ta hãy tìm cách làm việc này.
And so the way we are going to do this is we going to simply break up this rectangle. If you want, we break it up into two pieces.
Cách ta sẽ làm là đơn giản chia hình chữ nhật này ra. Nói cách khác, ta chia nó thành hai phần.
We sort of do as if the piece at the top was one resistor and the piece at the bottom was another resistor.
Ta coi như phần ở trên là một điện trở và phần ở dưới là một điện trở khác.
And the reason that's a good thing is that then we have a circuit with two resistors. And, heck, that's a voltage divider. We already know how to calculate things with that one.
Lý do làm vậy là tốt là vì khi đó ta có một mạch với hai điện trở. Và đó chính là mạch chia áp. Ta đã biết cách tính với nó rồi.
Okay, so let's do that. So we have now two resistors.
Được, ta làm thôi. Giờ ta có hai điện trở.
The length of this one, if you want, L1, is going to be equal to y1. And the length of this one, well, that has to be L minus y1.
Chiều dài của điện trở này, L1, bằng y1. Còn chiều dài của điện trở này thì phải là L trừ y1.
So now let me just immediately go to the circuit diagram for this. So again, we have our source VS, 5 volts we said.
Giờ tôi chuyển ngay sang sơ đồ mạch của nó. Vẫn vậy, ta có nguồn VS, ta đã nói là 5 volt.
Then we have the first resistor. And we have the second resistor. Let's also call this voltage here, let's call this V touch.
Rồi có điện trở thứ nhất. Và có điện trở thứ hai. Gọi điện áp ở đây là V touch.
Make sense? Let's call this again R2 and this one R1, so we are the same as before. And this voltage here is R touch.
Hiểu chưa? Gọi đây là R2 và đây là R1, giống như trước. Và điện áp ở đây là R touch.
Well, that's what we would like to — oh, this is V touch. V touch. And we would like to know what this is. Well, it should be straightforward.
Đó là điều ta muốn... à, đây là V touch. V touch. Và ta muốn biết giá trị này. Chắc là đơn giản thôi.
It's a voltage divider. So we can use the voltage divider equation. But in order to use it, we need to know the value of these resistors, R1 and R2.
Đây là mạch chia áp. Nên ta dùng được công thức chia áp. Nhưng để dùng nó, ta cần biết giá trị của các điện trở này, R1 và R2.
Well, fortunately, that is easy too.
May là việc đó cũng dễ.
R1 is equal to rho — whatever that is, whatever material we picked, maybe graphite — times L. Well, that is now y1 over W times T.
R1 bằng rho... dù nó là gì, dù ta chọn vật liệu nào, có thể là than chì... nhân L. Mà bây giờ cái đó là y1 chia W nhân T.
And the resistor R2, it's made out of the same material, so same resistivity.
Còn điện trở R2 làm từ cùng vật liệu, nên có cùng điện trở suất.
L minus y1 W times T. And, finally, we have the voltage divider equation, V touch is equal to v VS. Anybody remembers what that equation was?
L trừ y1, nhân W nhân T. Và cuối cùng, chúng ta có phương trình mạch chia áp, V touch bằng v VS. Có ai nhớ phương trình đó thế nào không?
Well, it's always the resistor. Across, we want to know the voltage, which is R1 in this case, because we want to know what is V touch.
Thì luôn là điện trở mà ta muốn biết điện áp trên nó, ở đây là R1, vì ta muốn biết V touch.
R1 divided by the sum of the two resistors, R1 and R2.
R1 chia cho tổng hai điện trở, R1 và R2.
So that's how I remember this without having to use too many neurons in my brain.
Đó là cách tôi nhớ nó mà không phải dùng quá nhiều nơ-ron trong não.
So now we need to substitute again.
Giờ ta lại cần thay vào.
So this is going to be equal to VS times — and if you do this, what you will find out is that the rho and the W and the T, they, of course, all drop out.
Vậy cái này sẽ bằng VS nhân — và nếu làm vậy, bạn sẽ thấy rho, W và T đều triệt tiêu hết.
And you're going to get y1 over L minus y1 plus y1.
Và bạn sẽ có y1 trên L trừ y1 cộng y1.
So that's be equal to y1 over L, which is this is precisely what your colleague said.
Vậy nó bằng y1 trên L, đúng như điều bạn của các em đã nói.
There should be somehow proportional to however high you're here. Depending on the y, we're going to get a different voltage. And if y1 happens to be 0, well, we get 0 volts.
Nó phải tỉ lệ theo độ cao của vị trí chạm. Tùy theo y, ta sẽ có điện áp khác nhau. Nếu y1 bằng 0 thì ta có 0 volt.
Yeah, makes sense. If y1 happens to be L, we get VS, 5 volts. Makes sense too. And in between, we can get any role whatsoever.
Ừ, hợp lý. Nếu y1 bằng L, ta có VS, 5 volt. Cũng hợp lý. Và ở giữa, ta có thể có bất kỳ giá trị nào.
So now we kind of have almost — in fact, we could even go as far as drawing here the voltage, or maybe here, V touch, as a function of y.
Vậy là gần như đã xong, thực ra ta có thể vẽ ở đây điện áp, hay V touch, theo hàm của y.
And so it would be 0 here. And it would be VS up here. And so this is V touch, as we move up and down this system.
Ở đây nó bằng 0. Và ở trên này nó là VS. Đó là V touch khi ta di chuyển lên xuống trên hệ này.
So now it's still just — oh, I need to move this up — now, it's still just a resistor.
Giờ nó vẫn chỉ là — à, tôi cần dời cái này lên — giờ nó vẫn chỉ là một điện trở.
Well, the question is, is it a touch screen? Well, kind of sort of. We can take a wire. I mean, this would be perhaps not the biggest selling point.
Câu hỏi là, nó có phải màn hình cảm ứng không? Ừ thì, cũng tạm. Ta có thể lấy một sợi dây. Ý tôi là, đây có lẽ không phải điểm bán hàng lớn nhất.
But suppose you had this touch screen, you would tell the user, well, my special phone is a little bit different.
Nhưng giả sử bạn có màn hình cảm ứng này, bạn sẽ nói với người dùng: điện thoại đặc biệt của tôi hơi khác một chút.
You have to take a wire and you have to put it where you want to touch.
Bạn phải cầm một sợi dây và đặt nó vào chỗ bạn muốn chạm.
But then somehow the voltage that would come out would indicate where we touched. Okay, fair enough, it only says what y is.
Nhưng khi đó điện áp đo được sẽ cho biết ta chạm ở đâu. Được rồi, nó mới chỉ cho biết y.
We have to figure it out something a little bit more about — to figure it also what the x dimension is.
Ta còn phải tìm thêm cách để xác định cả chiều x nữa.
But again, in design, as we've said already last lecture, it's good to make a little steps, because otherwise it's just too hard. So that wire business is a bit disconcerting.
Nhưng như đã nói ở bài giảng trước, trong thiết kế nên đi từng bước nhỏ, vì nếu không thì quá khó. Chuyện sợi dây này hơi khó chịu.
We really don't want to tell user for a smartphone it's somehow better you got to put a wire there. But maybe you have an idea.
Ta thật sự không muốn bảo người dùng với điện thoại thông minh thì tốt hơn là bạn phải cắm một sợi dây vào đó. Nhưng có lẽ các em có ý tưởng.
Maybe there is a better way to do that.
Có thể có cách tốt hơn.
Let's draw a side view.
Ta hãy vẽ hình nhìn ngang.
8 — already has all these marks — 8, 8, so touch screen.
8 — đã có sẵn các dấu này rồi — 8, 8, màn hình cảm ứng.
So side view, so we have for our diagram sort of this resistive screen.
Nhìn ngang, sơ đồ của ta có màn hình điện trở này.
Now, look at it from the side. And then on either side, we have this piece where we can make connections to our voltage source.
Giờ hãy nhìn nó từ cạnh bên. Và ở hai bên, ta có phần này để nối với nguồn áp.
And then when somebody touches it, we make this a bit flexible.
Rồi khi có người chạm vào, ta làm nó hơi mềm dẻo một chút.
Wherever we touch it, it's going to look like this. And we want to know what the voltage is there. How are we going to do that?
Chạm ở đâu thì nó sẽ trông như thế này. Và ta muốn biết điện áp ở đó. Ta làm bằng cách nào?
Well, we simply go ahead and put another conductor here at the bottom. And what's that?
Đơn giản, ta đặt thêm một vật dẫn ở đây, ở phía dưới. Đó là gì?
Well, that's the node we touch.
Đó chính là nút ta chạm vào.
So our circuit then, if I draw it pictorially for once, that's going to be plus minus. That's going be RVS. We're going to hook up our voltage source here.
Vậy mạch của ta, nếu vẽ trực quan một lần, sẽ có dấu cộng trừ. Đó là RVS. Ta nối nguồn áp vào đây.
That's going to generate a voltage here.
Nó tạo ra một điện áp ở đây.
Here, that is V touch.
Ở đây là V touch.
And again, the position of that depends. That's at position y. And depending if I move my finger over to the right, then the voltage we touch is going to be different.
Và vị trí của nó thì thay đổi. Đó là ở vị trí y. Và nếu tôi di ngón tay sang phải, thì điện áp ta chạm sẽ khác đi.
But how are we going to sample it? Well, we simply sample it on the black conductor. So basically what we're going to do is we simply take two sheets.
Nhưng làm sao để lấy mẫu nó? Đơn giản là ta lấy mẫu trên vật dẫn màu đen. Về cơ bản, điều ta làm là lấy hai tấm.
The top one is our resistor. But then when we touch it, well, people put some force in. So it bends down a little bit. Bends down a little bit.
Tấm trên là điện trở của ta. Nhưng khi ta chạm vào, người ta ấn lực xuống. Nên nó cong xuống một chút. Cong xuống một chút.
Then it touches the black one. Well, the black one is another conductor. That one maybe we make out of copper — or aluminum foil. That's easy.
Rồi nó chạm vào tấm đen. Tấm đen là một vật dẫn khác. Cái đó có thể làm bằng đồng, hoặc giấy bạc. Dễ thôi.
We have it in the kitchen. So we make that out of aluminum foil. And then all we need to do is measure the voltage and node voltage at this node, V touch.
Trong bếp nhà nào cũng có. Vậy ta làm nó bằng giấy bạc. Rồi việc còn lại chỉ là đo điện áp nút tại nút này, V touch.
And depending on where we touch it, this sort of bubble here moves to the left or to the right. The voltage we touch changes according to that equation that you already calculated.
Và tùy chỗ ta chạm, cái bóng phồng này sẽ dịch sang trái hoặc sang phải. Điện áp ta chạm thay đổi theo phương trình mà các em đã tính.
And we know why. So it's a one V touch screen, just one dimensionally. Only we knows where we touch in one direction. The other direction, we'll still have to figure it out.
Và ta biết tại sao. Vậy đây là màn hình cảm ứng một chiều, một V touch. Ta chỉ biết chạm ở đâu theo một hướng. Hướng còn lại thì vẫn phải tìm cách.
But, hey, you know, we're a lot better. Remember, last time, we needed to have basically a switch for every one of these pixels here. And that was lots of switches and lots of wires.
Nhưng này, ta đã tốt hơn nhiều rồi. Nhớ lại lần trước, ta cần một công tắc cho mỗi điểm ảnh này. Và đó là rất nhiều công tắc và rất nhiều dây.
And it was a big mess. It was a start. But this is better. I like this a lot better.
Rất lộn xộn. Đó là một khởi đầu. Nhưng cách này tốt hơn. Tôi thích cách này hơn nhiều.
So does this make sense? We have a one V resistive touch screen. It tells us exactly where we are touching. How does it tell us?
Vậy các em có hiểu không? Ta có một màn hình cảm ứng điện trở một chiều. Nó cho ta biết chính xác chỗ ta chạm vào. Nó cho biết bằng cách nào?
Well, it tells us by a voltage that varies between 0 and VS, VS 5 volts. That voltage is going to change between 0 volts and VS.
Nó báo bằng một điện áp thay đổi từ 0 đến VS, VS là 5 volt. Điện áp đó sẽ thay đổi từ 0 volt đến VS.
Incidentally, the way you build this normally — really, I looked it up. Phones are made like that. They simply put little dimples here.
Tiện thể, cách người ta chế tạo cái này thông thường — thật đấy, tôi đã tra cứu rồi. Điện thoại được làm như vậy. Họ chỉ đơn giản đặt những chấm nhỏ lồi ở đây.
So that the top, the green sheet, that must be a little bit flexible is a bit suspended. We're not going to get into those details. We just say, the rest is solvable.
Để cho lớp trên, tấm màu xanh lá, vốn phải hơi linh hoạt, được treo lơ lửng một chút. Chúng ta sẽ không đi vào những chi tiết đó. Ta chỉ nói rằng phần còn lại giải được.
We have a one V touch screen. I believe there was a question back there. Yes.
Ta có một màn hình cảm ứng điện trở một chiều. Tôi nghĩ có một câu hỏi ở phía sau kia. Mời em.
STUDENT
Is the one with the green [INAUDIBLE] And where does the [INAUDIBLE] PROFESSOR: Okay, I didn't completely understand your question.
Cái màu xanh lá có phải là [KHÔNG NGHE RÕ] Và [KHÔNG NGHE RÕ] đi đâu? Được rồi, tôi chưa hiểu hết câu hỏi của em.
Is the — STUDENT: [INAUDIBLE] the black one, is that current? And if so, where does that current flow?
Có phải — SINH VIÊN: [KHÔNG NGHE RÕ] cái màu đen, có dòng điện không? Và nếu có thì dòng điện đó chạy đi đâu?
PROFESSOR
Okay, so the question is, is that bottom screen, the black one, is that conducting current? And where is this current flowing? That's a really good question.
Được, câu hỏi là tấm bên dưới, tấm màu đen, có dẫn dòng điện không? Và dòng điện đó chạy đi đâu? Đó là một câu hỏi rất hay.
Really, I guess what it gets to, this question, the touch screen in your phone doesn't say, you know, you touched at voltage 3.2 volts.
Thật ra câu hỏi này dẫn tới việc: màn hình cảm ứng trong điện thoại của bạn không nói là bạn chạm ở điện áp 3.2 volt.
It tells you coordinate, right. So what we need to do is let's say this V touch 3.2 volts. We somehow need to do something with this. Ultimately, what do we want?
Nó cho bạn tọa độ. Vậy giả sử V touch này là 3.2 volt. Ta cần làm gì đó với nó. Rốt cuộc ta muốn gì?
Well, we want that this is going to be a number in some kind of a program that runs on the processor that's inside your phone or your tablet.
Ta muốn nó trở thành một con số trong chương trình nào đó chạy trên bộ xử lý bên trong điện thoại hay máy tính bảng của bạn.
So we have to do something a little bit extra now.
Nên bây giờ ta phải làm thêm một chút.
We have to build some kind of a gizmo that takes V touch and then it converts this in a number that we can use inside a computer.
Ta phải xây dựng một thiết bị nào đó nhận V touch rồi chuyển nó thành một con số mà ta dùng được trong máy tính.
And whether or not current flows into this black wire, well, that depends on what that gizmo that makes this measurement, what that gizmo is.
Còn việc có dòng điện chạy vào dây đen hay không, thì tùy thiết bị thực hiện phép đo này là loại nào.
Maybe that gizmo needs a lot of current. Well, then a lot of current flows. Maybe that gizmo doesn't use any current whatsoever, and then no current is flowing in the black screen.
Có thể thiết bị đó cần nhiều dòng điện. Thì khi đó có nhiều dòng điện chạy qua. Có thể nó không dùng chút dòng điện nào, thì không có dòng điện chạy trong tấm màu đen.
It's just passing on the voltage.
Nó chỉ truyền điện áp đi.
So we need one more piece in the picture here. We need something that can measure voltage.
Vậy ta cần thêm một thành phần nữa trong hình. Ta cần thứ có thể đo điện áp.
And, you know, when we are at it, let's make it that we have also something that can measure current. So we have an instrument that can measure voltage or current.
Và nhân tiện, ta cũng muốn có thứ đo được dòng điện. Vậy ta có một dụng cụ đo được điện áp hoặc dòng điện.
I bought one. Look at this.
Tôi đã mua một cái. Nhìn này.
So that's our instrument. And you already know this thing here. That was this little touch light meter.
Đây là dụng cụ của chúng ta. Và các bạn đã biết thứ này rồi. Đó là cái nút cảm ứng đo ánh sáng nhỏ này.
So now what I do is I hook this up to this meter.
Bây giờ tôi nối nó với đồng hồ đo này.
Then conveniently, we have here a ground node that is sort of at this post here. I guess you cannot see this extremely well. Sorry about that. And then we can have the other terminal.
Tiện thay, ở đây ta có một nút ground nằm ở cái trụ này. Tôi đoán các bạn không nhìn rõ lắm. Xin lỗi nhé. Rồi ta có đầu cực còn lại.
We can hook this up to this thing here. Well, if you actually could see something, this would be the resistor. Then we need to turn this on. It has all sorts of positions.
Ta nối nó vào chỗ này. Nếu các bạn thực sự nhìn thấy, đây sẽ là điện trở. Rồi ta cần bật nó lên. Nó có đủ loại vị trí.
It can measure volts and amps. It can also measure ohms. That's a fancy thing. But we want volts.
Nó đo được volt và ampe. Nó cũng đo được ohm. Cái đó thì cao cấp. Nhưng ta cần volt.
So now apparently it says it measures the voltage. You just frankly can see this measure of voltage of 0. And then if I put my finger here, the microcontroller detects my touch.
Vậy là nó đang đo điện áp. Thẳng thắn mà nói, các bạn thấy điện áp đo được là 0. Rồi nếu tôi đặt ngón tay vào đây, vi điều khiển phát hiện cú chạm của tôi.
So that's a different touchscreen. It's capacitor. We're going to get to this. And it measures only one point.
Đó là một loại màn hình cảm ứng khác. Nó là loại tụ điện. Chúng ta sẽ học sau. Và nó chỉ đo một điểm.
So maybe more of a touch button. But anyways, the voltage now was 2.3 volts. But now it disappears because the microcontroller said, hey, you know, let's not drain the battery.
Nên giống nút cảm ứng hơn. Dù sao, điện áp lúc nãy là 2.3 volt. Nhưng giờ nó biến mất vì vi điều khiển nói rằng, này, đừng làm hao pin.
But anyways, the point here is not — all this setup was — so the point is that there are thingies — there are thingies like this yellow box here — it happens to be called a voltmeter or multimeter because it can also measure current — that you can attach to your circuit.
Dù sao, điểm chính ở đây không phải — toàn bộ phần dựng này là — điểm chính là có những thiết bị — có những thiết bị như cái hộp vàng này — nó được gọi là vôn kế hay đồng hồ vạn năng vì nó cũng đo được dòng điện — mà bạn có thể gắn vào mạch của mình.
It measures the voltage. And it displays it on this nice LCD display.
Nó đo điện áp. Và hiển thị lên màn hình LCD đẹp này.
Now, even better, the thing is, of course, if we want to look at that voltage in the lab or so, it's very convenient to have a big box like this one, because we can see the voltage right away.
Hơn nữa, tất nhiên, nếu ta muốn xem điện áp đó trong phòng lab, thì có một cái hộp lớn như thế này rất tiện, vì ta thấy điện áp ngay lập tức.
We can read it off the screen. But if you're a little computer that is inside a smartphone. That's not what we want. We don't want that screen.
Ta đọc nó từ màn hình. Nhưng nếu bạn là một máy tính nhỏ bên trong điện thoại thông minh, thì đó không phải thứ ta muốn. Ta không cần màn hình đó.
We want one line of Python code or whatever.
Ta cần một dòng mã Python hay gì đó.
And that one line of Python code goes out and uses some part that is inside here, runs that, that measures that voltage and spits back a number, 3.2.
Và dòng mã Python đó chạy ra và dùng một bộ phận nào đó bên trong đây, chạy nó, đo điện áp đó và trả về một con số, 3.2.
And remember, that's voltage. So 3.2 volts. So there is some kind of a gizmo inside here, inside this one here that we want to have in our microcontroller.
Và nhớ rằng, đó là điện áp. Tức là 3.2 volt. Vậy có một thiết bị nào đó bên trong cái này, mà ta muốn có trong vi điều khiển của mình.
Now, I already told you that the big black rectangle here, that happens to be a microcontroller. So it's a computer, just like your laptop. It doesn't have quite the power.
Tôi đã nói với các bạn rằng hình chữ nhật đen lớn ở đây chính là một vi điều khiển. Tức là một máy tính, giống như laptop của bạn. Nó không mạnh bằng.
You can't do spreadsheets on this one. It also doesn't have quite the memory. I don't remember how much it has. It has a few kilobytes of memory.
Bạn không thể làm bảng tính trên cái này. Nó cũng không có nhiều bộ nhớ bằng. Tôi không nhớ nó có bao nhiêu. Nó có vài kilobyte bộ nhớ.
A few kilobytes, not gigabytes, kilobytes. But you know it cost $0.10, $0.20. And that your laptop doesn't have.
Vài kilobyte thôi, không phải gigabyte, là kilobyte. Nhưng nó chỉ có giá 0,10 đô, 0,20 đô. Và có thứ mà laptop của các bạn không có.
It has this gizmo that allows us to attach a wire to one of its — they're called pins on the side.
Nó có một bộ phận nhỏ cho phép ta gắn một sợi dây vào một trong các chân, gọi là pin, ở bên cạnh.
And then, you run a line of code, for example, Python, and it tells us, yeah, the voltage on that pin is 3.2 volts or 1.6 or whatever. And so that's inside there.
Rồi bạn chạy một dòng mã, ví dụ Python, và nó cho ta biết điện áp trên chân đó là 3,2 volt hay 1,6 hay bao nhiêu đó. Và thứ đó nằm ngay bên trong.
The cost of this is near zero. Because of Moore's law, transistors and all of that is very cheap. So the manufacturers of these little computers just throw it in for free.
Chi phí của nó gần như bằng không. Nhờ định luật Moore, transistor và mọi thứ như vậy đều rất rẻ. Nên các nhà sản xuất những chiếc máy tính nhỏ này cứ tặng kèm miễn phí.
You can use it. If you have a use for your touch screen, use it. And otherwise, it's there. It didn't cost much.
Bạn có thể dùng nó. Nếu bạn cần cho màn hình cảm ứng thì cứ dùng. Còn không thì nó vẫn nằm đó. Nó không tốn bao nhiêu.
So it's actually not difficult to do this. Designing this thing is a little bit — but you're not going to get there. So voltmeter.
Nên làm việc này thật ra không khó. Thiết kế thứ này thì hơi phức tạp một chút, nhưng các bạn sẽ không đi đến mức đó. Vậy, vôn kế.
Let's look a little bit how we are actually going to use this. So, again, let's stick with the circuit that we have.
Hãy xem ta thực sự sẽ dùng nó như thế nào. Một lần nữa, ta vẫn dùng mạch đang có.
So we have a voltage, VS. And we have our two resistors, R2, R1.
Ta có nguồn áp VS và hai điện trở R2, R1.
And we have our count node. And let's say, again, that we wanted to know what this voltage is here, V touch.
Và ta có nút chạm của mình. Giả sử ta lại muốn biết điện áp ở đây, V touch, bằng bao nhiêu.
And again, the value, of course, depends because the values of these resistors, they actually vary depending on where we touch.
Và giá trị đó dĩ nhiên thay đổi, vì giá trị của các điện trở này thật ra thay đổi tùy theo chỗ ta chạm.
Sometimes I indicate when components can vary in my schematic just I indicate that with this arrow here. You don't need to do that. But you know you can.
Đôi khi tôi vẽ thêm mũi tên này trong sơ đồ để chỉ ra linh kiện đó có thể thay đổi. ở đây. Bạn không cần phải làm vậy. Nhưng bạn có thể làm.
So here, we are going to put our voltmeter.
Ở đây, ta sẽ đặt vôn kế.
Now, so the yellow box, or if you prefer the equivalent yellow box, much smaller, probably not yellow, inside this little thing.
Đó là cái hộp màu vàng, hoặc nếu bạn thích, cái hộp vàng tương đương nhỏ hơn nhiều, chắc là không màu vàng, nằm bên trong con chip nhỏ này.
And what it does is it samples this voltage. And it spits out a number, a number that you can either read off the screen or use in your program.
Nó lấy mẫu điện áp này. Và đưa ra một con số, bạn có thể đọc trên màn hình hoặc dùng trong chương trình.
So just in order to perform our measurement, we have a circuit that is just one voltage source and two resistors, so R1 and R2.
Vậy để thực hiện phép đo, ta có một mạch chỉ gồm một nguồn áp và hai điện trở, R1 và R2.
Just to make this measurement now we added a new component, this V here or voltmeter. So we kind of changed our circuit. Is that's a good thing? Well, not really.
Chỉ để đo được, ta đã thêm một linh kiện mới, chữ V này, tức vôn kế. Vậy là ta đã thay đổi mạch của mình phần nào. Như vậy có tốt không? Thật ra là không.
If we want to know something about our circuit, we don't want to change the circuit, because we want to know about the circuit what it is without making any changes.
Nếu muốn biết điều gì đó về mạch, ta không muốn làm thay đổi mạch, vì ta muốn biết mạch thật sự như thế nào mà không có bất kỳ thay đổi nào.
So how could we add a component — in this case, the voltmeter — how could we add this component to our circuit without this component doing any changes to our circuit?
Vậy làm sao ta thêm một linh kiện, ở đây là vôn kế, làm sao thêm linh kiện này vào mạch mà nó không làm thay đổi gì mạch của ta?
Yes.
Mời bạn.
STUDENT
[INAUDIBLE] resistance [INAUDIBLE]..
[KHÔNG NGHE RÕ] điện trở [KHÔNG NGHE RÕ].
PROFESSOR
Okay, so the resistance of these three boxes should be what?
Được, vậy điện trở của ba cái hộp này nên như thế nào?
STUDENT
Extremely high.
Cực kỳ cao.
PROFESSOR
It should be extremely high. In fact, if you had a choice, how high would you like it to be?
Nó nên cực kỳ cao. Thật ra, nếu được chọn thì bạn muốn nó cao đến mức nào?
STUDENT
Infinity.
Vô cùng.
PROFESSOR
Infinity. Actually, resistor is valuing infinity, do we have another name for that?
Vô cùng. Một điện trở có giá trị vô cùng, ta còn tên gọi nào khác cho nó không?
STUDENT
[INAUDIBLE] PROFESSOR: It's an open circuit, right. So anyways, you're totally, absolutely correct. We want to express this a little bit differently.
[KHÔNG NGHE RÕ] GIẢNG VIÊN: Đúng, đó là mạch hở. Dù sao thì bạn hoàn toàn đúng. Ta muốn diễn đạt điều này hơi khác một chút.
We want this current here, you want this to be 0, ideally 0.
Ta muốn dòng điện ở đây bằng 0, lý tưởng là 0.
And we want the resistance here — if this was a resistor here, we want this R to be very, very large, ideally infinite.
Và ta muốn điện trở ở đây, nếu đây là một điện trở, ta muốn R này rất, rất lớn, lý tưởng là vô cùng.
Do you think voltmeter exist with this resistance being infinite? No, it's not possible to build. But, you know, you can make it like 1 gigohm or so.
Bạn nghĩ có vôn kế nào với điện trở vô cùng không? Không, không thể chế tạo được. Nhưng bạn có thể làm cỡ 1 gigaohm.
What is a 1 gigohm? 1 gigohm is 10 to the 9 ohm, 1 billion ohm.
1 gigaohm là bao nhiêu? 1 gigaohm là 10^9 ohm, một tỷ ohm.
So that if you had a 1 volt across, it would have a current flowing of 1 volt over 1 billion. That would be 1 nanoamps. That's a very small current, very difficult to measure.
Nên nếu có 1 volt đặt vào, dòng điện chạy qua sẽ là 1 volt chia một tỷ. Tức là 1 nanoampe. Đó là dòng rất nhỏ, rất khó đo.
So anyways, yes, the ideal thing doesn't exist.
Dù sao thì đúng, thứ lý tưởng không tồn tại.
But this little cheap box here is close enough to ideal in most cases, unless you make extremely sophisticated measurements in very special circuits. Most of the time, it just doesn't matter.
Nhưng cái hộp nhỏ rẻ tiền này đủ gần lý tưởng trong hầu hết trường hợp, trừ khi bạn đo cực kỳ tinh vi trong những mạch rất đặc biệt. Phần lớn thời gian, nó chẳng ảnh hưởng gì.
And the one you have in the lab, I think is more expensive and bigger than this one. It's even better. Okay? Yeah.
Còn cái các bạn có trong phòng lab, tôi nghĩ đắt hơn và to hơn cái này. Nó còn tốt hơn nữa. Được chứ? Vâng.
STUDENT
[INAUDIBLE] number [INAUDIBLE] PROFESSOR: Oh, how does it turn this voltage into a number? Exactly. You know, there is another course, 240C.
[KHÔNG NGHE RÕ] con số [KHÔNG NGHE RÕ] GIẢNG VIÊN: À, nó biến điện áp này thành con số như thế nào? Chính xác. Có một môn khác, 240C.
I created it here about 15 years ago or so. Do you want a little interlude now?
Tôi lập ra môn đó ở đây khoảng 15 năm trước. Các bạn có muốn một đoạn xen ngang bây giờ không?
It's going to only take three or four weeks or so and I can speed through how to do this.
Chỉ mất khoảng ba bốn tuần thôi và tôi có thể nói lướt qua cách làm.
I would love for you to be excited about this and take a couple of courses. And then ultimately it is 240C. But let's keep it out of this lecture, okay?
Tôi rất muốn các bạn hứng thú với điều này và học thêm vài môn. Cuối cùng thì đó là môn 240C. Nhưng để nó ngoài bài giảng này nhé?
It's a very good question and maybe — actually, if you come to my office hours, I'll show you a few tricks, just a few ways on how you could do that.
Đó là một câu hỏi rất hay và có thể nếu bạn đến giờ tiếp sinh viên của tôi, tôi sẽ chỉ vài mẹo, vài cách để làm việc đó.
Maybe I'll even think of a homework where I show you that, yeah, it's maybe not so difficult. You don't even need to quite take 240C.
Có thể tôi sẽ nghĩ ra một bài tập về nhà để cho thấy rằng việc đó có lẽ không khó lắm. Thậm chí các em không cần học hẳn 240C.
But nevertheless, it's a question that we don't want to quite grapple with in this course. Okay? Agree? I love to teach you all this.
Nhưng dù sao đây cũng là một câu hỏi mà chúng ta không muốn đi sâu vào trong môn này. Được chứ? Đồng ý không? Thầy rất thích dạy các em tất cả những thứ này.
But, you know, I have a tendency to go off tangent. And this would be a big tangent. Okay, so that's the voltmeter.
Nhưng thầy hay bị lạc đề. Và đây sẽ là một cú lạc đề rất lớn. Được rồi, đó là vôn kế.
So but when we are at it, there is, of course, also the ammeter.
Nhưng nhân tiện nói đến đây, tất nhiên còn có ampe kế.
Ammeter, not surprising, this measures current.
Ampe kế, không có gì ngạc nhiên, đo dòng điện.
So this thing measures current. And, often, if you buy one of these, you just put it down here. Now, it measures amps.
Thiết bị này đo dòng điện. Thường thì nếu mua một cái như vậy, em chỉ cần đặt nó ở đây. Giờ nó đo ampe.
So let's say we had again this circuit from before — R2, R1, our reference, VS. So let's
Giả sử ta lại có mạch này như lúc trước, R2, R1, điểm tham chiếu, VS. Giả sử
suppose that we wanted to know the current that flows out of a battery. Maybe we want to know how long this is going to last before we need to replace the battery.
ta muốn biết dòng điện chạy ra từ một cục pin. Có thể ta muốn biết pin dùng được bao lâu trước khi phải thay.
So anyways, we want you to measure that current. And let's, for simplicity, assume that we had a box like the yellow one here. Where would we connect it?
Vậy là ta muốn đo dòng điện đó. Và để đơn giản, giả sử ta có một cái hộp như cái màu vàng này. Ta sẽ nối nó vào đâu?
So let's say that we will use the following symbol for an ammeter. These, by the way, are not completely standardized and international. But it's good enough. We can use this.
Ta sẽ dùng ký hiệu sau cho ampe kế. Nhân tiện, các ký hiệu này không hoàn toàn được chuẩn hóa quốc tế. Nhưng thế là đủ rồi. Ta dùng được.
We know what you mean.
Mọi người hiểu ý mình.
How are we going to connect our ammeter?
Ta sẽ mắc ampe kế như thế nào?
It needs to measure the current. Well, if it needs to measure the current, the current somehow needs to get into this instrument.
Nó cần đo dòng điện. Nếu nó cần đo dòng điện, thì dòng điện phải đi vào dụng cụ này.
How can it measure something if the current doesn't go into the thing? So we have to actually cut this wire and then insert — so here's a cut.
Làm sao đo được nếu dòng điện không đi vào thiết bị? Nên ta phải cắt dây này rồi chèn vào — đây là chỗ cắt.
And then insert the ammeter into the wire.
Rồi chèn ampe kế vào dây.
So if we want to measure the current, and go in this direction, connect it like this. Now, we measure the current. Now, you have the same question as before.
Nếu muốn đo dòng điện theo chiều này, ta mắc như thế này. Giờ ta đo được dòng điện. Giờ em có cùng câu hỏi như trước.
We started with a circuit. And then afterwards, we ran with the wire cutter and mucked around with it just so we could measure the curtain. Well, we didn't really want to change the circuit.
Ta bắt đầu với một mạch. Rồi sau đó ta cầm kìm cắt dây và táy máy nó chỉ để đo dòng điện. Nhưng ta đâu muốn thay đổi mạch.
So that much for the wire cutter, right?
Vậy thì bỏ cái kìm đi, đúng không?
What do we want from this ammeter? from this A box? What do we want so that it does not change, our circuit whatsoever?
Ta muốn gì ở ampe kế này? ở cái hộp A này? Ta muốn gì để nó không làm thay đổi mạch chút nào?
Even though now we have this green thingie there, the circuit is exactly the same as it was before we inserted that. Yeah.
Dù giờ có cái thứ màu xanh lá ở đó, mạch vẫn y hệt như trước khi ta chèn nó vào. Vâng.
STUDENT
That's like a load resistance.
Nó giống như điện trở tải.
PROFESSOR
Okay, that's like a load resistance, yeah. Any other comments? Yes.
Được, giống như điện trở tải, đúng. Còn ý kiến nào khác không? Mời em.
STUDENT
[INAUDIBLE] PROFESSOR: The what?
[KHÔNG NGHE RÕ] GIẢNG VIÊN: Cái gì cơ?
STUDENT
Is that where all the current goes through?
Có phải toàn bộ dòng điện đều đi qua đó không?
PROFESSOR
All the current should go. So if before we had 1 amp flowing, we want that — once we put the green stuff there, 1 amp should still be flowing.
Toàn bộ dòng điện phải đi qua. Nếu trước đó có dòng 1 ampe chạy qua, ta muốn rằng — khi đặt thứ màu xanh đó vào, vẫn có 1 ampe chạy qua.
So the green thingy, what should it be?
Vậy thứ màu xanh đó phải là gì?
STUDENT
Zero.
Bằng không.
PROFESSOR
Yeah, exactly, the voltage should be zero. The current arbitrary, whatever it wants to be, that thing is either resistance with 0 ohms, absolutely correct.
Đúng, điện áp phải bằng không. Dòng điện tùy ý, muốn bao nhiêu cũng được, thứ đó là điện trở 0 ôm, hoàn toàn đúng.
And then we have also an other name for that — actually, we have two other names for that.
Và nó còn có tên khác nữa — thật ra có hai tên khác.
STUDENT
Wire.
Dây dẫn.
PROFESSOR
Wire. And the other one sounds dangerous.
Dây dẫn. Còn tên kia nghe nguy hiểm.
STUDENT
Short circuit.
Đoản mạch.
PROFESSOR
Short circuit, right. So we have lots of names for this. So the ammeter should be a short circuit. So the resistance of this thing should be zero.
Đoản mạch, đúng. Vậy là nó có rất nhiều tên. Nên ampe kế phải là một đoản mạch. Tức là điện trở của nó phải bằng không.
It should be a short circuit.
Nó phải là đoản mạch.
That's what we'd like it to be. It turns out this isn't quite as perfect.
Đó là điều ta mong muốn. Hóa ra nó không hoàn hảo đến thế.
The resistance of the ammeter depends a little bit on what you're measuring. And this is not something that I ask you to understand and so on.
Điện trở của ampe kế phụ thuộc đôi chút vào thứ em đang đo. Thầy không yêu cầu các em phải hiểu phần này.
But I'm telling you anyways, because obviously, at least many of you are interested in this stuff. So actually what the ammeter is it's the voltmeter and the resister.
Nhưng thầy vẫn nói, vì rõ ràng ít nhất nhiều em quan tâm đến chuyện này. Thật ra ampe kế chính là một vôn kế cộng với một điện trở.
So all it does when you switch it to amps, actually inside it puts the resistor between these two terminals. And then it measures the voltage across that resistor.
Khi em chuyển sang đo ampe, bên trong nó đặt một điện trở giữa hai đầu cực này. Rồi nó đo điện áp trên điện trở đó.
And then it does the division. It uses Ohm's law to figure out what the current is. So that resistor, of course, you want it to be very, very small, ideally zero.
Rồi nó thực hiện phép chia. Nó dùng định luật Ohm để tính ra dòng điện. Điện trở đó, dĩ nhiên, ta muốn nó rất rất nhỏ, lý tưởng là bằng không.
But if you make it zero, then you measure always 0 volts. And consequently, you can detect the current. So in practice, the resistance is pretty small.
Nhưng nếu bằng không thì em luôn đo được 0 vôn. Và do đó không thể phát hiện dòng điện. Nên thực tế điện trở khá nhỏ.
It could be 0.1 ohm or more or something like that. But if you want to measure very, very small currents, then the resistance has to be larger, because otherwise you just don't measure anything.
Có thể là 0.1 ôm hoặc hơn một chút. Nhưng nếu muốn đo dòng điện rất rất nhỏ, thì điện trở phải lớn hơn, vì nếu không em sẽ không đo được gì cả.
So you understand now. You know, this looks like a big box and maybe complicated. But you already understand quite a bit on how it ought to work.
Vậy là giờ các em đã hiểu. Nhìn nó như một cái hộp to và có vẻ phức tạp. Nhưng các em đã hiểu khá nhiều về cách nó hoạt động.
So now let me ask you a trick question so that you know already the answer when in the midterm 2 comes around or so. I'm nice. I'm going to tell you.
Giờ thầy hỏi một câu hỏi mẹo để các em biết sẵn đáp án khi đến kỳ thi giữa kỳ số 2 hay thế. Thầy tốt bụng mà. Thầy sẽ nói luôn đáp án.
So then afterwards, I can say, I'm such a fantastic teacher, they all know the answer. Okay, so suppose that I made a mistake.
Như vậy sau đó thầy có thể nói: thầy dạy giỏi quá, các em đều biết đáp án. Được rồi, giả sử thầy mắc lỗi.
Instead of setting my meter to amp, I set it to volts and I try to measure the current. What would I measure?
Thay vì chỉnh đồng hồ sang amp, thầy chỉnh sang volt và cố đo dòng điện. Thầy sẽ đo được gì?
STUDENT
Zero.
Bằng không.
PROFESSOR
I would measure zero, right, because this would be an open circuit — well, actually that's not true. That's not true. If I set it to volts — no, let's think this through very carefully.
Thầy sẽ đo được bằng không, đúng không, vì đây sẽ là một mạch hở — mà thực ra không đúng. Không đúng. Nếu chỉnh sang volt — không, hãy suy nghĩ thật cẩn thận.
I'm actually not going to measure zero.
Thực ra thầy sẽ không đo được bằng không.
The current is going to be zero, all right, right, because if I set this to — let me use a different color pen — so if I set these two volts instead, what is it now?
Dòng điện thì sẽ bằng không, đúng rồi, vì nếu thầy chỉnh cái này sang — để thầy dùng bút màu khác — nếu chỉnh hai đầu này sang volt thì bây giờ nó là gì?
It's no longer a short circuit. Ideally, it's an open circuit. So it's an open circuit. So what's the current actually that's flowing here?
Nó không còn là mạch nối tắt nữa. Lý tưởng thì nó là mạch hở. Vậy nó là mạch hở. Vậy dòng điện chạy ở đây thực sự là bao nhiêu?
Now, the current is equal to be zero, because it can't go through this open circuit. Because I set it wrong. I set it to volt instead of amps.
Dòng điện bằng không, vì nó không đi qua mạch hở này được. Vì thầy chỉnh sai. Thầy chỉnh sang volt thay vì amp.
If it's volts, well, it's an open circuit. This green thing set to volts is an open circuit. It's now a voltmeter. So no current can flow.
Nếu là volt thì nó là mạch hở. Cái màu xanh này chỉnh sang volt là một mạch hở. Bây giờ nó là vôn kế. Nên không có dòng điện chạy qua.
Well, if no current can flow. Then here what's the voltage here? Well, that's 0 volts. What's the voltage here?
Vậy nếu không có dòng điện chạy qua. Thì điện áp ở đây là bao nhiêu? Là 0 volt. Điện áp ở đây là bao nhiêu?
Well, that's 5 volts, because, yes, it's 5 volts. We'll stick with the same numbers. What's the voltage drop across this resistor? Well, the current is zero.
Là 5 volt, đúng vậy, 5 volt. Ta vẫn dùng các số như cũ. Độ sụt áp trên điện trở này là bao nhiêu? Dòng điện bằng không.
The voltage drop, Ohm's law, it's also zero, right? Same thing here. So there is no voltage drop across these two resistors. So the voltage here is zero.
Theo định luật Ohm, độ sụt áp cũng bằng không, đúng không? Ở đây cũng vậy. Vậy không có sụt áp trên hai điện trở này. Nên điện áp ở đây bằng không.
The voltage here is zero. No voltage drop. The voltage here is zero.
Điện áp ở đây bằng không. Không sụt áp. Điện áp ở đây bằng không.
So if I set this to voltmeter instead of current, I measure between these two points, I measured between 5 volts and 0 volts.
Vậy nếu chỉnh sang vôn kế thay vì đo dòng điện, thầy đo giữa hai điểm này, tức là đo giữa 5 volt và 0 volt.
And what I measure with the voltmeter then is?
Vậy vôn kế sẽ đo được bao nhiêu?
STUDENT
5 volts PROFESSOR: 5 volts. Okay, so I get something totally wrong. So we have to set the dial to the right thing. And, of course, you can do exactly the same thing also.
5 volt. 5 volt. Vậy là thầy đo ra kết quả sai hoàn toàn. Nên phải chỉnh núm xoay cho đúng. Và tất nhiên, ta cũng làm hoàn toàn tương tự được.
You can ask yourself now the question that, hm, what would happen if I have this circuit here?
Các em có thể tự hỏi rằng, điều gì xảy ra nếu có mạch này?
If I have this circuit, I want to measure the voltage V touch, but I set my meter to amps instead of volts.
Với mạch này, thầy muốn đo điện áp V touch, nhưng chỉnh đồng hồ sang amp thay vì volt.
Now, what would be the current that's flowing? Well, this would be S if I made a short circuit here.
Khi đó dòng điện chạy qua sẽ là bao nhiêu? Nó sẽ là như vậy nếu thầy nối tắt ở đây.
So my new circuit really is R2. And then R1 one is short circuited.
Vậy mạch mới của thầy thực ra chỉ còn R2. Còn R1 bị nối tắt.
So it doesn't matter even any more, like this. And here, I have my ammeter. It was supposed to be a voltmeter, but I set it wrong.
Nên nó không còn quan trọng nữa, như thế này. Và ở đây thầy có ampe kế. Lẽ ra nó là vôn kế, nhưng thầy chỉnh sai.
I want to measure the voltage, but it's going to display me the current. So what is the current going to be? Well, that I leave for midterm 2.
Thầy muốn đo điện áp, nhưng nó sẽ hiển thị dòng điện. Vậy dòng điện sẽ là bao nhiêu? Phần đó thầy để dành cho midterm 2.
You can figure that out in midterm 2. I'll be also more than happy to explain it to you in office hours or any of the TA can explain it to you.
Các em sẽ tự tính trong midterm 2. Thầy cũng rất sẵn lòng giải thích trong giờ office hours hoặc bất kỳ trợ giảng nào cũng có thể giải thích.
But, of course, it's a simple Ohm's law question. So you can figure that out. Okay, I'll see you again Thursday.
Nhưng tất nhiên đây chỉ là bài đơn giản về định luật Ohm. Nên các em tự làm được. Được rồi, hẹn gặp lại các em vào thứ Năm.
[APPLAUSE] [AUDIO OUT]
[VỖ TAY] [MẤT ÂM THANH]
Đăng nhập để đánh giá học liệu này.
Đăng nhập để bình luận — chưa ai bình luận về học liệu này.
Không có khóa học liên quan.