why 270 ohms is in 0.5 watts
In worst case, if the zener becomes faulty (shorted), the dissipation of the resistor (Rs):
P_max = 9 * 9 / 0.27 = 300 mW
In normal case, the minimum zener current is:
Iz = ( Vcc - Vz ) / Rs - I_load_max
Iz = ( 6 - 5.1) / 0.27 - 1.5 mA = 1.8 mA
(the maximum 1.5 mA from datasheet)
So the zener limits the voltage though Vz is in this case a bit lower than 5.1 V
whats the use of 150 ohms resistor actually?
It seems the designer of this circuit tried to supply the IR IC with as close as 5V.
Knowing (from datasheet) I_typical = 0.6 mA, the 150R drops 0.15*0.6 = 0.09 V.
Therefore Vc on the IR IC is 5.1 - 0.09 = 5.01 V.
In my opinion, it can be removed since Vc_max is 6 V.
=========
The output of 1738 is an open collector with a 80K pull-up resistor. With no load (open circuit) and no IR (pulsed) detection, the output voltage is Vc (about 5V).