Wednesday, November 11, 2015

Monitor access to buildings

Access to barns and recording the access is more important today than ever before.  Biosecurity and monitoring labor are just two of the reasons it makes sense to have a basic understanding of the coming and goings of people at the farm site.  I have put together using a basic door sensor a system that can provide quite a bit of insight into a farm's activity and compare to other similar farm's activity for benchmarking purposes.

Certainly I realize that this is a fairly low-cost monitoring system.  Undeniably there are bigger and better ways to monitor exactly who is coming and going and at exactly what time.  You could retina or fingerprint scan workers like 007 movies but at what cost?  You could have card scanners but then look at the expense of installing that for one or two workers.  What if they forget their card or lose it?  Often the "home office" is far away and the logistics of getting a new card could take days.  Or a substitute needs to go to the site who doesn't have a card?  A simple low-cost employee monitoring device could be the solution.

Here is what I did.

I installed a simple door sensor that sends a count of how many seconds the door is open in 5 minute intervals for each time it is opened.  That information is then sent to Grovestreams where I am doing some simple analysis with it that provides me with some excellent information.

Data #1.  I get the first time of the day that the door was opened up.  This is huge.  If the employee is supposed to be at the site at 6am and they regularly arrive at 9am that is a problem.  


The image above shows activity on a system that monitors a door at my office.  Grovestreams allows for an easy way to determine the first and last timestamp of activity received for the day and shows it in a dashboard.

In addition I can take the last timestamp and subtract the first and get an estimate of the time the site was occupied for the day.  

