Go Back   EcoModder Forum > EcoModding > Fossil Fuel Free
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 03-19-2017, 04:55 PM   #3061 (permalink)
Master EcoModder
 
freebeard's Avatar
 
Join Date: Aug 2012
Location: northwest of normal
Posts: 27,645
Thanks: 7,764
Thanked 8,575 Times in 7,061 Posts
I'm not sure. He was on contract until the first of the year, and we haven't had much contact. Something to do with QA, aircraft instrumentation or flight controls.

Can you describe how CANbus deals with collisions by making messages dominant and recessive? I know EVTV did.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 03-20-2017, 02:16 AM   #3062 (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,368
Thanked 1,202 Times in 765 Posts
Harold, I'd love to learn more about that motor. Post away (here or in a new thread).

thingstodo, I never posted anything much about the BMS. A microcontroller powered by the 12v system supply monitoring 'n' battery voltages. It monitors the 'n' batteries by receiving the voltages from little attiny25 microcontrollers that are powered by each cell. They send the voltage by a sort of morse code across optocouplers. The attinys are only powered when their cell circuit is enabled, so if the 12v power is off, there's zero draw from the cells. One neat trick was, for each attiny25 to measure its cell's voltage, it would just measure a 1.25v reference on the A/D channel. Then, from that you can infer the cell's voltage. For example, if you read 1023, that would mean the cell's voltage was 1.25v. But if you read 512, that would mean the cell's voltage was 2.5v, etc...

We fly out tomorrow! yay. haha My brother in law is getting married.
__________________
kits and boards
  Reply With Quote
Old 03-20-2017, 07:24 AM   #3063 (permalink)
EcoModding Apprentice
 
Join Date: Mar 2009
Location: Costa Rica
Posts: 138
Thanks: 24
Thanked 47 Times in 39 Posts
Paul, found the controller location in the car, inside the battery case. Battery is over 5 years old so probably NG or close to it, SOOOOOOOOOOO, I'm gonna try to just buy the controller.

You possibly up for a hack job ??

Gotta unload some of my 2015 Leaf modules to free up some dough.

freebeard, RPM's of the altermotor get to 30,000 when driven by the stinko engine. Altermotor has a 175A fuse and uses a 115V battery. Possibly 60 HP ??
  Reply With Quote
The Following 2 Users Say Thank You to HaroldinCR For This Useful Post:
freebeard (03-20-2017), MPaulHolmes (03-20-2017)
Old 03-20-2017, 02:09 PM   #3064 (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,368
Thanked 1,202 Times in 765 Posts
Possibly yes! No promises, but I'll see. Is there a practical way to get a basic position sensing on it, even if it's just 1 or 2 or 3 or 4 pulses per revolution?
__________________
kits and boards
  Reply With Quote
Old 03-20-2017, 03:10 PM   #3065 (permalink)
EcoModding Apprentice
 
Join Date: Mar 2009
Location: Costa Rica
Posts: 138
Thanks: 24
Thanked 47 Times in 39 Posts
These have an encoder or resolver with 10 poles. The stator is 72 poles and the rotor is 56 poles. I'm going to try to get the controller and cable from a wrecked car. That would give the whole system, except for hacking, maybe. Might be a month or so, before I can work out a deal.

One option might be for you to buy the motor in Wa/Or, and I send Paypal to you cover it, while I work on the rest. That would save a bunch on shipping the motor, if you carry one back home from your day job. Just don't pay more than $100.00 and don't accept the fake core replacement scam.

We are looking between 2012 and 2015 year models.

I'm looking for a peppy Motorcycle conversion.

Last edited by HaroldinCR; 03-20-2017 at 03:54 PM..
  Reply With Quote
Old 03-20-2017, 07:04 PM   #3066 (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 freebeard View Post
Can you describe how CANbus deals with collisions by making messages dominant and recessive? I know EVTV did.
My info on CANbus came in large part from EVTV. If you want more details, it would make sense to go there directly. Wikipedia is good as well, but they get fairly technical early in the description. Here is a summary:

The CANbus message arbitration is handled in hardware, based on the address of the device. Lower is more important. The device transmitting monitors the bus and verifies that what they 'sent' is what is on the bus. Since the address is first, and active low is 0, 0 trumps 1. So the lowest address wins - ie 000 0000 0001, or decimal 1 as 11 bits of binary. If a device sends a 1 and reads back a 0, it stops sending and waits for the message to end before retrying.

Any device can transmit 'whenever it wants' if the bus is not busy. 'Not busy' is defined as no active bits (low or 0), plus wait until the end of a message in progress - End of Frame (7 high bits) followed by 3 more high bits (recessive). After that you can try to transmit as long as you monitor the bus and make sure someone with a lower address is not transmitting at the same time.

There are only 8 bytes of payload or data in CANbus, the simple version. So any one device does not have to wait for long to transmit.

This collision stuff is .. handled in hardware .. and as long as you are not looking at the data with a data scope ... it doesn't really affect your programming at all. The physical layer takes care of it.
__________________
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:
MPaulHolmes (03-20-2017)
Old 03-20-2017, 11:27 PM   #3067 (permalink)
Master EcoModder
 
freebeard's Avatar
 
Join Date: Aug 2012
Location: northwest of normal
Posts: 27,645
Thanks: 7,764
Thanked 8,575 Times in 7,061 Posts
I know it's in there, I just despair at finding it.

