Karnaugh map simplification not matching truth table in simulation

  • Topic: Engineering 
  • Thread starter Noob of the Maths
  • Start date
  • Tags Tags
    Circuit Map Work
4 replies · 3K views · last reply
Noob of the Maths
Messages
52
Reaction score
6
Homework Statement
Karnaugh map
Relevant Equations
ng
Hi! Good night ;)

I have made the simplification of my circuit from the truth table using maps of.
Everything looks good, however the simulation does not work in many cases according to the truth table.

Truth table with inputs NA, NB, TA, TB and outputs VE, VS, C, A, 16 rows; rows where TA and TB are both 1 are shaded green, and rows with NA=1, NB=0 are shaded yellow.
Four handwritten Karnaugh maps with variables CD across the top and AB down the side, each with groupings circled in green or red and the resulting simplified expressions written beside them.

I notice that my boolean equation taken from the maps looks very big, is there the error?
Handwritten Boolean sum-of-products expression with colored terms: green A-bar C-bar + A-bar C D-bar, red B C-bar D-bar, black A-bar C-bar D, black B-bar C-bar D, and purple C + A B. Terms are joined by plus signs.

If it is ok, the error is my circuit?
Logic circuit schematic in a simulator with three toggle inputs labelled A, B and C plus a blue fourth input, feeding AND, NOT, OR gates and three LEDs labelled D1, D2, D3 and D4 with 220 resistors.


Thanks for read!
 
Attachments
  • Logic circuit schematic in a simulator with four inputs at the top, built from AND, OR and NOT gates labelled U1 to U17, driving four red LED outputs D1 to D4 through resistors R1 to R4.
    Captura de Pantalla 2022-03-09 a la(s) 20.40.59.png
    139 KB · Views: 188
One of the problems with social media sites like PF is that you are getting feedback from volunteers. They may choose to help or not depending on their own level of interest and the difficulty required. So, you will get more and/or better responses if you make your questions easy to understand.

I do know about K-maps and I am confident I could solve this problem. But, the way you've asked is frankly more confusing than the engineering required. I don't know what A, B, C, and D are or how they relate to the other table or the schematic (eg. what does D1 indicate). I suppose I could probably figure it out with reverse engineering, but I'm just not motivated enough right now given how confusing you've made it. When understanding the question is harder than solving the problem, I'll tend to move on.

So, maybe you could add some more detail about what you are doing and why? Maybe you could define some of the labels you've introduced?

Finally, boolean expressions that are derived from truth tables can be very big before they are reduced with logic. For example: ## xyz + xy\bar{z} + x\bar{y}z + x\bar{y}\bar{z} = x ##
 
Agreed.

For example, the circuit looks like ABCD are the inputs, but your truth table has different inputs and some inputs at the outputs?

Partial truth table with INPUT columns NA, NB, TA, TB and OUTPUT columns VE, VS, C, A; the first visible row reads 0 0 0 0 1 0 0 0.
 
berkeman said:
Agreed.

For example, the circuit looks like ABCD are the inputs, but your truth table has different inputs and some inputs at the outputs?

View attachment 298211
Yes, that's because the names corresponding to thins like "valve" "high level" "temperature" etc. but yes, it is ABCD
 
Noob of the Maths said:
Yes, that's because the names corresponding to thins like "valve" "high level" "temperature" etc. but yes, it is ABCD
Then what are the outputs?