Chapter 05: IoT, Sensors, and Automation

Introduction

This chapter provides comprehensive coverage of IoT sensor networks, automation systems, and data-driven decision making in vertical farming. Modern vertical farms rely on sophisticated monitoring and control systems to optimize growing conditions.

5.1 The Role of IoT in Vertical Farming

The Internet of Things (IoT) transforms vertical farming by connecting sensors, actuators, and control systems into an intelligent network. This enables real-time monitoring, data-driven decision-making, and automated responses to changing conditions. Modern vertical farms are essentially data centers that grow plants, generating terabytes of environmental, crop growth, and resource consumption data annually.

5.1.1 IoT Architecture Overview

Sensor Layer: Physical sensors collecting environmental and crop data (temperature, humidity, CO₂, pH, EC, light intensity, cameras for visual monitoring). Network Layer: Wired (Ethernet) or wireless (WiFi, LoRa, Zigbee) connections. Edge gateways aggregating sensor data. Platform Layer: Cloud or on-premise servers. Data storage and processing. Analytics and visualization. Application Layer: User interfaces (web dashboards, mobile apps). Control algorithms. Alerts and notifications. Reporting and analytics.

5.2 Sensor Types and Technologies

5.2.1 Environmental Sensors

Temperature Sensors: Thermocouples (K-type, J-type): Rugged, wide range (-200°C to 1350°C), inexpensive. RTDs (Pt100, Pt1000): More accurate (±0.1°C), stable, industrial standard. Thermistors: High sensitivity, limited range, good for narrow temperature control. Digital sensors (DS18B20, SHT series): Built-in ADC, I²C/1-Wire communication, popular for DIY systems.

Humidity Sensors: Capacitive RH sensors (most common): Measure dielectric constant change with moisture. Accuracy ±2-3% RH. Require periodic calibration. Resistive RH sensors: Measure resistance change with moisture absorption. Lower cost but drift over time.

CO₂ Sensors: NDIR (Non-Dispersive Infrared): Gold standard for accuracy. Measure IR absorption at 4.26 μm. Accuracy ±30-50 ppm. Lifespan 10-15 years. Chemical sensors (MOx): Lower cost, less accurate, shorter lifespan. Suitable for non-critical applications.

Light Sensors: Quantum PAR sensors: Measure photon flux (PPFD) in 400-700 nm range. Calibrated in μmol/m²/s. Essential for light uniformity verification. Lux meters: Measure illuminance (human-perceived brightness). Not suitable for plant lighting (wrong spectrum weighting).

5.2.2 Water Quality Sensors

pH Sensors: Glass electrode pH probes (most common): Measure hydrogen ion activity via membrane potential. Accuracy ±0.01-0.05 pH. Require storage solution, monthly calibration. ISFET pH sensors: Solid-state, no glass breakage, faster response. More expensive but longer lifespan.

EC (Electrical Conductivity) Sensors: Contacting electrodes: Two or four-electrode designs. Measure solution conductivity (related to dissolved salts/nutrients). Accuracy ±1-2% reading. Require regular cleaning (mineral deposits). Non-contacting (toroidal) sensors: No electrodes to foul, maintenance-free. Used in industrial systems.

Dissolved Oxygen (DO) Sensors: Polarographic sensors: Membrane-covered electrode consumes oxygen. Galvanic sensors: Self-generating, no power needed. Optical (luminescent) sensors: Latest technology, no membranes, low maintenance. Critical for DWC and other high-water-volume systems.

5.2.3 Growth Monitoring Sensors

Cameras and Computer Vision: RGB cameras: Monitor plant color, size, morphology. Detect nutrient deficiencies (color changes). Time-lapse growth tracking. Multispectral cameras: Capture specific wavelengths (e.g., NIR for NDVI). Early stress detection before visible symptoms. Expensive but powerful for high-value crops. Thermal cameras: Detect temperature stress, irrigation issues. Identify hot/cold spots in canopy.

Plant Growth Sensors: NDVI sensors: Measure normalized difference vegetation index. Indicator of plant health and chlorophyll content. Chlorophyll fluorescence sensors: Measure photosynthetic efficiency. Early stress detection. Research and premium applications. Stem diameter sensors: Track growth rate, water stress. Continuous monitoring of plant development.

