Automatic Speed Detection and PWM Signal Generation for Application in Dual Fuel System

  • Abstract
  • Keywords
  • References
  • PDF
  • Abstract

    Dual fuel injection can be implemented in vehicle by changing engine injector or manipulating signal from vehicle’s Electronic Control Unit (ECU). Changing engine injector is costly, thus this paper focuses study to discover possibility to manipulate ECU signal using microcontroller. The study desired to detect motor speed automatically, and then produce a new Pulse Width Modulation (PWM) signal to navigate fuel injector. The capture/compare/PWM (CCP) module of PIC18F4520 device is utilized to record timing of input signal, determine its correseponding speed, and generate PWM signal with the designated duty cycle. The predefined duty cycles for the PWM signal are 25%, 50%, and 75% in the system. The program is debugged using MPLAB software and verified with a test circuit operating at 10MHz frequency using specific engineering software. The experimental results demonstrated the program manifests a promising achievement to the expected theoretical results.


  • Keywords

    Duty-cycle, CCP module, PWM

  • References

      [1] Union of Concerned Scientists, Climate Hot Map. Retrieved 17 April 2017, from

      [2] LiveScience, Global Warming: News, Facts, Causes & Effects. Retrieved 17 April 2017, from

      [3] Nasa, Global Climate Change: Vital Signs of the Planet. Retrieved 17 April 2017, from

      [4] MAA, Malaysia Automotive Info. Retrieved 15 April 2017, from

      [5] F.Y. Liang, M. Ryvak, S. Sayeed, & N. Zhao, 2012. The role of natural gas as a primary fuel in the near future, including comparisons of acquisition, transmission and waste handling costs of as with competitive alternative. Chemistry Central Journal, Springer Open v.6.

      [6] Microchip, PIC18F2420/2520/4420/4520 Data Sheet

      [7] M. A. Mazidi, R. D. Mckinlay, & D. Causey, 2008. PIC Microcontroller and Embedded System Using Assembly and C for PIC18. Pearson Prentice Hall




Article ID: 19027
DOI: 10.14419/ijet.v7i3.7.19027

Copyright © 2012-2015 Science Publishing Corporation Inc. All rights reserved.