I need to design a board like this:
Each LED is an SMD 5730 type with a maximum current of 150 mA in three line and the input voltage is 3.2 × 7 ≈ 23 V.
I have seen this circuit:
But I found the AMS1117 which is more stable on stress by this datasheet part:
Unlike older regulators, the AMS1117 family does not need any protection diodes between the adjustment pin and the output and from the output to the input to prevent over-stressing the die. Internal resistors are limiting the internal current paths on the AMS1117 adjustment pin, therefore even with capacitors on the adjustment pin no protection diode is needed to ensure device safety under short-circuit conditions. Diodes between the input and output are not usually needed. Microsecond surge currents of 50A to 100A can be handled by the internal diode between the input and output pins of the device. In normal operations it is difficult to get those values of surge currents even with the use of large output capacitances. If high value output capacitors are used, such as 1000μF to 5000μF and the input pin is instantaneously shorted to ground, damage can occur. A diode from output to input is recommended, when a crowbar circuit at the input of the AMS1117 is used (Figure 1).
It could give me almost 1 A at almost a 1.3 V drop and a max. Vin of 15 V, so by this connection type:
I would like to know if the LM317 is better than the AMS1117 by some factors. I care about its price; the AMS1117 price is almost 1/3 of the LM317's price, and maximum voltage offers (which I don't think I need here because the open loop doesn't pass any voltage on an adjustable voltage IC).
I have also seen this question:
I think the LM317 or AMS1117 are better for this usage, am I right?