5.3 Wireless Communication Protocols

ProtocolRangeData RatePowerBest For
WiFi50-100mHigh (Mbps)HighVideo, high-data sensors, powered devices
Zigbee10-100mLow (250 kbps)Very LowMesh networks, battery sensors, low power
LoRa/LoRaWAN2-15kmVery LowUltra LowLong-range outdoor sensors, battery-powered
Bluetooth/BLE10-50mMediumLowSmartphone integration, wearables
Cellular (4G/5G)Wide areaHighMediumRemote monitoring, backup connectivity
Ethernet/Wired100m per segmentVery High (Gbps)Powered (PoE)Critical sensors, stable connections

5.4 Data Acquisition and Edge Computing

5.4.1 Edge Gateways

Edge devices collect sensor data locally, perform preliminary processing, and forward to cloud or central server. Benefits: Reduced latency for time-critical controls; Bandwidth savings (process locally, send summaries); Continued operation if cloud connection lost; Privacy/security (keep sensitive data on-site).

Popular Edge Platforms: Raspberry Pi: Low-cost, versatile, huge community. Great for prototyping and small systems. Arduino/ESP32: Microcontrollers for sensor nodes. Low power, real-time control. Industrial PLCs: Rugged, reliable, expensive. Standard for large commercial operations. NVIDIA Jetson: AI-capable edge devices. Computer vision and machine learning at the edge.

5.4.2 Data Logging and Storage

Time-Series Databases: Optimized for sensor data with timestamps. InfluxDB: Open-source, high-performance, popular for IoT. TimescaleDB: PostgreSQL extension, SQL compatibility. Prometheus: Monitoring and alerting focused.

Cloud Storage: AWS IoT Core + S3: Scalable, pay-as-you-go. Azure IoT Hub: Microsoft cloud ecosystem. Google Cloud IoT: ML/AI integration.

Retention Policies: Raw sensor data: 30-90 days. 1-minute averages: 1 year. 1-hour averages: 5 years. Daily summaries: Indefinite. Crop cycle data: Permanent (for analysis and improvement).

5.5 Automation and Control Systems

5.5.1 SCADA Systems

SCADA (Supervisory Control and Data Acquisition) provides centralized monitoring and control. Features: Real-time dashboards; Historical data visualization; Alarm management; Remote control; Recipe management (environmental setpoints); User access control and audit logs.

Commercial SCADA Platforms: Priva: Leading greenhouse/vertical farm automation. Autogrow: IoT-focused, cloud-based. Argus: Comprehensive climate control. Grodan GroSens: Focused on substrate moisture management.

5.5.2 Automated Irrigation Control

Precision irrigation based on real-time data maximizes efficiency. Control strategies: Timer-based: Simple, reliable, but not adaptive. Sensor-based: Adjust irrigation based on EC, pH, substrate moisture. ML-based: Predict irrigation needs based on growth stage, weather, historical data.

Implementation: EC/pH sensors in nutrient reservoir. Solenoid valves for each irrigation zone. Dosing pumps for pH adjustment and nutrients. Flowmeters to track water usage. Controller (PLC or IoT platform) executes irrigation schedules.

5.5.3 Automated Climate Control

Respond to sensor data in real-time to maintain optimal conditions. PID Control Loops: Temperature control: Sensor → PID controller → HVAC output. Humidity control: RH sensor → PID controller → dehumidifier/humidifier. CO₂ control: CO₂ sensor → PID controller → CO₂ injection valve.

Interlock Logic: Don't inject CO₂ if exhaust fans running (waste). Don't run heater and cooler simultaneously. Turn off humidifier if dehumidifier active. Ensure minimum fresh air exchange even in sealed rooms.

5.5.4 Automated Lighting Control

Programmable photoperiods and spectrum recipes. Features: Sunrise/sunset dimming (gradual transitions); DLI tracking (adjust intensity to hit daily target); Spectrum adjustment by growth stage; Energy optimization (dim during peak electricity rates); Integration with daylight harvesting (if applicable).

5.6 Alerts and Notifications

5.6.1 Alert Types

