What practical use does increasing the number of bits have in general in computing? You get a larger address space and faster operations (like adding or multiplying, the bigger the word size, the faster the code, assuming you use the entire word size, because you only pay the register transfer cost once instead of twice or 3 times).
Increasing the "size" of a bit provides a similar bonus, you can reduce the word size and still maintain the same word range. In addition your computations (might) be cheaper since you apply your algorithm for fewer "digits" (depending on how expensive multiplication is in base 3).
三进制组件实际上与二进制 CPU 兼容 - 关键区别在于它们是数字的还是模拟的,而不是它们是否是二进制、三进制或其他类型的。将一个基数转换为另一个基数并提供任意基数的接口是一个简单的硬件问题 - 例如,它不需要新的 CPU 架构来拥有一些恰好是三进制的内存。
It provides better density (for parity in manufacturing).
That they provide three states per 'bit' does not make them 'yes no maybe' any more than it means "true false file-not-found" - its an application level thing to decide how to interpret and label those three states, but they are not 'fuzzy' approximate states, they are absolute and exclusive.
Ternary components would actually be compatible with binary CPUs - the key distinction is if they are digital or analogue, not if they are binary, ternary or other based. Its a simple hardware problem to convert one base to another and provide interfaces in arbitrary bases - it won't require a new CPU architecture to have some memory that happened to be ternary, for example.
Actually, not 0|1|2. It would be -1|0|1. I think the possibilities brought forth in introducing a ternary system could very well change computing as we know it. Most computers operate in binary...i.e. Yes/No. Human minds operate in ternary... Yes/No/Maybe...Could this be the key to true artificial intelligence??? I think computers could behave more like man if they were given the option to doubt :)
Boolean Logic is intrinsically binary and the basis for AND/OR gates, but Dunno+Boolean (Doolean) Logic can have some utility - in Turing Machine terms, a machine that stops and says Accept or Reject is Boolean, but in general a machine can keep running and be in an interdeterminate or don't know state (loop is used in theory of computation to indicate this, but don't know and don't care states are used in optimizing circuits - finding a minimal circuit that handles what you are interested and gives either True or False for the don't care states. Circuits can also be in indeterminate states, and determinacy/indeterminacy propagates so it is easy to generalize Boolean truth tables to Doolean truth tables - much like the way NaN propagates in Floating Point arithmetic.
In terms of arithmetic operations, all numeric operations can be carried out in any base, although some have very simple forms in binary (and there are also problems that suit other bases, including that of the natural logarithm). Incidentally there is no need for the three states to be 0, 1, 2 or -1, 0, +1 or even have equal differences (could even use imaginary or transcendentals values, like i and pi or e).
The primary disadvantage is all that we have invested in binary logic machines.
The primary advantage is efficiency in that one wire or one capacitor can as easily distinguish +1, 0, -1 as just 0,1 - negative voltages are just as real as positive voltages. Then yes, there are quantum possibilities (qutrits), optical possibities (e.g. polarization), etc. But focussing on the dynamic memory and the advantages of balanced circuits, circuit density per bit would be increased over 50% (2 trits has 9 states, 3 bits only 8 states), and power consumption per bit would likely be halved, and computation time would in principle reduce by a third per bit per cycle.
当您应用第三个终端时,您实际上可以做更多的事情,而不仅仅是三态逻辑。您实际上可以使电流具有方向性。将电磁体连接到三态电池上还可以通过操纵金属物体来展示三态 CPU 的功能,在本例中我们仅使用一个小机械螺钉。螺杆被磁化到电磁铁上,电磁铁可以使其上下左右移动,同时使物体旋转。通过这种理解,我们显然可以看到三进制 CPU 将获得根本性的进步。您不需要晶体管启动两次来切换到不同的路径,只需备份几个晶体管并将电荷放在新的晶体管路径上即可。这样可以节省能源、时间,而且由于颜色是如何自然倍增的,在三元 CPU/计算机上使用 3 基计数系统将使您能够更快地进行数学计算,如上面的 RGB 色阶示例所证明的那样。
可能性是无限的。
i'll give a good answer to your question. First of all, in order to knock transistor's energy into a ternary transistor, you first need a power supply capable of 3 types of current. Commonly you have only 2. Backwards and fowards. Negative and positive, or 0 and 1. With 3 you simply add another direction to the current. Adding an aluminum pole to an already existing zinc (negative) and copper (positive) battery can achieve this goal. Aluminum is used because it is the opposite of brass. Brass is the mixture of zinc and copper melted together.
Ok, before I can expound upon that I want to make it easier for you to understand the fundamental nature of ternary. As an example, remember that in programming a 3d polygon, (THREE dimensional, remember that) you can't do it without having at least 3 points. But you could code something that uses only 2, but then quickly flashes to another 2 points with one of the points being where the previous rendering showed one. An imitative, fake polygon it would be, but a true polygon obviously as you know needs 3 points. ANOTHER EXAMPLE:Take the RGB color scale for instance. Same thing. You can't make whatever color you want without 3 base colors. Many things operate in threes and therefore you can almost see a certain necessity for a ternary computer. So to prove my earlier conjecture true, look at purple. It is a mixture of red and blue. So what is purple's opposite? GREEN! This is because when you are working with a properly separated color scale, all you do to find the 3rd color you need is to add the 2 you already have and then invert your result. In this case, it is green.
Now going back to the point - with a ternary computer your power supply needs that 3rd current to properly change from your initial transistor to another in a 3-option circuit/intersection. So basically you have a left, right and up (for instance) option at any given transistor. It has 3 paths it can take. You can also add more with this technology but anymore than 3 paths to each option is redundant. So in order to move it to a certain transistor you have to manipulate the electrical current slightly. In binary this is done by tricking the transistor that is charged to have both 0 and 1 for just one moment, while the binary processor or binary logic chip in question is designed to make this easier by having the correct pathway/node-switching structure. So what happens is, instead of going straight ahead which would be the most logical step when turning on the next transistor, it gets tricked by polarity state changes until it is attracted to the second transistor. In a ternary computer, however, you have 3 transistors you can go to next, not just 2. So now you can use the 3rd current to do so.
NOW, how the the ternary current works, is, if you are using a ternary battery for your power supply (you can use a regular un-modified battery but then you need ternary power inversion components on the computer's motherboard, I prefer a ternary source.. so...) the aluminum rod you add will have a spinning action to the current, instead of forward and back.
Looks like this:
====================>>>>> Negative to positive (1 state!)
<<======================= Positive to negative (0 state)
The above illustration is the circular or "up" direction (2 state). We say up because well, the circuitry is exposed on one side, and not the other. The current will push more "UP" than down into the silicon wafer the transistors are attached to.
So that's all 3 states. Now the aluminum attached to the battery in this case will SPIN it's current instead of going back and forth, due to being weaker than the zinc, and stronger than the positive. You COULD do this with brass but you will lessen the life of your battery, and it won't put out as much energy. Aluminum's magnetism is separated properly from the zinc and copper. Here's a diagram of how your power source will work.
As you can see, the diagram shows the energy flow from each terminal. Everything is attracted to the positive, but the problem is the aluminum is getting a push from the negative at the same time. This unavoidably creates a spinning action in the magnetic and electrical fields (assuming you have it hooked up and are using it). This is your 3rd current. You cannot apply this thing to normal 2-way (negative-positive) electrical components. Not unless you don't hook up the 3rd terminal to the component in question. However in a ternary computer, all the components would obviously already be there to accept the 3rd terminal and thus become capable of using it's ternary logic states.
When you apply the 3rd terminal, you can actually do many more things than just 3 state logic. You can actually make the current directional. Attaching an electromagnet to the 3 state battery will also show the capabilities of a ternary CPU by being able to manipulate a metal object, we'll just use a small machine screw for this example. The screw is magnetized to the electromagnet, and the electromagnet can move it up and down, left to right and spin the object at the same time. Using this understanding, we can obviously see that a ternary CPU would be radically advanced. Instead of requiring transistors to fire up twice to switch to a different path, you can simply back up a few transistors and put the electrical charge on a new transistor path. This saves energy, time and because of how tings are naturally multiplied, using a 3 base counting system on the ternary CPU/Computer will enable you to do math so much quicker, as proven with the RGB color scale example above.
发布评论
评论(5)
增加位数在计算中通常有什么实际用途?您将获得更大的地址空间和更快的操作(例如加法或乘法,字大小越大,代码越快,假设您使用整个字大小,因为您只需支付一次寄存器传输成本,而不是两次或 3 次) 。
增加一位的“大小”提供了类似的好处,您可以减少字大小并仍然保持相同的字范围。此外,您的计算(可能)会更便宜,因为您将算法应用于更少的“数字”(取决于以 3 为基数的乘法有多昂贵)。
What practical use does increasing the number of bits have in general in computing? You get a larger address space and faster operations (like adding or multiplying, the bigger the word size, the faster the code, assuming you use the entire word size, because you only pay the register transfer cost once instead of twice or 3 times).
Increasing the "size" of a bit provides a similar bonus, you can reduce the word size and still maintain the same word range. In addition your computations (might) be cheaper since you apply your algorithm for fewer "digits" (depending on how expensive multiplication is in base 3).
它提供了更好的密度(用于制造中的平价)。
它们为每个“位”提供三种状态并不意味着它们“是,不,也许”,就像它意味着“ true false file-not-found” - 这是应用程序级别的事情,决定如何解释和标记这三种状态,但它们不是“模糊”近似状态,它们是绝对的和排他的。
三进制组件实际上与二进制 CPU 兼容 - 关键区别在于它们是数字的还是模拟的,而不是它们是否是二进制、三进制或其他类型的。将一个基数转换为另一个基数并提供任意基数的接口是一个简单的硬件问题 - 例如,它不需要新的 CPU 架构来拥有一些恰好是三进制的内存。
It provides better density (for parity in manufacturing).
That they provide three states per 'bit' does not make them 'yes no maybe' any more than it means "true false file-not-found" - its an application level thing to decide how to interpret and label those three states, but they are not 'fuzzy' approximate states, they are absolute and exclusive.
Ternary components would actually be compatible with binary CPUs - the key distinction is if they are digital or analogue, not if they are binary, ternary or other based. Its a simple hardware problem to convert one base to another and provide interfaces in arbitrary bases - it won't require a new CPU architecture to have some memory that happened to be ternary, for example.
实际上,不是0|1|2。它将是-1|0|1。我认为引入三元系统所带来的可能性很可能会改变我们所知的计算。大多数计算机以二进制运行......即是/否。人类思维以三元方式运作...是/否/也许...这可能是真正人工智能的关键吗???我认为如果计算机可以选择怀疑的话,它们的行为会更像人类:)
Actually, not 0|1|2. It would be -1|0|1. I think the possibilities brought forth in introducing a ternary system could very well change computing as we know it. Most computers operate in binary...i.e. Yes/No. Human minds operate in ternary... Yes/No/Maybe...Could this be the key to true artificial intelligence??? I think computers could behave more like man if they were given the option to doubt :)
布尔逻辑本质上是二进制的,是 AND/OR 门的基础,但 Dunno+Boolean (Doolean) 逻辑可以有一些实用性 - 在图灵机术语中,机器停止并说接受或拒绝是布尔值,但一般来说,机器可以保持运行并处于不确定或不知道状态(循环在计算理论中用于指示这一点,但不知道和不关心状态用于优化电路 - 找到一个最小的电路来处理你想要的东西感兴趣并为无关状态给出 True 或 False 电路也可以处于不确定状态,并且确定性/不确定性传播,因此很容易将布尔真值表推广到杜尔真值表 - 非常类似于 NaN 的传播方式。浮点运算。
就算术运算而言,所有数字运算都可以在任何基数中执行,尽管有些运算的二进制形式非常简单(并且也存在适合其他基数的问题,包括自然对数的问题)。顺便说一句,这三个状态不需要是 0、1、2 或 -1、0、+1,甚至不需要具有相等的差异(甚至可以使用虚数或超越值,如 i 和 pi 或 e)。
主要缺点是我们在二进制逻辑机上投入了全部资金。
主要优点是效率,因为一根电线或一个电容器可以像区分 0,1 一样轻松区分 +1、0、-1 - 负电压与正电压一样真实。那么是的,还有量子可能性(qutrits)、光学可能性(例如偏振)等。但是关注动态存储器和平衡电路的优点,每比特的电路密度将增加超过50%(2个trits有9个状态, 3 位只有 8 个状态),每位功耗可能会减半,原则上每个周期每位的计算时间将减少三分之一。
Boolean Logic is intrinsically binary and the basis for AND/OR gates, but Dunno+Boolean (Doolean) Logic can have some utility - in Turing Machine terms, a machine that stops and says Accept or Reject is Boolean, but in general a machine can keep running and be in an interdeterminate or don't know state (loop is used in theory of computation to indicate this, but don't know and don't care states are used in optimizing circuits - finding a minimal circuit that handles what you are interested and gives either True or False for the don't care states. Circuits can also be in indeterminate states, and determinacy/indeterminacy propagates so it is easy to generalize Boolean truth tables to Doolean truth tables - much like the way NaN propagates in Floating Point arithmetic.
In terms of arithmetic operations, all numeric operations can be carried out in any base, although some have very simple forms in binary (and there are also problems that suit other bases, including that of the natural logarithm). Incidentally there is no need for the three states to be 0, 1, 2 or -1, 0, +1 or even have equal differences (could even use imaginary or transcendentals values, like i and pi or e).
The primary disadvantage is all that we have invested in binary logic machines.
The primary advantage is efficiency in that one wire or one capacitor can as easily distinguish +1, 0, -1 as just 0,1 - negative voltages are just as real as positive voltages. Then yes, there are quantum possibilities (qutrits), optical possibities (e.g. polarization), etc. But focussing on the dynamic memory and the advantages of balanced circuits, circuit density per bit would be increased over 50% (2 trits has 9 states, 3 bits only 8 states), and power consumption per bit would likely be halved, and computation time would in principle reduce by a third per bit per cycle.
我会很好地回答你的问题。首先,为了将晶体管的能量注入三元晶体管,您首先需要一个能够支持 3 种电流的电源。通常只有 2 个。后退和前进。负和正,或者 0 和 1。使用 3,您只需向当前添加另一个方向。在现有的锌(负极)和铜(正极)电池中添加铝极可以实现这一目标。使用铝是因为它与黄铜相反。黄铜是锌和铜熔化在一起的混合物。
好吧,在我详细解释之前,我想让你更容易地理解三元的基本性质。举个例子,请记住,在编写 3D 多边形(请记住,三维)时,如果没有至少 3 个点,您就无法做到这一点。但是您可以编写仅使用 2 个点的代码,但随后快速闪烁到另外 2 个点,其中一个点是先前渲染显示的点。这将是一个模仿的、假的多边形,但正如您所知,一个真正的多边形显然需要 3 个点。 另一个例子:以 RGB 色阶为例。同样的事情。如果没有 3 种基色,您就无法制作出任何您想要的颜色。许多事物都是以三进制运行的,因此您几乎可以看到三进制计算机的一定必要性。因此,为了证明我之前的猜想是正确的,请看紫色。它是红色和蓝色的混合物。那么紫色的反义词是什么?绿色的!这是因为当您使用正确分离的色标时,要找到所需的第三种颜色,您所做的就是添加已有的 2 种颜色,然后反转结果。在本例中,它是绿色的。
现在回到正题 - 对于三元计算机,您的电源需要第三个电流才能正确地从最初的晶体管更改为 3 选项电路/交叉点中的另一个晶体管。所以基本上任何给定的晶体管都有左、右和上(例如)选项。它有 3 条路径可供选择。您还可以使用此技术添加更多路径,但每个选项的路径超过 3 条是多余的。因此,为了将其移动到某个晶体管,您必须稍微操纵电流。在二进制中,这是通过欺骗被充电的晶体管在某一时刻同时具有 0 和 1 来完成的,而所讨论的二进制处理器或二进制逻辑芯片旨在通过具有正确的路径/节点切换结构来使这一过程变得更容易。因此,发生的情况是,它并没有直接前进(这在打开下一个晶体管时是最合乎逻辑的步骤),而是被极性状态变化所欺骗,直到它被吸引到第二个晶体管。然而,在三元计算机中,您可以使用 3 个晶体管,而不仅仅是 2 个。所以现在您可以使用第三个电流来执行此操作。
现在,三元电流的工作原理是,如果您使用三元电池作为电源(您可以使用常规的未经修改的电池,但随后您需要计算机上的三元电源逆变组件主板,我更喜欢三元源......所以......)您添加的铝棒将对电流产生旋转动作,而不是向前和向后。
看起来像这样:
====================>>>>负转正(1 状态!)
<<========================= 正转负(0 状态)
^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
======== ======================
VVVVVVVVVVVVVVVVVVVVVVVV
上图是圆形或“向上”方向(2 状态)。我们说向上是因为电路暴露在一侧,而不是另一侧。电流将更多地“向上”推入晶体管所附着的硅晶圆,而不是向下推入。
这就是全部 3 个州。现在,在这种情况下,附着在电池上的铝将旋转电流,而不是来回流动,因为铝比锌弱,但比正极强。您可以使用黄铜来做到这一点,但是您会缩短电池的寿命,并且不会释放出那么多的能量。铝的磁性与锌和铜完全分开。这是电源工作原理图。
http://oi60.tinypic.com/2nsrwgw.jxpxgx(将jxpxgx更改为jpg)
作为你可以看到,该图显示了来自每个终端的能量流。一切都被积极的一面所吸引,但问题是铝同时受到消极的推动。这不可避免地会在磁场和电场中产生旋转作用(假设您已连接并正在使用它)。这是你的第三次电流。你不能把这个东西应用到普通的2路(负-正)电气元件上。除非您不将第三个端子连接到相关组件,否则不会。然而,在三元计算机中,所有组件显然已经在那里接受第三个端子,因此能够使用其三元逻辑状态。
当您应用第三个终端时,您实际上可以做更多的事情,而不仅仅是三态逻辑。您实际上可以使电流具有方向性。将电磁体连接到三态电池上还可以通过操纵金属物体来展示三态 CPU 的功能,在本例中我们仅使用一个小机械螺钉。螺杆被磁化到电磁铁上,电磁铁可以使其上下左右移动,同时使物体旋转。通过这种理解,我们显然可以看到三进制 CPU 将获得根本性的进步。您不需要晶体管启动两次来切换到不同的路径,只需备份几个晶体管并将电荷放在新的晶体管路径上即可。这样可以节省能源、时间,而且由于颜色是如何自然倍增的,在三元 CPU/计算机上使用 3 基计数系统将使您能够更快地进行数学计算,如上面的 RGB 色阶示例所证明的那样。
可能性是无限的。
i'll give a good answer to your question. First of all, in order to knock transistor's energy into a ternary transistor, you first need a power supply capable of 3 types of current. Commonly you have only 2. Backwards and fowards. Negative and positive, or 0 and 1. With 3 you simply add another direction to the current. Adding an aluminum pole to an already existing zinc (negative) and copper (positive) battery can achieve this goal. Aluminum is used because it is the opposite of brass. Brass is the mixture of zinc and copper melted together.
Ok, before I can expound upon that I want to make it easier for you to understand the fundamental nature of ternary. As an example, remember that in programming a 3d polygon, (THREE dimensional, remember that) you can't do it without having at least 3 points. But you could code something that uses only 2, but then quickly flashes to another 2 points with one of the points being where the previous rendering showed one. An imitative, fake polygon it would be, but a true polygon obviously as you know needs 3 points. ANOTHER EXAMPLE:Take the RGB color scale for instance. Same thing. You can't make whatever color you want without 3 base colors. Many things operate in threes and therefore you can almost see a certain necessity for a ternary computer. So to prove my earlier conjecture true, look at purple. It is a mixture of red and blue. So what is purple's opposite? GREEN! This is because when you are working with a properly separated color scale, all you do to find the 3rd color you need is to add the 2 you already have and then invert your result. In this case, it is green.
Now going back to the point - with a ternary computer your power supply needs that 3rd current to properly change from your initial transistor to another in a 3-option circuit/intersection. So basically you have a left, right and up (for instance) option at any given transistor. It has 3 paths it can take. You can also add more with this technology but anymore than 3 paths to each option is redundant. So in order to move it to a certain transistor you have to manipulate the electrical current slightly. In binary this is done by tricking the transistor that is charged to have both 0 and 1 for just one moment, while the binary processor or binary logic chip in question is designed to make this easier by having the correct pathway/node-switching structure. So what happens is, instead of going straight ahead which would be the most logical step when turning on the next transistor, it gets tricked by polarity state changes until it is attracted to the second transistor. In a ternary computer, however, you have 3 transistors you can go to next, not just 2. So now you can use the 3rd current to do so.
NOW, how the the ternary current works, is, if you are using a ternary battery for your power supply (you can use a regular un-modified battery but then you need ternary power inversion components on the computer's motherboard, I prefer a ternary source.. so...) the aluminum rod you add will have a spinning action to the current, instead of forward and back.
Looks like this:
====================>>>>> Negative to positive (1 state!)
<<======================= Positive to negative (0 state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
==============================
VVVVVVVVVVVVVVVVVVVVVVVVVV
The above illustration is the circular or "up" direction (2 state). We say up because well, the circuitry is exposed on one side, and not the other. The current will push more "UP" than down into the silicon wafer the transistors are attached to.
So that's all 3 states. Now the aluminum attached to the battery in this case will SPIN it's current instead of going back and forth, due to being weaker than the zinc, and stronger than the positive. You COULD do this with brass but you will lessen the life of your battery, and it won't put out as much energy. Aluminum's magnetism is separated properly from the zinc and copper. Here's a diagram of how your power source will work.
http://oi60.tinypic.com/2nsrwgw.jxpxgx (change the jxpxgx to jpg)
As you can see, the diagram shows the energy flow from each terminal. Everything is attracted to the positive, but the problem is the aluminum is getting a push from the negative at the same time. This unavoidably creates a spinning action in the magnetic and electrical fields (assuming you have it hooked up and are using it). This is your 3rd current. You cannot apply this thing to normal 2-way (negative-positive) electrical components. Not unless you don't hook up the 3rd terminal to the component in question. However in a ternary computer, all the components would obviously already be there to accept the 3rd terminal and thus become capable of using it's ternary logic states.
When you apply the 3rd terminal, you can actually do many more things than just 3 state logic. You can actually make the current directional. Attaching an electromagnet to the 3 state battery will also show the capabilities of a ternary CPU by being able to manipulate a metal object, we'll just use a small machine screw for this example. The screw is magnetized to the electromagnet, and the electromagnet can move it up and down, left to right and spin the object at the same time. Using this understanding, we can obviously see that a ternary CPU would be radically advanced. Instead of requiring transistors to fire up twice to switch to a different path, you can simply back up a few transistors and put the electrical charge on a new transistor path. This saves energy, time and because of how tings are naturally multiplied, using a 3 base counting system on the ternary CPU/Computer will enable you to do math so much quicker, as proven with the RGB color scale example above.
The possibilities are ENDLESS.