被遗忘的强大计算器:模拟计算机的兴衰与回归 veritasium 2021-12-21

模拟计算的古老起源与基本原理

1901年,一件古希腊文物在安提基特拉岛附近的一艘沉船中被发现。

View/Hide Original English

In 1901, an ancient Greek artifact was discovered in a shipwreck off the island of Antikythera.

三维X射线扫描显示,它包含37个相互咬合的青铜齿轮,能够模拟太阳和月亮的运动,并提前数十年预测日食。

View/Hide Original English

3D x-ray scans have revealed it contains 37 interlocking bronze gears, allowing it to model the motions of the sun and moon, and predict eclipses decades in advance.

这个大约在公元前100年或200年建造的安提基特拉机械(Antikythera mechanism: 一种复杂的早期机械计算机)代表了一种精密的早期计算机。

View/Hide Original English

Constructed around 100 or 200 BC, the Antikythera mechanism represents a sophisticated early computer.

像这样的装置,至少在一千年内都未曾再现。

View/Hide Original English

The likes of which would not be seen again for at least a thousand years.

当然,这台计算机的工作方式与现代数字计算机(Digital computers: 基于离散数值进行计算的机器)不同。

View/Hide Original English

Now, of course, this computer didn't work like modern digital computers.

它通过类比(analogy)工作。

View/Hide Original English

It works by analogy.

齿轮的构造方式使得某些刻度盘的运动与太阳和月亮的运动是类比的。

View/Hide Original English

The gears were constructed in such a way that the motions of certain dials are analogous to the motion of the sun and moon.

它是一台模拟计算机(Analog computer: 通过物理量(如电压、机械运动)的连续变化来表示和处理数据,解决问题的计算机)。

View/Hide Original English

It is an analog computer.

这是一个简单的模拟计算机,用于将两个数字相加。

View/Hide Original English

Here is a simple analog computer for adding two numbers together.

如果你将黑轮转动一定量,然后将白轮转动不同量,灰轮就会显示两次转动之和。

View/Hide Original English

If you turn the black wheel some amount and then turn this white wheel a different amount, the gray wheel shows the sum of the two rotations.

相比之下,这是一个数字机械计算机,可以添加两个单比特数字。

View/Hide Original English

In contrast, this is a digital mechanical computer where you can add two single bit numbers.

所以,零加零等于零,零加一等于一,一加一等于二。

View/Hide Original English

So zero plus zero equals zero. Zero plus one equals one. And one plus one equals two.

这两种设备说明了模拟计算机和数字计算机之间的区别。

View/Hide Original English

These two devices illustrate the differences between analog and digital computers.

模拟计算机具有连续的输入和输出范围,而数字计算机只处理离散值。

View/Hide Original English

Analog computers have a continuous range of inputs and outputs, whereas digital only works with discrete values.

对于模拟计算机,感兴趣的量实际上由物理事物表示,例如轮子转动的量。

View/Hide Original English

With analog computers, the quantities of interest are actually represented by something physical, like the amount a wheel has turned.

而数字计算机则处理像零和一这样的符号。

View/Hide Original English

Whereas digital computers work on symbols like zeros and ones.

如果答案是二,计算机中没有任何东西是“一的两倍”。

View/Hide Original English

If the answer is, say, two, there is nothing in the computer that is 'twice as much' as a one.

但在模拟计算机中,却有这样的对应。

View/Hide Original English

In analog computers, there is.

几千年来,人们使用像安提基特拉机械或计算尺这样的模拟设备,以及像算盘这样的数字设备。

View/Hide Original English

For thousands of years, people used analog devices like the Antikythera mechanism or slide rules, alongside digital devices like abacuses.

直到20世纪60年代,地球上最强大的计算机实际上都是模拟计算机。

View/Hide Original English

And up until the 1960s, the most powerful computers on the planet were actually analog.

随着固态晶体管(Transistors: 一种半导体器件,用于放大或开关电子信号和电能)的出现,数字计算机迅速崛起。

View/Hide Original English

Digital computers exploded onto the scene with the advent of solid-state transistors.

现在,几乎所有东西都是数字化的。

View/Hide Original English

And now, almost everything is digital.

大多数人甚至从未听说过模拟计算机。

View/Hide Original English

Most people have never even heard of analog computers.

但今天,这一切可能正在改变。

View/Hide Original English

But today, that may all be changing.

