I have 100 LM358P Op Amps that are giving me different results with one or both outputs either flipping or not to the positive reference voltage. While the Op Amp will pass the basic test of negative switching to positive on both outputs and vice versa. The results are completely different when an HCF4030B two input Quad OR gate is added for LED control. It seems that the tolerances are different on these Op Amps. Out of 100 pieces, 11 work as expected changing a negative output to positive when the trim pot is adjusted. The rest will vary. Some, both channel 1&2 stay negative, some only channel 1, and some only channel 2. All 100 Op Amps were tested in the same board with a socket added.
The TI LM358 datasheet seems to cover mostly the A or B versions, not the P version. Should I consider a different model for more consistent outputs?
This electrical circuit has worked and been used for more than 10 years to display battery status in a 24vdc system. The hand drawn schematic only includes the portion being affected. Boards were once hand built in house, now they are outsourced to KimCo. New boards are seeing the same types of failures, and replacement Op Amps are a 15% chance of working.