Bilingual edition: English is preserved and Chinese follows each unit. Terminology uses the confirmed v20260916 glossary; automated semantic review remains traceable.
中英双语版:英文原文完整保留,中文紧随对应单元;术语采用 v20260916 确认表,自动语义审校结果可追溯。

J-K Flip-Flop

J-K触发器

The J-K flip-flop is the most versatile of the basic flip-flops. It has the input- following character of the clocked D flip-flop but has two inputs,traditionally labeled J and K. If J and K are different then the output Q takes the value of J at the next clock edge. The inputs are labeled J and K in honor of the inventor of the device, Jack Kilby.

J-K触发器是基本触发器中最为灵活的一种。它具有时钟触发D触发器的输入跟随特性,但有两个输入,通常标记为J和K。如果J和K不同,则在下一个时钟边沿时,输出Q取J的值。输入J和K的命名是为了向该器件的发明者杰克·基尔比致敬。
Examine Structure
检查结构
Applications
应用

If J and K are both low then no change occurs. If J and K are both high at the clock edge then the output will toggle from one state to the other. It can perform the functions of the set/reset flip-flop and has the advantage that there are no ambiguous states. It can also act as a T flip-flop to accomplish toggling action if J and K are tied together. This toggle application finds extensive use in binary counters.

如果J和K都为低电平,则不会发生状态变化。如果在时钟边沿J和K都为高电平,则输出会从一个状态切换到另一个状态。它可以实现置位/复位触发器的功能,并且其优势在于没有歧义状态。此外,当J和K连接在一起时,它也可以作为T触发器使用,以实现翻转功能。这种翻转功能在二进制计数器中得到了广泛应用。
Flip-Flops
翻转器
Index

Electronics concepts

Digital circuits

Sequential Operations

J-K Flip-Flop Applications
索引 电子学概念 数字电路 顺序操作 J-K 触发器 应用
 
HyperPhysics*****Electricity and magnetism
HyperPhysics ***** 电磁学
R Nave
Go Back
返回










J-K Flip-Flop Structure

J-K触发器结构

A simplified version of the versatile J-K flip-flop. Note that the outputs feed back to the enabling NAND gates. This is what gives the toggling action when J=K=1.

一种简化的J-K触发器。请注意,输出反馈到使能的NAND门。正是这种反馈使得当J=K=1时产生翻转作用。

While this implementation of the J-K flip-flop with four NAND gates works in principle, there are problems that arise with the timing. The timing pulse must be very short because a change in Q before the clock pulse goes off can drive the circuit into an oscillation called "racing". Modern ICs are so fast that this simple version of the J-K flip-flop is not practical (we put one together in the lab with an available 4-NAND chip and it was very unstable against racing).

虽然这种使用四个NAND门实现的J-K触发器在理论上是可行的,但会出现与定时有关的问题。定时脉冲必须非常短,因为Q在时钟脉冲有效之前发生变化,可能会使电路进入一种称为‘竞争’的振荡状态。现代集成电路速度如此之快,这种简单的J-K触发器版本并不实用(我们曾用可用的4-NAND芯片在实验室中实际制作过,但其对竞争现象非常不稳定)。

The next step in making use of the versatile J-K flip-flop is to use four additional NAND gates to create the Master-Slave JK Flip Flop which has two gated SR flip flops used as latches in a way that suppresses the "racing".
Switching Example
开关示例
Flip-Flops
翻转器

利用 versatile J-K 触发器 的下一步是使用四个额外的 NAND 门来创建 Master-Slave JK 触发器,该触发器通过以某种方式使用两个受控的 SR 触发器 作为锁存器,以抑制 '竞争' 问题。
Index

Electronics concepts

Digital circuits

Electronics Tutorials

allaboutcircuits
索引电子学概念数字电路电子教程allaboutcircuits
 
HyperPhysics*****Electricity and magnetism
HyperPhysics ***** 电磁学
R Nave
Go Back
返回





Switching Example: Master-Slave J-K Flip-Flop

切换示例:主从J-K触发器

The positive going transition (PGT) of the clock enables the switching of the output Q. The "enable" condition does not persist through the entire positive phase of the clock. The J & K inputs alone cannot cause a transition, but their values at the time of the PGT determine the output according to the truth table. This is an application of the versatile J-K flip-flop. Since this 4-NAND version of the J-K flip-flop is subject to the "racing" problem, the Master-Slave JK Flip Flop was developed to provide a more stable circuit with the same function.

时钟的上升沿(PGT)使输出Q发生切换。'使能'条件并不持续整个时钟的正相期间。J和K输入单独不能引起切换,但它们在PGT时刻的值决定了输出,根据真值表。这是J-K触发器的典型应用。由于这种4个NAND构成的J-K触发器存在'竞争'问题,因此开发了主从J-K触发器,以提供具有相同功能但更稳定的电路。

