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 02-28-2009, 11:09 AM   #471 (permalink)
Master EcoModder
 
Join Date: Sep 2008
Location: Texas
Posts: 632
Thanks: 0
Thanked 26 Times in 24 Posts
For current sensing, how about just tap some points and calculate the current from the voltage drop?

__________________
If America manages to eliminate obesity, we would save as much fuel as if every American were to stop driving for three days every year. To be slender like Tiffany Yep is to be a real hypermiler...

Allie Moore and I have a combined carbon footprint much smaller than that of one average American...
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 02-28-2009, 11:11 AM   #472 (permalink)
EcoModding Lurker
 
Join Date: Jan 2009
Location: Russia
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by MPaulHolmes View Post
Did you ever hear how the american astronauts couldn't get a pen to work in space,
i know it.
  Reply With Quote
Old 02-28-2009, 11:13 AM   #473 (permalink)
EcoModding Lurker
 
Join Date: Jan 2009
Location: Russia
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by NiHaoMike View Post
For current sensing, how about just tap some points and calculate the current from the voltage drop?
If points on copper bar - than copper has high resistance deviation by temp.

If for MOSFET voltage drop ... Rdson is rising with temp and this aproach we've discused some pages ago for over current protecrion, but not for current mesurement.

page 17:
http://ecomodder.com/forum/showthrea...r-6404-17.html

See datasheet IR2127 irf.com desaturation protection.

Last edited by motor_control; 02-28-2009 at 11:44 AM..
  Reply With Quote
Old 02-28-2009, 11:51 AM   #474 (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
If it's using the copper as the shunt, and finding the voltage drop from that, it would work (it's what I use in my EV! It works great!), but you would have to know the copper's temperature. Copper's resistance increases about 0.4% per degree celcius above 20degC. I guess it would work really well to just compute the voltage drop from the copper shunt, monitor the temperature of the copper with a nice thermistor, and compute the current with the micro-controller, but my hardware overcurrent shutdown would not work then. Any ideas?
__________________
kits and boards
  Reply With Quote
Old 02-28-2009, 12:58 PM   #475 (permalink)
EcoModding Lurker
 
Join Date: Jan 2009
Location: Russia
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
You need good OpAmp like OPA335 - Texas Instruments - and some circuit for transfer current mesure signal from floting shunt to near ground ADC input. May be like that is in INA198. Fnd some cir. for powering floting OPA335.

In circuit floating with shunt we can use optocoupler 4n35 (or faster one - 6n136) for overcurent signal transmition to turnoff MOSFET driver.

Last edited by motor_control; 02-28-2009 at 01:05 PM..
  Reply With Quote
Old 02-28-2009, 01:03 PM   #476 (permalink)
EcoModding Lurker
 
Join Date: Jan 2009
Location: Russia
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
ADuM5400 Analog Devices, Inc.
is multychanel two-way isolator with biltin isolated DC-DC power source. Very FAST !

==========
But ! LEM - is professional style. In any power invertors LEM modules are used - it's right way IMHO.

Last edited by motor_control; 02-28-2009 at 01:08 PM..
  Reply With Quote
Old 02-28-2009, 01:13 PM   #477 (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
Thanks, motor_control! You are awesome!
__________________
kits and boards
  Reply With Quote
Old 02-28-2009, 04:45 PM   #478 (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
I have the new 2 wire throttle with all the noise immunity stuff working now. I only tested the output of the PWM. Next I need to test the hardware current shutdown.

It was super annoying! The AVR Studio people need to change something that is super-de-duper annoying about their program! When you go to program the micro-controller, it doesn't automatically put your project onto the chip, but puts the last project that was programmed onto it! And you can't see what that project is unless you click on a certain stupid box. I kept thinking there were bugs, but I kept uploading an old program from a previous project onto the chip! I even wrecked a dang ATMega8 by plugging it in backwards while trying to figure out why nothing was working! makes me mad! Just have the stupid programmer program the chip with whatever project is currently open! Idiots!

Flaming anger!

-Paul
__________________
kits and boards
  Reply With Quote
Old 02-28-2009, 06:43 PM   #479 (permalink)
EcoModding Lurker
 
Join Date: Jan 2009
Location: Russia
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
free VMLAB simulator is awesome ! and only 4 mb. Realy cool tool for AVR in ASM and C.

amctools.com

Visual Micro Lab :: AVR Freaks

See example project with sinewave, pot, opamp and ather stuff



  Reply With Quote
Old 03-01-2009, 04:17 AM   #480 (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
2/3rds of the way done soldering mosfets. The copper pad for the gate on the PCB comes off when soldering (glue melts) things to it. Fortunately, the gate is a very low power part of the mosfet. 2 resistors also need to be soldered to the gate, so since I can't really effectively use the copper, I'll use the resistor legs for that purpose. I'll also use a lower wattage soldering iron for the gate.

As I go along, I'm finding that there are several processes that can really be improved. The next controller will be much easier to assemble and a little better too.

I have the comparator portion of the control circuit done. Now I need to add the flipflop. I did a bunch with the software too, so that all the new numbers for the new components are taken into account, like current limiting and thermistor values. We also bought some plexiglass stuff from home depot and some aluminum angle iron (hehe iron). Maybe I shoudl just glue the plexiglass to the angle iron. I also bought some bolts for it, but I don't know.

__________________
kits and boards
  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