Critical Alerts (Immediate Action Required): Temperature >30°C or <10°C; Humidity >90% or <30%; CO₂ >3000 ppm (safety); pH <4.0 or >8.0; EC out of range (plant stress); Equipment failure (pump, HVAC); Power outage. Delivery: SMS, phone call, mobile push notification, email.

Warning Alerts (Attention Needed): Temperature approaching limits; Humidity trending up/down; CO₂ depletion; pH/EC drift; Low nutrient reservoir level; Filter maintenance due. Delivery: Email, mobile app notification, dashboard indicator.

Informational Alerts: Harvest window approaching; Crop growth milestone reached; Daily/weekly reports; System maintenance reminders. Delivery: Email, scheduled reports.

5.6.2 Alert Configuration

Threshold Settings: Set upper and lower limits for each parameter. Configure hysteresis (prevent rapid on/off alerts). Define alert priority levels. Specify escalation rules (if not acknowledged in X minutes, escalate).

Notification Routing: Different alerts to different people (temp alerts to HVAC tech, water alerts to grower). On-call schedules for 24/7 coverage. Group notifications for coordinated response.

5.7 Data Analytics and Insights

5.7.1 Descriptive Analytics

What happened? Historical dashboards show past environmental conditions, crop yields, resource usage. Reports identify trends (seasonal patterns, equipment performance).

5.7.2 Diagnostic Analytics

Why did it happen? Correlate environmental data with crop outcomes. Example: Low yields in Batch 23 correlated with temperature spikes during flowering. Root cause analysis: Identify equipment failures, process deviations.

5.7.3 Predictive Analytics

What will happen? Machine learning models predict: Optimal harvest timing; Equipment failure (predictive maintenance); Yield forecasts; Resource consumption. Benefits: Proactive rather than reactive management; Optimize production scheduling; Reduce downtime and losses.

5.7.4 Prescriptive Analytics

What should we do? AI recommends actions: Adjust climate setpoints for yield optimization; Change irrigation schedule based on growth stage; Optimize lighting spectrum for quality; Schedule maintenance before failure.

5.8 Machine Learning Applications

5.8.1 Yield Prediction

Train models on historical data: Features: Environmental data (temp, humidity, CO₂, light), nutrient parameters (EC, pH), crop variety, growth stage, past yields. Target: Final yield (kg), days to harvest, quality grade. Algorithm: Random Forest, Gradient Boosting, Neural Networks. Result: Predict harvest yields weeks in advance for better production planning.

5.8.2 Disease Detection

Computer vision + deep learning identify diseases early. Training: Collect thousands of images (healthy and diseased plants). Label images (disease type, severity). Train Convolutional Neural Network (CNN). Deploy model on edge device (e.g., camera + Jetson Nano). Benefits: Early detection (before visible to human eye); Automated monitoring (no manual scouting); Reduced crop losses.

5.8.3 Growth Stage Classification

Automatically identify crop growth stage from images. Stages: Seedling, vegetative, flowering, harvest-ready. Application: Adjust environmental conditions automatically; Optimize resource allocation; Improve harvest timing accuracy.

5.8.4 Anomaly Detection

Identify unusual patterns that may indicate problems. Methods: Statistical methods (standard deviation, moving averages). Unsupervised learning (clustering, autoencoders). Time-series forecasting (LSTM networks). Examples: Sudden EC spike (dosing pump malfunction); Unusual growth rate (pest or disease); Temperature pattern anomaly (HVAC failure developing).

5.9 Robotic Automation

5.9.1 Seeding and Transplanting Robots

Automate labor-intensive planting tasks. Functions: Seed placement in growing media; Transplanting seedlings to final positions; Spacing optimization. Benefits: Consistent seeding depth and spacing; Labor cost reduction; Faster throughput; Reduced human error.

5.9.2 Harvesting Robots

Most challenging automation task in vertical farming. Technologies: Computer vision identifies ripe produce; Robotic arms with soft grippers; Cutting mechanisms (blades, lasers). Challenges: Variety in plant morphology; Delicate handling required (no bruising); Speed vs. gentleness tradeoff. Status: Early commercial adoption for lettuce and herbs; Not yet economical for most crops.

5.9.3 Mobile Monitoring Robots

