Archive for the ‘Uncategorized’ Category

Nothing like using equipment that’s simultaneously obsolete and on the bleeding edge..

Monday, March 3rd, 2008

So, today the cogging problem returned to the EV drive. Mercifully, it doesn’t seem to have extended to actually setting fire to the power stage (yet.. knock on wood) but things are definately broken. I had hoped the problem was the current/voltage limit, but since it is still doing it fully charged, that seems unlikely. At the moment I’m inclined to blame a faulty rotation encoder, the encoder wiring, the encoder input system on the inverter, or a bug in the inverter software. Also possible is that there’s some current leaking somewhere it shouldn’t.

I don’t even know where to start in debugging this. I’m somewhat depressed about it. I emailed Metric Mind, the people who originally sold me the drive, and I’m hoping they will have some helpful hints. I’m going to get the car back in the garage, up on jackstands again, and thoroughly clean out the inside of the motor access plate – not that I think it’s dirty, but it’s something to do. I’m also going to take contuninity readings of the encoder cable.. again, not that I think it’s broken, but it’s something to do. There aren’t really any tunable parameters on the inverter that I see that could be causing this cogging – I had thought it was just because I was operating the drive in reverse, but it seems to exist going forward, too.

This problem started when I swapped out the Evercel battery pack for the lead acid one. I’m trying to think what changed.. pack voltage, obviously.. probably the stiffness of the pack, since lead acid doesn’t sag as much as NiZn.. I redid the cooling loop, but I don’t see how that would have anything to do with anything.. unless.. there is a tiny coolant leak next to the motor. I *assume* those heatsinks are isolated.. but maybe I should stop assuming and start fixing… again, it’s something I can do..

A lot of what’s frustrating is that there’s very little documentation for the system – Victor of Metric Mind has done a great job documenting, but there’s still a whole lot of variables that I don’t have any way of guessing. I bought the drive because I thought it would be bulletproof – after all, Siemens makes industrial drives all over the place, and they generally just work. If this drive doesn’t work out, do I try and get another? without the assistance of a community college’s shop, I don’t see how I could hope to swap drives.. although, it’s true that I wouldn’t *need* a lift.. then there’s the money question – how do I pay for another drive? – and the engineering challenges, which nearly drove me nuts last time.

On the other hand, I’ve learned a lot.. if I tried again, it might come out much better. And there’s always the hope that Metric Mind will send me a firmware update that will fix everything, or something..

mk3eb master computer

Sunday, March 2nd, 2008

So, I’ve decided to change my design philosophy on the innards of the master computer.

In particular, I’ve decided to embrace this whole MQ idea. I’m hoping to find a very lightweight implimentation of a message distribution daemon written in C or Cpp – if I can’t find one, I’ll write one – with a good Perl interface. Then, I’m going to have the bus feed into a topic on that MQ. A daemon will take care of logging the data sent and receieved to a Mysql database that lives in RAM, another one will take care of sending out regular polling requests to collect data from the individual nodes and a third one will take care of writing charge policies. The startup scripts will suck the mysql data off the disk and post it to RAM, and the shutdown scripts will move the data back from RAM to the disk. (If anyone is wondering why all the funny mysql stuff, it’s because I want the system to boot off of flash, and I doubt if mysql and flash devices get along peacefully).

However, I think the next logical step is to get the MK3 boards up and running and able to answer pings under the new codebase, using a KISS serial driver on the linux side. I seem to be somewhat blocked on making forward progress on this, for no reason I can identify. On the other hand, I was blocked on making progress on the car for over a year, so there is hope.

In other news, the car did a 9 mile test drive today and still seemed plenty perky when I floored it at the end. I forgot to take a resting voltage reading, so I don’t know what percentage the batteries were at when I stopped. However, we can sort of guess by how long it takes the car to charge.. I plugged it in at 4:45 and the charger is currently set for 13 amps off of the 110V feed. This works out to a paltry 4.3 amps at 330V (the median charge voltage), which means a totally empty pack would take 10-12 hours to charge. (Depending on how totally empty totally empty is – I haven’t yet figured out what a rational peukert-corrected value for the pack is. I’ve been guestimating 40AH, since they’re 56AH SLA/AGM batteries)

