emonplus? emonSCADA? Looking for feedback on new hardware + Pictures

8X 24 Bit Analog Voltage Inputs, 8X Solid State Outputs

 

Hey guys!

A year or so ago I was trying the hack the emonTX into somewhat of a board to control a small hydro plant...  I got discouraged and left the project for awhile but now I'm back with new hardware and am looking for some feedback.

I'm a huge fan of AVR's but basicly I finally decided that my application needed more CPU power and I wanted onboard Ethernet + webserver/oscilloscope

I started with a STM32F4 but couldn't stand the poor documentation and lack of open tools so I switched to an LPC1768 Microcontroller

After 4 revisions I finally decided on the ADS131E08 as the ADC, it an 8channel,24bit, Inputs are fully differential, bipolar  with an internal PGA..  It's connected to the LPC1768 via a 20MHZ SPI link

The board also has 8x N-Channel FET outputs to control loads as well as I2C and PWM breakouts.

Anyways, a few quick questions..  

Right now I have the Negative and Positive leads(Differential) of each input channel bridged across with a TVS diode to prevent surges.  How much of a surge would you expect from a Current Transformer during a worst case situation?

Any ideas on the layout?

Anyways.. Let me know what you guys think.  

 

Thanks in Advance!

Jon

Update:

The Software is now fully open source and we have our third batch of boards back from the warehouse.

Source Code and boards are available at:

http://microhydroelectric.ca/store/electronic-load-controller

http://microhydroelectric.ca/store/micro-hydro-control-automation

Git Repo for Configuration Software Source Code: https://www.gitorious.org/rmscs

Checkout the emoncms dashboard @ http://rtech.ca/emoncms/dashboard/view User:admin Pass:admin  (Please no griefing)

If you wanna play around with the configuration software you can download our app @ https://play.google.com/store/apps/details?id=org.qtproject.example.rmscs  and connect to a deployed board @ 162.216.184.197  password:blank (Again please no griefing)

 

Polyphase Energy Monitor / Controller

Hacking

Hacking away

PCB's done by seedstudio.. Don't they do a nice job?  If only I was better at reflow soldering! 

PCB

emoncms dashboard

 

Solar Powered Repeater / DC Application

DC Usage.. Solar Repeater

 

 

 

 

 

TrystanLea's picture

Re: emonplus? emonSCADA? Looking for feedback on new hardware + Pictures

Wow, that does looks very nice! You must have put a lot of hours into making it! Whats your plans with open sourcing, getting it manufactured, im sure there would be interest, quite a few people have asked for boards with many inputs/outputs. Whats the process for writing code on it?

cybergibbons's picture

Re: emonplus? emonSCADA? Looking for feedback on new hardware + Pictures

The images don't appear to be working for me - rtech.ca seems to be down. Would really like to see this!

 

cybergibbons's picture

Re: emonplus? emonSCADA? Looking for feedback on new hardware + Pictures

Working now, great.

cybergibbons's picture

Re: emonplus? emonSCADA? Looking for feedback on new hardware + Pictures

Are you using a dedicated driver for the 1-Wire bus or bit-banging off the microprocessor?

jon-ecm's picture

Re: emonplus? emonSCADA? Looking for feedback on new hardware + Pictures