Autonomous robots patrol growing areas with sensors and cameras. Capabilities: Visual inspection (disease detection, growth monitoring); Environmental monitoring (temperature, humidity at various locations); Data collection for machine learning training. Examples: FarmBot (open-source), Iron Ox mobile robots.

5.10 Integration and Interoperability

5.10.1 API Standards

RESTful APIs enable integration between systems. Example: Irrigation controller exposes API; SCADA system reads sensor data via API; Machine learning platform sends control commands via API.

5.10.2 Data Standards

WIA-AGRI-018 defines standard data formats (JSON schemas). Ensures compatibility between vendors. Facilitates data exchange and aggregation.

5.11 Cybersecurity

5.11.1 Threats

Vertical farms are cyber-physical systems vulnerable to attacks. Risks: Unauthorized access to control systems; Data theft (proprietary growing recipes); Sabotage (changing setpoints to kill crops); Ransomware. Consequences: Crop losses; Intellectual property theft; Business disruption; Food safety concerns.

5.11.2 Security Best Practices

5.12 Conclusion

IoT and automation transform vertical farming from labor-intensive manual work to data-driven precision agriculture. Sensors provide real-time visibility into every aspect of the growing environment. Automation ensures consistent execution of optimal growing strategies. Machine learning unlocks insights hidden in vast datasets, continuously improving yields and efficiency. While implementation requires significant upfront investment and technical expertise, the long-term benefits—reduced labor costs, higher yields, better quality, and optimized resource use—make automation essential for commercial-scale vertical farming. In the next chapter, we'll explore crop selection and production planning strategies to maximize the value of your automated systems.

Korea Digital Transformation Detailed Mapping

Korea operates digital transformation through a comprehensive governance system. Digital Government: Digital Platform Government Committee (established September 2022, under the President)·Ministry of the Interior and Safety Digital Government Bureau·e-Government Support Center·Gov.kr·National Citizen Service·KDIS (Korea Digital Information Society)·NIA (National Information Society Agency)·MOIS (Ministry of the Interior and Safety). K-DNS Infrastructure: Korea Internet & Security Agency (KISA) Korea Internet Center·KISA DNS Root Server·KRNIC (Korea Network Information Center)·BGP Korea·National Cyber Security Center (NCSC)·KCC (Korea Communications Commission)·MSIT (Ministry of Science and ICT)·NIA·NIPA. Korean Cloud Infrastructure: KT Cloud·NAVER Cloud (NCloud)·Samsung SDS Cloud·LG U+ Cloud·NHN Cloud·Kakao Enterprise Cloud·SK Telecom Cloud·KISA Cloud Security Assurance Program (CSAP)·KCMVP-validated cloud·ISMS-P (Information Security & Personal Information Management System). Korean Security Certifications: KISA ISMS-P certification·KCMVP (Korean Cryptographic Module Validation Program)·NIS (National Intelligence Service) "National Cryptographic Technology Operation Standards"·NCSC "National Cyber Security Strategy 2024-2028"·CC (Common Criteria) Korean evaluation bodies·EAL4·EAL5·KS X ISO/IEC 15408·19790·24759 Korean Profile. Korean Data Standards: NIA AI Hub·National Data Standardization Committee·Statistics Korea (KOSTAT)·MyData 4 Designated Combination Specialists (Samsung SDS, KICI, KOSTAT, KFTC)·National Institute of Korean Language·National Law Information Center·National Spatial Information Platform·National Spatial Data Center·Korean Spatial Information Standards. Finance and Fintech Standards: FSC (Financial Services Commission)·FSS (Financial Supervisory Service)·FIU (Financial Intelligence Unit)·BOK (Bank of Korea)·FSEC (Financial Security Institute)·KFTC (Korea Financial Telecommunications)·KSD (Korea Securities Depository)·KRX (Korea Exchange) 8-agency cooperation. 5G/6G Communications Infrastructure: 5G subscribers 35 million (2024)·5G base stations 350,000·6G commercialization target 2028·5G dedicated networks 16 operators·6G Acceleration Council (MSIT, 2024). K-Content: KOCCA (Korea Creative Content Agency)·MCST (Ministry of Culture, Sports and Tourism)·KCA (Korea Communications Agency)·Korea Culture Information Service Agency·Korean Film Archive·Korea Publishing Industry Promotion Agency. Data 3 Acts (Personal Information Protection Act·Credit Information Act·Telecommunications Network Act, 2020 enforcement)·Data Industry Act (2021)·Public Data Act (2013)·AI Framework Act (2026)·Digital Platform Government Framework Act (2024 proposed) — Korea digital transformation core legislation.