I see MPaulHolmes appreciated it.

Quote:
The physical layer takes care of it.
This is the point I though should be brought out. I think the way it's done is slick. It's also an example of why I think having the information tailored to export into the wiki, for future reference, would be good.

I was at the Toyota dealer talking about the rear axle in the current Highlander/RAV4. I think I'll stop by the Buick dealer and see if they can tell me the dimensions of the eAssist unit.
  Reply With Quote
Old 03-21-2017, 12:00 AM   #3068 (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 MPaulHolmes View Post
thingstodo, I never posted anything much about the BMS. A microcontroller powered by the 12v system supply monitoring 'n' battery voltages. It monitors the 'n' batteries by receiving the voltages from little attiny25 microcontrollers that are powered by each cell. They send the voltage by a sort of morse code across optocouplers. The attinys are only powered when their cell circuit is enabled, so if the 12v power is off, there's zero draw from the cells. One neat trick was, for each attiny25 to measure its cell's voltage, it would just measure a 1.25v reference on the A/D channel. Then, from that you can infer the cell's voltage. For example, if you read 1023, that would mean the cell's voltage was 1.25v. But if you read 512, that would mean the cell's voltage was 2.5v, etc...
Too bad you didn't post earlier on the BMS. I need something simple, no balancing ..

.. I like no power used when not enabled .. I like opto's so the differential voltage is not a big deal ... the cell voltage measurement sounds interesting. It would be interesting to see if the resolution could be boosted in the 2.75 - 3.00 V area without messing up any of your other advantages. mV resolution on the low end would help when I am bottom balancing batteries

.. having the 12V power the ATtiny's sounds like a hundreds of volts isolation isolated supply with a small current output ... another of your magic circuits?

An ATTiny that I can epoxy to the plastic case of .. whatever I use - NiCd, NiMH, LiPolymer. Flexibility, tied to a product that is easy to source. Not the latest battery management IC that is sampling .. sometime ... and I won't get unless I buy 1000's. Running code I just *MAY* understand. That's what Open Source is about!

Sorry about that .. sometimes I get carried away
__________________
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:
MPaulHolmes (03-23-2017)
Old 03-21-2017, 12:09 AM   #3069 (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 HaroldinCR View Post
These have an encoder or resolver with 10 poles. The stator is 72 poles and the rotor is 56 poles.
I heard that in the video too. It confuses me a bit

The encoder should have at least 10 pulses per revolution. But the lobes on the shaft don't look like they are driving discrete signals. Maybe I need my eyes checked? It kinda looks more like lobes on a resolver?

Quote:
freebeard, RPM's of the altermotor get to 30,000 when driven by the stinko engine. Altermotor has a 175A fuse and uses a 115V battery. Possibly 60 HP ??
I'm going to talk this through .. or maybe type this through?

3600 / (2 * poles) = rpm. 72 poles is kinda high. Like 25 rpm at 60 Hz.

Maybe 72 slots in the stator? That would make more sense.

The slots are overlapped, so the same slot seems to be used for 2 windings. They are stacked on top of each other.

The configuration is Y, so there is a center point that he shows at the back, and it looks to me like 3 pairs of windings are connected together to form the center point. But I don't see video of the other end, so there may be many coils in parallel for each phase or they could mostly be in series. It looks like the phase terminals have at least 2 coil connections on them.

I'm not a motor guy - I think the windings are put in series and parallel to balance out the phases for voltage and current. But we can't see the other side of the stator. 72 pairs of poles / 3 phases = 24 coils each. With no other information, and given the high rpm ... I'd say the coils are in series. 2 sets of coils each on the motor terminals means .. to me .. at least 2 coils per phase, meeting at the center point. So that would be 2 poles. But there could be hidden connections on the other end of the stator.

30,000 rpm is pretty high. If it's 2 pole, that generator would put out .. 500 Hz? With no slip? At 4 pole, the output would be 1000 Hz. 6 pole, 1500 Hz. That is quite high for a controller to put out. The carrier frequency is usually in the 4000 - 16000 Hz, 4 - 16 Khz range ... and it needs to make the pulses look like a sine wave to the motor. I must be missing something.

At 60 HP, 30,000 rpm gives not very much torque. 10 foot-lb or so.

So my guess would be a 2 pole generator, rated for 30K rpm, that will put out (or consume) 500 Hz at that speed, with about 10 foot-lb of torque. I know that the slots in the rotor are a factor in the output frequency, but I don't know how.

I'm sure that someone else will chime in!
__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!
  Reply With Quote
Old 03-21-2017, 12:27 AM   #3070 (permalink)
Master EcoModder
 
freebeard's Avatar
 
Join Date: Aug 2012
Location: northwest of normal
Posts: 27,645
Thanks: 7,764
Thanked 8,575 Times in 7,061 Posts
I looked at it the other way (I was going to let this go, but...)

A 30Krpm alternator on an engine good for maybe 6Krpm would be 5:1 ratio. If the alternator pulley were 3" the crank pulley would be 15". That's THIS BIG.

  Reply With Quote
Reply  Post New Thread


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paul & Sabrina's cheap DIY 144v motor controller MPaulHolmes Open ReVolt: open source DC motor controller 7381 08-02-2023 10:55 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 09:09 PM
Contest! Name Paul & Sabrina's controller MetroMPG Forum News & Feedback 120 10-22-2011 01:59 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