added very basic abs value difference model for analog input