Korea Industrial, Research, Education Infrastructure Mapping

Korea operates its industrial ecosystem and standardization system through the following core infrastructure. Korea Top 5 Groups: Samsung, Hyundai Motor, LG, SK, Lotte. Each group operates standardization committees and ISO/IEC TC Korean secretariats. Samsung Electronics (semiconductors, displays, home appliances, telecom)·Hyundai Motor (automobiles, mobility)·LG Electronics (home appliances, displays, OLED)·SK hynix (memory)·LG Energy Solution·Samsung SDI (batteries)·POSCO Future M (materials)·Hyundai Mobis (parts). Korean IT Big Tech: NAVER (search, cloud, AI HyperCLOVA)·Kakao (messenger, payment, mobility, banking)·Coupang (e-commerce, logistics)·Karrot Market·Toss·Woowa Brothers. Korea Telcos: SK Telecom·KT·LG U+. 5G·5G dedicated networks·B2B cloud·AI businesses operating. Korea Top 7 Research Universities: Seoul National University·KAIST·POSTECH·Yonsei University·Korea University·UNIST·DGIST·GIST. All serve as standardization R&D bases and ISO/IEC/IEEE Korean chairs. Korea Government-affiliated National Research Institutes (26): KIST, KAERI, KIMM, KIER, KFRI, KRICT, KRIBB, KARI, KASI, KIGAM, KICT, KISTI, KETI, ETRI, NIMS, KIMS, KISDI, KOTRA, STEPI, KOEN, KICCE, KIET, KIPF, KIHASA, KICJ, KLRI. Korea Industrial Complexes / Tech Valleys: Pangyo Techno Valley·Dongtan·Gwanggyo·Songdo IBD·Yeouido·Gangnam·Sihwa·Banwol·Gumi·Ulsan·Changwon·Geoje·Yeosu·Onsan·Cheongju·Iksan·Gwangyang·POSCO Gwangyang Steel Mill·Asan Bay·Seosan·Songdo·Incheon Airport·Sejong·Cheongna·Geomdan. Korea Trade and Finance Infrastructure: Korea International Trade Association (KITA)·Korea Trade-Investment Promotion Agency (KOTRA)·Export-Import Bank of Korea (KEXIM)·Bank of Korea·Kookmin Bank·Shinhan·Hana·Woori·NH Nonghyup·IBK Industrial Bank·SC First Bank·Citi Bank Korea·HSBC Korea·DBS Korea — 14 Korean major banks and foreign banks. Korea K-POP / K-Content: HYBE·SM·YG·JYP 4 major entertainment companies·CJ ENM·tvN·MBC·KBS·SBS·EBS·YTN·Yonhap News TV·JTBC Korean broadcasting·NETFLIX Korea·Disney Plus·TVING·Wavve·Watcha·Coupang Play. Korea Gaming Industry: Nexon·NCsoft·Krafton·Netmarble·Kakao Games·Pearl Abyss·Com2uS·Gamevil·NHN·Smilegate·Webzen. Korea Automotive / Battery: Hyundai Motor·Kia·Genesis·LG Energy Solution·Samsung SDI·SK On·POSCO Future M·EcoPro·L&F battery cathode material suppliers. Korea Semiconductor: Samsung Electronics (HBM3E·HBM4)·SK hynix (HBM3E 12-Hi)·DB HiTek·SK siltron·SK Enpulse·Dongjin Semichem·Seoul Semiconductor·Simmtech·Samsung Display·LG Display.

Korea Industrial Cluster, National Strategic Technologies, Workforce Development