摩尔定律(Moore's Law: 指集成电路上可容纳的晶体管数量大约每两年翻一番)——即芯片上晶体管数量每两年翻一番的理念——正接近其极限,因为晶体管的尺寸已接近原子大小。

View/Hide Original English

Moore's Law, the idea that you can double the number of transistors on a chip every two years, is reaching its limit because transistors are nearly the same size as atoms.

与此同时,机器学习(Machine learning: 人工智能的一个分支,使系统能够从数据中学习并改进,而无需明确编程)的进步正在考验数字计算机的能力极限。

View/Hide Original English

Simultaneously, advancements in machine learning are straining the capabilities of digital computers.

应对这些挑战的解决方案很可能就是新一代的模拟计算机。

View/Hide Original English

The solution to these challenges may well be a new generation of analog computers.

潮汐预测的挑战与开尔文的机械计算器

几千年来,人类面临的最重要问题之一就是预测潮汐。

View/Hide Original English

One of the most important problems humans have faced for millennia is predicting the tides.

拿破仑和他的士兵在穿越红海时,因对涨潮的错误估计而差点丧命。

View/Hide Original English

Napoleon and his men nearly died crossing the Red Sea due to a miscalculation of the rising tide.

水手们也常常需要了解潮汐,以便船只安全入港而不搁浅。

View/Hide Original English

And sailors routinely needed to know the tides to bring their ships into port without running aground.

地球上大多数沿海地区每天经历两次高潮和两次低潮,但它们的精确时间和幅度各不相同。

View/Hide Original English

Most coastal locations on earth experience two high and two low tides per day, but their exact timing varies as does their magnitude.

这部分是由于当地因素造成的,例如海床的深度和海岸线的形状。

View/Hide Original English

And this is partly caused by local factors like the depth of the sea bed and the shape of the shoreline.

在18世纪后期,为了描述海洋的潮汐流动,皮埃尔-西蒙·拉普拉斯推导出一组复杂的微分方程(Differential equations: 包含未知函数及其导数的数学方程)。

View/Hide Original English

In the late 1700s, to describe the tidal flow of the oceans, Pierre-Simon Laplace derived a set of complicated differential equations.

它们没有解析解,所以在当时基本上是无用的。

View/Hide Original English

They had no analytical solution, so at that time they were basically useless.

但在推导方程的过程中,拉普拉斯做出了一个关键发现。

View/Hide Original English

But in the process of deriving his equations, Laplace made a key finding.

潮汐仅由少数几个特定的天文频率驱动,包括月亮、太阳和月球轨道的偏心率。

View/Hide Original English

Tides are driven at only a few specific astronomical frequencies, including the moon, the sun, and the eccentricity of the lunar orbit.

这些因素中的每一个都以特定的振幅(Amplitude: 波动或振动的最大位移或强度)和相位(Phase: 波动或振动在特定时刻的状态)贡献一个正弦波(Sine wave: 一种数学曲线,描述了平滑的周期性振荡)到总潮汐曲线上。

View/Hide Original English

Each one of these factors contributes a sine wave of a particular amplitude and phase to the total tide curve.

如果有人能找出如何正确组合这些频率分量,那么潮汐最终就能被预测。

View/Hide Original English

If someone could figure out how to correctly combine these frequency components, the tides could finally be predicted.

这花了将近一个世纪。

View/Hide Original English

It took nearly a century.

但在19世纪60年代,威廉·汤普森,后来的开尔文勋爵,接受了这项挑战。

View/Hide Original English

But in the 1860s, William Thompson, later Lord Kelvin, took up the challenge.

在完成了几次铺设第一条跨大西洋电报电缆的航行后,他对海洋产生了浓厚的兴趣。

View/Hide Original English

Having completed several voyages to lay the first transatlantic telegraph cable, he developed a fascination with the sea.

随后,他将全部科学精力投入到测量和预测潮汐中。

View/Hide Original English

And subsequently, he threw his full scientific effort into measuring and predicting the tides.

当时的潮汐计使用浮标将海平面高度记录在纸卷上。

View/Hide Original English

Tide gauges at that time used a buoy to record the height of the sea onto a paper roll.

开尔文着手确定拉普拉斯所识别的频率的正弦波如何叠加,以产生观测到的潮汐曲线。

View/Hide Original English

Kelvin set out to determine how sine waves, with the frequencies identified by Laplace, could add together to produce the observed tidal curve.

关键在于应用法国数学家约瑟夫·傅里叶的工作,他展示了如何将任何函数分解为正弦波之和,这就是傅里叶分析(Fourier analysis: 将函数分解为不同频率的正弦波和余弦波之和的数学方法)。

View/Hide Original English

The key was to apply the work of French mathematician, Joseph Fourier, who had shown how to decompose any function into a sum of sine waves.

大多数英国科学家对这项工作持怀疑态度,但汤普森却为之着迷。

View/Hide Original English

Most English scientists were skeptical of the work, but Thompson was enthralled by it.

他17岁时发表的第一篇论文就是为傅里叶辩护。

View/Hide Original English

His first paper, published at 17, was a defense of Fourier.

虽然将傅里叶分析应用于潮汐曲线很简单,但所需的计算量却非常庞大。

View/Hide Original English

While it was straightforward to apply Fourier's analysis to tidal curves, the computation required was enormous.

首先,将潮汐曲线分成短时间间隔。

View/Hide Original English

First, divide the tide curve up into short time intervals.

对于每个间隔,将潮汐水平乘以感兴趣频率的正弦波。

View/Hide Original English

And for each interval, multiply the tide level by a sine wave with the frequency of interest.

将所有这些矩形的面积相加,然后除以总时间。

View/Hide Original English

Add up the area of all these rectangles, and divide by the total time.

这会给你一个单一的系数,即该频率正弦波的振幅。

View/Hide Original English

And this gives you a single coefficient, the amplitude of the sine wave with this frequency.

然后,你必须对相同频率的余弦函数重复这个过程。

View/Hide Original English

Then you have to repeat the process for a cosine function with the same frequency.

开尔文发现,要做出准确的预测,他实际上需要10个不同的频率分量。

View/Hide Original English

Kelvin found that to make accurate predictions, he actually needed 10 different frequency components.

因此,要描述一个地点的潮汐,需要大量的乘法和加法运算。

View/Hide Original English

So that is a lot of multiplication and addition to characterize the tides at just one location.

对于每个新增的地点,你都必须重新进行这项分析。

View/Hide Original English

For each additional location, you have to perform this analysis all over again.

而这仅仅是问题的一半。

View/Hide Original English

And this is only half the problem.

一旦你有了正弦函数的振幅和相位,你就必须将它们相加,以预测未来的潮汐。

View/Hide Original English

Once you have the amplitudes and phases of the sine functions, you have to add them up to predict the future tides.

开尔文勋爵花费数年时间手工分析和预测潮汐。

View/Hide Original English

Lord Kelvin spent years analyzing and predicting tides by hand.

然后他灵光一闪。

View/Hide Original English

Then he had a stroke of inspiration.

能否设计一台机器来自动执行这些计算?

View/Hide Original English

Could you design a machine to carry out these calculations automatically?

用开尔文的话说,就是“用黄铜代替大脑”,由此产生的模拟计算机使用了近一个世纪。

View/Hide Original English

In Kelvin's words to "substitute brass for brains," the resulting analog computers were in use for nearly a century.

它们甚至在第二次世界大战的结果中发挥了关键作用。

View/Hide Original English

They even played a critical role in the outcome of World War II.

开尔文从预测问题开始,即已知正弦波的振幅和相位,将它们相加。

View/Hide Original English

Kelvin started with the problem of prediction, which involved adding sine waves together, given their amplitudes and phases.

他知道可以用一种叫做苏格兰轭(Scotch yoke: 一种将旋转运动转换为直线往复运动的机械机构)的装置来产生正弦运动。

View/Hide Original English

He knew he could create sinusoidal motion with a device called a scotch yoke.

它从匀速圆周运动中提取一个维度。

View/Hide Original English

It extracts one dimension from uniform circular motion.

但为了进行潮汐预测,他需要一种方法将10个正弦波组合在一起。

View/Hide Original English

But to make a tide prediction, he needed a way to combine 10 sine waves together.

他需要一个机械模拟装置来实现加法。

View/Hide Original English

He needed a mechanical analog for addition.

1872年,开尔文在解决这个问题时,登上了前往英国协会(British Association)会议的火车,该协会是他潮汐研究的主要赞助商。

View/Hide Original English

Stuck on this problem in 1872, Kelvin boarded a train for a meeting with the main sponsor of his tidal research, the British Association.

在火车上,开尔文偶然遇到了朋友、发明家博尚·塔워(Beauchamp Tower),他向塔워解释了他的困境。

View/Hide Original English

On the train, Kelvin bumped into a friend, inventor Beauchamp Tower, to whom he explained his dilemma.

塔워建议他使用惠斯通(Wheatstone)的方案,即一条链条围绕多个滑轮。

View/Hide Original English

Tower suggested he use Wheatstone's plan of a chain passing around a number of pulleys.

这正是开尔文正在寻找的加法机制。

View/Hide Original English

And this was exactly the addition mechanism Kelvin was looking for.

通过在每个苏格兰轭上连接一个滑轮,并用一根加重的绳索绕过它们,他可以一次性机械地将所有贡献相加。

View/Hide Original English

By attaching a pulley to each scotch yoke and running a weighted cord around them, he could mechanically add all of their contributions at once.

在火车行程结束时,他草草写下了这台预测机的所有计划。

View/Hide Original English

He scribbled down the entire plan for this predictor machine by the end of the train ride.

他向英国协会推销了这个想法,并在回家之前获得了建造它的资金。

View/Hide Original English

He pitched it to the British Association, and secured funding to build it all before he returned home.

如果你知道不同频率分量的相对贡献,开尔文现在就有一台机器可以自动化预测未来潮汐的繁琐任务。

View/Hide Original English

If you knew the relative contributions of different frequency components, Kelvin now had a machine to automate the tedious task of predicting future tides.

这是一个巨大的飞跃。

View/Hide Original English

This was a great leap forward.

摇动手柄四个小时,就能得到一整年的潮汐预测。

View/Hide Original English

Four hours of cranking the handle yielded a full year of tidal predictions.

但多年来,问题中更困难的一半仍然是手工完成的,即将现有的潮汐曲线分解成其组成频率。

View/Hide Original English

But for many years, the harder half of the problem was still done by hand, breaking apart an existing tide curve into its component frequencies.

为了自动化这一步骤,开尔文需要一台能够将潮汐曲线乘以正弦波,然后进行积分(Integral: 微积分中的一个概念,表示函数在给定区间内的累积量)的机器。

View/Hide Original English

To automate this step, Kelvin needed a machine capable of multiplying the tide curve times the sine wave, and then taking its integral.

这样的设备会是什么样子呢?

View/Hide Original English

What would such a device even look like?

开尔文和他的哥哥詹姆斯·汤普森(James Thompson)共同发明了一种机械积分器(Integrator: 一种能够执行积分运算的设备或电路)。

View/Hide Original English

With his older brother, James Thompson, Kelvin came up with a mechanical integrator.

它由一个旋转盘上的球组成。

View/Hide Original English

It consists of a ball on a rotating disk.

由于圆盘的旋转,球离中心越远,它旋转得越快。

View/Hide Original English

Due to the rotation of the disk, the further the ball is from the center, the faster it spins.

如果球在圆盘的正中心,它根本不会转动。

View/Hide Original English

If the ball is at the very center of the disk, it doesn't turn at all.

如果它在左侧,它会向相反方向转动。

View/Hide Original English

And if it's on the left side, it turns in the opposite direction.

现在,球的运动通过一个滚轮转换为输出,滚轮在输出图纸上上下移动笔。

View/Hide Original English

Now the motion of the ball is converted into an output via a roller, which moves a pen up or down on the output graph paper.

它的工作方式是,你用触控笔描绘你想要积分的函数,触控笔控制球在圆盘上的位置,从而控制其旋转速度。

View/Hide Original English

So the way it works is you trace the function you want to integrate with a stylus, and the stylus controls the position of the ball on the disk and hence its speed of rotation.

这通过滚轮传递到输出端,绘制出原始函数的积分。

View/Hide Original English

This is transferred through the roller to the output, which plots the integral of the original function.

现在,要分解潮汐曲线,我们不只是想积分函数。

View/Hide Original English

Now, to decompose a tide curve, we don't just want to integrate the function.

我们首先想把它乘以特定频率的正弦波。

View/Hide Original English

We first want to multiply it by a sine wave of a particular frequency.

实现这一点的方法是让圆盘以该特定频率来回旋转。

View/Hide Original English

And the way to do this is to make the disk rotate back and forth at that specific frequency.

现在,球的旋转不仅取决于它在圆盘上的位置,还取决于圆盘在某一瞬间的转动方式。

View/Hide Original English

Now, the rotation of the ball depends not only on where it is on the disk, but also on how the disk is turning at any instant.

你用触控笔描绘潮汐曲线,触控笔使球在振荡盘上来回移动,滚轮则将潮汐曲线乘以正弦波的积分相加。

View/Hide Original English

You trace the tide curve with the stylus, which moves the ball back and forth on the oscillating disk, and the roller sums up the integral of the tide curve times the sine wave.

简单地除以总时间即可得到系数。

View/Hide Original English

Simply divide by the total time to get the coefficient.

几个这样的球盘积分器可以并联连接,每个圆盘以不同的频率振荡,从而同时计算多个频率分量的系数。

View/Hide Original English

Several of these ball and disk integrators can be connected in parallel with each disk oscillating at a different frequency to calculate the coefficients for multiple frequency components at the same time.

开尔文的模拟计算机彻底改变了我们预测潮汐的能力。

View/Hide Original English

Kelvin's analog computers revolutionized our ability to predict tides.

世界各地的潮汐曲线都可以使用球盘谐波分析仪转换为一组正弦系数。

View/Hide Original English

Tidal curves from anywhere in the world could be turned into a set of sinusoidal coefficients using the ball and disk harmonic analyzer.

然后,可以将得到的正弦波相加,使用他的苏格兰轭滑轮机预测未来的潮汐。

View/Hide Original English

And the resulting sinusoids could be added together to predict the future tides using his scotch yoke pulley machine.

二战中的模拟计算机:从D日到防空火炮

开尔文的谐波分析仪是被称为微分分析器(Differential analyzer: 一种机械模拟计算机,用于求解微分方程)的里程碑式模拟计算机的基础,他的潮汐预测机一直使用到20世纪60年代。

View/Hide Original English

Kelvin's harmonic analyzers were the basis for a landmark analog computer called the differential analyzer, and his tide predicting machines were used well into the 1960s.

事实上,它们后来经过大修,包含了26个频率分量,并用于规划盟军在诺曼底登陆日(D-Day: 第二次世界大战中盟军在法国诺曼底登陆的日子,1944年6月6日)的入侵。

View/Hide Original English

In fact, they were later overhauled to include 26 frequency components and used to plan the allied invasion on D-Day.

德国人预计任何入侵都将在涨潮时进行,以最大限度地减少盟军士兵在海滩上暴露的时间。

View/Hide Original English

The Germans expected any invasion to come at high tide to minimize the time Allied soldiers would be exposed on the beaches.

因此,他们安装了数百万个障碍物,这些障碍物在中潮时会被淹没,许多障碍物还附有爆炸性地雷。

View/Hide Original English

So they installed millions of obstacles that would be underwater by mid tide, many with explosive mines attached.

但盟军发现了这些障碍物并改变了策略。

View/Hide Original English

But the Allies spotted the obstacles and changed tack.

相反,他们计划在退潮时开始入侵。

View/Hide Original English

Instead, they planned to begin the invasion at low tide.

这将允许爆破队首先清除障碍物中的通道,然后主力部队可以在水位上涨时通过这些缺口。

View/Hide Original English

This would allow demolition teams to first clear channels through the obstacles, then the main forces could come through those gaps as the water rose.

这也将为登陆艇提供足够的时间离开,而不会搁浅。

View/Hide Original English

This would also give landing craft enough time to depart without getting beached.

五个登陆海滩的低水位时间相差一个多小时,因此入侵时间根据潮汐预测错开。

View/Hide Original English

The low water times were different at the five landing beaches by over an hour, so the invasion times were staggered according to the tide predictions.

这并非模拟计算机在第二次世界大战中的唯一用途。

View/Hide Original English

This wasn't the only use of analog computers in World War II.

俯冲轰炸机以高达80度的角度直接冲向目标,其快速下降使其极难被击落。

View/Hide Original English

Dive bomber aircraft would plummet out of the sky directly toward their targets at up to an 80 degree angle, and their rapid descents made them very difficult to shoot down.

因此,美国开始寻找能够自动瞄准俯冲轰炸机的设备。

View/Hide Original English

So the U.S. began searching for devices to automatically aim guns at dive bombers.

大多数提出的解决方案分为两类。

View/Hide Original English

Most of the proposed solutions fell into one of two categories.

一些是像开尔文勋爵的机器那样的模拟机器。

View/Hide Original English

Some were analog machines like Lord Kelvin's.

另一些本质上是快速计算器。

View/Hide Original English

Others were essentially fast calculators.

像算盘这样的机械计算器已经存在了几千年,但它们对于应对俯冲轰炸机来说太慢了。

View/Hide Original English

Mechanical calculating machines like the abacus had been around for millennia, but they were far too slow to respond to dive bombers.

这些新的计算机器通过使用电脉冲加快了速度。

View/Hide Original English

These new calculating machines sped things up by using electrical pulses.

委员会考虑以它们使用的脉冲来命名这些设备。

View/Hide Original English

The committee considered naming these devices after the pulses they used.

但成员乔治·斯蒂比茨(George Stibitz)提出了一个更通用的名称:数字(digital),因为这些机器本身是基于数字(digits)进行操作的。

View/Hide Original English

But member George Stibitz proposed a more general name: digital, because these machines operated on numbers themselves or digits.

这就是“数字计算机”一词的由来。

View/Hide Original English

And this is the origin of the term digital computer.

但数字计算机的时代还需等待。

View/Hide Original English

But digital would have to wait.

在所有提案中,大卫·帕金森(David Parkinson)的一台创新模拟机器脱颖而出。

View/Hide Original English

Of all the proposals, an innovative analog machine from David Parkinson won out.

在纽约的贝尔实验室(Bell Labs),帕金森一直在研究一种用于绘制电话数据的设备,称为自动电平记录仪。

View/Hide Original English

At Bell Labs in New York, Parkinson had been working on a device to chart telephone data called an automatic level recorder.

它使用一种叫做电位器(Potentiometer: 一种可变电阻器,用于控制电压或电流)的可变电阻来控制笔的运动。

View/Hide Original English

It used a variable resistor called a potentiometer to control the motion of a pen.

一天晚上,在听到盟军从敦刻尔克撤离的惨痛报告后,帕金森做了一个梦,梦见自己身处前线。

View/Hide Original English

One night, after hearing reports of the harrowing allied evacuation of Dunkirk, Parkinson had a dream that he was on the front lines.

“我发现自己身处一个炮坑,和一群防空炮兵在一起。”

View/Hide Original English

"I found myself in a gun pit with an anti-aircraft gun crew.

“那里的一门炮偶尔开火,令人印象深刻的是,每一发炮弹都击落了一架飞机。”

View/Hide Original English

"A gun there was firing occasionally, "and the impressive thing was that every shot "brought down an airplane.

“三四发炮弹后,其中一名炮兵对我笑了笑,示意我靠近火炮。”

View/Hide Original English

"After three or four shots, "one of the men in the crew smiled at me "and beckoned me to come closer to the gun.

“当我走近时,他指向左侧耳轴的裸露末端。”

View/Hide Original English

"When I drew near, "he pointed to the exposed end of the left trunnion.

“那里安装着我的电平记录仪的控制电位器。”

View/Hide Original English

"Mounted there was the control potentiometer "of my level recorder."

醒来后,帕金森意识到他用来控制笔的设备可以放大,以控制防空炮。

View/Hide Original English

When he woke up, Parkinson realized the device he was building to control a pen could be scaled up to control an anti-aircraft gun.

他与他的主管分享了这个想法,在获得军方批准后,他们着手将帕金森的梦想变为现实。

View/Hide Original English

He shared this idea with his supervisor, and after receiving approval from the military, they set out to make Parkinson's dream a reality.

贝尔实验室的研究人员最近发明了一种模拟电子设备,称为运算放大器(Operational amplifier, 或简称op-amp: 一种直流耦合高增益电子电压放大器,常用于模拟电路中执行数学运算)。

View/Hide Original English

Researchers at Bell Labs had recently invented an analog electrical device called an operational amplifier or op-amp.

它可以用电压执行数学运算,例如加法和乘法。

View/Hide Original English

It could perform mathematical operations with voltages, like addition and multiplication.

他们使用这些运算放大器创建了一台模拟计算机,可以解决防空炮的弹道方程。

View/Hide Original English

They used these op-amps to create an analog computer that could solve the ballistics equations for anti-aircraft guns.

通过使用雷达和光学瞄准具获取敌机速度、高度和方向,这台被称为M9火炮指挥仪(M9 Gun Director: 二战期间美国用于防空火炮的模拟计算机)的计算机可以快速计算出正确的弹道和引信设置。

View/Hide Original English

Using radar and optical sights to obtain the speed, altitude, and direction of enemy planes, the M9 Gun Director, as the computer was called, could rapidly calculate the correct trajectory and fuse setting.

电位器用于确定火炮的指向方向。

View/Hide Original English

Potentiometers were used to ascertain the direction the gun was pointing.

这不是第一台电动模拟计算机,但它是一台重要的计算机。

View/Hide Original English

This was not the first electric analog computer, but it was an important one.

在第一次世界大战中,击落一架飞机平均需要17,000发炮弹。

View/Hide Original English

In World War I, it took an average of 17,000 rounds to take down a single airplane.

1943年,M9发明后,平均只需90发。

View/Hide Original English

In 1943, after the invention of the M9, it took an average of only 90.

战争期间,美国在模拟计算机上投入了巨资。

View/Hide Original English

During the war, the U.S. invested heavily in analog computers.

如果分解其总军事预算,第三大单项开支就是开发和生产一种极其复杂的机械模拟计算机,称为诺顿轰炸瞄准器(Norden bombsight: 二战期间美国用于高精度空中轰炸的模拟计算机)。

View/Hide Original English

If you break down their total military budget, the third largest single expense was the development and production of an incredibly complex mechanical analog computer called the Norden bombsight.

不幸的是,他们并没有物有所值。

View/Hide Original English

Unfortunately, they didn't get their money's worth.

由古怪的荷兰工程师卡尔·诺顿(Carl Norden)设计的诺顿轰炸瞄准器旨在实现高精度空中轰炸。

View/Hide Original English

Designed by the eccentric Dutch engineer, Carl Norden, the Norden bombsight was built to enable high precision airborne bombing.

它实现了64种不同的同步算法,其中一种补偿了炸弹下落时地球的自转。

View/Hide Original English

It implemented 64 different simultaneous algorithms, including one that compensated for the rotation of the earth as the bomb fell.

诺顿轰炸瞄准器是战争中最严密保守的秘密之一。

View/Hide Original English

The Norden was one of the most closely guarded secrets of the war.

为了防止技术落入敌人之手,美国轰炸机机组人员随身携带手枪,以便在坠机时专门销毁它。

View/Hide Original English

To prevent the technology from falling into enemy hands, American bombardiers carried handguns specifically to destroy it in the event of a crash.

但尽管它备受吹捧并获得了大量资金,诺顿瞄准器并没有像宣传的那样工作。

View/Hide Original English

But despite its hype and funding, the Norden didn't work as advertised.

它有2000多个精细部件,制造需要极高的精度。

View/Hide Original English

With over 2,000 fine parts, it required extreme precision to manufacture.

模拟计算机的问题在于,物理设备是现实世界的模型。

View/Hide Original English

The problem with analog computers is that the physical device is a model for the real world.

因此,组件中的任何不准确都会导致计算的不准确。

View/Hide Original English

So any inaccuracy in the components translates into inaccuracy of the computation.

而且,由于部件之间的连接总是存在一些松动,如果你两次运行相同的计算,你将不会得到完全相同的答案。

View/Hide Original English

And since there will always be some slop in the connections between parts, if you run the same calculation twice, you won't get the exact same answer.

在美国对日本的战役中,使用轰炸瞄准器的轰炸机机组人员未能摧毁关键的日本战争基础设施。

View/Hide Original English

In the American campaign against Japan, bomber crews using the bombsite were unable to destroy critical Japanese war infrastructure.

最终,美国放弃了其精确轰炸方法,转而用凝固汽油弹覆盖了整个日本城市。

View/Hide Original English

And ultimately, the U.S. abandoned its precision bombing approach, and instead blanketed whole Japanese cities in napalm.

数字革命的崛起与模拟计算的衰落

随着战争的进展,数字计算机获得了关注。

View/Hide Original English

As the war progressed, digital computers gained traction.

英国布莱切利园(Bletchley Park)的数字电子巨人计算机(Colossus machines: 二战期间英国用于破解德国密码的早期电子数字计算机)对于破解德国密码至关重要。

View/Hide Original English

The digital and electronic Colossus machines of Bletchley Park in the UK were critical to breaking German codes.

在美国,军方投资了一台极其复杂且昂贵的数字机器,称为ENIAC(Electronic Numerical Integrator and Computer: 世界上第一台通用电子数字计算机)。

View/Hide Original English

In the United States, the military invested in an enormously complex and expensive digital machine, known as ENIAC.

它旨在加速陆地火炮射击表的计算。

View/Hide Original English

It was designed to speed up the calculation of land artillery firing tables.

当时,这些计算是使用微分分析器(基于开尔文谐波分析仪的模拟机械计算机)进行的。

View/Hide Original English

At the time, these were computed using differential analyzers, the analog mechanical computers based on Kelvin's harmonic analyzer.

尽管直到战后才完成,ENIAC展示了数字计算机的强大能力。

View/Hide Original English

Although not finished until after the war, ENIAC demonstrated the power of digital computers.

许多人认为它是第一台现代计算机。

View/Hide Original English

It's considered by many to be the first modern computer.

真正开启这场数字革命大门的是克劳德·香农(Claude Shannon)在1936年硕士论文中做出的发现。

View/Hide Original English

What really opened the door to this digital revolution was the discovery made by Claude Shannon in his 1936 master's thesis.

他指出,任何数值运算都可以使用布尔代数(Boolean algebra: 一种数学逻辑系统,处理真值(真或假)及其运算)的基本构建块来执行:两个值,真或假(也表示为一或零),以及三个运算:与(and)、或(or)和非(not)。

View/Hide Original English

He showed that any numerical operation can be carried out using the basic building blocks of Boolean algebra: Two values, true or false, also notated as one or zero, and three operations and, or, and not.

这使得数字计算机成为理想的多功能计算机器。

View/Hide Original English

This makes digital computers the ideal versatile computing machines.

相比之下,每台模拟计算机只适用于一种类型的问题。

View/Hide Original English

In contrast, each analog computer is an analog for only one type of problem.

此外,由于数字计算机基于零和一操作,它们在面对噪声时更具弹性。

View/Hide Original English

Furthermore, since digital computers operate on ones and zeros, they are more resilient in the face of noise.

需要很大的误差才能将一误认为零,反之亦然。

View/Hide Original English

It would take a large error to mistake a one for a zero or vice versa.

然而,模拟计算机中即使是很小的误差也会累积,并最终淹没信号。

View/Hide Original English

Whereas, even small errors in analog computers can grow and ultimately swamp the signal.

所以现在,一切都是数字化的。

View/Hide Original English

So these days, everything is digital.

我们的手机、电脑和互联网数据中心,甚至电视和广播现在都以数字形式播出。

View/Hide Original English

Our phones, computers, and internet data centers, even TV and radio is now being broadcast as digital.

优点显而易见。

View/Hide Original English

The advantages are obvious.

由于数字设备基于符号(通常是零和一)操作,它们提供精确的答案。

View/Hide Original English

Since digital devices operate on symbols, usually zeros and ones, they provide exact answers.

重复计算,你将得到相同的结果。

View/Hide Original English

And repeat the calculation, and you get the same result.

它们对噪声具有鲁棒性。

View/Hide Original English

They are robust to noise.

此外,由于执行几乎任何计算只需要少数几个组件,这些组件已被微型化和优化,使数字计算机成为理想的通用计算机器。

View/Hide Original English

Plus, since only a few components are required to perform virtually any computation, those components have been miniaturized and optimized, making digital computers the ideal universal computing machines.

模拟计算的潜在复兴

所以你可能会认为模拟计算机早已消失,成为遥远过去的遗迹。

View/Hide Original English

So you would think analog computers would be long gone, a relic of the distant past.

但是,模拟计算现在可能正在卷土重来。

View/Hide Original English

But, analog may now be making a comeback.

有一些初创公司正在积极开发模拟计算机。

View/Hide Original English

There are startups actively working on analog computers.

为什么会发生这种情况?

View/Hide Original English

Why is this happening?

模拟计算有什么好处?

View/Hide Original English

What could be the benefit of analog?

我本来想把所有这些都放在一个视频里。

View/Hide Original English

I wanted to put all of these into one video.

但这个故事太精彩了,不适合在20分钟内草草结束,所以这将在第二部分中呈现。

View/Hide Original English

But the story is too good to bury 20 minutes in, so that is coming up in part two.

请务必订阅频道,以便在第二部分发布时收到通知。

View/Hide Original English

Be sure you're subscribed to the channel to be notified when that comes out.

我将在视频的这一部分给你一个关于续集的提示,这一部分由Brilliant赞助。

View/Hide Original English

I'll give you a hint about the sequel in this section of the video, which is sponsored by Brilliant.

Brilliant是一个网站和应用程序,它通过互动性帮助你学习STEM(Science, Technology, Engineering, and Mathematics: 科学、技术、工程和数学)概念。

View/Hide Original English

Brilliant is a website and app that uses interactivity to help you learn STEM concepts.

对于本视频的续集,复习一下人工智能(Artificial intelligence: 模拟人类智能的机器能力)会是一个好主意,你可以在Brilliant关于神经网络(Neural networks: 模仿人脑结构和功能,用于机器学习的计算模型)的课程中做到这一点。

View/Hide Original English

For the sequel to this video, it would be a good idea to brush up on artificial intelligence, which you can do with Brilliant's courses on neural networks.

在这里你可以分析神经网络如何解码你的笔迹。

View/Hide Original English

Here you can analyze how a neural network decodes your handwriting.

我还推荐他们的微积分(Calculus: 数学的一个分支,研究变化率和累积量)课程,它们具有高度互动性。

View/Hide Original English

I also recommend their calculus courses, which are highly interactive.

Brilliant的优点在于它如何引导你逐步学习主题,并在学习过程中回答问题。

View/Hide Original English

What's great about Brilliant is how it gets you to step through topics, answering questions as you go.

通过这种方式,你无法欺骗自己认为已经理解了一切,因为你不断地在检验你的知识。

View/Hide Original English

In that way, you can't trick yourself into thinking you already understand everything, because you're constantly putting your knowledge to the test.

就我个人而言,我发现他们的课程很有挑战性,为了学到东西,它们也应该如此。

View/Hide Original English

Personally, I find their courses challenging, which they should be in order for you to learn anything.

但如果你遇到困难,总会有有用的提示触手可及,如果你需要,还可以获得更深入的解释。

View/Hide Original English

But if you ever get stuck, there's always a helpful hint close at hand, and more in-depth explanations are available if you want them.

随着假日季节的到来,Brilliant的年度订阅是送给生活中任何好奇学习者的绝佳礼物。

View/Hide Original English

As the holiday season is upon us, an annual subscription to Brilliant makes an awesome gift for any curious learners in your life.

无论是给自己还是送给别人,Brilliant都为前200名注册者提供年度订阅20%的折扣。

View/Hide Original English

And whether it's for you or someone else, Brilliant is offering 20% off an annual subscription to the first 200 people to sign up.

只需访问brilliant.org/veritasium。

View/Hide Original English

Just go to brilliant.org/veritasium.

我将把这个链接放在描述中。

View/Hide Original English

I'll put that link down into the description.

所以我要感谢Brilliant对Veritasium的支持,也要感谢你的观看。

View/Hide Original English

So I want to thank Brilliant for supporting Veritasium, and I want to thank you for watching.

📌 文中提及的人物和组织

关键字: canada digital law war