Sunday, December 13, 2009

Putting the propagation controls together

On most weekends, I stay up pretty late at night - mostly loading videos or pictures to the blog, and even writing a very detailed post about something. (Most people know that because of the OCPD thing, writing something is always a lengthy process for me). Anyway, on Friday night I was working on the 2 different programs (one for the plc, the other for the operator interface panel) for the new propagation control system to be implemented in a few weeks, and they were both giving me fits. When you're having to deal with most of the various numbering systems (decimal, octal, hexadecimal, binary coded decimal) to scale analog signals, perform all kinds of weird math on the data, and get the information to show up on an operator interface panel in the correct format - it gets kinda tricky at times!
At 2:15 AM on Saturday morning, I finally had it working well enough that I decided to go to bed. The trending chart would need some more work, but it would be addressed another day. Besides, I needed to get up early on Saturday to work on shelves for the shed.

Anyway, here are some pics of the actual components being used, as well as screenshots of the software used to create the various buttons, numerical displays, and different screens for the operator interface panel (touchscreen).

Photo below - Here's the main screen of the OIP itself. It will display the temperature value of 4 different places (inside the propagation chamber, the 2-shelf propagation system when enclosed with 6 mil plastic, the interior of the 4x4 greenhouse, and of course the outside temperature.)
Since I only have one channel wired for now (chamber), it's the only one displaying a value (66.5 degrees fahrenheit). The accuracy and sensitivity of it is absolutely mind-blowing, and just to let you know - this was the actual temperature in the upstairs portion of our house. Yeah.....the digital thermostat for the hvac showed 69 - but I promise you that this 66.5 reading is what it actually was at the time. With 12 bit resolution and the entire span of the signal being displayed as only one of 4,095 increments measured at any given time - this system is dead-on. As you might guess, I bumped the upstairs thermostat up by a couple of degrees. That just goes to show that most digital thermostats available to homeowners read pretty close, but not perfect.

And here's a screenshot of the same thing as created with the software. This is the same way touchscreens are created for various restaurants, kiosks at the airports, etc. It's really not that difficult to do, but takes alot of concentration and time. Each "part" is placed in the area of choice on the grid, and addressed with reference to the plc variable memory locations. All kinds of internal parameters must be set to the desired values, too - but that's as easy as adjusting fonts, text to be written on the part, and stuff like that. Communication protocol between the OIP and plc can be tricky at times, but the RS-232 link I use is not too difficult. The main thing is to make the baud rates match between the two.

Touching the "To Manual Control Screen" area in the picture above with your finger will open up a brand new screen, as shown below. The memory capacity of this particular panel will allow a person to program up to 999 different screens to use, but who in their right mind could navigate thru that many different screens? Not me! This project only has four, but I may add more functionality later.



Photo below - here's the trending chart that i'm still working on. It will allow me to look at the 24 hour history for the 4 different temperature values, (which will really come in handy later). I'll go out each morning before work and see if the temperature in any particular zone fluctuated throughout the night, which will allow me to plan for enhancing heating or ventilation control patterns. Yeah, I know......I'm weird! Heh.

Photos below - actual hard-wired components in a Nema 12 (dustproof) enclosure.

I'll clean up the wiring once the various appendages are added to the system, but probably won't spend too much time on it. I've got other constructive things to get done around here.....


In the last photo above, those 2 (red, white) wires twisted together are type "J" thermocouple wires that read temperature at the point at which they meet. You can tell from the black dis-coloration that I used a cigarette lighter to raise the temperature for testing purposes. Worked like a charm......The lighter raised the temperature reading all the way up to 960 degrees.
Anyway, there's still lots of wiring to do for connecting the controller to the various propagation systems, but i'd say this entire project is probably around 90% complete.

Today will be spent on finishing the shelves on one wall of the new shed, which should only take about 2 hours to complete. Some of the many items that are tucked away in various outbuildings will be organized when placed on them (also today) - as I know that my family is getting tired of looking at my big mess always laying around. It's pretty ridiculous, I have to admit...Ha!
Later in the day, my time will be spent on stirring up all 5 of the compost piles a little bit. Notice I said "stirring", not "turning". I don't mind a little hard work, but i'm not that crazy!


Take care, and happy gardening!

EG

6 comments:

GrafixMuse said...

This is so cool! The photos really help to explain what you are “engineering.” I can’t wait to see how it works and watch the progress of your greenhouse plants growing.

I bet it will feel good to get the shelves up in the shed and start organizing everything.

Sinfonian said...

Very cool. I always knew there was far more going on inside electronics, but you've definitely put it into perspective. I feel so inadequate...

Looks like the controls will work like a charm. Very well done!

Engineeredgarden said...

rachel - I'm glad you like it. It will make my propagation process a breeze. Yeah, I can't wait to get in that shed!

sinfonian - Thanks. Electronics are something that can be really difficult to understand, but all electrical components are based upon the same, basic principles.

Kalena Michele said...

Though I don't understand the first thing about controls and engineering of this sort, I can appreciate that you do. This is great :)

Engineeredgarden said...

Kalena Michele - Sometimes I don't understand it either. Heh. Working all of the "bugs" out is usually the most irritating part. I'm glad you like it. :-)

Dan said...

The program is looking really good. The box is pretty cool too!