Combinational Logic High for Range

  • Thread starter Thread starter ombudsmansect
  • Start date Start date
  • Tags Tags
    Logic Range
AI Thread Summary
The discussion focuses on using combinational logic to activate an LED when a 12-bit digital signal exceeds a specific threshold, in this case, 6V represented by the binary value 101001110100. The user seeks a simplified method to implement this logic without manually creating a truth table for all intermediate values. Since a comparator cannot be used in this scenario, the user considers splitting the 12-bit signal into three 4-bit segments but finds it complicated. Ultimately, they devise a solution using combinational logic for the most significant bits (MSBs) and combining them with AND and OR operations for the lower bits. The user expresses willingness to share the logic diagram once completed.
ombudsmansect
Messages
29
Reaction score
0
I need to use combinational logic to produce a high ouput for a certain range of values. I have and anaolgue signal which i have converted to a 12 bit digital signal, I need an LED to be turned on when the analogue signal is above a certain voltage.

I have the digital value (101001110100 = 6V), now I need the LED to be turned on for all values between this and 111111111111. SO i guess what I am asking is there any shortcut for implenenting logic for all values above a specified one. I hate to think that I am going to have to go through and write an SOP for all the intermeiate values, and then it is impossible to put on a karnaugh map to simplify (humanly impossible).

So does anyone know of a shortcut for implementing this seemingly simple logic function?
Many Thanks
 
Engineering news on Phys.org
couldn't you just use a comparator?
 
Comparator was used to create the 12 bit signal, now i must use the 12 bit digital signal to illuminate an LED when the analogue input is >6V.

Combinational logic must be used to illuminate the LED, it is all i am able to use. No comparator available for this part of the circuit.

I am thinkin of splitting up the 12 bit signal into 3 4 bit codes, but this also causes a lot of complications in the implementation. Thanks for replying hough, it is the best idea, unfortunate i cannot use it.
 
OK for anyone interested what i did in the end was made comb logic for the 4 MSB's when they are above 1010 high output, then ANDed that with and OR for both when 1010 and the second set of 4 bits that were below 0111, and when the MSB's are 1010, second 4 0111, and the 4LSB's below 0100. Yeah that was a bit much for one sentence, but if anyone is interested i can post the logic diagram when I've done it. Cheers.
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...
Back
Top