An attempt to make IR sensor`s behaviour more close to reality