@Trystan.  Haha... Couldn't argue with you their :).  Right now I'm hand soldering a batch of 10 or so boards to kinda gauge interest / manufacturability. (If anyone's interested PM me or leave a comment).... Any thoughts?    

Im a big open source advocate and defiantly plan to open source everything but I think it's a bit early at this point... Everything is written in 'C' except 4-5 lines of asm for some DMA stuff.

@Cybergibbons, Right now it's just bit banging... It's pretty good on a 100mhz chip but when it's really heavily loaded with web requests... Etc. It would glitch sometimes when trying to read 8 sensors, 30M distance...   It's usually picked up on the next read but it's annoying nonetheless .
what do you think of using a chip like a DS2482 to bridge the I2C to a one wire master?
Sorry about the site... It's on a really long wifi link.. 

Jon

P.S. if someone wants to view the web server oscilloscope I have a board installed at my home hydro plant... It's on a 30km wifi link that has problems so its sometimes slow / unreachable (plan on upgrading it soon ).  Also note that there are no current waveforms on the oscilloscope,  I haven't installed the current transformers at the plant yet

http://162.216.184.197:81

The plants been snowed in for  the last 3 months so the firmware is very outdated... It doesn't show any of the ac vectors like the above screenshot..   I plan on upgrading it soon though...

farmsid's picture

Re: emonplus? emonSCADA? Looking for feedback on new hardware + Pictures

I love seeing these screens control of scada software. I find it very beautiful and informative. I tried to access your address and how we were warned off the air. I will try again during the next hours. Its application seems very structured, congratulations.

jon-ecm's picture

Re: emonplus? emonSCADA? Looking for feedback on new hardware + Pictures

yeah it's been on and off, apologies for the trouble I should have it fixed this week, Thanks for the kind words!

You can get a static example of what the oscilloscope view looks like at 

http://www.rtech.ca/test/

Jon

cybergibbons's picture

Re: emonplus? emonSCADA? Looking for feedback on new hardware + Pictures

Regarding the 1-Wire, I'm trying out a couple of 30m runs at the moment and have found that the bit-banged One-Wire library doesn't always work, especially with parasitically powered sensors. The DS2482 is much more reliable at this range.

jon-ecm's picture

Re: emonplus? emonSCADA? Looking for feedback on new hardware + Pictures

@Cybergibbons. I'll make sure the final version will have a sport for the DS2482.. Not sure if I'll populate it yet but It will be there if someone wants it..

@Farmsid Did upgrades to the wireless link... http://162.216.184.197:81 should work for everyone now.. There is some sort of issue that causes the ADC result to overflow when it goes above a certain value.. You'll notice it on the Current channels..  I think there must be a bug where the 24Bit results are bit shifted together..   

Anybody want to beta test some hardware?  I've got a few boards laying around here now that need to go to a good home :)

Have an amazing weekend guys!

Kind Regards,

Jon

Configuration GUI

"UID" is emoncms READ/WRITE key... "Send To" is the IP of the server...  Right now the data is transferred via UDP as raw binary data... A small application written in C listens for the datagrams to arrive and adds them to emoncms.. It's allot less overhead that way

I was able to compile it for Android.. Makes for kind of a cool wireless oscilloscope

 

 

jon-ecm's picture

Re: emonplus? emonSCADA? Looking for feedback on new hardware + Pictures

Trystan and others

Just wanted to update you guys on things... The Software is now fully open source and we have our third batch of boards back from the warehouse.

Source Code and boards are available at:

http://microhydroelectric.ca/store/electronic-load-controller

http://microhydroelectric.ca/store/micro-hydro-control-automation

Git Repo for Configuration Software Source Code: https://www.gitorious.org/rmscs

Checkout the emoncms dashboard @ http://rtech.ca/emoncms/dashboard/view User:admin Pass:admin  (Please no griefing)

 

If you wanna play around with the configuration software you can download our app @ https://play.google.com/store/apps/details?id=org.qtproject.example.rmscs  and connect to a deployed board @ 162.216.184.197  password:blank (Again please no griefing)

 

 

 

 

 

 

 

StuntMonkeh's picture

Re: emonplus? emonSCADA? Looking for feedback on new hardware + Pictures

@cybercibbons - With the high accuracy ADC you could try using a thermistor based temperature sensor.  This is what most off the shelf control systems use.

@jon-ecm -  Can you post up the schematics?

TrystanLea's picture

Re: emonplus? emonSCADA? Looking for feedback on new hardware + Pictures

@jon-ecm, looks like amazing work your doing, great to see that youve open sourced the configuration software. I missed the app part of your above post, How did you compile it for android? sounds interesting!

jon-ecm's picture

Re: emonplus? emonSCADA? Looking for feedback on new hardware + Pictures

@StuntMonkeh, Yes! I'll grab them when I'm at work monday and post them on the page that has the source code and other info @ http://microhydroelectric.ca/store/electronic-load-controller

If you want a blank PCB I can send one your way aswell... Got a few of the older version (just missing the I2C->One Wire bridge)  I'd be happy to send for just the shipping cost..

 

@TrystanLea, Thanks, The app is written in C++/QT5... It's a really sweet setup as it allows you to compile the exact same code without any modifications for Windows, OSX, IOS, Blackberry, Linux, Android etc... QT5 makes the whole process so easy, the docs are super easy to follow and installing the whole IDE is just a few clicks, nothing like the native speed you get from hard compiled code either..

 

Jon

timothyarnold's picture

Re: emonplus? emonSCADA? Looking for feedback on new hardware + Pictures

Hi Jon

Just wondering if this is still active? Really impressive. I would love to get some boards built in the UK!

Thanks
Tim

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.