Today’s trip involved some serious hills, and I had Kayti in the car, so I’m thinking it was a pretty good test. If the car can do twice that distance tomorrow, I will try and take it to the DMV on Tuesday. I would be very suprised if the car didn’t have 20 miles of range, since it had between 60 and 100 on the Evercels, which were 90AH batteries.

My next house will have 220 in the garage again.. waiting for the car to charge off a 15 amp 110 circuit is a exercise in patience – I’d like to be able to use the car for several trips during the day, knowing that the charger will finish bulk charging in a hour or so between trips. That, however, requires a fatter feed.

To add to the fun, I’m actually not getting the power from the garage.. it’s coming through one of my handy 20A extension cords that I bought to power the Mackies, from a outlet on the side of the house. The garage power is pretty much tapped out running the 12 computers that are in there. 😉

Hockey fans?

Friday, February 29th, 2008

I have two tickets to see the Ducks play in Anaheim on Monday. Anyone want them?

EV progress

Friday, February 29th, 2008

Well, things continue to improve.  Today I put on the access covers to the shiny new PVC boxes that I replaced the old crappy/rusting/not outdoor grade metal junction boxes with, lowered the car to the ground, and backed it out into the driveway, then fought with the cooling loop until it agreed to flow again. (Memo to self – next time do not forget expansion res placed higher than rest of car). Then I drove the car from this cul-de-sac to the next one six times, then across Crown Valley to the Shell station. The tags are still dead, so I had a nervious moment when a cop went by, but apparently he wasn’t paying attention. (I did print out a insurance card and bring it with me, so all I would get – I think – is a fix-it ticket for dead tags). I cleaned the windshield, put air in the tires.. (I had to pay $0.75, because it would be kind of hard for me to claim to be a customer – the hood was still off at this point, and just about anyone could tell the car was not powered by gasoline).

So far I haven’t climbed any serious hills nor gone over 35 mph. The power seems okay, the cogging problem on starts seems gone. Tomorrow I’m going to try and drive the car to the local elementary school and back, which at least involves some hillclimbing. If it does that okay, I’m going to try and take it to the DMV and get tags.

I’m trying to decide which of the following projects to tackle next on the car:

1) Top for the rear to cover the battery boxes so car is no longer open to the road in the back (and hence quieter)

2) Rewire hairball of a inverter interface

3)  Get Peltier heat pump array working.

4) Get LCD module talking to mk3 LCD driver, and put back together user interface

All of them are major undertakings, although probably with proper planning none of them involve the car being undrivable for more than a couple of hours.  I also want to take the car to a body shop and get the right headlamp repainted and reaimed, and the marker light replaced, and possibly look into some other minor cosmetic bodywork. I also need to figure out the sunroof switch and wire up something to take it’s place.

Probably the next logical thing to do is to get the mk3eb base code working well.. then I can start using the mk3eb modules everywhere for those little microcontroller-friendly tasks. I also need to get a SBC to replace the peice-o-crap-laptop that finally died. Anyone know a good, easy to develop for SBC? Must have several serial ports, a ethernet jack, and the possibility of adding wifi..

EV progress

Tuesday, February 26th, 2008

Today I connected back up the front battery pack and started the inverter – the MC closed with a satisfying ‘clunk’. After some debugging, I managed to get the drive to select forward – which really is forward now, so apparently my swap of the motor leads worked as advertised. The motor spun up, and when I selected a forward gear the front tires spun. (They’re off the ground since the car is on jackstands, so it seemed a bad idea to spin them up too much). There’s a lot of dragging noise from the front brake pads which one would expect since the car has been sitting for over a year.

Tomorrow I need to buy some distilled water and put it in the cooling loop, and reconnect the vacuum pump and cooling pump, and charge the traction pack. Unfortunately my house doesn’t have 220 in the garage, so it will be a somewhat time consuming charging process.

