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-16-2018, 08:53 AM   #7221 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 749
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by jbman View Post
Well, this is what I'm getting from the controller when I power it on. I verified that were on 19200 and 8N1. Any ideas?

Gibberish from controller
Hmm. ... I verified the serial settings from one of my old videos.

If I didn't know better, I'd say that the ground pin on your serial was not making good contact. The random stuff on the screen looks like about the right number of characters, but not even one of them is correct. It should hopefully be isolated from your laptop so the only place to check is between pins on the serial cable end.

You can check the voltages on the pins. Referenced to the ground pin, the transmit and receive pins should toggle 0 - 5V, which should be OK with any modern USB to serial. Pin 5 is Gnd, as you already know.

If you have a scope handy - it's easier to see the signal level on a scope than on a meter that averages the voltages.

There is a very small chance that your converter is looking for voltages that are not 0V and 5V. The old style RS232 is actually specified as -12V and +12V for signals, and high is over 8V and low is below -8V .... but now I'm digging pretty deep looking for something that might be wrong.

I feel your pain .. went through something similar with my Cougar controller. Never really did get it working very well before I killed the Cougar.

__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!

Last edited by thingstodo; 02-16-2018 at 08:58 AM.. Reason: Add Pin numbers
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 02-16-2018, 04:22 PM   #7222 (permalink)
EcoModding Lurker
 
Join Date: Feb 2018
Location: Colorado Springs
Posts: 9
Thanks: 0
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by thingstodo View Post
Hmm. ... I verified the serial settings from one of my old videos.

If I didn't know better, I'd say that the ground pin on your serial was not making good contact. The random stuff on the screen looks like about the right number of characters, but not even one of them is correct. It should hopefully be isolated from your laptop so the only place to check is between pins on the serial cable end.

You can check the voltages on the pins. Referenced to the ground pin, the transmit and receive pins should toggle 0 - 5V, which should be OK with any modern USB to serial. Pin 5 is Gnd, as you already know.

If you have a scope handy - it's easier to see the signal level on a scope than on a meter that averages the voltages.

There is a very small chance that your converter is looking for voltages that are not 0V and 5V. The old style RS232 is actually specified as -12V and +12V for signals, and high is over 8V and low is below -8V .... but now I'm digging pretty deep looking for something that might be wrong.

I feel your pain .. went through something similar with my Cougar controller. Never really did get it working very well before I killed the Cougar.
Unfortunately, I don't have a scope. As far as testing the ground connection, what should I measure from TX and RX to ground when connected and waiting? Thanks!
  Reply With Quote
Old 02-16-2018, 11:03 PM   #7223 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 749
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by jbman View Post
Unfortunately, I don't have a scope. As far as testing the ground connection, what should I measure from TX and RX to ground when connected and waiting? Thanks!
Unfortunately, the TX and RX pins 'float' when there is no serial traffic to drive them up or down. You can send data and measure the voltage at TX .. it should be around 2.5V as measured by a digital voltmeter since bits sort of average a 50% duty cycle. Not quite, since there are fixed start and stop bits .. but it's close.

If you send the same thing - like a text file of maybe 10000 of the same character ... you should get the same voltage each time you test, if everything is connected and working. If the numbers seem sort of random, then a pin is not well connected. And Gnd would be my first guess.
__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!
  Reply With Quote
Old 02-19-2018, 11:33 AM   #7224 (permalink)
EcoModding Lurker
 
Join Date: Feb 2018
Location: Argentina
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
Hi all :
I'm new in these forum and have a querstion : why not use a simple arduino mega to build a controller and programming these with arduino code (not C/C++) . Isn't enought ?

Regards !

Pablo
  Reply With Quote
Old 02-19-2018, 07:07 PM   #7225 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 749
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by pablitosax View Post
Hi all :
I'm new in these forum and have a querstion : why not use a simple arduino mega to build a controller and programming these with arduino code (not C/C++) . Isn't enought ?

Regards !

Pablo
The new arduinos have enough speed. They can do the calculations required to figure out where the rotor is and adjust the voltage and current phases. It is not simple to do or fast to convert the program, but you can do it if you like.

The arduinos don't have a lot of circuitry built in to guard against noise and power issues in a car. You have to add that stuff yourself.

Plus the arduino doesn't really have interrupts in the traditional sense. You can make it do the control. But you should not do communications - blue-tooth, serial, ethernet - at the same time if you want good control. Timing is very critical for motor control.

If you are controlling your table saw or drill press - I'd use arduino. If you are controlling a car or an airplane or a helicopter ... I would not use arduino. Perhaps I am not up to speed with the latest arduino stuff ... but I would not trust my life to an arduino.
__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!
  Reply With Quote
The Following User Says Thank You to thingstodo For This Useful Post:
mpgmike (01-25-2022)
Old 02-19-2018, 08:22 PM   #7226 (permalink)
EcoModding Lurker
 
