arduino firmware coding for bidirectional closed loop buck boost converter pwm signal

70.2K

Verified Solution

Question

Electrical Engineering

arduino firmware coding for bidirectional closed loop buck boostconverter pwm signal

Answer & Explanation Solved by verified expert
4.0 Ratings (804 Votes)
Arduino Microcontroller Code IPFW Senior Engineering Design Fall 2013 Spring 2014 Group Members David Spaulding Derek Krebs Steve Danielak John Haverstock Project Advisor Dr Eroglu This code was developed for control and interface with the bidirectional dcdc converter drive for an electric vehicle Written by Derek Krebs and David Spaulding Code developed for the Arduino Mega 2560 Include the LCD library include Establish variable names for each IO pin used const int pwmM 9 PWM for MOSFET Q4 inverted signal to Q9 const int pwmB 11 PWM for MOSFET Q5 inverted signal to Q10 const int potPin A0 Connected to the potentiometers output const int TachPin A1 Connected to Tachometer Signal const int MotorIsense A2 Connected to Motor Current Sense const int MotorVsense A3 Connected to Motor Voltage Sense const int BattIsense A4 Connected to Battery Current Sense const int BattVsense A5 Connected to Battery Voltage Sense const int directionSwitchPin 22 Connected to the switch for direction const int brakeSwitchPin 24 Connected to the button for braking const int LCDrs 43 LCD RS Connection 26 const int LCDen 45 LCD EN Connection const int LCDd4 47 LCD D4 Connection const int LCDd5 49 LCD D5 Connection const int LCDd6 51 LCD D6 Connection const int LCDd7 53 LCD D7 Connection 36 const int BLDCRotate 38 Rotation signal to BLDC Chip const int enBLDC 40 Enable signal for BLDC Chip const int sdConverterFETdrive 42 Enable signal to Converter FET Drivers const int sdCommutatorFETdrive 44 Enable signal to Commutator FET Drivers const int enLowSideFans 26 Enable Signal for Low Side Fan FET Gate    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students