How Do Delays in Inputs Affect S-R Latch Outputs?

  • Thread starter Thread starter SpaceCreature
  • Start date Start date
AI Thread Summary
Delays in inputs to S-R latches primarily affect the timing of outputs, but do not change the fundamental operation of the AND gates involved. Each AND gate produces an output based solely on its current inputs, meaning that if one input is 0, the output is definitively 0, regardless of the other input. The S-R latch's behavior remains consistent even if one input experiences a delay, as the circuit operates at high speeds where such delays are minimal. The physical design of AND gates ensures they do not predict future states but react to current input conditions. Understanding these principles is key to grasping how S-R latches function in digital circuits.
SpaceCreature
Messages
1
Reaction score
0
I have a question about S-R latch for a specific diagram below (no, this is NOT a homework question).

Is there something, physically, about the way that AND (or even other) gates are built that once they know one input, they know what the output will be? I know, for example, that if R = 0, the output of AND will be 0, because both inputs need to be 1 or high for the output to be 1. I'm guessing the answer is no, the circuit does not know what the output will be with one input because if R = 1, how do we know what the second input will be?

What boggles my mind is this: let's pretend that R always gives its output first, because for some reason there is a delay in S. How is this possible? How can there even be an output for either AND gate if the AND gate needs two inputs to make a decision about an output?

http://img839.imageshack.us/img839/3791/latchq.jpg
 
Last edited by a moderator:
Engineering news on Phys.org
SpaceCreature,

Is there something, physically, about the way that AND (or even other) gates are built that once they know one input, they know what the output will be?

2-input AND gates have 4 states; 00, 01, 01, 11 period. It bases its output solely on those states. The AND gate neither "knows" nor does it have any cognizance of what the next state will be. It operates on what is applied to the input at the current time.

What boggles my mind is this: let's pretend that R always gives its output first, because for some reason there is a delay in S. How is this possible? How can there even be an output for either AND gate if the AND gate needs two inputs to make a decision about an output?

What is the problem? The 2-inputs are going to be either 1 or 0. The AND gate will base its output on those current inputs.

Ratch
 
A high output simply means a current is flowing through the wires. If the S gate is slower than the R gate, than the R gate will be receiving a low signal from one of its outputs, and will produce a 0.
 
In a logic gates arrangement, at least those you will be working with, the signal at every point and on every wire is at all times either a 1 or else it's a 0, there are never any "undecided" or "still thinking about it" or "wait, I'm not ready yet" logic levels. :wink:

If a 2-input AND gate on one input has a 0, neither you nor the gate needs to take into consideration what is on the other input—the output of that AND gate is already determined to be 0 so the electronics is designed to make the output a 0.
 


Hello,

Thank you for your question about the S-R latch and its functionality. I can provide some insight into how AND gates work and how they contribute to the overall operation of the S-R latch.

Firstly, it is important to understand that AND gates, along with other logic gates, are electronic components that are designed to perform specific logical operations based on their inputs. In the case of an AND gate, the output will only be high (1) if both of its inputs are high (1). This is due to the physical construction of the gate, which utilizes transistors and other components to create a circuit that can perform this logical operation.

In the specific diagram you provided, the S-R latch utilizes two AND gates to control the state of its outputs. One AND gate is responsible for the R input, while the other is responsible for the S input. When R = 0, the output of the R AND gate will always be 0, as you correctly stated. However, this does not mean that the output of the S-R latch will always be 0. The other AND gate, which is controlled by the S input, may still have an output of 1, depending on the state of the S input.

In the scenario you mentioned where R always gives its output first, it is important to note that electronic circuits operate at very high speeds, often in the nanosecond range. This means that the delay in the S input would be extremely small and would not significantly affect the overall operation of the latch. Additionally, the output of the S input could still be determined by the other AND gate, even if there is a slight delay in its input.

In summary, the physical construction of AND gates allows them to determine their output based on the state of their inputs, regardless of whether they have one or two inputs. In the case of the S-R latch, both AND gates work together to control the state of the outputs, and any delays in inputs would be negligible due to the high speed of electronic circuits. I hope this helps to clarify your understanding of the S-R latch. If you have any further questions, please don't hesitate to ask.
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top