use linear smooth to do OCV