Korea operates a comprehensive industrial cluster system. Korea Top 12 National Strategic Technologies (5th Science and Technology Master Plan 2023-2027): (1) Semiconductors and Displays (2) Secondary Batteries (3) Advanced Mobility (autonomous driving, UAM) (4) Next-Generation Nuclear (SMR) (5) Advanced Bio (6) Aerospace and Marine (7) Hydrogen (8) Cybersecurity (9) Artificial Intelligence (10) Next-Generation Communications (11) Advanced Robotics and Manufacturing (12) Quantum. 12 fields receive direct investment of 5 trillion KRW annually, cumulative 30 trillion KRW by 2030. Korea Major Industrial Clusters: Pangyo IT Cluster (1,300+ companies, 100 trillion KRW revenue), Gangnam Fintech (200+ companies), Songdo BT Bio Cluster, Daegu Medical Cluster, Ulsan Industry (shipbuilding, petrochemicals, automotive), Changwon Machinery, Changwon National Industrial Complex, Siheung and Banwol (SME manufacturing), Yeosu Petrochemicals, Pyeongtaek Semiconductor (Samsung Electronics Pyeongtaek Campus), Icheon and Cheongju Semiconductor (SK hynix Icheon and Cheongju Campuses), Asan Display (Samsung Display Asan Campus), Gumi Mobile (Samsung Gumi Campus), Pohang Steel (POSCO Pohang Steel Mill), Gwangyang Steel (POSCO Gwangyang Steel Mill), Dangjin Steel (Hyundai Steel Dangjin), Ulsan Automotive (Hyundai Motor Ulsan Plant), Asan Automotive (Hyundai Asan Plant), Kia Gwangju and Sohari, POSCO Gwangyang and Pohang Steel Mills, SK hynix Icheon and Cheongju, Samsung Electronics Hwaseong, Giheung, Pyeongtaek, Onyang, Cheonan, Asan Semiconductor Facilities. Major Industrial Complexes and Techno Valleys: Pangyo Techno Valley (1st 800 companies, 2nd 600 companies, 3rd 1,200 companies), Dongtan Techno Valley, Gwanggyo Techno Valley, Songdo IBD, Yeouido Financial District, Gangnam Teheran-ro Valley, Sihwa, Banwol, Gumi, Ulsan, Changwon, Geoje, Yeosu, Ulsan Mipo, Onsan, Cheongju, Iksan, Gwangyang, Yeosu, POSCO Gwangyang Steel Mill, Asan Bay, Seosan, Songdo, Incheon Airport, Sejong, Cheongna, Geomdan, Pyeongtaek Automotive Industrial Complex, Giheung Semiconductor Complex, Icheon Semiconductor Complex, Asan Display Complex, Gumi Mobile Complex, Changwon National Industrial Complex, Ulsan Mipo National Industrial Complex, Yeosu National Industrial Complex, Onsan National Industrial Complex. Korea Workforce Statistics: STEM undergraduate students 700,000 (26% of all university students), STEM graduate students 170,000, PhD researchers 140,000, STEM doctorates conferred 8,000 annually (Seoul National University 1,200, KAIST 800, POSTECH 400, Yonsei University 700, Korea University 600, UNIST 250, DGIST 100, GIST 200, KISTI 50, KIST and ETRI postdoctoral programs 1,000), information security experts 300,000 (KISA-trained and private), AI experts 50,000 (NIA, IITP, NIPA, Samsung, LG, SK, NAVER, Kakao trained), semiconductor experts 260,000 (Samsung Electronics 60,000, SK hynix 30,000, DB HiTek, SK siltron). National R&D Project Operation: National R&D projects 100,000+ annually (MSIT 35,000, MOTIE 25,000, MSS 20,000, MOE 15,000, others 5,000), R&D participating institutions 25,000+, R&D participating researchers 530,000, National R&D output (papers, patents) 540,000 annually. Korea Corporate R&D Investment Top 10 (2024): Samsung Electronics 28 trillion KRW, LG Electronics 9 trillion KRW, SK hynix 8 trillion KRW, Hyundai Motor 6 trillion KRW, Kia 4 trillion KRW, LG Chem 3.5 trillion KRW, LG Display 3.2 trillion KRW, POSCO 3 trillion KRW, Samsung SDI 2.7 trillion KRW, SK Innovation 2.5 trillion KRW.