Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Hardware Hacking

Creating a Homebrew Industrial Process Monitor? 97

pionzypherm asks: "I work at a glass plant for a major beer company. My job entails monitoring the furnaces that melt the glass. I have been working on a project on the side, collecting data from various sources and compiling it into an easily used form for the higher ups. I've finished two of our three furnaces, but one remains. This furnace uses technology from the early nineties. There is no networking, the hardware is completely closed and unavailable for any screen scraping. Two of the items I'm looking to monitor (and would appear to be the easiest starting point) are two valves for a gas and oxygen line which will provide data on a portion of our energy usage. I was thinking of a microcontroller board or something similar tied in to monitor the positions of the valves. I'm unsure where to begin though. What books, microcontroller boards or alternatives would you recommend for someone new to this? What suggestions would you have for such a project, and what pitfalls might I run into?"
This discussion has been archived. No new comments can be posted.

Creating a Homebrew Industrial Process Monitor?

Comments Filter:
  • Easy (Score:3, Interesting)

    by Anonymous Coward on Friday May 04, 2007 @02:53PM (#18992739)
    If all you need is monitor the position of a valve, you can homebrew the position sensor yourself using a plastic disc, a magic marker, and an LED. The sensor sends pulses as the valve turns, these get picked up by a small microcontroller board. Get an experiment board that supports RS-232 serial. Then, you write some minimal code on the microcontroller to process the events into some reasonable data format, and send them over serial to a PC. Do your real logging and data processing there, instead of on the micro board.
  • by Anonymous Coward on Friday May 04, 2007 @03:21PM (#18993175)
    Why don't you use gas flow monitors instead. Most of the modern ones offer rs232 and some even have 10baseT interfaces. These devices are temperature compensated and can be set to match the gas being measured. This would be much more accurate than monitoring the valve position.

    Judging from your question, you sound like a programmer thrust into a hardware problem or a plant engineer thrust into an IT problem. In either case, check with your contacts, suppliers or company engineering group to get suggestions for implementing and monitoring the monitor systems.

    Perps the best place to start is OMEGA.
  • by RGRistroph ( 86936 ) <rgristroph@gmail.com> on Friday May 04, 2007 @03:31PM (#18993343) Homepage
    One technique you might think about, coming from a "first do no harm" strategy to avoid being blamed if something goes wrong with the equipment, is to try to not add new sensors or valves and etc to the equipment, but try to take advantage of the increases in computing power to simply read it and recognize the situation exactly as a human would.

    Check out this project: http://www.eissq.com/DialADC.html [eissq.com] It describes software that uses a webcam pointed at an anologue needle gauge to recognize the position of the needle. Why not, as much as possible, set up passive sensors that don't touch or interact with the equipment in any way, feed them into a cheap multi-gigahertz computer, and process everything that way ? If the furance has a big accident, it would be hard to blame your apparatus.
  • Re:Easy (Score:3, Interesting)

    by Doctor Memory ( 6336 ) on Friday May 04, 2007 @04:10PM (#18993977)
    Interesting idea, but it won't monitor the actual position of the valve, just changes in its position. So you won't know if it's closed or not, only if it's more open or more closed than it was the last time it was at rest. Actually, with just a single LED, I'm not sure you could even tell which direction it was moving.

    It's hard to know what to suggest without knowing what form the valve takes. Does it have a round handle, like an outdoor faucet, or a lever, like many natural gas connections have? How many degrees does it move through from fully closed to fully open?

    Instead of trying to measure the valve position (which isn't a value you really want), you might want to think about trying to tap into the lines the valves control and read the actual flow. If the valve has a threaded connection, it might actually be easier to attach a flowmeter than to instrument the valve.
  • Amen, brother! (Score:5, Interesting)

    by pestie ( 141370 ) on Friday May 04, 2007 @05:10PM (#18995081)
    Every time someone asks Slashdot a question like this, the hysteria crowd comes out of the woodwork to scream about how it's absolutely impossible for an "amateur" to do it, and you absolutely must hire a "professional," lest something tragic happen, ranging from the ever-popular "you'll lose your job!" to a bucket of dead puppies or something.

    Yes, I realize that professionals are sometimes necessary, especially in situations where life is clearly at stake (pilots, medical, law, etc.) I'm sure some jackass will show up to tell me how this is an industrial furnace and that clearly means that a professional is warranted, but we have no idea what the particulars of this situation are. Just stick to the freakin' question, people.

    It used to be the case that "professional" implied not only a degree of competence, but also a certain amount of integrity and experience. But that's just not true any more. All it means now is that someone gets a paycheck for doing something. Often it means that they're experts in nothing more than doing something as cheaply as possible.

    For what it's worth, I'm personally fond of the Atmel AVR [atmel.com] microcontrollers. Many, many people are also fond of Microchip [microchip.com]'s offerings in the PIC line [microchip.com]. But for rapid development, something like the Parallax BASIC Stamp [parallax.com] is probably the way to go. They're cheap and easy (like a good woman) and let you focus on the task at hand rather than the bit-level details of how to read sensors, etc.
  • by tlhIngan ( 30335 ) <[ten.frow] [ta] [todhsals]> on Friday May 04, 2007 @05:27PM (#18995313)

    If this is an industrial application, you really don't want to homebrew it.


    Well, I thought that way too, until I re-read his requirements. It really depends. If it's automation to control stuff, I'd go with off-the-shelf professional type things. One, there's a lot of CYA - if anything goes wrong, you can blame the hardware, rather than it being your fault (even if it really isn't). Secondly, it's control - things go wrong, and unless there are tons of failsafes and alarms redundantly connected, well... (and hopefully a profession would know how to avoid having a single point of failure for all the redundancy).

    But in this case, it's a simple monitoring thing. The guy wants some values to report to higher ups. The machine has its own controller (can't be screen-scraped), and all that's really happening is just a way to say "valve X is open Y%", without worrying about alarms and crap (presumably the machine has alarms and everything built in). As long as the monitoring won't be doing anything safety critical (it shouldn't interfere with the existing controller), a homebrew solution is perfectly fine.

    Heck, a different way is to simply find a way to capture the display output - a camera works. Do it properly and it should be possible to analyze the image and generate the data that way, too.

Today is a good day for information-gathering. Read someone else's mail file.

Working...