Go Back   EcoModder Forum > EcoModding > Fossil Fuel Free > Open ReVolt: open source DC motor controller
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 05-30-2013, 11:12 AM   #6141 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
Power into the motor is approximately power out of the motor (except for losses), so...

1) BatteryCurrent * BatteryVoltage = MotorCurrent * MotorVoltage.

Now,
2) MotorVoltage = BatteryVoltage * PWM_DUTY

Let's substitute 2 into 1:

BatteryCurrent * BatteryVoltage = MotorCurrent * (BatteryVoltage * PWM_DUTY)

Now, cancel BatteryVoltage from both sides of the equation, to get....

BatteryCurrent = MotorCurrent * PWM_DUTY.

Or, said another way,
BatteryCurrent / MotorCurrent = PWM_DUTY

So, if you only know the PWM_DUTY, there are still 2 other variables. You can't know both the battery current and the motor current if you only know the pwm duty.

Hey! It has over 1 million views! I was hoping it would roll over to zero, and there'd be a y2k catastrophe. oh well.

__________________
kits and boards
  Reply With Quote
The Following 2 Users Say Thank You to MPaulHolmes For This Useful Post:
cyrusamory (05-30-2013), thingstodo (07-06-2013)
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 05-30-2013, 11:36 AM   #6142 (permalink)
EcoModding Lurker
 
