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
All right, good afternoon, and welcome to the third lecture, finally third lecture for module two. This was quite something, huh?
Được rồi, chào các em, chúc buổi chiều tốt lành, và chào mừng đến với bài giảng thứ ba, cuối cùng cũng là bài giảng thứ ba của module hai. Vừa rồi thật là chuyện lạ, nhỉ?
We go a three day vacation because PG&E turned off electricity. They turned off the power.
Chúng ta được nghỉ ba ngày vì PG&E cắt điện. Họ cắt nguồn điện.
It's, by the way, not my fault. It was not that I somehow told PG&E to turn off the power to make the point how important electricity and electronics is.
Nhân tiện, đó không phải lỗi của thầy nhé. Không phải thầy bảo PG&E cắt điện để chứng minh điện và điện tử quan trọng đến mức nào.
I'm sure you knew that beforehand.
Chắc chắn các em đã biết điều đó từ trước.
But given the fact that we heard so much about power, we talked about power, or didn't have power, I thought this would be a good opportunity to talk a little bit about power and also, something that's very closely related to power.
Nhưng vì chúng ta vừa nghe nói về điện năng rất nhiều, nào là bàn về công suất, hay là không có điện, nên thầy nghĩ đây là dịp tốt để nói một chút về công suất, và cả một đại lượng liên quan rất mật thiết với công suất.
And that's energy. So let's talk about that today. And then also, we're going to talk about the touchscreen.
Đó là năng lượng. Hôm nay ta sẽ nói về điều đó. Sau đó, ta cũng sẽ nói về màn hình cảm ứng.
And we are going to make it finally 2D, two dimensional, so it can find your fingers anywhere on a surface. All right, but first, power.
Và cuối cùng ta sẽ làm nó thành 2D, hai chiều, để nó xác định được ngón tay của em ở bất kỳ đâu trên bề mặt. Được rồi, nhưng trước hết là công suất.
So this is your core. Maybe [INAUDIBLE]. Here is the engine.
Đây là chiếc xe của các em. Có thể là [KHÔNG NGHE RÕ]. Đây là động cơ.
And here is the tank.
Và đây là bình nhiên liệu.
Okay? So if you want to drive your car, then the engine turns the wheel.
Được chứ? Nếu muốn lái xe, thì động cơ làm bánh xe quay.
The engine provides power to turn the wheels. Okay?
Động cơ cung cấp công suất để quay bánh xe. Được chứ?
So the engine delivers power. Well, how does it do that? Well, in order to do that, it needs energy.
Vậy động cơ cung cấp công suất. Vậy nó làm điều đó bằng cách nào? Để làm được, nó cần năng lượng.
So there is somewhere a pipe that pipes this energy to the engine.
Nên có một đường ống dẫn năng lượng này đến động cơ.
And there is probably an accelerator or something like that in the middle then tells the engine how much energy it should use. So here is energy.
Và ở giữa có lẽ có chân ga hay thứ gì đó tương tự, cho động cơ biết nó nên dùng bao nhiêu năng lượng. Đây là năng lượng.
When you want to go faster or uphill, then the engine needs to deliver more power. And in order to do that, you depress the accelerator.
Khi muốn đi nhanh hơn hoặc lên dốc, thì động cơ cần cung cấp nhiều công suất hơn. Và để làm vậy, em đạp chân ga.
And then more energy, more fuel, is going to flow from the tank to the engine, okay?
Rồi nhiều năng lượng hơn, tức nhiều nhiên liệu hơn, sẽ chảy từ bình đến động cơ, được chứ?
So that's the relationship between energy, which in the car is stored as a chemical, petrol, or gas, and power.
Đó là mối quan hệ giữa năng lượng, trong xe được lưu trữ dưới dạng hóa chất, xăng, và công suất.
The engine takes the energy and turns it into power that makes the vehicle move. So again, if we need more power, then we're all going to use also more energy.
Động cơ lấy năng lượng và biến nó thành công suất làm xe chuyển động. Vậy nếu cần nhiều công suất hơn, thì ta cũng sẽ dùng nhiều năng lượng hơn.
And we can put that in a relationship. So the symbol for energy or the letter for energy is usually E. And the letter for power is usually P.
Và ta có thể viết thành một hệ thức. Ký hiệu của năng lượng, hay chữ cái cho năng lượng, thường là E. Còn chữ cái cho công suất thường là P.
And so power is really just the energy delivered in a certain amount of time. Okay?
Và công suất thực chất chỉ là năng lượng được cung cấp trong một khoảng thời gian nhất định. Được chứ?
Or if we write this as a simple differential equation, it's dE dt. Okay?
Hoặc nếu viết thành một phương trình vi phân đơn giản, thì đó là dE dt. Được chứ?
So power is simply the amount of energy that we use per time. So that's how they're related. And that's true for a car engine.
Vậy công suất đơn giản là lượng năng lượng ta dùng trong mỗi đơn vị thời gian. Đó là cách chúng liên hệ với nhau. Điều đó đúng với động cơ xe hơi.
And that's true for electricity or any other form of energy and power. So obviously, we can also write this differently.
Và đúng với điện hay bất kỳ dạng năng lượng và công suất nào khác. Dĩ nhiên, ta cũng có thể viết theo cách khác.
The energy is equal to power times the time that we use this power.
Năng lượng bằng công suất nhân với thời gian ta sử dụng công suất đó.
Or we can write this as an integral of P, which of course, could be a function of time, dt.
Hoặc viết thành tích phân của P, tất nhiên có thể là hàm của thời gian, dt.
So those are the fundamental relationships. I mean, there's really only this one. And then the other one follows between power and energy.
Đó là những quan hệ cơ bản. Thật ra chỉ có một quan hệ này thôi. Còn cái kia suy ra giữa công suất và năng lượng.
Let's look at an example, a very simple example, a light bulb.
Xét một ví dụ rất đơn giản, một bóng đèn.
Let's say it's one of these fancy, new LED light bulbs. It uses 10 watts. That's probably written somewhere on the bulb.
Giả sử đó là loại bóng đèn LED mới, hiện đại. Nó dùng 10 watt. Con số này có lẽ được ghi đâu đó trên bóng.
So let's say that we use this for one hour.
Giả sử ta dùng nó trong một giờ.
Then the energy consumed is going to be equal to 10 watts times one hour or 10 watt hour.
Thì năng lượng tiêu thụ sẽ bằng 10 watt nhân một giờ, tức 10 watt giờ.
The unit for energy is apparently watts times time. Well, this is the unit for power. Maybe I should write this down.
Vậy đơn vị của năng lượng rõ ràng là watt nhân thời gian. Còn đây là đơn vị của công suất. Có lẽ thầy nên viết ra.
Let me put this here. Power is P. And the unit is watts.
Để thầy ghi vào đây. Công suất là P. Và đơn vị là watt.
And energy is E. And the unit actually is joule. And this is also equal to power.
Còn năng lượng là E. Và đơn vị thực ra là joule. Và nó cũng bằng công suất.
Because energy is power times time, it's also equal to watts times second. So you can use either. Joule is just maybe a little bit shorter.
Vì năng lượng bằng công suất nhân thời gian, nên nó cũng bằng watt nhân giây. Nên dùng đơn vị nào cũng được. Joule chỉ ngắn hơn một chút.
So we already calculated the energy consumed in one hour by our light bulb that uses 10 watts of power.
Vậy ta đã tính được năng lượng tiêu thụ trong một giờ của bóng đèn dùng công suất 10 watt.
It's a high efficiency LED light bulb. So well, what is this unit here, watt hour? Well, we can rewrite this very simply.
Đây là bóng đèn LED hiệu suất cao. Vậy đơn vị watt giờ này là gì? Ta có thể viết lại rất đơn giản.
That's 10 times watt. What is an hour? Well, it's simply 3,600 seconds.
Đó là 10 nhân watt. Một giờ là bao nhiêu? Đơn giản là 3.600 giây.
So this is actually 36,000 watt seconds, or 36. Well, 1000 is kilo, k.
Vậy thực ra là 36.000 watt giây, hay 36. À, 1000 là kilo, k.
And watt second is joules. So 36 kilojoules, that's what our bulb uses in one hour.
Và watt giây là joule. Vậy 36 kilojoule, đó là năng lượng bóng đèn dùng trong một giờ.
And if we turn it on for 10 hours, because we have to study for an exam or something, well, then the energy would be equal to 10 watts times 10 hours, or 100 watt hours.
Và nếu bật nó 10 giờ, vì ta phải học cho kỳ thi hay việc gì đó, thì năng lượng sẽ bằng 10 watt nhân 10 giờ, tức 100 watt giờ.
If you look on your electricity bill that PH&E sends you — I'm sure they're not going to be late on that.
Nếu em nhìn hóa đơn tiền điện PG&E gửi cho em — chắc chắn họ sẽ không trễ vụ đó đâu.
They're not going to turn that one off — then you will see that they will charge you per watt hour, or maybe per kilowatt hour.
Họ sẽ không cắt cái đó — thì em sẽ thấy họ tính tiền theo watt giờ, hoặc có thể theo kilowatt giờ.
It costs about $0.40 or so, at least on my bill. It cost about $0.40 per kilowatt hour of electricity. Half of it goes towards generation.
Giá khoảng 0,40 đô la, ít nhất là trên hóa đơn của thầy. Khoảng 0,40 đô la cho mỗi kilowatt giờ điện. Một nửa là cho khâu phát điện.
So that's actually using a generator, making the electricity. And the other half is for distribution, getting it to us when they send it. Okay?
Tức là dùng máy phát điện để sản xuất ra điện. Nửa còn lại là cho khâu phân phối, đưa điện đến chúng ta khi họ gửi đi. Được chứ?
So there is one other thing that I want to briefly talk about. And that is batteries.
Còn một điều nữa tôi muốn nói qua một chút. Đó là pin.
A battery stores energy, of course.
Tất nhiên, pin dự trữ năng lượng.
It stores it in a chemical format. But it's done in such a way that it's very easily converted to electricity. So that's what we use to power our smartphones, and so on.
Nó lưu trữ dưới dạng hóa học. Nhưng theo cách rất dễ chuyển đổi thành điện năng. Đó là thứ ta dùng để cấp nguồn cho điện thoại thông minh, v.v.
But how much energy does a battery actually store? Well, it's probably also written somewhere on the battery, or at least on the spec sheet that you get when you buy the battery.
Vậy một viên pin thực sự chứa bao nhiêu năng lượng? Chắc là nó cũng được ghi đâu đó trên pin, hoặc ít nhất là trên bảng thông số khi bạn mua pin.
And the unit is a little bit weird.
Và đơn vị này hơi lạ.
The unit of energy that is used for batteries is usually amp hours.
Đơn vị năng lượng dùng cho pin thường là amp giờ.
Anybody has seen this? Amp hours. Amp hours. So what's going on here?
Có ai từng thấy chưa? Amp giờ. Amp giờ. Vậy chuyện gì đang diễn ra ở đây?
Well, this actually this isn't even really a unit for energy. But really what is meant is that the battery — let's suppose we have a battery the a AA cell.
Thật ra đây thậm chí không phải là đơn vị của năng lượng. Ý thực sự là pin... giả sử ta có một viên pin AA.
They normally are let's say 1.5 volts, approximately 1.5 volts, okay? So the voltage of the batteries kind of given, right?
Thường là 1,5 volt, xấp xỉ 1,5 volt, được chứ? Vậy điện áp của pin coi như đã cho, đúng không?
So the total energy in the battery — the actual energy is simply the V cell times let's say this capacity of the battery times capacity of the battery.
Vậy tổng năng lượng trong pin... năng lượng thực sự đơn giản là V cell nhân với dung lượng của pin, giả sử vậy, dung lượng của pin.
So this particular battery let's say it has 1.5 volts times 1 amp hour.
Giả sử viên pin này có 1,5 volt nhân 1 amp giờ.
So then this battery would store 1.5 — here is a [INAUDIBLE] that I forgot — 1.5 volt times amps is what?
Vậy viên pin này sẽ chứa 1,5... đây là [KHÔNG NGHE RÕ] mà tôi quên... 1,5 volt nhân amp là gì?
A hour.
A giờ.
So watt hour, of course, 1.5 watt hour now is really a unit of energy.
Tức là watt giờ, tất nhiên, 1,5 watt giờ mới thực sự là đơn vị của năng lượng.
And that would be 1.5 times watts times 3,600 seconds or the — well, I let you figure that out.
Và đó là 1,5 nhân watt nhân 3.600 giây hoặc... thôi, để các bạn tự tính.
So about roughly 5,000 watt seconds, or 5,000 joules roughly. I didn't do the calculation.
Khoảng 5.000 watt giây, hay 5.000 joule. Tôi chưa tính.
I need to take off my sweater for somehow lecturing uses energy. And that energy ends up in heat.
Tôi phải cởi áo len ra vì giảng bài cũng tốn năng lượng. Và năng lượng đó cuối cùng thành nhiệt.
So why is it convenient to specify battery capacity in amp hours rather than just joule?
Vậy tại sao tiện hơn khi ghi dung lượng pin bằng amp giờ thay vì joule?
Well, the reason is that if we go back with this example of 1 amp hour battery, what this really means is can deliver one amp for one hour.
Lý do là, quay lại ví dụ pin 1 amp giờ, điều này thực sự có nghĩa là nó cấp được một amp trong một giờ.
That's one amp hour.
Đó là một amp giờ.
A one amp hour battery can deliver one amp for one hour, or of course, 0.1 amp for — well, how long could the battery, the same battery, the one amp hour battery, deliver — oh.
Pin một amp giờ có thể cấp một amp trong một giờ, hoặc tất nhiên, 0,1 amp trong... vậy cùng viên pin đó, pin một amp giờ, cấp được bao lâu... ồ. [KHÔNG NGHE RÕ] Tôi bấm nhầm nút nào à?
SINH VIÊN
[INAUDIBLE] Did I press some weird button here?
[KHÔNG NGHE RÕ] GIẢNG VIÊN: À, nó lại hiện rồi.
STUDENT
[INAUDIBLE] PROFESSOR: Ah, it's back. Okay.
Được rồi.
So if we still have a one amp hour battery, but we are drawing only 0.1 amps, how long will the battery last?
Nếu vẫn là pin một amp giờ, nhưng ta chỉ lấy 0,1 amp, thì pin dùng được bao lâu? 10 giờ.
10 hours. Okay. And of course, you can make more examples like this one, okay? So by the way, what is a good model for a battery?
Được rồi. Tất nhiên, bạn có thể tự làm thêm các ví dụ như vậy. Nhân tiện, mô hình nào tốt cho một viên pin?
Well, a reasonable model for a battery is simply a voltage source, and the voltage of the batteries, V. And the current is [INAUDIBLE] with one caveat.
Một mô hình hợp lý cho pin đơn giản là một nguồn áp, với điện áp của pin là V. Còn dòng điện thì [KHÔNG NGHE RÕ] với một lưu ý.
As we use the battery over time, if this was just a voltage source, then what we would see is the voltage is simply constant over time.
Khi ta dùng pin theo thời gian, nếu đây chỉ là một nguồn áp, thì ta sẽ thấy điện áp đơn giản là không đổi theo thời gian. Nhưng với pin, đến một lúc nào đó ta đã dùng hết năng lượng của pin.
But if it's a battery, well, then at some point, we've used up all the energy of the battery. And then of course, the voltage is going to drop.
Và tất nhiên, điện áp sẽ giảm xuống. Và pin sẽ hết.
And the battery is going to be dead. In the homework and also in most of our calculations, we are not going to worry about what exactly is happening here.
Trong bài tập về nhà và trong hầu hết các tính toán, ta sẽ không bận tâm chính xác chuyện gì xảy ra ở đây. Ta chỉ đơn giản xấp xỉ bằng một hình chữ nhật.
We are simply going to approximate this with a rectangle. The battery loss for example, for 10 hours, this one. And then the battery is dead.
Chẳng hạn pin dùng được 10 giờ, như thế này. Rồi pin hết.
And the voltage instead of being 1.5 volts or whatever our battery voltage should be, it's going to be zero. Okay? We can't use it anymore. So we're going to use the same symbol.
Và điện áp, thay vì là 1,5 volt hay điện áp pin của ta là bao nhiêu, sẽ bằng không. Được chứ? Ta không dùng được nữa. Vậy ta sẽ dùng cùng một ký hiệu.
But we need to remember that this is going to be true only as long as there is energy in our battery. Okay, so — yes?
Nhưng cần nhớ rằng điều này chỉ đúng chừng nào pin còn năng lượng. Được rồi, vậy... có câu hỏi à?
STUDENT
[INAUDIBLE] PROFESSOR: Yes. Yes. If you go and search for batteries, for example, if you buy a car battery, they will tell you this car battery is 80 amp hours or something like that.
[KHÔNG NGHE RÕ] GIẢNG VIÊN: Vâng. Vâng. Nếu bạn tìm kiếm về pin, ví dụ mua ắc quy ô tô, họ sẽ ghi ắc quy này 80 amp giờ hay đại loại vậy. Tương tự, nếu bạn mua pin AAA, không phải lúc nào họ cũng ghi trên nhãn bán lẻ.
Likewise, if you buy AAA batteries or so, they do not always put that on retail kind of labeling.
Nhưng nếu tìm trên mạng, bạn sẽ thấy viên pin này thực ra có 2.000 milliamp giờ.
But if you search on the web, you will find that this battery actually has 2,000 milliamp hours. Usually they say 2,000 milliamp hours instead, or 2,200 milliamp hours instead of saying two amp hours.
Thường họ ghi 2.000 milliamp giờ, hoặc 2.200 milliamp giờ thay vì nói hai amp giờ. Cũng như nhau thôi, đúng không?
Would be same thing, right?
Dù sao, bạn sẽ tìm thấy các thông số này.
Anyways, you find these. And then sometimes you can buy better batteries. They're for a little bit higher capacity.
Và đôi khi bạn có thể mua pin tốt hơn. Chúng có dung lượng cao hơn một chút.
Likewise, if you buy a lithium battery, then you probably expect that it does better than an alkaline battery, for example, of the same size. Yeah, but that's a very good question.
Tương tự, nếu bạn mua pin lithium, thì chắc bạn kỳ vọng nó tốt hơn pin kiềm cùng kích cỡ chẳng hạn. Vâng, đó là một câu hỏi rất hay.
So if you're concerned with how long something lasts and you want to get the best battery, then search a little bit on the web. And you'll find this amp hours.
Nếu bạn quan tâm thứ gì đó dùng được bao lâu và muốn chọn pin tốt nhất, thì hãy tìm trên mạng một chút. Và bạn sẽ thấy thông số amp giờ này. Và bạn sẽ thấy đơn vị này là amp giờ (amp hours).
You will not probably find joule. But you will find the amp hour labeling.
Bạn có lẽ sẽ không thấy đơn vị joule. Nhưng bạn sẽ thấy nhãn ghi ampe giờ.
Okay, so now let's add a little bit more sort of physics.
Được rồi, giờ ta thêm một chút vật lý.
Let's go from energy and power. Let's relate those to volts and current, volts and amps.
Ta đi từ năng lượng và công suất. Ta liên hệ chúng với vôn và dòng điện, vôn và ampe.
Okay? So first of all, we need a definition.
Được chứ? Trước hết, ta cần một định nghĩa.
So volts actually is a unit that is defined in terms of energy.
Vôn thực ra là một đơn vị được định nghĩa theo năng lượng.
And so the voltage between two points, A and B, is defined as Eab dq.
Và điện áp giữa hai điểm A và B được định nghĩa là Eab dq.
And what is meant by this — so we're not going to go very deep on this. You can take a physics class, so they will explain this to you better, but in more details.
Điều này có nghĩa là gì — ta sẽ không đi quá sâu vào phần này. Các bạn có thể học lớp vật lý, ở đó họ sẽ giải thích rõ hơn, chi tiết hơn.
But I'll still give you a little bit of the gist what this means.
Nhưng tôi vẫn nói qua ý chính của nó.
Voltage is the energy that it takes to move an electronic charge from point A to point B.
Điện áp là năng lượng cần để di chuyển một điện tích từ điểm A đến điểm B.
So the voltage between A and B, two points in space, is the energy required to take a charge, an electron, for example, and move it from A to B.
Vậy điện áp giữa A và B, hai điểm trong không gian, là năng lượng cần để lấy một điện tích, ví dụ một electron, và di chuyển nó từ A đến B.
And the next thing is charge, electronic charge. And that's typically for example, it's typically electrons.
Tiếp theo là điện tích. Thông thường đó là các electron.
It could also be protons. But they don't like to move around much. So we're going to use electrons. So now, you cannot see charge, of course.
Cũng có thể là proton. Nhưng chúng không thích di chuyển nhiều. Nên ta sẽ dùng electron. Tất nhiên, bạn không thể nhìn thấy điện tích.
But you can see the effect of charge. And you probably have seen this, right? So what's actually going on? There are lots of charges in the hair of this little girl.
Nhưng bạn thấy được tác dụng của nó. Chắc các bạn đã thấy rồi, đúng không? Vậy chuyện gì đang xảy ra? Có rất nhiều điện tích trên tóc của cô bé này.
And the charge is because if they all have the same sign, they don't like each other. They try to go far apart from each other.
Vì chúng đều cùng dấu nên chúng không ưa nhau. Chúng cố tách xa nhau ra.
And so they make the hair to go as far from each other as they can.
Và chúng làm các sợi tóc dạt ra xa nhau hết mức có thể.
That's how charge can indirectly look like. So how is it related to current?
Đó là cách ta thấy điện tích một cách gián tiếp. Vậy nó liên hệ với dòng điện thế nào?
I is equal to delta q. So charge is actually q. Delta q over delta t.
I bằng delta q. Điện tích ở đây là q. Delta q trên delta t.
And again, we can write this as a differential equation. dq dt. So current is simply how many charges, how many electrons, pass per time.
Và ta lại có thể viết nó dưới dạng vi phân. dq dt. Vậy dòng điện đơn giản là có bao nhiêu điện tích, bao nhiêu electron, đi qua trong mỗi đơn vị thời gian.
Let's get the units here. The units of voltage of course, is well, volts.
Ta xem các đơn vị. Đơn vị của điện áp tất nhiên là vôn.
The unit of charge that is C. And this stands for coulomb, coulomb.
Đơn vị của điện tích là C, nó là viết tắt của coulomb.
And current, we know this already. That is amps.
Còn dòng điện thì ta biết rồi. Đó là ampe.
So for example, one amp is equal to one coulomb, 1C per one second.
Ví dụ, một ampe bằng một coulomb, 1C trên một giây.
So how much is one coulomb?
Vậy một coulomb là bao nhiêu?
Well, one coulomb is — I wrote this down somewhere I thought — yeah, 6.2 — thank you — times 10 to the 18.
Một coulomb là — tôi nhớ đã ghi ở đâu đó rồi — đúng, 6,2 — cảm ơn — nhân 10 mũ 18.
So if you have a current of one amp flowing for one second, then 6 times 10 to the 18th electrons have passed through that wire in this one second.
Nếu có dòng điện một ampe chạy trong một giây, thì 6 nhân 10 mũ 18 electron đã đi qua sợi dây đó trong một giây này.
So one coulomb is a heck of a lot of electrons. 10 to the 18th, well, how many are we on the earth?
Vậy một coulomb là cực kỳ nhiều electron. 10 mũ 18, trên Trái Đất có bao nhiêu người nhỉ?
Something like eight billion. So it's like 8 times 10 to the ninth. But this 10 to the ninth times more the square of it. So it's an incredibly large number for lots of electrons.
Khoảng tám tỷ. Tức là khoảng 8 nhân 10 mũ 9. Nhưng con số kia còn lớn hơn, cỡ bình phương của nó. Đó là một số cực lớn, ứng với rất nhiều electron.
So now, the next thing we can do is we now can relate — we can now find what the power is or can express power
Bước tiếp theo, giờ ta có thể liên hệ — giờ ta có thể tìm công suất, hay biểu diễn công suất
as a function of voltage and current. So power is equal to dE dt.
theo điện áp và dòng điện. Công suất bằng dE dt.
And we said that dE dq, we said that this is voltage times dq dt.
Và ta đã nói dE dq là điện áp nhân dq dt.
This is current. So power is apparently equal to voltage times current.
Đây là dòng điện. Vậy công suất bằng điện áp nhân dòng điện.
And of all the equations that I wrote down, this is by far the most important one. I will use that most often. And so I frame it like this.
Trong tất cả các phương trình tôi viết, đây là phương trình quan trọng nhất. Tôi sẽ dùng nó thường xuyên nhất. Vì vậy tôi đóng khung nó như thế này.
So if you want to know how much power an electronic circuit uses, all we have to do — or an electronic component, a resistor for example uses — all we have to do is you have to figure out the voltage and the current, multiply them together.
Nếu muốn biết một mạch điện tử tiêu thụ bao nhiêu công suất hay một linh kiện điện tử, ví dụ một điện trở, tiêu thụ bao nhiêu — bạn chỉ cần xác định điện áp và dòng điện, rồi nhân chúng với nhau.
And that's where we are. We have the power. If we wanted to know the energy, how would we do that?
Và thế là xong. Ta có công suất. Nếu muốn biết năng lượng thì làm thế nào?
Well, we have to figure out how long are we using this power, right? And then you would have to multiply with the time. The power times time well, that's energy.
Ta phải xác định ta dùng công suất này trong bao lâu, đúng không? Rồi nhân với thời gian. Công suất nhân thời gian chính là năng lượng.
Okay, so now, we need to talk again, more about this passive sign convention.
Được rồi, giờ ta cần nói lại về quy ước dấu thụ động.
So we have an element like this. It could be a battery. It could be a resistor. It really doesn't matter.
Ta có một phần tử như thế này. Nó có thể là pin. Có thể là điện trở. Thật ra không quan trọng.
And the voltage across this element is V element. And the current that passes through the element is I element.
Điện áp trên phần tử này là V element. Và dòng điện chạy qua phần tử là I element.
And again, passive sign convention means that the voltage is from plus to minus. And the current goes in the same direction from the plus to the minus.
Một lần nữa, quy ước dấu thụ động nghĩa là điện áp đi từ cực dương sang cực âm. Và dòng điện chạy cùng chiều, từ cực dương sang cực âm.
If we do it different, than it's not passive sign convention. Then all the rules that we are going to write down just now, they're not going to apply.
Nếu ta làm khác đi thì đó không phải quy ước dấu thụ động. Khi đó mọi quy tắc ta sắp viết ra sẽ không còn áp dụng được.
So be careful with the direction of voltage and current.
Nên hãy cẩn thận với chiều của điện áp và dòng điện.
So P dissipated is equal to V element times I element.
P dissipated bằng V element nhân I element.
The power dissipated — is equal to the product of the voltage times the current of our element provided that we are using the passive sign convention.
Công suất tiêu tán bằng tích của điện áp và dòng điện của phần tử với điều kiện ta dùng quy ước dấu thụ động.
So we can easily figure out how much power an element dissipates by simply multiplying voltage times current.
Vậy ta dễ dàng tìm được một phần tử tiêu tán bao nhiêu công suất chỉ bằng cách nhân điện áp với dòng điện.
If this power dissipated comes out to be negative, let's say -1, what does this mean? What do you think that would mean?
Nếu công suất tiêu tán này ra âm, giả sử -1, thì điều đó nghĩa là gì? Bạn nghĩ nó có nghĩa là gì?
Yes?
Bạn nào?
STUDENT
[INAUDIBLE] PROFESSOR: What?
[KHÔNG NGHE RÕ] GIẢNG VIÊN: Sao cơ?
STUDENT
[INAUDIBLE] PROFESSOR: The power increases, yeah.
[KHÔNG NGHE RÕ] GIẢNG VIÊN: Công suất tăng lên, đúng rồi.
Instead of being dissipated, something else maybe happens to the power. Yes?
Thay vì bị tiêu tán, có điều gì khác có thể xảy ra với công suất. Bạn nào nữa?
STUDENT
[INAUDIBLE] PROFESSOR: No. No. Yes, back there. Yes, back there.
[KHÔNG NGHE RÕ] GIẢNG VIÊN: Không. Không. Bạn ở cuối lớp. Bạn ở cuối lớp.
STUDENT
[INAUDIBLE] PROFESSOR: Okay, let's parse this. So that's important, that we get this right.
[KHÔNG NGHE RÕ] GIẢNG VIÊN: Được, ta phân tích nhé. Điều này quan trọng, ta phải hiểu cho đúng.
So power dissipated and power absorbed is really the same thing, right? I'm basically, I'm taking this one and I do whatever with it Okay?
Công suất tiêu tán và công suất hấp thụ thực ra là một, đúng không? Về cơ bản, tôi nhận phần công suất này và dùng nó làm gì cũng được. Được chứ?
Maybe I make light with it, if I'm a light bulb. Okay, but if the power is negative that I'm dissipating, that means I'm really not dissipating power.
Nếu là bóng đèn thì tôi dùng nó để phát sáng. Nhưng nếu công suất tiêu tán là âm, nghĩa là thực ra tôi không tiêu tán công suất.
I'm doing something else. And if you think about a battery. What might a battery do with power? It doesn't dissipate power.
Tôi đang làm việc khác. Hãy nghĩ đến một cục pin. Pin có thể làm gì với công suất? Nó không tiêu tán công suất.
It delivers power, right? So when we get negative power, all it means is that apparently we have something.
Nó cung cấp công suất, đúng không? Vậy khi công suất âm, điều đó chỉ có nghĩa là ta có một phần tử nào đó.
It could be a battery that is not consuming power, that is delivering power to the rest of the circuit to make the circuit work.
Có thể là một cục pin không tiêu thụ công suất, mà cung cấp công suất cho phần còn lại của mạch để mạch hoạt động.
So this passive sign convention is kind of slick. It works for any element. It could be a resistor. And resistors we'll see shortly.
Quy ước dấu thụ động này khá hay. Nó áp dụng cho mọi phần tử. Có thể là điện trở. Chúng ta sẽ sớm học về điện trở.
They usually dissipate power. But it also could be a source, a battery, for example, or a current source.
Chúng thường tiêu tán công suất. Nhưng cũng có thể là một nguồn, chẳng hạn pin, hoặc một nguồn dòng.
And in that case, it may well be that the power that we calculate is negative, which means that it's not dissipated.
Khi đó, rất có thể công suất ta tính ra là âm, nghĩa là nó không bị tiêu tán.
It's delivered to the rest of the circuit, so the rest of the circuit can do its thing. For example, there might be a touch sensor that needs power in order to detect touch, okay?
Nó được cung cấp cho phần còn lại của mạch, để phần còn lại đó hoạt động. Ví dụ, có thể có một cảm biến chạm cần công suất để phát hiện cái chạm, hiểu chứ?
So negative, less than zero, means power.
Vậy âm, nhỏ hơn không, nghĩa là cung cấp công suất.
Okay. So if the power is negative, that means that this element delivers power to the rest of the circuit. Very useful.
Được rồi. Nếu công suất âm thì phần tử này cung cấp công suất cho phần còn lại của mạch. Rất hữu ích.
So let's look at an example.
Ta xem một ví dụ.
A very simple circuit here consists of a resistor or let's say the value of this [INAUDIBLE] happens to be 1k ohm. 1k ohm, k stands 1,000.
Một mạch rất đơn giản gồm một điện trở, giả sử giá trị của nó [KHÔNG NGHE RÕ] là 1k ohm. 1k ohm, k nghĩa là 1.000.
So that's 1,000 ohm. And then there is a current source, Ics.
Tức là 1.000 ohm. Và có một nguồn dòng, Ics.
And it outputs in our example one milliamp, one milliamp, or thousands — milli stands for 10 to the minus 3.
Trong ví dụ này nó cho ra một milliamp, hay một phần nghìn... milli nghĩa là 10 mũ -3.
So now what we want to figure it out is power dissipated or possibly delivered by both the current source and the resistor.
Giờ ta muốn tìm công suất tiêu tán hoặc có thể là được cung cấp bởi cả nguồn dòng lẫn điện trở.
So let's start with the resistor.
Ta bắt đầu với điện trở.
If we want to figure out how much power this resistor dissipates or delivers, we don't know, then we need to figure out the voltage of the resistor.
Muốn biết điện trở này tiêu tán hay cung cấp bao nhiêu công suất, ta chưa biết, thì cần tìm điện áp trên điện trở.
Let's call this VR. And we need to also figure out what is the current through the resistor. Let's call this IR. And again, we're very, very careful.
Gọi nó là VR. Ta cũng cần tìm dòng điện qua điện trở. Gọi nó là IR. Và một lần nữa, ta phải rất cẩn thận.
We can pick — you can try it. You can pick the direction of the voltage, whichever way you like.
Các bạn có thể chọn, cứ thử đi. Chiều của điện áp thì chọn tùy ý, thích chiều nào cũng được.
But once you've done that, the current, the direction of the current is given passive sign convention.
Nhưng một khi đã chọn, chiều của dòng điện sẽ do quy ước dấu thụ động quyết định.
And you can try it afterwards yourselves by flipping the current around and seeing whether you calculate the same power. You better. Should.
Sau đó các bạn có thể tự thử bằng cách đổi chiều dòng điện rồi xem công suất tính ra có giống nhau không. Phải giống đấy. Nên là vậy.
But we pick this arbitrarily, up, down. And so we could now use [INAUDIBLE] and [INAUDIBLE] and so on. And that's of course perfectly fine.
Ở đây ta chọn tùy ý, chiều lên, xuống. Giờ ta có thể dùng [KHÔNG NGHE RÕ] và [KHÔNG NGHE RÕ] và vân vân. Và tất nhiên làm vậy hoàn toàn ổn.
But let me show you in this and in future examples also, sometimes quicker way.
Nhưng trong ví dụ này và cả những ví dụ sau, tôi sẽ chỉ một cách đôi khi nhanh hơn.
Sometimes it's easier to just use Kirchhoff's current laws or Kirchhoff's voltage law, directly without doing all the full node voltage and all this, in order to get results.
Đôi khi dùng trực tiếp định luật Kirchhoff về dòng hoặc định luật Kirchhoff về áp sẽ dễ hơn, không cần làm toàn bộ phân tích điện áp nút, mà vẫn ra kết quả.
So let's do that here. Well, if the current here, Ics, yes is 1 miiliamp, what is Ir?
Ta làm vậy ở đây. Nếu dòng Ics là 1 milliamp thì Ir bằng bao nhiêu?
Well, Kirchhoff's current law would tell us that all the current leaving the node, IR, are equal to all the currents entering the node, Ics, well, they're equal.
KCL cho ta biết rằng tổng dòng điện đi ra khỏi nút, IR, bằng tổng dòng điện đi vào nút, Ics, tức là chúng bằng nhau.
These two currents are equal. That makes perfect sense. I mean, the current that comes out of the current source needs to go somewhere. And there is no other connection than this resistor there.
Hai dòng điện này bằng nhau. Điều này hoàn toàn hợp lý. Dòng điện đi ra từ nguồn dòng phải đi đâu đó. Mà ở đó không có kết nối nào khác ngoài điện trở này.
So it better flows into the resistor. The electrons just sort of disappear. And we are going to run out of electrons or something like that. I don't know.
Nên nó phải chảy vào điện trở. Các electron đâu thể tự biến mất. Nếu không thì ta sẽ hết electron hay đại loại như vậy. Tôi không biết nữa.
[INAUDIBLE] Okay, so these two currents are equal. Well, what is VR? Well, VR we can now use Ohm's law. VR is equal to R times IR.
[KHÔNG NGHE RÕ] Vậy hai dòng điện này bằng nhau. Thế VR bằng bao nhiêu? Với VR, giờ ta có thể dùng định luật Ohm. VR bằng R nhân IR.
And that is equal to 1k ohm times 1 milliohm. The k, the kilo, and the milli, they just annihilate each other.
Tức là 1k ohm nhân 1 milliohm. Chữ k, kilo, và milli, chúng triệt tiêu nhau.
10 to the 3 times 10 to the -3, well, this is going to be equal to one volt. Now, we want to know the power.
10 mũ 3 nhân 10 mũ -3, ừ, cái này sẽ bằng một vôn. Giờ ta muốn biết công suất.
The power is P. Let's call it PR is equal to VR times IR.
Công suất là P. Gọi là PR, bằng VR nhân IR.
And that is equal to 1 volt times to 1 milliamp, or 1 milliwatt, so a thousandths of a watt.
Và nó bằng 1 volt nhân 1 milliamp, tức là 1 milliwatt, một phần nghìn watt.
And is this power dissipated in the resistor? Or is the resistor delivering power to the rest of the — yeah?
Vậy công suất này bị tiêu tán trong điện trở? Hay điện trở đang cấp công suất cho phần còn lại của — gì vậy em?
STUDENT
[INAUDIBLE] PROFESSOR: Could I — STUDENT: [INAUDIBLE] PROFESSOR: No, power is watts.
[KHÔNG NGHE RÕ] GIẢNG VIÊN: Cho tôi — SINH VIÊN: [KHÔNG NGHE RÕ] GIẢNG VIÊN: Không, công suất có đơn vị là watt.
Okay? Power is watts. And energy is power times time. And then you get watt seconds or joule.
Được chứ? Công suất là watt. Còn năng lượng là công suất nhân thời gian. Khi đó ta được watt giây, tức joule.
Okay? Good question. Yeah, let's make sure that we have this clear.
Được chứ? Câu hỏi hay. Ta hãy làm cho rõ chỗ này.
So we have power that is plus one milliwatt. That's the power in that resistor. Is this power dissipated in the resistor? Yep, it's dissipating.
Vậy công suất là cộng một milliwatt. Đó là công suất trên điện trở đó. Công suất này có bị tiêu tán trong điện trở không? Đúng, nó đang tiêu tán.
Dissipated. Any idea what happens with the power that this resistor dissipates? Yes?
Bị tiêu tán. Có ai biết công suất mà điện trở này tiêu tán sẽ đi đâu không? Em nào?
STUDENT
[INAUDIBLE] PROFESSOR: Exactly, it becomes heat. And do you know of something, maybe even own something, that does precisely this? Well, if you have an electric cooking range, that's really all it is.
[KHÔNG NGHE RÕ] GIẢNG VIÊN: Chính xác, nó biến thành nhiệt. Các em có biết, thậm chí có sở hữu, thứ gì làm đúng việc này không? Nếu em có bếp điện, thì thực chất nó chỉ là một điện trở.
It's a resistor. And that resistor turns the electricity into heat. Simple as that. Okay, that's not induction cooking.
Và điện trở đó biến điện năng thành nhiệt. Đơn giản vậy thôi. Lưu ý, đó không phải bếp từ.
Okay, so now let's continue with our example.
Được rồi, ta tiếp tục với ví dụ.
And we want to know also, the power of the current. So this is Ics.
Ta cũng muốn biết công suất của nguồn dòng. Đây là Ics.
Well, if that goes like that, then Vcs has to go in the same direction. Notice, It's not VR.
Nếu dòng điện đi theo chiều này thì Vcs phải cùng chiều. Chú ý, nó không phải VR.
The current is flowing always, passive sign convention, it's flowing from the plus sign to the minus sign.
Theo quy ước dấu thụ động, dòng điện luôn chạy từ cực dương sang cực âm.
So Ics — I can write it here again — is going from plus to minus.
Vậy Ics, tôi viết lại ở đây, đi từ dương sang âm.
And so Vcs is the way I've shown it. So be careful about that. Don't just copy the signs. I see some question marks in eyes.
Và Vcs là như tôi vẽ. Nên hãy cẩn thận chỗ này. Đừng chép dấu một cách máy móc. Tôi thấy có dấu hỏi trong mắt các em.
Somebody has wants clarification? Yep?
Ai muốn hỏi thêm không? Em nào?
STUDENT
[INAUDIBLE] PROFESSOR: Ah, let's figure that out. So how would you figure that out? Is Vcs equal to VR? Or what is it?
[KHÔNG NGHE RÕ] GIẢNG VIÊN: À, ta cùng tìm ra nhé. Vậy em sẽ xác định thế nào? Vcs có bằng VR không? Hay nó là gì?
So what we are going to do here is we are going to use Kirchhoff's current law.
Ở đây ta sẽ dùng định luật Kirchhoff về dòng.
So figure that out with Kirchhoff's voltage law, not current law. Okay? So we enter here at the positive sign.
À không, tìm bằng định luật Kirchhoff về áp, không phải về dòng. Được chứ? Ta đi vào ở cực dương.
So that means we have to sum Vcs with a positive sign. Then we enter again at the positive sign. So we have to add VR here. And the sum of these must be 0.
Nghĩa là ta cộng Vcs với dấu dương. Rồi lại đi vào ở cực dương. Nên ta cộng VR ở đây. Và tổng của chúng phải bằng 0.
So now we have the answer to your question.
Vậy là ta có câu trả lời cho câu hỏi của em.
Apparently, Vcs is equal to minus VR is equal to minus one volt. And so Pcs is equal to Vcs times Ics is equal to minus 1 volt time.
Rõ ràng, Vcs bằng trừ VR bằng trừ một volt. Và Pcs bằng Vcs nhân Ics bằng trừ 1 volt nhân với
Ics was 1 milliamp. So that is equal to minus 1 milliwatt. Is the current source delivering power?
Ics là 1 milliamp. Vậy nó bằng trừ 1 milliwatt. Nguồn dòng đang cấp công suất?
Or is it dissipating power? It's delivering power. It's negative. It delivers power.
Hay đang tiêu tán công suất? Nó đang cấp công suất. Giá trị âm. Nó cấp công suất.
In this particular case it delivers the power to the resistor.
Trong trường hợp này nó cấp công suất cho điện trở.
Okay, so the current source delivers power. Let's calculate something. Let's calculate PR plus Pcs.
Vậy nguồn dòng cấp công suất. Ta tính thử một thứ. Tính PR cộng Pcs.
Well, the PR was equal to 1 milliwatt plus Pcs was minus 1 milliwatt.
PR bằng 1 milliwatt cộng Pcs là trừ 1 milliwatt.
The sum is 0. Does this surprise you? Why not?
Tổng bằng 0. Các em có ngạc nhiên không? Tại sao không?
What's really the reason for this? Well, the reason really is conservation of energy.
Lý do thực sự là gì? Lý do chính là bảo toàn năng lượng.
If one element would deliver more power, then the other one absorbs. Somehow this energy would have to go somewhere. It cannot go anywhere. So this is going to be true for all circuits.
Nếu một phần tử cấp nhiều công suất hơn thì phần tử kia hấp thụ. Năng lượng này bằng cách nào đó phải đi đâu đó. Mà nó không thể đi đâu cả. Nên điều này đúng với mọi mạch.
If you calculate the power dissipated by all the elements in a circuit, you add it all together, their sum is always going to be 0. Okay?
Nếu em tính công suất tiêu tán bởi tất cả các phần tử trong mạch rồi cộng lại, tổng của chúng luôn bằng 0. Được chứ?
So that's very helpful if we do some calculations. So we can check afterwards whether we did things right. Yes?
Điều này rất hữu ích khi ta tính toán. Nhờ vậy sau đó ta có thể kiểm tra mình làm đúng chưa. Em nào?
STUDENT
[INAUDIBLE] PROFESSOR: So what's happening if we have a short circuit?
[KHÔNG NGHE RÕ] GIẢNG VIÊN: Vậy điều gì xảy ra nếu có ngắn mạch?
So for short circuit — so for example, if we had let's say, a current source like this and we had a short circuit right across it, well, what's the voltage here?
Với ngắn mạch, ví dụ ta có một nguồn dòng như thế này và có một ngắn mạch ngay song song với nó, thì điện áp ở đây là bao nhiêu?
Now, in this particular case, Vcs and V short circuit are equal, right? Because it can use again KVL. So V short circuit, well, what is that? That's 0 volts, right?
Trong trường hợp này, Vcs và V ngắn mạch bằng nhau, đúng không? Vì ta lại dùng được KVL. Vậy V ngắn mạch là bao nhiêu? Là 0 volt, đúng không?
So that means that this here is 0 volts also. What's the power?
Nghĩa là chỗ này cũng bằng 0 volt. Công suất là bao nhiêu?
Well, it's going to be Vcs times Ics. I have even told you what Ics is. But does it matter? Well, this is 0.
Nó sẽ là Vcs nhân Ics. Tôi thậm chí đã cho biết Ics là bao nhiêu. Nhưng điều đó có quan trọng không? Vì cái này bằng 0.
So this is going to be 0. Okay? So this is one example of short circuit. So there is example two of short circuit.
Nên kết quả sẽ bằng 0. Được chứ? Đây là một ví dụ về ngắn mạch. Và đây là ví dụ thứ hai về ngắn mạch.
Let's say this was a voltage source.
Giả sử đây là một nguồn áp.
And we did this.
Và ta làm như thế này.
Well, if you did this with a battery, you had a battery and you were to just connect the two prongs of the battery with a wire, what would happen?
Nếu bạn làm thế này với một cục pin, bạn có một cục pin và bạn nối hai cực của pin bằng một sợi dây, chuyện gì sẽ xảy ra?
What do you think would happen? It would get hot really fast. And the battery, depending on what battery it is, it would explode.
Các bạn nghĩ chuyện gì sẽ xảy ra? Nó sẽ nóng lên rất nhanh. Và pin, tùy loại pin nào, nó sẽ nổ.
Never do this with a car battery, or you will be bathed in acid. Okay?
Đừng bao giờ làm vậy với ắc quy ô tô, nếu không bạn sẽ bị tắm trong axit. Okay?
So all the loss that we derived, and so on, they still apply.
Vậy nên mọi tổn hao mà ta đã suy ra vẫn áp dụng.
And the reason is that this wire here, even though we model it normally as a resistor, a short circuit resistor is 0 ohms. It doesn't really exist, right?
Lý do là sợi dây này, dù ta thường mô hình hóa nó là một điện trở, điện trở ngắn mạch là 0 ohm. Nó không thật sự tồn tại, đúng không?
So in reality, there is as little resistance. And that little resistor is in the wire. It's going to dissipate a lot of energy in a hurry. And it gets really, really hot.
Thực tế vẫn có một chút điện trở. Và điện trở nhỏ đó nằm trong sợi dây. Nó sẽ tiêu tán rất nhiều năng lượng trong chớp mắt. Và nó nóng lên rất, rất nhanh.
Same thing as your electric cooking appliance, except that that's not the purpose. So don't do this. Yes?
Giống như thiết bị nấu ăn bằng điện của bạn, nhưng đó không phải là mục đích. Nên đừng làm vậy. Có câu hỏi không?
STUDENT
[INAUDIBLE] PROFESSOR: Yeah. The current is very — like let's say you had here a 12 volt car battery.
[KHÔNG NGHE RÕ] GIẢNG VIÊN: Đúng. Dòng điện rất... giả sử ở đây bạn có một ắc quy ô tô 12 volt.
And this resistance let's say was 10 to the minus 3 ohm, 1 milliohm. It's a decent sized wire.
Và giả sử điện trở này là 10 mũ trừ 3 ohm, tức 1 milliohm. Đó là một sợi dây cỡ khá.
Well, then I is equal to voltage over resistance.
Khi đó I bằng điện áp chia điện trở.
That is equal to 12 volts divided by 10 to the minus 3 ohms. So that is equal to 12.
Tức là 12 volt chia cho 10 mũ trừ 3 ohm. Vậy bằng 12.
This is a big current. It's a hell of a current. You need a wire this big. So the wire doesn't melt. Okay?
Đây là một dòng điện lớn. Một dòng điện khủng khiếp. Bạn cần một sợi dây to cỡ này để dây không bị chảy. Okay?
Unless you are building these huge high voltage transmission wires, don't use 12,000 amps. It's not going to last for a long time. And maybe you are not going to last for a long time.
Trừ khi bạn đang xây những đường dây truyền tải điện áp cao khổng lồ, đừng dùng 12.000 ampe. Nó sẽ không bền lâu đâu. Và có thể bạn cũng không bền lâu đâu.
Okay, so the resistor makes heat. Again, a light bulb would use this energy, at least some of the energy, hopefully, most of it. LEDs are better than old incandescent to make light.
Okay, vậy điện trở sinh ra nhiệt. Một bóng đèn thì dùng năng lượng này, ít nhất là một phần năng lượng, hy vọng là phần lớn. LED phát sáng tốt hơn bóng đèn sợi đốt cũ.
And then of motors they make magnetic energy and ultimately, make wheels turn, and so on.
Còn động cơ thì tạo ra năng lượng từ và cuối cùng làm bánh xe quay, v.v.
So there are lots of ways to take electrical energy and make something else out of it, not just heat. Okay?
Vậy có rất nhiều cách để lấy năng lượng điện và biến thành thứ khác, không chỉ là nhiệt. Okay?
So just one more example a little bit quickly. So that I'm not going to run out of time. So this is example two.
Giờ thêm một ví dụ nữa, làm hơi nhanh một chút. Để không bị hết giờ. Đây là ví dụ hai.
So here we have voltage V1. And here we have current I1. So we have a voltage source. And we have a current source.
Ở đây ta có điện áp V1. Và ở đây ta có dòng điện I1. Vậy ta có một nguồn áp. Và một nguồn dòng.
And they sort of are arranged like a snake that bites itself, in a circle.
Chúng được sắp xếp như một con rắn tự cắn đuôi mình, thành một vòng tròn.
Okay, so we want to figure it out — let's say we want to figure it the power dissipated by each element.
Okay, ta muốn tìm, giả sử ta muốn tìm công suất tiêu tán trên mỗi phần tử.
So this voltage here is going to be V1. And sorry, I made a mistake here.
Điện áp ở đây sẽ là V1. Và xin lỗi, tôi đã nhầm ở đây.
If we want to figure it out the power dissipated in the current source, we need to use passive sign convention. So plus is here.
Nếu muốn tìm công suất tiêu tán trên nguồn dòng, ta cần dùng quy ước dấu thụ động. Vậy dấu cộng ở đây.
And this is a big, fat minus sign, because I made a mistake. And so this is going to be equal to Vc1. Let's call this Vc.
Và đây là một dấu trừ to đùng, vì tôi đã nhầm. Và nó sẽ bằng Vc1. Ta gọi cái này là Vc.
So now, we know what V1 is, right? So we can use again Kirchhoff's law. So we enter V1 at the minus sign.
Giờ ta biết V1 là gì rồi, đúng không? Nên ta lại dùng định luật Kirchhoff. Ta đi vào V1 ở dấu trừ.
So we get minus V1 KVL. We get minus V1. Then we enter again at the minus sign. So that is minus Vc1 equals 0.
Vậy ta có trừ V1, KVL. Ta được trừ V1. Rồi ta lại đi vào ở dấu trừ. Vậy là trừ Vc1 bằng 0.
We're done with the loop. So they need to add up to 0. And the reason we get two minus signs is we enter a minus sign. We enter again at a minus sign.
Ta đã đi hết vòng. Nên chúng phải cộng lại bằng 0. Lý do ta có hai dấu trừ là ta đi vào ở dấu trừ. Rồi lại đi vào ở dấu trừ.
So we need to use minus signs instead of pluses. Make sense? Okay. So from here of course, we can figure out that Vc1 is equal to minus V1.
Nên ta phải dùng dấu trừ thay vì dấu cộng. Hiểu chưa? Okay. Từ đây dĩ nhiên ta suy ra được Vc1 bằng trừ V1.
In fact, it's exactly the same as we had before. Let's say that this was one volt. And this one was one amp.
Thực ra nó y hệt như lúc trước. Giả sử cái này là một volt. Và cái này là một ampe.
So then we have P current source is equal to minus V1, Vc1 is minus V1, times Ic1.
Vậy công suất nguồn dòng bằng trừ V1, Vc1 là trừ V1, nhân Ic1.
So that is going to be equal to minus 1 volt times 1 amp. And that is equal to minus 1 watt.
Vậy sẽ bằng trừ 1 volt nhân 1 ampe. Và bằng trừ 1 watt.
Is the current source delivering power? Or is it dissipating power? It's delivering power. Who does it deliver power to?
Nguồn dòng đang cấp công suất hay đang tiêu tán công suất? Nó đang cấp công suất. Nó cấp công suất cho ai?
Who does it deliver power — where does this power go?
Nó cấp công suất cho ai, công suất này đi đâu?
It has to go to the battery. So the battery needs to, because this power, they sum up all to 0. What does it need to do, this battery?
Nó phải đi vào pin. Nên pin phải, vì các công suất này cộng lại đều bằng 0. Pin này cần phải làm gì?
It needs to dissipate power. It has to. So let's figure it out the current. The current here, this one amp, is flowing like this.
Nó cần tiêu tán công suất. Bắt buộc phải thế. Giờ ta tìm dòng điện. Dòng điện ở đây, một ampe này, chạy theo hướng này.
So that's I1 is equal to one amp. It keeps going the same direction.
Vậy I1 bằng một ampe. Nó vẫn đi theo cùng chiều.
So P voltage source is equal to V1 times well, Ic1. So that is equal to plus one watt.
Vậy công suất nguồn áp bằng V1 nhân, à, Ic1. Vậy bằng cộng một watt.
And the sum is equal to 0, like it should be. And that means that the voltage source, even though it's a source, it's not at all delivering power to the rest of the [INAUDIBLE].
Và tổng bằng 0, đúng như phải thế. Điều đó nghĩa là nguồn áp, dù là nguồn, nhưng hoàn toàn không cấp công suất cho phần còn lại của [KHÔNG NGHE RÕ].
It's actually burning up power. Hopefully, it's a rechargeable battery. If it's not, then all sorts of things could happen. Maybe it just turns it into heat.
Thực ra nó đang tiêu hao công suất. Hy vọng đó là pin sạc được. Nếu không thì đủ thứ chuyện có thể xảy ra. Có thể nó chỉ biến thành nhiệt.
And maybe turns it into a spectacular — what is it — 4th of July display. Okay?
Hoặc có thể biến thành một màn trình diễn ngoạn mục — gọi là gì nhỉ — pháo hoa ngày 4 tháng 7. Được chứ?
So this is a circuit that is sort of interesting to illustrate how things work, to think about things, but maybe not a circuit we want to build. Okay.
Vậy đây là một mạch khá thú vị để minh họa cách mọi thứ hoạt động, để suy nghĩ, nhưng có lẽ không phải mạch mà ta muốn xây dựng. Được rồi.
So that much about power. So now let's switch topics a little bit, okay?
Vậy là xong phần công suất. Bây giờ ta chuyển sang chủ đề khác một chút nhé.
In fact, let's make it a little bit — this week, you are starting.
Thật ra, ta làm cho nó thêm một chút — tuần này, các em bắt đầu làm.
And then next week, you're going to put together a touchscreen. So this week, you're going to build the green stuff. There's going to be some resistors.
Và tuần sau, các em sẽ ráp một màn hình cảm ứng. Tuần này, các em sẽ làm phần màu xanh lá. Sẽ có một số điện trở.
You're going to solder. Who has soldered already? Okay, most of you. You're ahead of me.
Các em sẽ hàn. Ai đã từng hàn rồi? Được rồi, phần lớn các em. Các em đi trước thầy rồi.
But this one you haven't seen yet, huh? This one is new. So you're going to hook up a little computer to this thing. And then once you do that, it becomes a 2D touchscreen.
Nhưng cái này thì các em chưa thấy, đúng không? Cái này là mới. Các em sẽ nối một máy tính nhỏ vào nó. Và khi làm vậy, nó trở thành một màn hình cảm ứng 2D.
So how does this thing work?
Vậy nó hoạt động thế nào?
10.
10.
2D.
2D.
Okay, we already had built a 1D touchscreen, okay? So let's remind ourselves how that thing worked.
Được rồi, ta đã làm một màn hình cảm ứng 1D rồi, nhớ chứ? Hãy nhắc lại nó hoạt động thế nào.
So that was a sheet, a resistive sheet. And then on either side there were contacts, like this.
Đó là một tấm, một tấm điện trở. Và ở hai bên có các tiếp điểm, như thế này.
These were like wires or so.
Chúng giống như dây dẫn vậy.
They had very low resistivity, essentially zero, very small, and then this one had a sheet resistance [INAUDIBLE] that was greater than zero.
Chúng có điện trở suất rất thấp, về cơ bản bằng không, rất nhỏ, còn tấm này có điện trở bề mặt [KHÔNG NGHE RÕ] lớn hơn không.
And what we found, we did the analysis last time, what we found is that if we call this direction x. And we make this the voltage.
Và những gì ta thấy, ta đã phân tích lần trước, là nếu gọi hướng này là x. Và ta gọi đây là điện áp.
If we connect this to ground here and then put the voltage source Vs here, then the way this works is if we were to somehow figure out what is the voltage at this point here?
Nếu nối đầu này với đất (ground) ở đây, rồi đặt nguồn áp Vs ở đây, thì cách nó hoạt động là nếu ta tìm cách xác định điện áp tại điểm này là bao nhiêu?
Then that voltage would be some value here. And the voltage down here, well, the voltage down here is going to be zero.
Thì điện áp đó sẽ có một giá trị nào đó ở đây. Còn điện áp ở dưới này, thì điện áp ở dưới này sẽ bằng không.
And the voltage up here is going to Vs. So the voltage along the thing is going to be just like this.
Và điện áp ở trên này sẽ là Vs. Vậy điện áp dọc theo tấm sẽ như thế này.
We've calculated this a week ago, before the power outage.
Ta đã tính cái này một tuần trước, trước khi mất điện.
So one of the problems we had was with touch, how are we going to figure out, how are we going to connect to this point here? We don't want to stick a wire there.
Một trong những vấn đề của ta là với việc chạm, làm sao ta xác định được, làm sao ta nối vào điểm này ở đây? Ta không muốn cắm một sợi dây vào đó.
That's not much of a touchscreen if you have to tell people, yeah, you need to use this wire. You need to stick it there. And it will figure out where your wire is.
Thế thì không phải màn hình cảm ứng nếu phải bảo mọi người, à, bạn phải dùng sợi dây này. Bạn phải cắm nó vào đó. Và nó sẽ biết sợi dây của bạn ở đâu.
No. So the way we fix that is if we look at this from the side, then we made basically two sheets.
Không. Cách ta khắc phục là nhìn nó từ bên cạnh, thì ta về cơ bản làm hai tấm.
One of them was just a conductor, like this. And the other one was that green thing. So I'm drawing basic cross-section now.
Một tấm chỉ là chất dẫn điện, như thế này. Còn tấm kia là tấm màu xanh lá. Thầy đang vẽ mặt cắt ngang cơ bản.
It was this green thing. And wherever we touch, it's going to bend down like this.
Đó là tấm màu xanh lá này. Và chỗ nào ta chạm vào, nó sẽ cong xuống như thế này.
Okay? And then we again, we put our voltage source.
Được chứ? Và rồi ta lại đặt nguồn áp vào.
We do this already, huh? Same as before, we said that this was ground. I kind of turned everything, flipped everything 90 degrees. And then I cut it across to look at what's going on.
Ta đã làm rồi, đúng không? Như trước, ta nói đây là đất (ground). Thầy xoay mọi thứ, lật mọi thứ đi 90 độ. Rồi thầy cắt ngang ra để xem chuyện gì đang xảy ra.
And the the red sheet below it, well, that is simply taking the function of wherever we are touching, we are sampling that voltage.
Còn tấm màu đỏ bên dưới, thì nó đơn giản làm nhiệm vụ, ta chạm vào đâu thì ta lấy mẫu điện áp tại đó.
And that voltage we send to a volt meter. So the volt meter displays a few [INAUDIBLE] to coordinate x that we're touching. Okay?
Và ta đưa điện áp đó đến một vôn kế. Vậy vôn kế hiển thị một vài [KHÔNG NGHE RÕ] theo tọa độ x mà ta đang chạm. Được chứ?
So this is our 1D touchscreen. So why is it 1D? Well, I can touch anywhere I want here. It will figure out where I am.
Đây là màn hình cảm ứng 1D của ta. Vậy tại sao nó là 1D? Thầy có thể chạm bất cứ đâu ở đây. Nó sẽ biết thầy ở đâu.
What is the x-coordinate?
Tọa độ x là bao nhiêu?
But if I touch instead over to the left side, if I instead of touching at point A I touched in point B — and this is the same value of x — what would I get?
Nhưng nếu thầy chạm sang bên trái, nếu thay vì chạm ở điểm A thầy chạm ở điểm B — và đây cùng giá trị x — thì thầy sẽ được gì?
Exactly the same voltage. Right? Because the voltage drops from top to bottom. But left to right, there is nothing asymmetric.
Chính xác cùng điện áp. Đúng không? Vì điện áp giảm từ trên xuống dưới. Nhưng từ trái sang phải thì không có gì bất đối xứng.
So the voltage always the same. Right?
Nên điện áp luôn như nhau. Đúng không?
Now, we may need to make this 2D. What does it mean, 2D?
Bây giờ, ta có thể cần làm cho nó thành 2D. 2D nghĩa là gì?
Well, it means that then we actually can distinguish points A and B. We cannot only distinguish A and let's say this was C here.
Nghĩa là khi đó ta thực sự có thể phân biệt các điểm A và B. Ta không chỉ phân biệt được A và giả sử đây là C.
But we can also distinguish you touched over in B and not in A. It's the 1D, we can't do that. So how could we make this 2D?
Mà ta còn phân biệt được bạn chạm ở B chứ không phải ở A. Với 1D thì ta không làm được vậy. Vậy làm sao ta biến nó thành 2D?
Let's do something simple first.
Trước hết hãy làm điều gì đó đơn giản.
Maybe let's say, if we had two 1D touchscreens, can you think of some way to use those to make it 2D?
Giả sử ta có hai màn hình cảm ứng 1D, các em có nghĩ ra cách nào dùng chúng để làm thành 2D không?
Any ideas? This is how design works. With design, we do something. Maybe it's not the most elegant.
Có ý kiến nào không? Thiết kế là như vậy đó. Trong thiết kế, ta làm một điều gì đó. Có thể nó không phải thanh lịch nhất.
We do something simple that gets us in the right direction. Yes?
Ta làm điều đơn giản giúp ta đi đúng hướng. Em nào?
STUDENT
[INAUDIBLE] PROFESSOR: Perfect. Perfect. Exactly. That's what we could do, right?
[KHÔNG NGHE RÕ] GIẢNG VIÊN: Chuẩn rồi. Chuẩn. Chính xác. Đó là điều ta có thể làm, đúng không?
We take the first touch screen. And we have it just like this. Okay? Then we take the second one.
Ta lấy màn hình cảm ứng thứ nhất. Và để nó đúng như thế này. Được chứ? Rồi ta lấy cái thứ hai.
But that one we turn 90 degrees. So what was x now is y.
Nhưng cái đó ta xoay 90 độ. Vậy cái trước là x thì giờ là y.
Okay? And then we have to put them on top of each other. And we have to put some insulator in between. And heck, you know, it's electronics.
Được chứ? Rồi ta phải đặt chúng chồng lên nhau. Và phải đặt một lớp cách điện ở giữa. Mà thôi, dù sao đây cũng là điện tử.
So we need to have two volt meters and then two voltage sources. But it's electronics, cheap stuff, right? It's easy to do that. Okay?
Nên ta cần hai vôn kế và hai nguồn áp. Nhưng là điện tử mà, rẻ thôi, đúng không? Làm việc đó dễ. Okay?
So now we have a 2D touchscreen. Easy, huh? Easy. So that's how you design stuff.
Vậy là ta đã có màn hình cảm ứng 2D. Dễ chứ? Dễ. Đó là cách ta thiết kế.
You do it simple and have a solution. Then when you have come up with this incredible idea, you say, is it actually good? Well, it's okay.
Làm đơn giản trước để có một giải pháp. Rồi khi đã nghĩ ra ý tưởng tuyệt vời này, bạn tự hỏi: nó có thực sự tốt không? Cũng tạm được.
It works. But imagine we make all these layers of things. It gets a bit thick. It gets a bit squishy, right?
Nó hoạt động. Nhưng hãy tưởng tượng ta làm nhiều lớp thế này. Nó hơi dày. Nó hơi mềm nhũn, đúng không?
Because we need to well, maybe you need a lot of force pushing on this stuff. I mean, it's kind of not perfect. Also, if you think about it, you use it on your phone.
Vì có thể bạn phải ấn rất mạnh lên đó. Ý tôi là, nó chưa hoàn hảo. Ngoài ra, bạn dùng nó trên điện thoại.
You would like it to be transparent, right? Fortunately, it turns out that there are electrical conductors that are indeed , transparent something called ITO, ITO. You can Google that.
Bạn muốn nó trong suốt, đúng không? May là có những chất dẫn điện trong suốt thật, gọi là ITO, ITO. Bạn có thể tra Google.
But the more layers you put on top of each other, the less light get through. So at some point, your phone gets a bit dime, more so. So it's not so great.
Nhưng càng chồng nhiều lớp lên nhau, ánh sáng đi qua càng ít. Nên đến một lúc nào đó, điện thoại sẽ hơi tối đi. Vậy là không hay lắm.
So let's go and think about [INAUDIBLE] two, whether we could somehow make this a little bit more clever.
Nên hãy nghĩ đến [KHÔNG NGHE RÕ] thứ hai, xem có thể làm cho nó thông minh hơn một chút không.
11. So we're still 2D touchscreen. So what we have is we have a first layer for the first touchscreen.
11. Vẫn là màn hình cảm ứng 2D. Ta có một lớp đầu tiên cho màn hình cảm ứng thứ nhất.
And again, that one is maybe like this.
Và lớp đó có thể như thế này.
And it's contacted here. So yes, yes, let's say it goes across here.
Và nó được nối ở đây. Cứ cho là nó chạy ngang qua đây.
And then we have a second touchscreen. And that that one also needs a layer that corresponds to the red layer.
Rồi ta có màn hình cảm ứng thứ hai. Và nó cũng cần một lớp tương ứng với lớp màu đỏ.
And then there is going to be another resistive layer on top of this one.
Rồi sẽ có thêm một lớp điện trở nữa phía trên lớp này.
And this one is going to look like this. It's also going to be touched in the same point.
Và nó trông như thế này. Nó cũng bị chạm tại cùng một điểm.
Now, there is going to be a similar source, Vs. But that source, Vs, is going to be connected between here and — it's getting a little bit ugly here.
Sẽ có một nguồn tương tự, Vs. Nhưng nguồn Vs đó sẽ được nối giữa chỗ này và... chỗ này vẽ hơi xấu.
But that Vs, it needs to be — it needs to be connected at 90 degrees. Because it's the other touchscreen. So somehow like this.
Nhưng Vs đó cần được nối theo góc 90 độ. Vì đó là màn hình cảm ứng kia. Đại khái như thế này.
Okay? So it looks somehow like this. And there is now one mistake. And that is I should have somehow made it, drawn this.
Okay? Trông đại khái như vậy. Và có một lỗi. Đó là lẽ ra tôi phải vẽ thế này.
And it gets now really ugly. So that you push so hard that everything gets squished together at that point, where you touch it. Okay? So your finger is somewhere up here.
Giờ nó thật sự xấu rồi. Để bạn ấn mạnh đến mức mọi thứ bị ép sát vào nhau tại điểm bạn chạm. Okay? Ngón tay bạn ở đâu đó trên này.
Your finger is somewhere up here. Yeah, well, can I draw a finger? Well, this is your finger. And you push down here.
Ngón tay bạn ở đâu đó trên này. Tôi vẽ ngón tay được không nhỉ? Đây là ngón tay bạn. Và bạn ấn xuống đây.
And it squishes everything together. So the blue one touches the black. And on the black, you measure the voltage, you get the y-coordinate.
Nó ép mọi thứ lại với nhau. Lớp xanh dương chạm lớp đen. Và trên lớp đen, bạn đo điện áp, bạn có tọa độ y.
And then there is an insulating layer that I haven't drawn here. It makes no contact, but pushes the green one down. It touches the red one.
Rồi có một lớp cách điện mà tôi chưa vẽ ở đây. Nó không tiếp xúc, nhưng đẩy lớp xanh lá xuống. Nó chạm lớp đỏ.
And there you measure the voltage and gets you the x-coordinates. It sort of gets a little bit .
Và ở đó bạn đo điện áp và có được tọa độ x.
Complicated But the concept is pretty straightforward, simply use two of these touch sensors.
Nó hơi trở nên phức tạp. Nhưng ý tưởng khá đơn giản: chỉ cần dùng hai cảm biến chạm này.
Now, I wonder whether we need all these layers. For example, the red layer and the black layer, they are only there to measure the voltage.
Giờ tôi tự hỏi liệu ta có cần tất cả các lớp này không. Ví dụ, lớp đỏ và lớp đen chỉ ở đó để đo điện áp.
Could we maybe somehow merge these, use the same layer for both.
Liệu ta có thể gộp chúng lại, dùng cùng một lớp cho cả hai?
Well, perhaps we could do that. What if we did the following first?
Có lẽ làm được. Nếu ta làm thế này trước thì sao?
We first connected the source Vs to the blue sheet and then measured the y-coordinate on the now combined black and red sheet.
Đầu tiên nối nguồn Vs vào tấm xanh dương rồi đo tọa độ y trên tấm đen và đỏ đã gộp lại.
We measured that y-coordinate. Then afterwards, we unplug some wires. And so we connect now, the source here. We still keep touching.
Ta đo tọa độ y đó. Sau đó, ta rút một số dây ra. Và giờ ta nối nguồn vào đây. Ta vẫn tiếp tục chạm.
And then we measure. Again, we have merged now the red and the black one together is one. Should we measure again the voltage.
Và rồi ta đo. Một lần nữa, ta đã gộp lớp đỏ và lớp đen thành một. Ta đo lại điện áp.
But now, the voltage, because we connected Vs differently to the other screen. We get the x-coordinate. Okay? So basically, we make two measurements, one first, the other one second.
Nhưng lần này, vì ta nối Vs khác đi vào màn hình kia, ta có tọa độ x. Okay? Về cơ bản, ta đo hai lần, lần đầu rồi đến lần thứ hai.
It's still a bit clunky. But you have to say, touch this thing. Okay, now fine. Wait for a second.
Vẫn hơi cồng kềnh. Vì bạn phải nói: chạm vào đây. Okay, được rồi. Đợi một chút.
I need to reconnect. And then touch again now, oh right, so now I have x and y. I know where you're touching. Okay?
Tôi cần nối lại. Rồi chạm lần nữa, à được rồi, giờ tôi có x và y. Tôi biết bạn đang chạm ở đâu. Okay?
But let's keep that for just a little bit later. We'll fix that. We'll fix this. It's not yet perfect.
Nhưng hãy để việc đó lại một chút nữa. Ta sẽ sửa nó. Ta sẽ sửa chỗ này. Nó chưa hoàn hảo.
but. we are still in the design phase. We are done with the product launch yet. So now, another crazy idea.
nhưng ta vẫn đang trong giai đoạn thiết kế. Ta chưa đến lúc ra mắt sản phẩm. Vậy bây giờ, một ý tưởng điên rồ khác.
We are now down to just three layers. We have the blue layer, the green layer. Those are the two resistive touch layers.
Giờ chúng ta chỉ còn ba lớp. Có lớp màu xanh dương, lớp màu xanh lá. Đó là hai lớp điện trở cảm ứng.
And then we have the combined black and red layer, that we use both to measure x and y-coordinates.
Và lớp kết hợp màu đen và đỏ, dùng để đo cả tọa độ x và y.
So the crazy idea is, why do we need three layers?
Ý tưởng điên rồ là: tại sao cần tới ba lớp?
For one touchscreen, we needed only two. So why can't we do the same thing? We used the two layers first to measure x. And then we used the two layers to measure y.
Với một màn hình cảm ứng, ta chỉ cần hai lớp. Vậy sao ta không làm tương tự? Đầu tiên ta dùng hai lớp để đo x. Rồi dùng hai lớp đó để đo y.
Let me try to draw this.
Để thầy thử vẽ ra.
So in this case, what we have — two layers like this.
Trong trường hợp này, ta có — hai lớp như thế này.
This layer is connected like this. And then on top of it, we also have a blue layer.
Lớp này được nối như thế này. Và phía trên nó, ta có thêm một lớp màu xanh dương.
And here, we touch the blue layer.
Và ở đây, ta chạm vào lớp xanh dương.
And again, I'm going to make the same sort of perspective thing in order to show how we would contact it. So this one we would contact here. And well, this should go down here.
Một lần nữa, thầy sẽ vẽ phối cảnh tương tự để cho thấy ta nối tiếp xúc như thế nào. Lớp này ta nối ở đây. Và cái này phải đi xuống đây.
This one we contact here. So when we contact a voltage source, it would put the voltage source here.
Lớp này ta nối ở đây. Khi ta nối một nguồn áp, nó sẽ đặt nguồn áp ở đây.
When we want to contact this one, we put the voltage source here. Okay? So now, how does this work?
Khi muốn nối lớp này, ta đặt nguồn áp ở đây. Được chứ? Vậy nó hoạt động thế nào?
How does this work? So first, let's say we want to measure this coordinate. Let's call this the coordinate x.
Nó hoạt động thế nào? Trước hết, giả sử ta muốn đo tọa độ này. Gọi đây là tọa độ x.
We measure first x. So what we are going to do is we actually, let's call this Vsx. We turn this source on, the connected source. Okay?
Ta đo x trước. Ta sẽ làm thế này, gọi nó là Vsx. Ta bật nguồn này, nguồn được nối. Được chứ?
And we touch.
Và ta chạm vào.
Oh, I made this wrong. So we're going to measure this coordinate first. Let's call this y.
Ôi, thầy vẽ sai rồi. Ta sẽ đo tọa độ này trước. Gọi đây là y.
Okay, and we turn this one off. Turn this one. Let me draw this separately. It's going to be a little bit easier.
Được rồi, và ta tắt cái này. Bật cái này. Để thầy vẽ riêng ra. Sẽ dễ hơn một chút.
So we are going to have the two layers.
Ta có hai lớp.
And the contacts are here on this layer and here. And then we also have below it, we have the other day. And of course, also it's 3D like this.
Các điểm nối nằm ở lớp này và ở đây. Và bên dưới nó, ta có lớp còn lại. Và tất nhiên nó cũng là 3D như thế này.
And the contacts on this one are here, okay?
Các điểm nối của lớp này ở đây, được chứ?
So like we had said before, we will first contact our source, let's say here to this side.
Như đã nói trước đó, đầu tiên ta nối nguồn, giả sử vào phía này.
So now, the voltage here is going to decrease. From over here, the voltage is going Vs. It's going to decrease to over here. The voltage is going to be zero, right?
Khi đó, điện áp ở đây sẽ giảm dần. Từ đây, điện áp là Vs. Nó sẽ giảm dần tới đây. Điện áp sẽ bằng không, đúng không?
The same thing as we had done here, except that it's flipped. We can do that.
Giống hệt cái ta đã làm ở đây, chỉ là bị lật lại. Ta làm được điều đó.
And up here, we measure the voltage that corresponds to this coordinate. Let's call this coordinate x. So this is going to be Vx.
Và ở phía trên, ta đo điện áp tương ứng với tọa độ này. Gọi tọa độ này là x. Vậy đây sẽ là Vx.
We measure that voltage.
Ta đo điện áp đó.
And of course, this one here, we have to ground, and so on. Then afterwards, we are going to remove this guy. And we are going to instead connect a voltage source here.
Và tất nhiên, cái này ở đây ta phải nối đất, v.v. Sau đó, ta sẽ bỏ cái này ra. Và thay vào đó ta nối một nguồn áp ở đây.
It could be the same one.
Có thể là cùng nguồn đó.
I still didn't draw this — we touch somewhere here. The voltage now is going to change between this one, let's say ground. The voltage is going to look like this.
Thầy vẫn chưa vẽ cái này — ta chạm vào đâu đó ở đây. Điện áp bây giờ sẽ thay đổi giữa điểm này, giả sử là đất. Điện áp sẽ trông như thế này.
It's going to be going from ground up to Vs here.
Nó đi từ đất lên đến Vs ở đây.
So depending on where we touched here, this is the y-coordinate, depending on where we touched here, we get a different voltage, this voltage here. And that voltage now will appear on the green layer.
Tùy vào chỗ ta chạm ở đây, đây là tọa độ y, tùy vào chỗ ta chạm ở đây, ta nhận được điện áp khác nhau, điện áp này đây. Và điện áp đó giờ sẽ xuất hiện trên lớp màu xanh lá.
I'm not doing a terrific job. So first, we measured we measured on the blue layer. And we had the source down here. Now, we simply flip things around.
Thầy vẽ chưa được tốt lắm. Đầu tiên, ta đo trên lớp xanh dương. Và nguồn ở phía dưới này. Giờ ta chỉ cần đảo ngược lại.
We put the source up here. And we measure on the green layer. And here, we get now — anywhere on that green layer, we need to disconnect the source.
Ta đặt nguồn ở phía trên này. Và ta đo trên lớp xanh lá. Và ở đây, giờ ta nhận được — ở bất kỳ đâu trên lớp xanh lá đó, ta cần ngắt nguồn.
We are going to measure now the voltage Vy. Okay? Yes?
Giờ ta sẽ đo điện áp Vy. Được chứ? Có câu hỏi không?
STUDENT
[INAUDIBLE] PROFESSOR: [INAUDIBLE] STUDENT: [INAUDIBLE] PROFESSOR: Perfect.
[KHÔNG NGHE RÕ] GIẢNG VIÊN: [KHÔNG NGHE RÕ] SINH VIÊN: [KHÔNG NGHE RÕ] GIẢNG VIÊN: Chính xác.
Exactly. That's what we need.
Đúng vậy. Đó là điều ta cần.
We are going to need to first measure on the blue sheet. And then afterwards, we're going to have to measure on the green sheet.
Trước hết ta cần đo trên tấm xanh dương. Và sau đó, ta sẽ phải đo trên tấm xanh lá.
So we are just going to have two sheets, just two sheets. And we make two different measurements. First, we connect the voltage source, Vs, to the green sheet.
Vậy ta chỉ có hai tấm, chỉ hai tấm thôi. Và ta thực hiện hai phép đo khác nhau. Đầu tiên, ta nối nguồn áp Vs vào tấm xanh lá.
And we measure on the blue sheet. And then afterwards, we disconnect the voltage source. We connect it instead to the blue sheet.
Và ta đo trên tấm xanh dương. Sau đó, ta ngắt nguồn áp. Thay vào đó ta nối nó vào tấm xanh dương.
Now, we measure on the green sheet. And so first, we get the x-coordinate. Next, we get the y-coordinate. Okay?
Bây giờ, ta đo trên tấm xanh lá. Vậy đầu tiên, ta có tọa độ x. Tiếp theo, ta có tọa độ y. Được chứ?
So the only little, little thing we need to fix is that we don't want to go in and rewire our circuit, right? Every time, you want to [INAUDIBLE],, now you do.
Vậy điều nhỏ xíu duy nhất cần sửa là ta không muốn phải đi đấu dây lại mạch, đúng không? Mỗi lần muốn [KHÔNG NGHE RÕ], thì giờ các em phải làm.
But that's what this guy is for, this little microcontroller.
Nhưng đó chính là việc của con chip này, bộ vi điều khiển nhỏ này.
And we can't tell it, just like I could tell one of you, go press the switch there, an electric switch there.
Ta có thể ra lệnh cho nó, giống như thầy bảo một bạn nào đó, hãy bấm công tắc ở đó, một công tắc điện ở đó.
We can tell this microcontroller to open and close an electric switch using its signals. It doesn't use a finger. It uses electricity to open and close a switch.
Ta có thể bảo bộ vi điều khiển này đóng và mở một công tắc điện bằng các tín hiệu của nó. Nó không dùng ngón tay. Nó dùng điện để đóng và mở công tắc.
So the microcontroller makes these connections and breaks them. And the microcontroller also does the measurement. And it can measure on the green or on the blue layer.
Vậy bộ vi điều khiển tạo ra các kết nối này và ngắt chúng. Và bộ vi điều khiển cũng thực hiện phép đo. Nó có thể đo trên lớp xanh lá hoặc xanh dương.
And we can even have two little measurement circuits in our microcontroller that makes these measurements.
Và ta thậm chí có thể có hai bộ đo nhỏ mạch trong vi điều khiển để thực hiện các phép đo này.
And because the microcontroller is very fast, this switching happens so fast that you couldn't even remove your finger between the two measurements.
Và vì vi điều khiển rất nhanh, nên việc chuyển mạch này diễn ra nhanh đến mức bạn thậm chí không thể nhấc ngón tay ra giữa hai lần đo.
So the way this thing kind of looks like, if we look at it now from the top, is that we are going to have the blue layer.
Vậy nó trông như thế nào, nếu bây giờ ta nhìn từ phía trên xuống, là ta sẽ có lớp màu xanh dương.
And we are going to have contact at the bottom and at the top of the blue layer.
Và ta có tiếp điểm ở phía dưới và phía trên của lớp xanh dương.
So that's where we can connect either our source or alternatively, we can connect our volt meter. And we have a second layer on top like this.
Đó là chỗ ta có thể nối nguồn, hoặc nối vôn kế. Và ta có lớp thứ hai nằm phía trên như thế này.
And that one is contacted east and west, or left and right, like this. And then we have our microcontroller.
Lớp đó có tiếp điểm ở hướng đông và tây, tức là trái và phải, như thế này. Và rồi ta có vi điều khiển.
And that microcontroller controls a bunch of switches.
Vi điều khiển này điều khiển một loạt công tắc.
So the microcontroller has a switch like this that connects this one to ground or has a switch like this that contacts this one to ground.
Vi điều khiển có một công tắc như thế này nối đầu này với đất (ground), hoặc một công tắc như thế này nối đầu này với đất.
And likewise, the microcontroller has a switch up here, two switches, And they're connected to this voltage source.
Và tương tự, vi điều khiển có công tắc ở trên đây, hai công tắc, và chúng được nối với nguồn áp này.
Okay? So now we are on our program the microcontroller, so that it first connects the blue layer. So we make it in situation A, this switch is closed.
Được chưa? Bây giờ ta lập trình cho vi điều khiển, để trước tiên nó nối với lớp xanh dương. Ta đặt ở trạng thái A, công tắc này đóng.
And this switch is closed. So now, the voltage source is connected to the blue layer.
Và công tắc này cũng đóng. Bây giờ nguồn áp được nối với lớp xanh dương.
And then we also tell the microcontroller, hey, you know, go and measure using your volt meter, go and measure the voltage on the green layer.
Rồi ta cũng bảo vi điều khiển: này, hãy dùng vôn kế của bạn để đo, đo điện áp trên lớp xanh lá.
And that gives us Vx.
Và đó là Vx.
Okay, the microcontroller, we cannot even blink with our eyes and it's already done, okay? These things are fast. You know that. This microcontroller is just cheaper than your laptop.
Vi điều khiển làm xong nhanh hơn cả một cái chớp mắt, mắt ta còn chưa kịp chớp. Những thứ này rất nhanh. Các bạn biết rồi. Vi điều khiển này chỉ rẻ hơn laptop của bạn.
But it's the same thing, cheaper, and simple, and smaller, and [INAUDIBLE] power, and whatnot. Okay? So then reprogram the microcontroller.
Nhưng về bản chất giống nhau, rẻ hơn, đơn giản, nhỏ hơn, và [KHÔNG NGHE RÕ] công suất, vân vân. Được chưa? Rồi ta lập trình lại vi điều khiển.
As soon as it's done with that measurement, we tell it now, open the switches labeled A. They need to be open now.
Ngay khi đo xong, ta bảo nó: mở các công tắc ghi A. Giờ chúng phải mở.
But close the switches labeled B. And now, go and make a measurement anywhere on the blue one. Put the volt meter here.
Nhưng đóng các công tắc ghi B. Và bây giờ, hãy đo ở bất kỳ điểm nào trên lớp xanh dương. Đặt vôn kế ở đây.
And that gives us Vy.
Và đó là Vy.
So what have we done?
Vậy ta đã làm gì?
We designed a 1D resistive touchscreen, worked like a charm, but it was 1D. Then we said, you know, we just two of them. Put them 90 degrees apart.
Ta đã thiết kế một màn hình cảm ứng điện trở 1D, hoạt động rất tốt, nhưng chỉ là 1D. Rồi ta nói, ta chỉ cần dùng hai cái. Đặt chúng lệch nhau 90 độ.
Now it's 2D. Great. But then it was four layers. And so we didn't like that.
Giờ nó là 2D. Tuyệt. Nhưng khi đó có bốn lớp. Và ta không thích vậy.
Then you said, you know, let's get rid of some layers and get the help of the microcontroller to do some switching stuff. And we have a 2D touchscreen with just two layers.
Rồi các bạn nói, hãy bỏ bớt vài lớp và nhờ vi điều khiển làm việc chuyển mạch. Và ta có màn hình cảm ứng 2D chỉ với hai lớp.
Yes?
Bạn hỏi?
STUDENT
[INAUDIBLE] PROFESSOR: Okay, call x and y as you like, just flip them.
[KHÔNG NGHE RÕ] GIẢNG VIÊN: Được, gọi x và y tùy bạn, cứ đổi chỗ chúng.
You could call the coordinates A and B, whatever. We want to know both coordinates. How we call them, not so important, okay?
Bạn có thể gọi các tọa độ là A và B, sao cũng được. Ta muốn biết cả hai tọa độ. Gọi tên thế nào không quan trọng lắm, được chứ?
All right, there is one little thing that I just want to — I'll let you think a little bit about that.
Được rồi, có một điều nhỏ mà tôi muốn — tôi để các bạn suy nghĩ một chút.
This is actually 12.
Thực ra đây là 12.
You remember that the way we model our 1D touchscreen was really with a voltage divider.
Các bạn nhớ cách ta mô hình hóa màn hình cảm ứng 1D thực chất là bằng mạch chia áp.
And then we said, depending on where we are touching it, we had two resistors, R1 and R2, so this Vs, that produce a voltage Vs that gives us for example, the x or y-coordinate.
Rồi ta nói, tùy vào chỗ ta chạm vào, ta có hai điện trở R1 và R2, với nguồn Vs này, tạo ra một điện áp cho ta, ví dụ, tọa độ x hoặc y.
And then we put the volt meter here, okay? We measured with this volt meter.
Và ta đặt vôn kế ở đây, được chứ? Ta đo bằng vôn kế này.
Now, normally we just had a connection here. But now, the connection is going to be through either the green or the blue sheet.
Trước đây ta chỉ có một dây nối ở đây. Nhưng giờ, đường nối sẽ đi qua lớp xanh lá hoặc lớp xanh dương.
But these sheets are sort of resistive, right? So now, what we apparently did was we suddenly connected the resistor, R3, in between here.
Nhưng các lớp này có điện trở, đúng không? Vậy rõ ràng là ta đột nhiên nối thêm một điện trở R3 vào giữa đây.
And the value of R3 even makes things worse. The value of R3 changes depending on where exactly we touch on that screen. You're not going to calculate it.
Và giá trị R3 còn làm mọi thứ tệ hơn. Giá trị R3 thay đổi tùy vào chính xác chỗ ta chạm trên màn hình. Các bạn sẽ không phải tính nó.
But the value of this resistor R3 is going to be different. Isn't that going to somehow mess up our measurement of voltage here?
Nhưng giá trị điện trở R3 này sẽ khác nhau. Điều đó có làm sai phép đo điện áp ở đây không?
Are we still measuring the correct voltage, regardless of the value of R3?
Ta có còn đo đúng điện áp bất kể giá trị R3 không?
Sometimes it's going to be 1k ohm. And then we touch in another place. Then this resistor R3 is going to be only 500 ohms, or whatever.
Có lúc nó là 1k ohm. Rồi ta chạm ở chỗ khác. Thì điện trở R3 này chỉ còn 500 ohm, hay giá trị nào đó.
Isn't this going to make our measurement here that gives us the x or the y-coordinate, is it going to make that measurement incorrect? And if not, why not?
Liệu điều này có làm phép đo ở đây, phép đo cho ta tọa độ x hay y, bị sai không? Và nếu không thì tại sao?
I'll let you think about it. And you're welcome to come to the office hours. Otherwise, we will discuss it next time on Thursday. All right?
Tôi để các bạn suy nghĩ. Các bạn cứ đến giờ tiếp sinh viên (office hours) để hỏi. Nếu không, ta sẽ bàn vào thứ Năm tới. Được chứ?
But we have a 2D touchscreen. And here is the microcontroller.
Nhưng ta đã có một màn hình cảm ứng 2D. Và đây là vi điều khiển.
Đă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.