I also chart this for quick viewing (guess I haven't been to the office at all in the last few days):


Interesting alerts on this.

1.  Send an alert to email or phone on the first arrival every day.

2.  Send an alert to email or phone on activity outside of a time filtered period.  Example send an alert for every activity outside the hours of 6am to 6pm.

3.  Send an email at 12:01am if the duration of the previous day was less than 4 hours.

4.  Same alert as #3 except for exclude weekends.


Expanded analysis:

Many sites have multiple barns.  As part of the Multisense sensor gateway users could add door sensors to each barn entrance and managers could track how much time is spent in each of the barns on the site.  Alerts for barn doors left open would be simple to include as part of any package as well.

Grovestreams and Multisense make prototyping IoT projects simple and low cost.  This door sensor project took me hardly any time or money and now I think this could be used in barns all around to monitor employee time.

Wednesday, October 7, 2015

Bin Sensors Help Order Feed

Talk to any feed mill operator and they will tell you that the biggest issues that affect their efficiency all surround feed ordering.  Too many orders on Mondays and Fridays, missed orders that result in emergency deliveries after hours all have produced many grey hairs amongst feed mill staffers.

The Binlogic bin sensor provides some good data which can help feed mills know or predict when bins are empty and need a delivery scheduled.  As this goes to press, we are still working on refining and improving the sensor but initial data is promising.

Installing even more sensors as well as predictive growth software can provide a lot of contextual information to effectively put a feed ordering program together for an entire feed mill system.

Some ways this can work:

Utilize 1 high sensor and 1 low sensor.  This is a great way to know a time frame from when a bin begins to be depleted until it is in the cone and more feed can be delivered.  In the example below a trigger can be set for as soon as the sensor in the high goes from closed to open to put a feed order in for 45 hours later.


Furthermore, many sites use tandem bins.  The example below shows that from the time that bin 31 starts going down to the time that bin 32 goes below cone is 96 hours.  So, in this case a date range of between 45 and 96 hours from the time bin 31 first goes down could be pushed to the mill as a delivery window to ensure the site doesn't run out of feed.


Another strategy would be to look at these 2 time spans for the order window.


This strategy would call for a feed delivery from 66 hours to 119 hours from the time Bin 31 first starts to go down to ensure feed doesn't run out.

Even another strategy would be to send a notification to the feed mill as soon as a bin goes empty which triggers an order to drop and go out within X hours.  If the feed mill has a queue of empty feed bins for which to deliver feed against it could make for an efficient system.

Yet another option would be to simply have a single high sensor and as soon as the feed went below the sensor an order was placed for X days from that moment.  The days could be calculated based upon assumed consumption for animals of that size/age etc.

All of these strategies can be modeled in Grovestreams and passed into any feed mill software.

As with any of the sensors a full suite of intelligent alerting is available.  Example: Receive notification when a bin goes below a certain level, feed is ordered but hasn't arrived, intake is faster/slower than the assumed order rate among many others.

Much work is still needed on using these bin sensors to accurately order feed.  Initial results have shown promise.  Combining bin sensors with many other sensors ensures even better data and automation at a livestock site.

Thursday, September 10, 2015

Grovestreams is a great IoT platform

Grovestreams is an IoT platform that is under the radar now; but that shouldn't last for too long.  I am listing 10 reasons Grovestreams is a great IoT platform for our solution.  Farmstreams is built on the Grovestreams platform and is leveraging the tools built to deliver value to livestock production.

1.  Simple to put data in and take data out of the store.  The APIs are published and open.  Easy enough that non-programmers can accomplish it.  Powerful enough for talented software developers to build apps and websites pulling and putting data in and out.  This also allows larger organizations to leverage Grovestreams for its cloud-based data gathering and analytics without sacrificing or needing to switch from the enterprise software they run their business with.

2.  Built with Big Data technology.  Scales to nearly unlimited size.  When it needs to get bigger, a new cluster is added.

3.  Cost.  A user can get started with a Free account to play around with developing a solution.  Pricing is data driven.  You pay for what you use.  No mandatory consulting fees or annual contracts.

4.  Quick to deploy a solution.  Whether its an app or a sensor feed, its easy and fast to run calculations, build dashboards and deploy your IoT solution.  Location/Map integration is also a nice feature.

5.  The roll-up stream data is a really efficient way to get to the data you need.  The in the field sensors can simply send raw data in.  Once received, they go to the store but then are accessed with the roll-up time selection (example hourly) and the preferred statistic (example average).  So, if you want the average hourly humidity, send the raw data in every minute and the data automatically rolls up to the hourly average.  Furthermore, minimum and maximum are also readily available in the store - so you can also view average, minimum and maximum on the same chart.  Even furthermore, you can monitor the quality of your data by monitoring gap counts in the rollup streams.

6.  The analytics package is really good.  You can run very complex expressions on any stream in the store.  You can then run more expressions on those created streams.  For example, I am calculating a feed bin inventory using data inputs from 5 different sensor streams and/or app entry streams.

7.    Blueprinting an organization makes setting up new organizations really easy.  When new sites (like a farm) needs to be set up simply create a blueprint and start the new organization exactly as the previous one was very quickly.  Also, switching organizations is all done in one log-in so a user can have access to all of their organizations without having to log out and log back in.

8.  The alerting engine is solid.  Users can get alerts upon arrival for those alarm type streams.  Users can run a condition alert, example temperature  > 32 send alert.  Or with latency, too much time has passed between data streams.  Features like time filters are effective in mitigating false alerts.  Example: feed latency alerts are ignored in the middle of the night.

9.  The dashboards to visualize the data are really good and easy to use.  Drag and drop graphs or spend more time and develop a super-dashboard.  A lot of well thought out features to quickly and accurately create the visual tools needed for stakeholders to your project.

10.  We are just at the beginning.  The base platform is already great.  With the enhancement roadmap laid out the platform will get even better.

So, why would I boast about this platform?  Shouldn't this be my best kept secret?  First, I want customer farms and potential customer farms to know how good this back-end solution is.  Feedlogic's focus is on providing intelligent and connected devices at the farm.  Without a platform like Grovestreams that endeavor is somewhat pointless,  Second, the IoT space is like a really large sandbox right now.  There is plenty of room for a lot of people to play in it.  For Farmstreams to continue improving more and more people need to find Grovestreams and use it.  Then Grovestreams can grow its support system, add enhancements and developer networks can be started for collaboration within and across industry can make all solutions better.  I encourage you to check it out or contact us with questions/comments.

Monday, September 7, 2015

Sensor Spotlight: Poultry Scale

Poultry scales are not new technology for chicken or turkey producers to incorporate in their live production operations.  Weighing birds has many advantages throughout the supply chain starting in the live production area (nutrition, vet services, etc) to finished production planning, sales and marketing and accounting.  Many stakeholders in a poultry production system have a need for accurate, timely live weights in the barn.

The average weight itself has some limit to its value.  It is valuable to understand nutrition and other factors from a learning and KPI standpoint.  The more frequent weights and accurate, frequent, surrounding data the more learning and improvement a system can gain.  What producers really want is an estimate of when a weight that triggers an event (like marketing) is going to be obtained.  Example: in 4 days the weight should be 6 pounds.  This is the crucial information needed for planning within an organization.

A quick google search shows many poultry scale options.  Any follower of this blog will know that FarmStreams is all about getting the data off the farm and into the cloud where it can be accessed and consumed by the users who need the information but are not going to the farm every day.

The FarmWeight VEIT Bat2 scale is a scale we have had success implementing with the FarmHub patform.  If a producer is already invested in a different type of scale a retrofit is possible; but this is one that we have successfully connected to the cloud and is ready to install today.


It offers the following features.

1.  Wireless connectivity to Grovestreams data platform.  Which can in turn be pushed into an enterprise system.

2.  Network multiple scales over a single connection point at a site.

3.  24/7 monitoring and reporting of the following:
a. average weight (male & female)
b. weight gain
c. number of samples

4. Alerting if certain weight related thresholds occur.  The thresholds can be variable and change with other data or time passing.

5. Data allows a producer to predict market dates.

Beyond just the single data points related to bird weights integrating with feed data, temperature, water usage and other data surrounding the environment of the barn in real-time in a powerful analytics engine like Grovestreams allows producers to glean new information to improve processes even further.

Similar to the other sensors, the data is valuable on its own as discussed above and can have even greater value as part of a larger more complex analytics program on the farm.

Wednesday, September 2, 2015

Invest in process improvement not band-aids

Technology enables improved process management.  Process management is the antidote to common issues in the industry.  Often times producers will take steps to reduce issues by dealing with the symptoms of the problem.  For example, installing larger feed bins or bigger feeders on the site.  That can help reduce problems but won't solve and is massively more expensive than implementing process-focused technology.  Livestock farming is one of many industries that can adopt M2M / IoT systems to improve existing processes in an organized and meaningful way.

Some ways we are doing this is with:

Within the industry commonly approaches to deal with issues are to go bigger.  For example, when feed bins running out of feed it is often suggested to spend the capital to upgrade to larger feed bins on the site.  When digging into the results of this investment - often results are a mixed bag.  It is nearly as common for feed to run out when larger feed bins are used as smaller ones.  Barn workers have a false sense of security with all that feed capacity on site and the bins run out even in tandem.  Or both slides are left open and both bins run open catching the worker by surprise.  It happens frequently.  If the process isn't fixed, the problem isn't fixed.

I have been at a layer facility where tandem bins 36 tons each were sitting within the line of sight of the feed mill no more than 1/2 mile away.  The bins would run empty and be waiting on feed from the mill.  

That much capacity also makes it very difficult for industries, like egg layers, who might want to change nutrition quickly to do so.  You have to go through 4 days of feed before you can change the ration when that much is on site.

More feed capacity inside the barn is another common solution to feed outages.  Without a doubt it is helpful but expensive.  It also doesn't guarantee that there are not times when feed is not flowing and that bunk is not full.  

One last comment, process improvement and band-aids come in waves.  Process improvements made today will make waves that result in even more process improvements in the future.  Band-aids work the same way, a 24 ton bin today becomes 36 tons in a few years.  You have to keep making the band-aid bigger and bigger, they don't get smaller.

Monday, August 31, 2015

Tracking medication use on the farm

Medication use, specifically antibiotics on the farm are a spotlight issue for animal agriculture.  Consumers, restaurants, retailers and politicians are joining the discussion.  Traceability is a common buzzword that is heard on medications at the farm.  This is a particularly difficult issue to install an iot solution around because of the intrinsic need for people to execute at the ground level.  Since we are not medicating animals daily, it is not a part of the daily routine, which makes it more difficult to train people to execute these important processes.  We think the data platform and mobile app we have developed can help.  Here is what we are doing in FarmStreams:

The mobile app allows two different type of updates:

1.  A QR code or NFC type system where medications are bar-coded or QR coded before going to the farm.  Each doser or medicator in the farm site is also bar coded or NFC coded.  A barn worker would scan in the medicine, verify its correct.  Enter the amount.  Then scan the doser at the water line before setting it.  Repeat same process for stopping the medicine only just scan the doser code and STOP.

Some snapshots of what that looks like is below:

   


2.  If the QR/barcode/NFC type system is too complex we also have the option to just have the barn worker use the app to select from a drop-down menu what and where they are adding meds to the water.  Enter the amount.  When finished stop the medication in the app.

The mobile app can also be set up to do other process verification steps such as:

1.  Have the vet dispatch instructions for a specific group to be given a specific medication and a specific amount by a certain time.

2.  Send customized and frequently updated instructions/messages for the selected medication.  Withdrawal days, mixing instructions, other pertinent data that may not be on the bag itself.

3.  An email can be sent to the vet notifying them the medication event began / ended.

4.  If the medication event has not occurred within a specific timeframe then an alert notifying the vet and supervisor is also sent.

The mobile app cannot ensure that the medication that was entered into it actually got into the water and to the animals.  These processes break down quickly when you don't have participation from the workforce.  We have discussed labor quality previously in the blog.

On the sensor side most of the dosers in the market today do not have cloud connectivity or even local data storage.  This often makes people throughout the organization blind to what is going on inside the farm.  If there are issues like plugged diaphragms they must be troubleshot and recorded by the worker on site.  Data quality is often compromised and not uniformly gathered.

There are newer doser products that are sold at Farm Tech Store that connect to the cloud using the MultiSense sensor gateway.  These measure water consumption, medications injected (how much and when) to the cloud.  When combined with the data entered in the mobile app, you have a report of exactly what went in the water, how much and at what times.  Critical streams needed for a good traceability program.

One issue that is not resolved yet is having that medicine / medicator handshake on what product is going into the water.  You still need a human to enter that data, a potential weak link in the data chain.  In the future some type of cartridge or other medication reading technology may be placed within the medicator hardware; but for now that is futuristic thinking.  It can be done; but need someone to pay for it.

Another issue that is possible; but not practical today is to have the vet receive an email telling them that the medication is in the medicator ready to be inserted into the water.  The medicator can be started with an approval from the vet's mobile app.  100% possible, impractical to develop until someone says they want that level of control over their medications on the farm.

When we get over to the data side in Grovestreams this is where we can put some logic and alerts around checks / balances to ensure the processes are followed properly.

For example,

If a vet has dispatched a medication event, set an alert that lets you know if it has not been done within 4 hours in the barn.  Double check not only the app but also the medicator data stream.  The medication should be entered into the app and flowing to animals within X hours or vet/supervisor are being alerted.

Once the medication has started check to see if it has stopped by X hours.  If it is still medicating after 48 hours for example, send an alert or if medicator is set up to be turned on/off remotely, turn off remotely either with software or with an app.

Cross reference other data in the store.  If a specific medication shouldn't be given to birds greater than 24 pounds.  Check that, cross reference it.  If its greater, send an alert.

Produce reports that document how much and over what times were medications given by barn.  Further analytics from the feed sensors, scales and water lines would dive into whether they were effective and possibly deliver payback scenarios in real-time.

There is technology that can help organize the process around medications on the farm.  However there is not an easy button.  It still requires 100% buy-in throughout the organization in the value of the data and a commitment to the process.

Friday, August 28, 2015

What is Big Data?

Big Data was created or if not created at least taken mainstream by the powerhouse known as Google.  So, who better to turn to ask what the definition of Big Data is:

big da·ta
noun
COMPUTING
  1. extremely large data sets that may be analyzed computationally to reveal patterns, trends, and associations, especially relating to human behavior and interactions.
    "much IT investment is going towards managing and maintaining big data"

I would say this is a fairly accurate representation of what it means to me with the caveat replacing "especially relating to human behavior and interactions" will soon be replaced with more industrial terms, like machines, robots, software or business processes.  

Big Data processes like FarmStreams can constantly be verifying conditions in barns and alerting when conditions are not ideal for maximum production.  In addition, additional "smart automation" can be installed where several dependents are monitored and when conditions are met then equipment is remotely controlled to perform different tasks.  

Some good examples of a simple smart command would be to automate a bin slide to switch bins when one runs empty, open the full bin and shut the empty bin and order new feed for the empty bin.  That is a simple automation that could be accomplished pretty easily with Big Data.

A more complex automation that could be done is to calculate weight of feed consumed per bird and once it exceeds a certain percentage of body weight for the day to switch feed rations or stop feeding for the day.  Additional complexity could be added to cross reference water consumption before making a decision.  I am not sure if this is a realistic scenario but it is illustrating that many different streams can come together to automate a variety of decisions inside a barn.

Furthermore, within animal agriculture this level of data collection from the farm has never been available.  Most data that is available remains on the site.  Once the smart professionals within the animal ag industry get their hands on this amount of production data I am certain the value they find and impact will be tremendous.

So, how big is our data?  The data platform, Grovestreams follows the Google Big Data architecture with its own wrinkles.  This is called Hadoop.

So, what can we do?
  • Farmstreams can store 94,000,000 samples for each stream - this is 3 years of one-second resolution.
  • 140 different statistics for each sample available for each rollup period from one second to many years, with customizable time definitions in between.
  • Each sample can have unlimited derivations (formulas) occurring with them. 
  • The derived samples can also have unlimited derivations (formulas) occurring with them.
  • Near real-time processing and flow-through.
  • Data in / out seamlessly from cloud data platform back to the enterprise level system.  Users can add us as another user interface; but don't have to.
Most livestock farms will not need single second resolution on their data; but it is nice to know the data platform was built to handle that heavy of a workload.  The ability to run derivations / formulas in real time converts several data feeds into valuable information that ensures the livestock barn is optimal.

That is what Big Data means to us.  We are focused on data quality from the sensors.  Connecting the sensors in rugged, tough environments.  The data piece on the back-end.  Optimizing the production environment for the best performance possible.

Thursday, August 27, 2015

More feed line problems (setting delay timers)

Once we start gathering more and more feed data and keeping in the store we can go back and look at some interesting things.  We have already posted about alerts to solve feed problems, such as feed outages, bin rotations, and feed ordering, and what we can do to help solve them. This morning I decided to go back and look at frequency of feed events and discovered some alarming problems which we went over this morning with the site owner and are fixing.

In my analysis, I found that on some feed lines, the Feedmeter was reporting feed events very frequently, sometimes every minute.  See the underlying data in the store below:


In 18 minutes, we reported 16 feed events.  When I roll up the data to a day and also look at the sum, average, sample count I see the following data.


Several issues for us to work through here.

1.  At that small of a run time the Feedmeter is set up to fail.  A key variable in the Feedmeter's algorithm is the run time.  If a setting is off causing the start to end run time to be off by 0.25 seconds, it is rounding error on a 60 second run; but catastrophic on a 1.25 second run.  The Feedmeter's ability to estimate intake is not optimal.

2.  Feed motor life expectancy is slightly reduced for every time the motor runs.  A motor that runs 500 times a day versus 50 times a day probably will go bad much faster.  I did a quick inquiry with some equipment sales guys in town and a typical motor life is 5-6 years and costs $225 to replace.  Moisture (see future blog post about humidity sensors), feed quality and frequency of running will cause them to go bad faster.  

3.  Feed motors failing cause feed outages.  Without a full suite of monitoring it is easy not to recognize this problem until it is later than you would like.  By the time it is fixed, the feed outage has likely cost you money and hurt your animals.

So how does it happen?  Its a tough job and barn workers forget about it.  Perhaps a line didn't start in the past and the barn worker blames the delay timer and shuts it off.  There is a lot of things to train and its possible the barn worker was never trained in how to use the delay timers.

We could set alerts around delay timers if we wanted to it would be very easy.  Simply take the current value's timestamp in the store minus the previous value's timestamp in the store and see if it exceeds a minimum delay timer value.  If it doesn't send an alert.  I always hate having pointless, repetitive low-value alerts so I would be more prone to having a once a week check.  Grovestreams does a very good job of allowing you to add unlimited intelligence to the alerting engine.  Perhaps in this case put in the software to look at the average time between feed runs for the past week or count the total feed runs and alert if it exceeds a certain value.  

In addition, monitor your whole site for feed.  If a barn worker is worried about the line starting up on a delay timer we have an alert for that out of the box.  

In conclusion, putting a cost on improper settings on a feed line is nearly impossible and not that large in the grand scheme of things.  The bigger issue is the cost of poor on-site management to livestock operations.  If barn workers are not setting delay timers properly it is an indication of poor management which likely have bigger ramifications throughout that site's production.

Wednesday, August 26, 2015

Monitoring employee's time - Trust but Verify

Ask most livestock producers what the biggest difference between a high performing site and a low performing site and they would tell you the on-farm labor.  Sites with good managers perform well, sites with poor management perform poorly.  FarmStreams entire business exists because of this fact.  Drilling deeper a good indicator of management quality would be the amount of time an employee is on the site.  A 45 minute walk-through and leave is going to have different results than a site that has an employee on site for 10 hours each day.  Its just common sense.

One of the benefits of using FarmStreams is that we can watch over all of the systems for a farm worker while they are gone in a much more intelligent way than the existing alarm systems in the marketplace.  Its almost like extending the management time on a site with software and advanced automation instead of a person.  Its a tough concept to embrace; but it can really be true particularly in systems where the labor force is stretched thin or even the supervisor level is stretched thin allowing workers to take shortcuts because they know that they have a good chance of getting away with it.

So what is our solution?

First, monitor the entire site to ensure all systems are working at all times.  We talk about this at length in the blog and will continue talking about ways we do this.

In addition, install sensors such as door sensors or motion detectors in common areas.  Collect the information and transmit it to the cloud via the MultiSense sensor gateway.  The calculations would be very easy.  Last timestamp in epoch millis minus the first timestamp in epoch milis converted to a decimal hour should be a pretty accurate time on site.  The full suite of alerts for an upper manager would be available.  Less than a certain threshold triggers an alert.  Fully customizable.  Also the full reporting/dashboard graphs would also be available.

I have had personal experience with some barn workers and its often hard to believe them as much as I want to.  When we have feed problems on the site they are never there.  They left an hour ago.  They weren't planning to come until 3pm today, whatever the situation might be 9am or 6pm the story is the same.  Like any business you have good employees and you have bad employees.  I would not say that me calling them and them not being near the site means they are bad.  It could be coincidence.  However if the monitoring sensor kept track of human activity on the site each day you now have a way to go back and know what is going on with that employees time.

As one industry exec recently told me.  Trust, but Verify

Tuesday, August 25, 2015

Machine Learning

Usually I do not blog until the evening times here in Minnesota; but today I stumbled across a very good blog by a very good blogger I follow David White which I had to push out there.  He blogs at www.industrial-iot.com.  The blog I read is here.  He talks about machine learning in industrial applications and I especially like this quote:

"In the long run, a weaker algorithm with lots of training data will outperform a stronger algorithm with less training data.  That’s because machine learning algorithms naturally adapt to produce better results based on the data they are fed, and the feedback they receive."

This has really been true during our trials and tribulations of developing a product.  In the earlier days often we were trying to put a single feed sensor on a line and drive value from that.  We spent a ton of time on our algorithm of that single sensor and got it to be pretty good.  Even with that really good algorithm, the data would quickly get skewed, generate false alerts and leave customers unhappy.  This was painful to go through.  In reality, we needed to have several more sensors feeding in to a robust data platform (like GroveStreams) which then we use all the data streams to interact with each other to provide the valuable information.  As a result of these streams interacting we can then teach the sensors how to be more accurate.  If we use several different sources of data I have now taught devices to be much more accurate over time as David White suggests. This is a huge breakthrough for what we are working on accomplishing.

Often times users are on a budget and only wish to try out certain sensors to save money.  We need to really resist this urge for this very purpose.  All of the streams working together provide a more complete picture of performance and are needed to effectively reach the goals.  If we do go halfways at a site, users need to realize the picture painted may only be halfways completed.

Monday, August 24, 2015

Feed alerting solves costly problems.

In previous blog posts we talked about how remote monitoring can have provide the tools needed for precise feed ordering and feed budget execution.  We have also talked about feed outages in previous blog posts.  In this blog entry I will show you the ways that we handle alerts as it relates to feed.  We have several already set up standard out of the box.  In the coming weeks I will be adding some new alerts to the system.

Alert #1.  Line Empty.  The communication hub on farm is monitoring the Feedmeters on each line.  If it detects that a line is running for longer than a pre-set time (out of the box is 15 minutes) a message is sent to the cloud.  Every X minutes thereafter another message is sent and the Grovestreams alerting engine processes it and sends alerts when your alert conditions are met.  This is a very effective tool for knowing when a feed line is having issues on the farm.

In addition to the alerting, a calculated value counting the feed outages occurring during a turn will be a newly discovered KPI for livestock farms.  Furthermore, calculating the cost of feed outages with this data will begin to have more data behind it, potentially answering that question.

Alert #2.  Line Full.  This is a rare alert condition; but can happen.  This is when a tube or something in the barn comes loose and feed spills on the floor.  The Feedmeter can detect the difference between an empty and full line very well.

Alert #3.  Time between feed events.  Out of the box the setting is 5 hours but it can be customized. Grovestreams handles this issue very intelligently.  Using an interval stream, we look to see how many pounds of feed have been fed in a period of time, an hour but can be more granular if needed.  If the pounds is zero then add a 1 to the previous value.  Once the stream becomes equal to or greater than 5, send an alert.  In the alert settings, I set this to check in on the alert condition every hour and if the line still hasn't reported a feed event you are reminded of the issue.  This is an important function because on Alert #1 often times feed lines will time out after a period of time.  Alert #3 with the reminders makes sure that the issue is not forgotten.  

Furthermore on Alert #3 often times animals sleep at night.  This is particularly prevalent in turkey and poultry.  So, rather than getting alerts in the middle of the night that no feeding has occurred you simply set a time filter to ignore night time missed feed events.

The image below shows the previous 21 days of spikes in periods where a feed line has not run.  As you can see that overnights sometimes the pigs don't eat on this line until morning.  If the value exceeded 5 you would get an email.

Alerts 1-3 are problem alerts.  If these occur someone needs to fix it immediately.  

We also have other alerts that are possible and would be quite easy to model.  For example,

Concept #1 - Alerts around feed intake / animal as compared to a budget.  If the intake is different from the budget by X% an alert is sent, perhaps once a day or once a week.  It could even alert differently based upon how big the difference is from the budget.  

Concept #2 - Alerts around bin rotations, feed budget management.  Alert when the feed bins are not rotated properly.  We have identified these issues in previous blog posts.  Calculate how old feed is on site, perhaps you have some KPI's on that and we want to minimize age.

Concept #3 - Alerts around movements in feed intake.  This happens with every group of animals.  At some point they really take off and it can surprise you.  Their feed intake can jump up significantly and you run the risk of a bin running empty.  Run an alert to tell you when the previous day's intake differs from the previous 5 days by X% or more.  Investigate why that happened.

Concept #4 - Alerts around bin deliveries.  This can and will become more important as feed ingredient traceability becomes more important particularly when medications are in the feed.  Alert concepts here would include: If bin fill event occurs > X hours from feed production (API push from mill to Farmstreams).  Bin fill event occurs without a feed production event.  Anything that relates to exceptions in that handshake between the feed mill and the correct bin filling transaction is an alerting event.

In conclusion, the alerting engine has a lot of very useful tools for providing customized information to a user and weed out false alerts.  The first 3 alerts I identified that come standard with FarmStreams today are critical for livestock producers to have.  There are clear payback scenarios here and good management would require knowledge that animals have regular feed.  The others are provided to show you just how powerful our platform can be for advanced analytics.  Likely not immediate applications; but as we start improving the every-day management of barns by using tools like FarmStreams offers I am confident we will start diving into those details in the coming years.

Thursday, August 20, 2015

Entering Temperature in Mobile App

In my last blog entry, we identified temperature sensors as being a low-cost sensor providing valuable information to barn workers, managers and analysts in a livestock operation.  If installing sensors and connecting them to the cloud is not in the cards but the data would be valuable to collect perhaps the mobile app is a worthwhile option.




















Select the temperature icon from the customize-able list of options.


Select the Group reporting.  This is a drop-down based upon groups your user-id has access to update.  Timestamp is set at the current timestamp, cannot be edited in the standard option.  Then an decimal entry field for low (required), average (not required) and high (required).  Most barn controllers will have options for a user to look at the previous day's high and low reading.

Once the data is collected in the cloud, charts showing the data over time are standard.  Other analytics are also possible as we discussed in the last blog entry.

The mobile app option is an improvement over just leaving the data in the barn on the controller.  Some of the improvements are:

1.  A requirement for the barn workers to look at the temperature every day.
2.  Getting the data into the cloud gives you flexibility and centralization to your process improvements efforts.  Also an ability to correlate data to other interesting data like feed, water, and mortalities to name a few.
3.  If barn workers are not doing the work each day, you can structure alerts around missing data.  If a barn worker does not enter temperature for 30 hours an alert goes to their direct supervisor.  If 72 hours passes it escalates to a manager.  Rapid feedback of compliance issues.

The mobile app still has some potential flaws, including:

1.  Barn workers may falsify data entries if it makes them look bad.  Difficult to prosecute.
2.  Actionable alerts are delayed versus real time sensor data.

In conclusion, logging temperature data in a mobile app is a low-cost step for well-run producers to more easily collect on-farm data into the cloud for analytics or push into their own enterprise systems.  For poorer managed sites, it is a step in the right direction for behavior and process improvement.  FarmStreams mobile app runs on both Android and IOS.  Contact us to set up your site today.

Wednesday, August 19, 2015

Sensor Spotlight: Temperature

Air temperature is a very important measurement in hog and poultry barns around the world, impacting animal health, feed consumption and growth.  Every single barn controller system I am aware of has temperature readings which control various heating/cooling/ventilation equipment to maintain the optimal temperature within the barn.  Most of these controller systems either do not store the information or keep it locally which is not helpful for analytics.  Many producers also likely pay for an alerting service which temperature is likely a variable that is alerted upon if it is too high or too low.

Logging the temperature data in the cloud can be very valuable.  By connecting an existing controller to a cloud service like Grovestreams (which will be possible with the MultiSense Plus soon to be available) or by installing independent temperature sensors you now have that data logged forever.  You can simply produce charts which show the temperature over time, the average/high/low for a day over time or a variety of display options.  This is generally easy stuff for most data platforms to handle.  GroveStreams does it well; but so do others.


What we can do in FarmStreams using the GroveStreams platform is far more in-depth.  

One area is in the alerting engine.  Most alert systems are set up to be very simple.  Is it higher than a high threshold, call.  If its lower than a low threshold call.  A basic alert protocol in our alerting engine could be to set different thresholds based on the age of the animal.  At day 7, 92 degrees is the high threshold, at day 60, 84 degrees is the high threshold.  Other more involved alerts could include feed intake, if temperature is below 50 degrees in the barn and the animals have consumed over 6 pounds of feed in the last 24 hours.  That also could be a sliding scale: ex 3 pounds when they are 7 days old, 6 pounds when they are 67 days old.  It could be an alert based upon a percentage over or below budget also tied to temperature.  I am not saying these are practical alerts to execute; just showcasing how complex an alert condition could be set up as in our platform.

In addition to the more in-depth alerts we also can do some real interesting analytics with all of the data points.  Since we have accurate hourly intake information we can easily compare very granular actual versus budget for different temperature levels.  We can use time-filters to look at consumption at different times of the day actual vs budget across an entire system for different temperature levels in the barn.  I am not suggesting this is a priority task to do today or even next year.  As we have documented earlier, simple execution of feed orders and bin switching are low-hanging fruit to tackle now.  But for hardcore analytics like myself, it is easy to see how when a major livestock production system decides to adopt a Big Data IoT initiative the separation from the pack will be swift.  The way in which this industry leader will separate is through the process verification tools, like we have been talking about on the blog - which impacts things on the monitoring and total quality management side; but also from the robust and powerful analytics engine like GroveStreams on the data benchmarking side.  In my humble opinion this will quickly separate them as a low-cost, high-quality producer.

In conclusion, capturing and storing temperature data is very easy.  It is a very important part of hog and poultry operations in terms of animal health, feed intake and growth.  FarmStreams can 
  • capture the information down to the second if so desired, 
  • store it, 
  • send it to your enterprise level system as a raw value or calculated value at customized intervals, 
  • chart it, 
  • perform simple or complex alerts, 
  • engage in some hardcore analytics/benchmarking (in real time).  
In a data hungry industry this is far superior to sitting on a controller in the barn.  In my next blog post I will show how we created another weaker (but cheaper) solution for uploading the data via the FarmStreams mobile app.

Monday, August 17, 2015

Entering Water in Mobile App

Not everyone will have the budget to install water meters but still have a need to pull water information off the farm into the cloud and/or into their enterprise level software system.  In my previous blog I explained the way on farm water meters work and how a user might get a payback (beyond just the peace of mind that your animals are always getting water or that water is not spilling all over your barn).  Many of the same ideas can apply with entering water readings into the mobile app; but with far less real-time alerting or off-hours coverage.

The app has a water screen located here:


Once you select Water you open a screen that looks like this:


Select the barn you are inputting water data for.  

The times are not editable.  What you see is the current timestamp and the previous entry's timestamp.  

Enter the reading as you see it on the meter right in front of you.  The previous reading is shown on the screen for comparison purposes.  The water usage is calculated for you.

Select "Submit Water" and the gallons used for the previous period is submitted.  

Right now the total gallons with the current timestamp is what goes to the store.  This can cause bumps in the data when the data is not entered regularly at the same time.  A enhancement forthcoming soon in GroveStreams will allow us to submit an average gallons per minute rate (or per hour or whatever is easiest) and drop data in the store that is smoothed out for each unit of time between the previous timestamp and the current timestamp.  Although most enter water data daily, barn workers could enter the information at the beginning and end of the shift for more accurate time-series data.

Cons of the mobile app reporting water:

1.  Major leaks or other water-related issues that happen when no one is there will not be known until the barn worker arrives again the next day.

2.  If barn worker forgets to enter the data in a day or several days in a row the data can get bad quickly.  On that note, an administrator can set the maximum hours without a report as an escalated alert event.  For example, if 36 hours passes without the barn worker entering any water data their supervisor would get an email.

3.  Without a sensor you are relying on the barn worker to honestly report the information.  If a major leak occurred or animals go without water they may try and cover it up by falsifying the data entered.

Conclusion:

Most all livestock producers try and collect water records on a daily basis.  This is typically done with paper-based record keeping and maybe phoning or emailing the records in on a weekly basis.  Water meters connected to the cloud is the best way to monitor; but for budget-minded producers a mobile app can also be an effective way to collect water information remotely, analyze it and create alerts off the data.  If the goal is to get water data from a mobile app into your enterprise level system that can be accomplished also.  FarmStreams provides a simple water collection page in the app today with enhancements forthcoming that will make it even better.

Sunday, August 16, 2015

Sensor Spotlight: Water Meters

Most of our discussion so far has been on the feed side of livestock agriculture: ordering properly, feed outages, feed budgets and overall execution of the feed side.  There is a lot of money left on the table in feed execution for a typical livestock producer, that is my belief.  Water consumption and air quality are right up there.  Water is something that can be monitored fairly easily and is growing in importance in a world that is more concerned about its water resources than ever before.  Monitoring can provide actionable alerts with payback as well as provide a lot of insight into animal health and should be a key performance indicator.

Basic Water Monitoring.

There are many different types of water meters in the market today.  Every barn I have been in has a water meter with a gallon count.  Most barn workers are required to write down the water reading each day, subtract from the previous day and attempt to keep track of daily water usage on a piece of paper at the barn.  Many water flow meters come with a digital, or pulse output, which can then be connected to a Multisense gateway and sent into the cloud.

Alerts.

Once the water reading is sent to the cloud it passes through the customize-able alert engine to determine if an alert condition has been met with the individual piece of data.  Furthermore, Grovestreams allows alert conditions to be set as data is aggregated, calculated or whatever you might wish to do with the data over time.  For example, a standard alert condition that I have set up for each water monitoring install is at 1201am, I look at the previous day total water / animal vs the previous 5 days average.  If that total is 90% or less or 110% or more it triggers an email alert.

I have not set it up; but a user could also check this total at different points of the day, perhaps at 10am it could be compared to the previous 5 days midnight to 10am total / animal.  Again at 4pm and finally at midnight.

A user may also wish to trigger an alert condition when so much water is flowing it can only be attributed to a leak.  If water consumption spikes > 500% in a given hour compared to the average hour.  Or if the barn manager wants to know if 50 gallons or more is recorded in an hour all of those alerts could be set up around water usage.

A 5 day water / animal average chart is shown below.  One day on Aug 4 there was a drop in water consumption by 9%.  I am not sure the cause.  Otherwise, most days have shown a 3-5% increase from the previous day.


Many users wish to see the data in a column chart versus the previous X days.  That can look something like this.  Or we can put it in a dashboard ready for viewing at any given time.


Payback opportunities.

With water there are quite a few payback opportunities that arise from having solid monitoring and analytics programs around it.  A few worth pointing out.

1.  Manure level and quality.  Water leaks or poor nipple settings that result in large quantities of water in the manure pit or on the poultry side in the litter can have costly consequences.

a.  With swine, having to empty a pit in the spring time is not ideal.  Even if a spring pumping is avoided, extra gallons to pump can add up.  Pumping manure pits is estimated to cost 1-2 cents per gallon.   50,000 additional gallons of water in the pit can cost $500-1000 annually.  Plus crop producers want to pay for nutrients, not water.  Diluted manure can be harmful to maximizing the value of your manure.

b.  With poultry, wet litter causes increased ammonia levels and a worse environment for the bird.  This can be costly to the production costs.

2.   Drops in water consumption can help a producer detect health challenges in a group.  Any tools that help detect health issues sooner can result in big savings for that group of animals.

3.  A serious malfunction like a well pump failure or leak that results in animals not getting water for a period of time can be very costly just like a feed outage can be.  The sooner that type of problem is identified and water is restored to the animals the more productive the animals will be.

Water meters themselves are not expensive.  Connecting them to the cloud/internet can be.  Installing water meters in addition to other sensors, such as bin sensors and feed line sensors is incrementally low-cost.

In conclusion, water meters are a proven well known technology.  Connecting them to the cloud and putting heavy analytics to the data is a logical next step for animal agriculture.  Particularly when water use in agriculture is a growing concern in many parts of the world.  Alerts that allow barn workers to fix leaked or broken water lines quickly can save money.  Trends that suggest health challenges can alert veterinarians to sick animals before it is too late.

Thursday, August 13, 2015

Executing the feed budget is tough!

An issue on proper bin switching caught my attention earlier today.  What I am talking about is on farms with tandem bins installed the standard practice is to run Bin 1 empty with Bin 2 slide shut, open Bin 2 slide and close bin 1 slide, deliver feed to Bin 1 with slide shut, run Bin 2 empty, open Bin 1 slide and shut bin 2 slide, order feed for bin 2.  Repeat.  In reality this can be very difficult to do.  Bins can run empty in the middle of the night so barn workers will switch slides before they go home for the night.  They forget to close the empty slide the next morning and pretty soon the bin situation is chaos.

One of the farms I am monitoring I noticed a couple days ago that on one of the tandem bin groups we had the feed emptying out of the same bin two times in a row.  When you look at the chart from the bin sensors you can see it clearly.


A couple things are contributing to the mayhem on this site:
  • Many of the feed deliveries have come in feed on feed causing problems.  If you look at Bin 21 in the chart above, you can tell that since the turn began the feed has yet to show below the low sensor (which is in the bin's cone).  We need to get bins 100% empty before putting new deliveries on top of them...especially early in the turn.  The feed on feed deliveries is also contributing to feed flow issues.  
  • The feed flow issues are causing ratholing and side-sticking of the feed in the bins making it much more difficult to visually estimate inventory causing poor ordering.
  • The primary barn manager has been out nursing a broken wrist (non-work related) so we have had fill-in workers on site.  This makes it harder to keep track of where the bins are at on deliveries and which one should be pulled from.

I believe feed outages are probably the biggest contributor to poor ADG and feed efficiency in animals.  I would be very interested in figuring out how a well executed feed budget versus a poor or average executed feed budget compares performance wise.  Fresh feed and the correct feed at the right time should make a big difference in how well a group of animals performs.  On this particular farm, we have not done a very good job so far on executing the budget but we are determined to turn it around over the next 90 days.  I hope its not too little too late.

Short term solution:
  • Order feed remotely (already done)
  • Completely empty feed bins before taking new feed deliveries.
  • Generate email to barn manager daily (have software create email) on which bin slides should be open and which should be shut.  The algorithm will be rather simple.  Whichever bin had a feed delivery longer ago but is not in an empty state is the slide that should be open.
  • Try and determine the performance difference between poor and excellent tandem bin and feed budget execution.
Longer term solution?

Can software and a bin slide open/close device solve?  Probably.  Just take the person on the farm with 100 other things to worry about and manage right out of it.  FarmStreams currently does not send any commands back into the barn; but we could.  Grovestreams is already capable of sending commands back out through its API.  The communications hub can receive commands and act upon them in the barn.  A google search shows that ChoreTime has developed this device already which hooks into their controller.  I have never been on a pig or poultry farm that had it installed so I can't say how it work but I will be looking into it.  Perhaps this or something similar could be something worth looking at including in the FarmStreams suite of solutions.

Sensor Spotlight: Feedmeter

Many years ago, Feedlogic began development of a feed line sensor with the purpose of estimating feed flowing through a standard auger line.  The way that it works is that a box with a sensor, small computer and a wireless RF communication chip is strapped to any size auger line between the feed line coming into the building and the first drop.  This is a very durable device with Feedmeters that have been in barns for over 3 years still working as they did when they were installed.  An image of the Feedmeter is shown below.


The Feedmeter can

1.  Fairly accurately estimate the duration of feed events, especially events that are longer than 10 seconds.
2.  Estimate feed weight delivered by event.
3.  Alert a user to a feed related problem.

How does FarmStreams use and improve the information from this sensor in our system?

1.  Upon arrival we pass each data point through our robust alerting engine.  Alert conditions are customizable by user; but the key ones are going to be around feed outages and then some of the analytics comparing actual feed usage to budget.

2.  Based upon other streams - mostly software streams (budget information) and BinLogic bin level sensor streams we can calibrate the weight data in the cloud, improving accuracy.

3.  The estimated feed intake predicts when feed orders will need to be placed.  Software can place the orders or a person reviewing the data can place the orders.

4.  Create actual intake curves and compare them to a customizable budget threshold curve.


5.  Estimate average weight of the animal and compare to a budgeted weight.  A future sensor spotlight will focus on scales that can be integrated with FarmStreams.


In conclusion, the Feedmeter can provide at its very basic level a very good alerting tool for feed problems.  Most experts believe that feed outages are the biggest contributor to poor ADG and feed conversion.  The reasons for the feed outages vary but the first step is knowing about them, recording them and fixing them as they happen.  Not all sites have these problems; but sites that do should strongly consider installing Feedmeters to get a handle on the situation.  In addition to the immediate alerting functionality, the Feedmeter provides the analytic guys a whole wealth of information in real time that can be used to improve processes within the system.  I would strongly recommend installing both the Feedmeter and BinLogic simultaneously for maximum accuracy in the data.  As Peter Drucker often said - "If you can't measure it, you can't improve it."

Tuesday, August 11, 2015

Ordering feed can get complex...fast!

One of the hog sites we are monitoring with the FarmStreams sensors and mobile app program is a 3 barn, 6 group site.  Each of the three barns is split in the middle to make 6 groups.  Each of the 6 groups has a set of tandem bins delivering feed to two feed lines in each group.  Total of 12 feed bins, total of 12 feed lines.

The barn worker at the site has been ordering the feed aggressively as we documented in a previous post.  The typical routine has been to order a half load (12T) for 1 of the bins on each side of a building.  Example, Bldg 1, East Side (12T) + Bldg 1, West Side (12T).  Bldg 2 orders always get grouped, and bldg 3 orders always get grouped.

We are only 6 weeks (42 days) into the turn and the feed inventory is already flipped upside down.  It can happen very fast.  Bldg 3 east side has 1 bin empty, and Bldg 3 west side is essentially full with both bins.  The software is accurate as was attested by the barn manager in a physical inventory taken earlier today.


How does this happen?

1.  Placements of animals is uneven in the groups.
2.  A group hit harder with mortalities or health challenges can also throw intake projections.
3.  Average weight of the animals starting is not the same between the groups.
4.  Poor feed ordering.  Feed deliveries when their is not room in the intended bin results in the truck dropping feed in other bins.
5.  Pigs, chickens and turkeys can eat differently.  Perhaps the environment is different or the feed quality differs between groups.
6.  Feed delivery trucks can make mistakes and feed that everyone thinks ends up in a bin can end up in a different bin all together or back at the feed mill.

So, why is this a problem or who cares?

1.  When the bins get out of whack it is more difficult to keep track of.  No one ever wants to run out of feed so there is a tendency to over-order feed.
2.  It is also very easy for the bin getting depleted much faster to run out of feed too quickly leaving the site with a set of bins out of feed for a period of time.
3.  Delivering feed on feed can cause flow issues.
4.  Delivering feed on feed can cause the nutrition plan to not be executed as well as planned.
5.  For companies keen on analytics, having this information available in a robust database to

What is the solution?

Use the BinLogic sensors and feed line sensors to keep track of inventory.  Integrate with feed mill software to ensure accurate and timely deliveries.

Saturday, August 8, 2015

Feed inventory in mobile app

We discussed using various sensors to estimate on farm feed inventory in the last blog entry.  Several different sensors are on the market, we prefer the BinLogic sensor for its simplicity and cost.  Whatever sensor is used, getting the data into Grovestreams for analytics/alerting is crucial.  However, in some cases some farms may still want the person at the farm to climb bins each week or several times a week and take a feed inventory and report it more efficiently to the feed mill or management.  Even if bin sensors are installed it may be valuable to also get physical inventory entries on the site pushed into the data store.

Here is how it works.  The Farmsteams mobile app allows for a user to submit feed inventory based on a visual assessment of the feed bins on the farm.  The app has been programmed to allow setting up to 10 feed bins for each group housing unit.  Any more would be a custom programming request.  A user on the farm must submit feed inventory for all feed bins in the group during a single submission.  This ensures the most accurate data in the data store.  A screenshot of the app's interfact is shown:


The FarmStreams mobile app (which can be downloaded here:) 
       Android http://tinyurl.com/mqgskr3
       Apple http://tinyurl.com/pclejlh

Pros/Cons.

Pros:

1.  Writing down and calling/faxing in later has flaws.  Timing may be off, people lose their scribblings, the person answering the phone might not be available, etc.  Entering in the mobile app as it happens reduces lost communications and bad data.

2.  Grovestreams alerting engine allows us to set alerts around timing of entries.  If the rule is once a week to take an inventory, management can get an alert to their email on the 8th day without an entry.  Easier to manage than reviewing a spreadsheet or scribblings in an office.

3.  Phone calls and faxes are difficult to track for employee performance.  The database is set up to keep track of all the times it was entered but also can be set up to track all the times it was supposed to be entered but wasn't.  This can be included in the report at the end of the turn.

4.  Software streams can produce graphical feed curves, compare to a budget range, estimate feed orders, etc.  An example graphical feed curve chart that looks like below can be produced and delivered via email daily/weekly/etc. or accessed in real time by logging into the platform and viewing your dashboards.


Cons:

1.  People don't always climb the bins, perhaps they throw a rock or just guess.  Climbing the bins in January isn't fun.

2.  Feed, particularly mash feed is very difficult to estimate visually.  It doesn't always flow evenly and peering down the top of a bin can be visually tricky.  The bin sensors like BinLogic and ultrasonic have similar issues; but at least their error factors should be relatively consistent.  Meaning that a 1/2 ton discrepancy from actual is consistent every reading which minimizes the noise in the reading data and can be dealt with in software.

3.  May be difficult to enforce at some sites (likely your worst performers).  If they are not climbing bins now giving them an app and asking them to do it isn't going to change that.  Perhaps with the Farmstreams mobile app and the powerful back-end data system, management could implement incentive programs with measurable performance standards.

Strategy: Installing bin sensors is the best; but if that is not possible entering the inventory in a mobile app is better than the way it is normally done of calling or faxing data in.  If a user is not ready to go all the way with fully integrated sensor systems the mobile app can be a great way to get started collecting important information from the farm site and using cloud-based Big Data technology to find value in your livestock operation.