Join Date: Dec 2011
Location: Poland
Posts: 66
Thanks: 12
Thanked 27 Times in 22 Posts
Quote:
Originally Posted by MPaulHolmes View Post
Yes, it's just a single line of code to go up to maybe 900 amps. Well, or maybe 2 lines. I forgot...
Thanks! I tried to dig into code (being a beginner means it's like deep water diving) and I understand that these mentioned lines simply change translation of LEM signal onto current_fb; so for example current_fb=500 means ~600A real; to get rtd_explorer displaying proper values we'd need to modify either rtd_explorer or cougar's output datastream?
  Reply With Quote
Old 05-30-2013, 12:11 PM   #6143 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
Oops. Yes! That's exactly right. 0 to MAX_CURRENT would be 0 to 500 (or 511 haha)

The code on the chip would have to do a multiply by 600/500 before displaying it.
__________________
kits and boards
  Reply With Quote
The Following User Says Thank You to MPaulHolmes For This Useful Post:
z_power (05-30-2013)
Old 05-30-2013, 12:48 PM   #6144 (permalink)
Master EcoModder
 
Join Date: Apr 2009
Location: Charlton MA, USA
Posts: 463

EVVette - '71 Chevy Corvette Coupe
Thanks: 31
Thanked 183 Times in 94 Posts
Quote:
Originally Posted by z_power View Post
Thanks! I tried to dig into code (being a beginner means it's like deep water diving) and I understand that these mentioned lines simply change translation of LEM signal onto current_fb; so for example current_fb=500 means ~600A real; to get rtd_explorer displaying proper values we'd need to modify either rtd_explorer or cougar's output datastream?
RTD Explorer filters incoming data with a REGEX. I would have to check it and make sure it can take a larger value, but I think it is just looking for format. Which means any current up to 999 would be ok.

-Adam
__________________
www.EVVette.com - 1971 Corvette Coupe Conversion to all Electric!
www.AdamBrunette.com - Machining, CNC, Robotics and Electronics.

You can download RTD Explorer for the Cougar controllers at www.EVVette.com
  Reply With Quote
The Following User Says Thank You to adamj12b For This Useful Post:
z_power (05-30-2013)
Old 05-31-2013, 12:54 PM   #6145 (permalink)
Master EcoModder
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 734
Thanks: 26
Thanked 304 Times in 171 Posts
Re-moc progress. Getting to like those C4DE caps .........
Attached Thumbnails
Click image for larger version

Name:	remoc1s.jpg
Views:	102
Size:	72.5 KB
ID:	13124  
__________________
Now, Cole, when you shift the gear and that little needle on the ammeter goes into the red and reads 2000 Amps, that's bad.
www.evbmw.com
  Reply With Quote
The Following 3 Users Say Thank You to jackbauer For This Useful Post:
adamj12b (05-31-2013), MPaulHolmes (05-31-2013), thingstodo (07-06-2013)
Old 05-31-2013, 01:15 PM   #6146 (permalink)
Master EcoModder
 
Join Date: Apr 2009
Location: Charlton MA, USA
Posts: 463

EVVette - '71 Chevy Corvette Coupe
Thanks: 31
Thanked 183 Times in 94 Posts
Quote:
Originally Posted by jackbauer View Post
re-moc progress. Getting to like those c4de caps .........
that is awesome!
__________________
www.EVVette.com - 1971 Corvette Coupe Conversion to all Electric!
www.AdamBrunette.com - Machining, CNC, Robotics and Electronics.

You can download RTD Explorer for the Cougar controllers at www.EVVette.com
  Reply With Quote
Old 06-02-2013, 12:35 PM   #6147 (permalink)
Master EcoModder
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 734
Thanks: 26
Thanked 304 Times in 171 Posts
Re-moc is alive! Video uploading .........
Attached Thumbnails
Click image for larger version

Name:	remoc2s.jpg
Views:	76
Size:	125.4 KB
ID:	13135  
__________________
Now, Cole, when you shift the gear and that little needle on the ammeter goes into the red and reads 2000 Amps, that's bad.
www.evbmw.com
  Reply With Quote
The Following 2 Users Say Thank You to jackbauer For This Useful Post:
MPaulHolmes (06-02-2013), thingstodo (07-06-2013)
Old 06-02-2013, 01:32 PM   #6148 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
Oh heck ya! Hurry up and upload, you stupid computer!!!!! I just about have to leave. dang it. I'll get that code changed too so that it shows the actual amps instead of the scale of 0-500.
__________________
kits and boards
  Reply With Quote
Old 06-02-2013, 03:22 PM   #6149 (permalink)
EcoModding Lurker
 
SEBART PL's Avatar
 
Join Date: Dec 2009
Location: Poland
Posts: 21
Thanks: 7
Thanked 1 Time in 1 Post
Quote:
Originally Posted by jackbauer View Post
Re-moc is alive! Video uploading .........
...where is this video , please? ( I have checked your youtub profile but is not there)

After my second set of mosfet failed, I have decided to put more of them in TO220 case
- I want to change IRFP4668PbF for irfb4115gpbf (150V 11mohm 70A ) 22 pieces

1. I want to ask is mic4451YN can manage those 22 mosfets? And do I need to change resistors gate parametrs ?

Data S:
mic4451YN http://www.micrel.com/_PDF/mic4451.pdf

MOSFET Ciss Input Capacitance ––– 5270 ––– pF x22=115940 pF
mic load drive is 62000 Pf looks it is not good
or I need to check just Gate-to-Source Forward Leakage it is 100nA and mic can work on 2A - I am not so sure is this is OK.

2. What about resistors, have they need to be amended?

3. Another important question I aware my fail could happened becouse of spikes from motor could produce over voltage - can I protect my controler with some kind diode or transil installed on motor? (Motor parametrs 80V 200A 13.5 KW DCseries)

For any help thank you in advance.

Last edited by SEBART PL; 06-02-2013 at 06:04 PM..
  Reply With Quote
Old 06-03-2013, 05:24 AM   #6150 (permalink)
EcoModding Lurker
 
Join Date: Apr 2013
Location: UK
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Me Again

Looking at the spec sheet for the IXYs mosfet, It appears to have a Diode integrated into the device between the drain and source, could this replace the freewheel diode? here is the spec sheet.

http://ixdev.ixys.com/DataSheet/DS10...FX230N20T).pdf

Thankyou again


Last edited by cyrusamory; 06-03-2013 at 05:25 AM.. Reason: Missing Link
  Reply With Quote
Reply  Post New Thread




Similar Threads
Thread Thread Starter Forum Replies Last Post
Paul and Sabrina's Cheap 3 Phase Inverter (AC Controller) with Field Oriented Control MPaulHolmes Fossil Fuel Free 3431 05-04-2022 06:43 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 10:09 PM
Three Dirt Cheap DIY Electric Cars - Part 5 SVOboy EcoModder Blog Discussion 0 12-12-2008 05:10 PM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com