Very good. Thanks for the pointers. I just read the datasheet for the component part and it is amazing what money can buy http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/Temp/DS18B20.pdf
If you are not using Serial CLI or RAPI you have 2 digital pins on the FTDI header. But for scalability and compatibility with RAPI it may make since to do the same function with an i2c sensor.
Below you see I put a temperature threshold in the open_evse.h file set to 25C over the ambient temperature value stored in the eeprom. In practice that threshold should be about 40C meaning really about 60C absolute. So far my only action on any over-temperature alarm is to alternate the display during charging from Red to the normal Teal background every second. Blinking Red catches the eye. If this sort of temperature monitoring gets adopted in the firmware then I think two thresholds could exist, one that blinks Red like this and a higher threshold that either shuts off the relays and stays in an error state or heck it would even be possible to just reduce the amperage to the EV by altering the pilot signal duty-cycle - say some reduction of 33% of whatever current limit is being advertised to the car through the pilot signal. Let me know if you have any nifty ideas for the handling of the over temperature condition.
In the picture below my car was just done charging and the current was ramping back down to zero. You also see this charge cycle cost me $0.19 integrating the kWh over the duration of the charge and multiplying by my utility rate. If the OpenEVSE enclosure looks odd to you, it is the fairly new polycarbonate enclosure now available on the OpenEVSE store as 30A kits or just the enclosure. I don't know if Chris is working on a 50A kit in this enclosure since a new mounting plate would be needed and I'm not sure of the vertical clearance of the 50A contactor in this enclosure. The polycarbonate enclosure is sexy if I do say so myself.
--
You received this message because you are subscribed to the Google Groups "OpenEVSE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openevse+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Level shifting on i2c is a bit more tricky than standard serial. The level shifter has to be bidirectional so the standard voltage divider or voltage drop techniques will not work.I am looking at adding a chip to the LCD module to get enclosure ambient temp. This adafruit board would work great as an add-on, I will likely use the same IC on the LCD module. It is ultra-precise, addressable up to 8 per i2c bus, works at 5v and is inexpensive (<$5 for the adafruit board).
On Saturday, January 3, 2015 11:23:21 AM UTC-8, Craig Kirkpatrick wrote:
--
You received this message because you are subscribed to a topic in the Google Groups "OpenEVSE" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openevse/82ADFO4RznY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openevse+u...@googlegroups.com.
Great work, I have already added the 9808 to the LCD logic board. I will order and test a few prototype boards, then run 250...
Great work, I have already added the 9808 to the LCD logic board. I will order and test a few prototype boards, then run 250...
--
Adafruit also has a contactless IR 5v i2c sensor that could be added to the enclosure lid. I plan to pick up a few to test looking down on the relay and fuses in addition to an ambient enclosure sensor.
It is likely that a single ambient sensor will be enough to detect a thermal event as the additional heat will have nowhere to go.
I am not too excited about the CPU temperature as it is pretty inaccurate, and will change based on CPU load as well as ambient temperature. I think it is a good secondary source though.
--
Today there is nothing in the code to reduce charging current but it is coming very soon it is a very easy thing to add. The added safety is worth the effort.
To add a very precise i2c sensor to the LCD logic board is $0.70, well worth the expense. External add on boards are already available for less than $5.
The internal CPU sensor has to be individually calibrated, the easiest way is with another sensor. Sure you can add a sensor, calibrate and remove but for $0.70 you might as well leave it in.
The picture below has the ambient temperature from the I2C sensor displayed on the top line. On the bottom line it shows the MPU increase in temperature since the firmware was flashed at ambient temperature. Still this is the code I'm playing with keeping track of dollars and cents per charge. And you can see there is limited space to display everything.
You received this message because you are subscribed to the Google Groups "OpenEVSE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openevse+u...@googlegroups.com.
-------- Original Message --------
Subject: Re: Monitoring temperature
From: "'Nick Sayer' via OpenEVSE" <open...@googlegroups.com>
Date: Sun, January 11, 2015 3:19 pm
To: "open...@googlegroups.com" <open...@googlegroups.com>
I know we've had this conversation before, but my understanding is that soldering is not recommended for high current connections because solder is not as good a conductor as copper.It's entirely possible that the service conditions for the Hydras at work are severe enough to demand a derate for the crimp QD terminals, and that's why they keep failing. But I have every confidence that the box-screw terminals on the contactors now aren't going to have any trouble at all. And Craig's clued me into a source for 50A contactors that are cheaper than DigiKeys price for the relays I originally was using.
Sent from my iPhone
I have a variety of crimping tools including the ratcheting Harbor Freight ones. I always crimp and solder my heavy wires. I have never had one overheat yet.For small wires I prefer my T&B crimpers. At work for the rear battery wires on police cars we had a 4 point crimper that looked like an overgrown bolt cutter. It was wire and terminal specific but it did a superb job. It also cost several hundred dollars. I do not trust any home non 4 point crimp.
-------- Original Message --------
Subject: Re: Monitoring temperature
From: "'Nick Sayer' via OpenEVSE" <open...@googlegroups.com>
Date: Sun, January 11, 2015 2:15 pm
To: "open...@googlegroups.com" <open...@googlegroups.com>
I have always used high quality QD terminals for the high current path and a ratcheting crimping tool. It just wasn't enough. Even the Hydra that was used with the 24A derated Blinks at work still wound up failing. I no longer have faith in QD north of 20A for heavy duty service. I'm still going to offer a QD terminal relay HV board for OpenEVSE II, and I have an EVSE built that way, but it's only used with our Volt on road trips to my parents' house, where it's either used at L1 or with a "quick-220," which I'm only willing to use at 12A.That said, our Hydra at home hasn't yet been rebuilt and still has the old QD terminal relays. It hasn't failed. That's likely because it's mounted in a garage, so it's ambient temperature never contributes to the thermal load.For the low current paths, I use 22 gauge stranded wire and the "pink" 20-22 gauge crimp on terminals. Those have never given me any issues at all.
Sent from my iPhone
Nick,This is really valuable to hear your first hand account of experience with the Quick Disconnect terminals degrading slowly rather than some quick avalanche we cannot respond to quickly enough. This give me even more motivation to get moving on adding the IR sensor staring down at the fuse block or wherever the biggest concern lies.In Mike's photo today of his meltdown I wondered why he use the QD terminal spades at the fuse block instead of just putting copper wiring under the screw terminals. Actually I think the fuse block even says it is expecting copper wires under the screw terminal. Eliminating any mechanical interfaces in the high current AC path to the car is most desirable and the crimp of the QD terminals is a potential weak spot. I use a Klein Tools crimping pliers for all of my crimps. I think using anything but a high quality crimping tool leads to problems.
Crimping the little solid core wires leading to low power AC consumers or test points is a bit problematic - and I fold the solid core wire over on itself so there are two-strands basically going into the smaller crimp connectors. Otherwise with a single solid core wire strand the mechanics of crimping don't really work well. My 2 cents on crimping.
On Sunday, January 11, 2015 at 1:37:25 PM UTC-8, Nick Sayer wrote:
I've seen high temperature damage on previous iterations of the Hydra, and in my experience so far, it takes a long time. I've watched 3 "generations" of QD terminals slowly change color and then the wires start to change and so on. If it weren't for clear lids, I'd have perhaps inspected one after a few months and said, "what the hell?!" Instead, I've had plenty of warning that things were degrading.I think when things are used within their design limits, you don't see stuff degrade quickly.I'm also not quite as concerned about the power supply temp in my case because the ones I'm using are rated for 70 deg C (albeit derated to 80% output - which is still more than I'm actually using).
Sent from my iPhone
Nick, Do you like my idea of self-calibrating the 21C ambient baseline at time of firmware flash (assuming you flash the part at 21C or about room temperature)? That is a simple calibration step that removes a big part of the +-10C slop in the internal sensor. Then it is just a matter of gain, meaning does +10C really equate to +11C instead. Then setting a +45C alarm level really means the internal temp sensor is seeing close to 66C = 151F which is plenty hot to decide shutdown time has arrived. All of this can be done without adding anything.I do like the additional ambient sensor on I2C to keep the ambient in the enclosure within the 50C power supply ceiling for the kits from the OpenEVSE store. 50C is not very high for ambient = 122F and according to the power supply spec the supply just tails off its output current to zero when heading from 50C to 60C. So actually the supply is a built-in temperature watchdog of sorts where the relays would de-energize if the little power supply overheats.What we really do not know is how fast any thermal event occurs like the one Mike posted today. Does this happen gradually enough that adding only ambient temperature monitoring smarts will help? Or does it happen like in three seconds where no ambient sensor would react fast enough? Hopefully the IR sensor pointed at the fuses can react within a second. I need to research that to see what we can expect of the IR sensor step response.Some fun,
Craig
-------- Original Message --------
Subject: Re: Monitoring temperature
From: "'Nick Sayer' via OpenEVSE" <open...@googlegroups.com>
You received this message because you are subscribed to the Google Groups "OpenEVSE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openevse+u...@googlegroups.com.
I bet it is what makes it a temperature compensated RTC.
I hope it is able to be used for ambient temp sensing with just a simple firmware update.
I never would have guessed that the RTC component had a usable ambient temperature sensor. That's nifty. I'll take a look at its performance specifications tonight. I'm away from home and away from my OpenEVSE hardware until February 2nd. So I won't get a chance to test new code using that in place of the mcp8909 for a bit more than a week. But looking at the page you linked to it looks super simple to get some reading. I've been getting great resolution of 0.1C so far with the mcp8909.
Sounds like a good plan...
I am not sure we want to go into a full error state, the vehicle may refuse to charge again. Going to state B with high pilot indicates EVSE is not ready to provide charge, just like waiting for a timer. If we intend to auto resume we should go to State B not an error state.
--
You received this message because you are subscribed to the Google Groups "OpenEVSE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openevse+u...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "OpenEVSE" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openevse/82ADFO4RznY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openevse+u...@googlegroups.com.
Chris, ok I get what you are thinking. I already have a temperature threshold where I throttle back the EV to 16A in state C. I see what you suggest is to treat an even higher temperature threshold as a hold condition in state B with the pilot signal held high and expecting temperatures to subside since normally no current will flow. In this case we expect the EV returns to state B and the EVSE opens relays as it normally should and later when temperatures subside the EVSE can resume sending a pilot signal and resume state C normally.
Do you think it makes sense to have a temperature panic threshold even higher in temperature where we assume the EV being disobedient to the pilot signal and is stuck in state C even with the pilot held high? And in that very high temperature threshold we open relays and set the pilot to steady low voltage? This is the sort of thing Nick and I spoke about over dinner last week. Think of it has handling the case of a rogue EV.
Maybe not a temperature but a time and/or number of events... This allows an gradual escalation.- Threshold temp 1 - Throttling- Threshold temp 2 - cutoff to State B pilot steady Highif temperature stays above threshold B for x number seconds (maybe 60...120) or the temperature has reached threshold 3 times during the charging session- Shutdown to State D- Actively disconnect relay after 5 seconds after State D- Stay in Error State
--
You received this message because you are subscribed to a topic in the Google Groups "OpenEVSE" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openevse/82ADFO4RznY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openevse+u...@googlegroups.com.
the CUI module I use [SNIP] is around 85% or so efficient.
So in short, the DC supply will likely make up for the power dissipation savings of the DC relay.
No, no, it’s the power supply that’s 85% efficient, not the relay. The relay is the consumer of power. It’s, effectively, either 100% “efficient” or 0%, depending on your perspective. :D
Think of it this way: The relay may require less power to turn it on, but that power is “expensive” because it had to be made by the AC/DC converter module. By contrast, the power for the contactor is “free” since it just comes in from the plug and is switched by a triac (yes, Chris uses an SSR, but that’s just a triac in disguise).
Danny, If you are comfortable downloading the source code and compiling it and flashing it yourself you can go ahead and find the development branch of code on Lincomatic's Github. At this moment in time it will work fine if you have the RGB LCD+RTC display instead of the monochrome LCD. I found a problem where if you have the monochrome one it will immediately think it has gone into over-temperature panic. I'm working on cleaning up a little fix for that gremlin in a day or two from now.I suppose I could make a .hex for you pretty quickly that would show you the ambient temperatures on the RGB LCD. Is that what you wish to see? Just let me know.
I’m not sure you can call out just the heat generated from the AC/DC module just for the purpose of driving the relay. Maybe you can. And maybe you’re right that it’s still better. My own back-of-the-envelope thinking about it suggested the two cases were closer than that, though.
But I haven’t really thought too much about it. At high power, I believe the heat generated by both is dwarfed by the heat generated by the high current path overall - either through the contactor points or the combination of the relay points and fuses.
Thanks,
Alan.
--
You received this message because you are subscribed to the Google Groups "OpenEVSE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openevse+u...@googlegroups.com.