Join Date: Feb 2018
Location: Argentina
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
Thank you very match thingstodo ...very clear explanation.
Yes..the arduino is very sensible/sensitive to noise and 'hangs' or 'reset' itself with small motors or inductive load,etc...
And as all run inside a loop ...all the task are enqueue to do in the same loop so itīs a bad idea to overcharge in the same loop a lot of task (bluetooth,ethernet)...

Are dead links to download the motor contoller of this thread ? DO you have another valid links ?

Regards!!
Pablo.

Quote:
Originally Posted by thingstodo View Post
The new arduinos have enough speed. They can do the calculations required to figure out where the rotor is and adjust the voltage and current phases. It is not simple to do or fast to convert the program, but you can do it if you like.

The arduinos don't have a lot of circuitry built in to guard against noise and power issues in a car. You have to add that stuff yourself.

Plus the arduino doesn't really have interrupts in the traditional sense. You can make it do the control. But you should not do communications - blue-tooth, serial, ethernet - at the same time if you want good control. Timing is very critical for motor control.

If you are controlling your table saw or drill press - I'd use arduino. If you are controlling a car or an airplane or a helicopter ... I would not use arduino. Perhaps I am not up to speed with the latest arduino stuff ... but I would not trust my life to an arduino.
  Reply With Quote
Old 02-22-2018, 03:47 PM   #7227 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 749
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by pablitosax View Post
Are dead links to download the motor contoller of this thread ? DO you have another valid links ?
I would swear that I replied to this already ... must have forgot to hit Submit.

No links, but I have the PCB layout, a partial BOM, and the code for the versions of the boards that I have. I have a DC IGBT version that Paul has said is about 400V and 1400A, and an AC IGBT version that Paul has said is about 400V and 1200A. The big IGBTs will push out more power, but the reflected waves from the motor terminals may destroy them so the 1000V ( I think ) rated IGBT are running at max 400V

Paul's web site is here, and he has the bare boards for sale. You may want to send an email from his site asking about the files. Sabrina can maybe email you the files.

It should be here
https://pandspowerelectronics.ecwid....=0&sort=normal

But it seems to be down right now.
__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!

Last edited by thingstodo; 02-22-2018 at 08:45 PM..
  Reply With Quote
Old 02-26-2018, 05:23 AM   #7228 (permalink)
EcoModding Lurker
 
Join Date: Feb 2018
Location: Argentina
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
Thanks thingstodo :

400v x 1200 A it's a lot !!!! ...appears powerfull as Manzanita Zilla 2k (144v x 2000A) ,really ?
What about the software ? do you have a current limiter by soft ? .Have a video to see the use of the software ?

Regards !


Quote:
Originally Posted by thingstodo View Post
I would swear that I replied to this already ... must have forgot to hit Submit.

No links, but I have the PCB layout, a partial BOM, and the code for the versions of the boards that I have. I have a DC IGBT version that Paul has said is about 400V and 1400A, and an AC IGBT version that Paul has said is about 400V and 1200A. The big IGBTs will push out more power, but the reflected waves from the motor terminals may destroy them so the 1000V ( I think ) rated IGBT are running at max 400V

Paul's web site is here, and he has the bare boards for sale. You may want to send an email from his site asking about the files. Sabrina can maybe email you the files.

It should be here
https://pandspowerelectronics.ecwid....=0&sort=normal

But it seems to be down right now.
  Reply With Quote
Old 02-26-2018, 11:37 PM   #7229 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 749
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by pablitosax View Post
400v x 1200 A it's a lot !!!! ...appears powerfull as Manzanita Zilla 2k (144v x 2000A) ,really ?
I have not gotten the AC controller anywhere near that output. These numbers are a bit of a guess. 400V seems reasonable for the max voltage of the IGBTs. 1200A per phase is more heat than is likely possible to transfer out of the IGBT to the heat sink and out to the glycol. But it should put that out for a little while.

Quote:
What about the software ? do you have a current limiter by soft ? .Have a video to see the use of the software ?
There is a hardware limit, and a software limit. I have to dig out the test video to refresh my memory. I think I hit the hardware limit when it was adjusted as low as it would go - maybe - 350A or so?



The hardware limit is not easy to calibrate. I was expecting the limit to be at least 400A.
__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!
  Reply With Quote
Old 03-01-2018, 09:19 AM   #7230 (permalink)
Master EcoModder
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 734
Thanks: 26
Thanked 304 Times in 171 Posts
Are the schematics and layout files available anywhere? Most of the links on the Wiki seem dead.

__________________
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
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 3480 05-04-2022 05:43 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 09:09 PM
Three Dirt Cheap DIY Electric Cars - Part 5 SVOboy EcoModder Blog Discussion 0 12-12-2008 04: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