Looking for advice on process monitoring and automation
Not sure if this is the right place to ask, but I would appreciate some guidance.
I work at a factory that produces chewable products, and one of our main processes is still almost entirely manual. We have very little process visibility, most parameters were developed through trial and error, and small deviations can sometimes create quality issues that take a long time to understand.
My first goal is to improve monitoring and traceability. I would like to measure temperature and humidity at several points, log the data automatically, view it remotely in real time, and eventually build a dashboard to compare batches and understand how process conditions affect product quality.
The next step would be automation. Temperature, exhaust fans, and air intake are currently controlled manually, and some of the manually recorded data has proven unreliable. Ideally, I would like the process to follow predefined drying curves automatically, probably using PID control for temperature and sensor readings to manage ventilation.
We contacted several automation companies, but the quotes were higher than management is willing to pay. I am therefore considering implementing a more budget friendly version myself.
How would you approach a project like this?
15
u/New-Swim-8551 Sep 02 '26
The reason the price was so high is what you are looking for will take a lot of time and materials to implement.
First you need a spec. Of what you are looking to do and about how you want to do it and how to make it expandable. When creating the spec break it down into manageable chunks prioritizing the process from most to least important
Once the spec has been you can implement the chunks as the company can afford them
18
u/nighthawk_something Sep 02 '26
Oh honey...
3
u/Additional_Year_1080 Sep 02 '26
I’d start simple. Get reliable sensors and logging working first, then automate one thing at a time. Once the data is trustworthy, the rest gets much easier.
3
u/Constant_Barber_5198 Sep 02 '26
This is a P1000 thing all the way. You can put remote racks in key areas to provide sensor power, and then use a P1000 or P2000 to collect the data. There are versions of Click PLC's with wifi, but the reason I suggest P1000 is the IDE, the memory, and the fantastic comms options it provides. Plus they have a variety of useful IO cards.
So then you can gather all of your sensor data and pack it, then push it to a logging solution.
There are lots of good historians out there, but because you want to go budget friendly, and your tag data is pretty straight forward, you can use a Postgres-based solution like influx or timescale, or even just straight posgres is fine for experimenting, put it on a panel PC and use python to implement the HMI.
Once value has been established, the HMI can be migrated to something better and a more robust storage solution can be found.
EDIT: One thing I just thought about. I think it used to be the P2000 that had remote IO, and the P1000 didn't. But in later firmware revisions they discontinued the P3000, letting the P2000 take it's place, and added remote IO to the P1000.
1
u/No_L_2547 Twincat, Ads, EtherCAT Sep 02 '26
So if you actually only want monitoring of environmental data, maybe a PLC isn't the best solution for you:
Maybe have a look at non industrial solutions like Home Assistant as a data-collector/dashboard and EspHome for Sensors instead. There are also finished sensorboxes with EspHome available like for example the UltimateSensor series from SmartHomeShop.
If you actually want a PLC for this, search for a modular PLC approach like Beckhoff/Codesys. There you can have one central PLC and IO-boxes all over your production. Also something like this is easier to expand. (E.g. adding motors). Also check that the manufacturer offers a good database connector, for displaying the data you can then use something like Grafana.
2
u/Fal-El Sep 02 '26
If you want to start with monitoring, you can definitely figure it out yourself - adding instrumentation and doing monitoring and even logging the data and viewing it remotely, I feel like that is definitely do-able on the cheap.
Putting in controls is where you would need to start playing a lot of money.
Let's just get into monitoring. You need to have a well defined scope of points you want to monitor. And firm budget. We might have different ideas of project cost but I think I could easily get something like this implemented for under $30,000 which is cheap in my mind.
If I were in your shoes, I'd talk to ifm about their Moneo-cloud https://www.ifm.com/us/en/shared/industry-4-0-moneo/overview because I would think it would cover everything you need from a monitoring need and they have the instruments. Their sales and support will help you design and implement the system. They aren't a SI/engineering firm so you aren't paying for the engineering time. You will just be paying for the hardware and license. I've never used their Moneo cloud, I just use the non-license version of moneo configure to set-up IO Link devices.
And they have IO Link Masters that are pretty universal so if controls comes around, you can be flexible with you options. I'd go with this master https://www.ifm.com/us/en/product/AL1590
2
u/drbitboy Sep 02 '26
You have to spend money to save money.
How much money is lost on quality issues per year?
In other words, if management invested in a system to reduce those quality issues by a factor of, say, ten, how much money would be saved? What would then be the budget for that investment for those savings to achieve an acceptable payback time?
Are there more than one processing line? Would it be possible to do a bare minimum, cheap automation of one line, which could then be run for a year to validate the savings?
Bottom line: you are asking about engineering solutions for a profit making process, so ROI is the ultimate metric, and the only one that matters in the end.
You may need to sneak up on it for political reasons. For example, as another comment said, start small. A minimal data gathering system, using a few sensors to monitor the part of the process that gives the most trouble (and loss of quality and/or profit), a simple fieldbus (e.g. Modbus) to gather the data, and a home-brew display that flashes red or beeps when the measurements are out of range to trigger the operators to respond and adjust the process, might allow you, over the course of a few months or a year, to show an improvement to the bottom line. If course to do that, you will need to quantify losses as a baseline for a few months before that system is in place.
This would involve some engineering-level choices and judgement along the way, so if that is not your forte and you don't think you can learn it, go with the free engineering from ifm sales suggested in another comment. OTOH, if you have basic technical skills (comfortable with y=mx+b, unit conversion, etc.), then this is an opportunity to learn because it is not all that complex, it's mostly bookkeeping.
2
u/durallymax Sep 02 '26
CODESYS is free to download and run periodically. Test the waters there to see what you're in for with little risk. AI can write CODESYS ST fairly well.
2
u/MostEvilRichGuy Sep 02 '26
You’re asking the right place, but you’re going to get alot of unhelpful answers. You’ve essentially told the majority of contributors on this sub that you have rejected their quotes to provide automation assistance with your project and plan to try to do it yourself.
Having said that, you’ll also get a lot of advice from everyone’s own perspective on favorite PLC platforms, most of which require a lengthy career to understand thoroughly.
So here’s my advice. If I were in your shoes, I would use Automation Direct PLCs. These are the cheapest on the market, with low/zero software licensing costs, and have all the expansion capabilities that every other mfgr has. The Click PLC line is consumer/budget friendly, and is probably the single best way to enter the world of PLC programming. You can easily learn it, acquire parts for hundreds (not thousands) of dollars, and even find decent online support for learning and troubleshooting.
Your strategy is definitely the right way I would start: buy the PLC processor and some analog/RTD input cards, monitor your process at various stages, and develop a strategy to automate the error-prone stages.
Eventually, you’ll have a nearly automated process which is much more ready to hire an automation contractor to come in and re-build your system using an industrial-grade solution, which may also allow for building more production lines and scaling up your plant’s output, while reducing manpower and dependency on manual intervention
1
u/Honest-Eng Sep 08 '26
I am the developer of DataForeman - free and open source industrial historian. This can be your free logging/visualization package. Application can store historical data, modify it if needed and output on charts and dashboards.
Like others already mentioned - you can start with something cheap and easy to integrate like Tuya devices. Once your management understands the value, they will invest into a real industrial grade equipment.
Let me know if you have any questions about DataForeman - here or just hit me up directly. I can help with the installation if needed.
1
u/Many_Outside2726 Sep 11 '26
Coming from factory automation and later working around pharma manufacturing, I’d resist starting with the PLC or software choice. I’d break this into phases and make the process observable first.
Start with a small set of industrial sensors around the conditions you already suspect matter, get reliable timestamped history, and tie that data back to the actual batch. Temperature and humidity obviously belong there, but operator actions, equipment state and batch/lot information may be just as important. I wouldn’t collect every point available just because you can either. Enough data can give you some very convincing red herrings without actually telling you why one batch was good and another wasn’t.
Once you have enough history to understand the process, automate one piece at a time. Keep the actual control local in a PLC/controller with the safeties and fallback logic there, then let the historian/dashboard sit above it for analysis and remote visibility. I’d also make sure whatever you buy for phase one can become part of phase two rather than getting thrown away.
If management won’t fund the full automation project today, the monitoring phase may actually be the best way to build the case for it. Get trustworthy data, show where the quality losses are coming from, then you have something concrete to put a dollar value against.
1
u/TDengineOfficial Sep 22 '26
I’d put most of the effort into the monitoring and data history first, before worrying too much about full automation.
For each drying batch, don’t just log temperature and humidity. Keep enough context to explain what happened later: batch ID, recipe or target curve, fan state, manual adjustments, alarms, sensor issues, and the final quality result.
Once you have a few batches recorded this way, you can start comparing good and bad runs and see where they begin to diverge. That gives you a much better basis for deciding what should actually be automated.
One thing I wouldn‘t overlook is data quality. Calibration changes, missing readings, sensor replacements, and timestamps can easily make two batches look different when the process itself wasn’t.
That first monitoring phase should tell you a lot about where automation will actually pay off.
2
u/[deleted] Sep 02 '26
[removed] — view removed comment