I’m all kinds of encouraged by progress. I’m not quite ready to put the hood back on, but I am ready to call Geico and add the car to my insurance.

Gay marriage? Underage sex?

Monday, February 25th, 2008

One might very well wonder why I’m so upset about LiveJournal banning users for having imaginary descriptions of underage sex. One might also wonder, given that I’m not gay, why I’m so consistantly up in arms about this whole gay marriage thing.

Part of my answer is to just insist that it’s not right to ban people for imaginary acts, and that it’s not right to deny group A rights that group B has simply because you’re not comfortable with their lifestyle choices. However, these answers seem more than a little weak given how strongly I feel about it.

I guess in the case of the imaginary sex, it disturbs me that livejournal is playing the censor. My ISP shouldn’t refuse to pass me packets because they don’t like the contents of them, and LiveJournal shouldn’t refuse to host my journal because they don’t like what I write about. That my journal isn’t in violation of anything isn’t the point – the point is that somewhere, someone’s journal is, and that once you start making exceptions to free speech, it isn’t too long before they start coming after people who hate the government i.e. me, people who hate the dominant religion i.e. me again. So I’m speaking up for those pervs over there.. even though in many cases I’d really rather not read the things they’ve written.. because I figure they’re just the beginning. Once you start caring about the advertisers more than the paid users, there’s a slippery slope that turns really steep, really fast. How many advertisers would want their banner ads appearing on <i>my</i> journal?

There are all these things I feel strongly about that don’t directly affect me – for example, I doubt if I will ever get to exercise my right to choose not to have a baby, since I’m not biologically capable of it – but which I nonetheless have very strong opinions on. I wonder where a lot of these attitudes came from – a number of them don’t very closely resemble my parents – they do resemble my friends, but I think that’s more because I select my friends based on my beliefs than the other way around.

By all indications, politically I am in the minority – I am 1 in 100, maybe 1 in 50.. I’m never going to have any real power, and I don’t *want* any real power.. I just want for other people not to have power over me either.

Just for the record, I am absolutely against any nonconsentual sex, or any sex with someone who isn’t capable of comprehending the emotional ramifications of consent. I have no problem with rendered kiddie porn, but I’m strongly against the real thing. (Although, I don’t know that I have a problem with the Lewis Carroll varients that just involve photographing children naked, providing it’s not upsetting the children and providing you don’t hold onto copies of the images if the children request that they be destroyed.)

I sent a email off to LJ commenting that I wasn’t the biggest fan of their pro-censorship policy.. I wonder if that combined with this post will be enough to get my account suspended..

LiveJournal

Monday, February 25th, 2008

I notice that my livejournal account is expiring soon.

I will not be renewing, and I again encourage you all to look at LJ’s terms of service, and then make arrangements for a better place to host your journal. LJ has the right to suspend you – and refuse to ever return your journal, or return it only after charging you – for, basically, any reason they like. I would be happy to explain the migration process to WordPress, and give out a copy of my modified WordPress LJ importer that marks friends-only posts private.. (I really need to go through and improve it so that it actually supports friends.. I just haven’t had time to learn that much about the innards of wordpress)

Once more, LJ will suspend you for writing fantasy about underage sex. They will remove your user images if they show a casting of a nipple. They have put themselves in the role of Big Brother, and I’m not interested in having Big Brother telling me what I can and can’t write about my own life – which, by extension, feels like it is telling me what I can and can’t think.

Monday, February 25th, 2008

I live in a world of other people trying to control me, trying to bend me to their whim. Many of these people claim it is for my own good, or that it is so that law and order can reign supreme, or it is because God told them they should be trying to sell me on their questionable batch of isntructions posing as a religion, or any number of other reasons – some of them good and plausable, and some of them questionable in the extreme.

I genuinely want to make people happy, and so I try very hard to do what everyone tells me to, even though I often feel that my needs, thoughts, and desires aren’t being respected. In a disagreement, I will often give up on my side of the argument in order to make people happy. This seems to be programmed into me on a very deep level.