The Master-Slave JK Flip Flop has two gated SR flip flops used as latches in a way that suppresses the "racing" or "race around" behavior. Another way to look at this circuit is as two J-K flip-flops tied together with the second driven by an inverted clock signal.

主从JK触发器由两个受控的SR触发器组成,用于以一种抑制“竞争”或“竞逐”行为的方式作为锁存器使用。另一种看待此电路的方式是,它由两个JK触发器通过一个反相时钟信号连接在一起。

When the clock makes a positive transition the master section is triggered but the slave section is not because its clock is inverted. At a half cycle of the clock, on the downward transition, the inverted clock has a positive transition and triggers the slave section. The final output Q then tracks the output of the master section M after a half cycle of the clock.

当时钟发生正跳变时,主部分被触发,而从部分未被触发,因为其时钟是反相的。在时钟的半周期内,当发生下跳变时,反相的时钟会有一个正跳变,从而触发从部分。最终输出Q则在时钟的一个半周期后跟踪主部分M的输出。
Flip-Flops
翻转器
Index

Electronics concepts

Digital circuits

Reference
Tocci
Digital Systems, p170

Digital circuits

Electronics Tutorials

allaboutcircuits
索引 电子概念 数字电路 参考 Tocci 数字系统,第170页 数字电路 电子教程 allaboutcircuits
 
HyperPhysics*****Electricity and magnetism
HyperPhysics ***** 电磁学
R Nave
Go Back
返回










J-K Flip-Flop Data Transfer

JK触发器数据传输

In synchronous data transfer between two J-K flip-flops, a transfer signal on the clock input causes transfer from cell A to cell B. The transfer signal could be applied to several such cells in series to create a shift register.

在两个J-K触发器之间的同步数据传输中,时钟输入上的传输信号会导致从cell A传输到cell B。该传输信号可以应用于多个这样的cell,以形成移位寄存器。

In asynchronous data transfer, a transfer pulse may be applied at any time to force the data onto the asychronous set and clear inputs, storing the data regardless of what is happening on the other inputs.

在异步数据传输中,可以在任何时间施加一个传输脉冲以力将数据加载到异步的置位和复位输入上,无论其他输入的状态如何,数据都会被存储。
Flip-Flops
翻转器
Index

Electronics concepts

Digital circuits

Data Transfer

J-K Flip-Flop Applications

Reference
Tocci
Digital Systems, Sec 5-9, 5-17
索引 电子学概念 数字电路 数据传输 J-K 触发器 应用 参考 Tocci 数字系统,第5-9节,第5-17节
 
HyperPhysics*****Electricity and magnetism
HyperPhysics ***** 电磁学
R Nave
Go Back
返回






J-K Flip-Flop Instability or "Racing"

J-K 触发器的不稳定现象或'竞争'

A simplified version of the versatile J-K flip-flop. Note that the outputs feed back to the enabling NAND gates. This is what gives the toggling action when J=K=1. The toggling might be a desired behavior, but generally you would like for the times of toggling to be controlled by the clock pulses as enablers so that you could control and predict the output.

J-K触发器的一种简化版本。请注意,输出反馈到使能的NAND门。正是这种反馈使得当J=K=1时产生翻转动作。翻转可能是一种期望的行为,但通常你希望翻转的次数由时钟脉冲作为使能信号来控制,以便能够控制和预测输出。

For this version of the J-K flip-flop under the input conditions J=K=1 the toggling would be enabled anytime the clock has value 1, and the toggling rate would be determined by the propagation delay around the circuit. The value of the output at any time would not be predictable from the clock state. This is called "racing" or the "race-around condition". This uncontrolled toggling can be suppressed by using the master-slave arrangement where the transmission of the J value to the output is delayed by half a clock cycle and not immediately fed back to the input side.

Switching Example
开关示例
Flip-Flops
翻转器
对于J-K触发器在J=K=1的输入条件下,只要时钟为1,就会随时发生翻转,翻转频率由电路中的传播延迟决定。在任何时刻,输出值无法从时钟状态预测出来。这种现象称为“竞争”或“竞态条件”。这种不受控制的翻转可以通过使用主从结构来抑制,其中J值传输到输出被延迟半个时钟周期,而不是立即反馈到输入端。
Index

Electronics concepts

Digital circuits

Data Transfer

J-K Flip-Flop Applications

References
Tocci
Digital Systems, Sec 5-9, 5-17

ECE Turorials/
索引 电子学概念 数字电路 数据传输 J-K 触发器 应用 参考文献 Tocci 数字系统,第5-9节,第5-17节 ECE 教学教程
 
HyperPhysics*****Electricity and magnetism
HyperPhysics ***** 电磁学
R Nave
Go Back
返回