Every time someone tells me not to talk about places where I disagree with the established rule of law – not to argue for gay marriage, legal recreational drugs, the death of money, the end of copyright and patent – or dismisses my arguments as misguided rants, pointless idealism, or childish – it erodes who I am a little bit. I feel deeply eroded – I feel like I’ve never been truly free to be myself – that no matter what I will be enslaved to the bank, to those who’ve been on the planet longer than I have, to the government that I despise, to the ideals of other people that are not mine and their conviction that they are right and I am wrong.

I hate being told that I shouldn’t talk about the laws I break when they are broken after much thought of the issues involved. I live in constant fear of everything, and I don’t wish to add any weight to my fear of The Man.

You can not own ideas. You can not own information. If it can easily be copied, it can not be owned. I do not own the songs that I “wrote”, and it’s likely that somewhere, somewhen, someone else has written, and will write, all of them. If I can deal with the pain of this, surely those who love nothing more than money can deal with the pain of knowing that some people might get the enjoyment out of the intellectual property that artists working for them created without having to pay.

I hate money. I despise the way it leads humans to optimize for the wrong things, over and over and over and over. I hate that I have any power over any other person, and I really, really hate that any other person has any power over me. I live in constant fear of all of you, because you’re stronger than I am and you have already proven that wonderful as you are as individuals, as a group you are, by my standards, evil beyond words.

I hate being told that my words threaten other people – that those near to me are placed in danger by my ideas. What am I supposed to do, stop being myself so that you all can be safe? I never want to hurt anyone, but remaining silent is hurting *me*.

Calling all geeks, this here is the phreak, and we’re about to go a’huntin PEAR…

Tuesday, February 19th, 2008

I’m wondering if anyone has any concrete suggestions about a project I want to do.

I want to make a restore DVD for a friend’s laptop that contains a image of the laptop and a small bootable version of linux (i.e. DSL) with perl added, and a perl script that will walk said friend through restoring either from the static image or from a removable drive i.e USB keychain, external hard drive, as well as backing up to the removable drive.

Does anyone have any hints on what the best way to roll your own modified bootable linux distro is? I can see me mounting the iso9660 filesystem via a loopback device and writing to it, if the kernel supports such behavior, and then burning it back to a CD.. is that the way to go?

EV progress continues

Sunday, February 17th, 2008

Well, today I got the inverter mounted in the car and connected to everything again. I also changed the wiring to engage the forward drive mode instead of the reverse, fixed a broken coolant line, applied a temporary fix to the 12V wiring to get things powered back up (a permanent fix will have to wait until my reworking-the-inverter-wiring project)

That reminds me

Does anyone know what they call those spade-lug tabs that solder into a PCB?  Or have digi-key part #s? or something?

I’ve more or less decided that I’m going to solder spade lug recepticles on everything in the inverter wiring box, then make a PCB that has pairs of spade lugs that every wire plugs into, some of which also go off to the inverter interface PCB. I need to figure out what a appropriate-sized box is, and buy one. I am *not* looking forward to rewiring that rat’s nest, but it needs done *badly*.

I’ve found a bunch of places where I want to make substantial improvements.. I’m considering getting replacements for the motor-mounts CAM’d out of milled aluminum. I’m definately going to put split-loom over anywhere the high voltage wiring is bare, especially the motor wiring which runs nerve-rackingly close to one of the CV joints.

I’m tempted.. and this is concrete proof that I’ve lost my mind.. to dissassemble the A/C plenum and pull the evaporator and replace it with a handmade assembly of water-cooled/heated peltier devices. However, I can’t imagine that it’s easy to get at..

I should also poke at Lee some more and see if he’ll help me get the charge-shuttling PCB for the mk3s going. If I had charge-shuttling, I could put the things in enclosures, which would make my life much easier.. right now they’re naked circuit boards, which means they need to be held down somehow.. and they got obsenely hot, which means they can’t easily just be shoved into project boxen.