4.1 Three-Layer System Architecture

The smart campus environmental monitoring system is organized into three functional layers: the Field Sensor Layer, the Edge Computing Layer, and the Cloud Platform Layer. This separation of concerns ensures that each layer can be designed, deployed, and maintained independently, while the standardized interfaces between layers enable integration of diverse sensor technologies and cloud platforms.

The Field Sensor Layer encompasses all physical measurement devices — noise monitors, particulate sensors, gas analyzers, meteorological instruments, water quality probes, and energy meters. These devices communicate with the Edge Computing Layer using wired protocols (RS485 Modbus RTU, 4–20 mA) or wireless protocols (LoRaWAN, NB-IoT, Wi-Fi). The Edge Computing Layer hosts one or more edge gateways per zone, providing local data buffering, protocol translation, alarm processing, and secure uplink to the cloud. The Cloud Platform Layer provides long-term storage, analytics, visualization, reporting, and API integration with third-party systems.

Smart campus environmental monitoring system topology diagram

Figure 4.1: Smart Campus Environmental Monitoring System Topology — Three-Layer Architecture with Zone Gateways

LayerPrimary FunctionKey ComponentsFailure Mode
Field Sensor LayerPhysical measurement and data acquisitionSensors, probes, meters, mounting hardwareSensor fouling, power loss, communication fault
Edge Computing LayerLocal processing, buffering, alarm, protocol translationEdge gateways, local storage, relay outputsGateway crash, storage full, uplink loss
Cloud Platform LayerLong-term storage, analytics, visualization, APIDatabase, application server, dashboard, API gatewayServer outage, database corruption, API failure

4.2 Edge Gateway Zone Design

Each edge gateway serves a defined geographic zone of the campus, typically covering 5–20 sensor nodes depending on the sensor density and communication range. Zone boundaries are drawn to minimize cross-zone cable runs, respect physical barriers (buildings, roads, fences), and align with operational responsibility boundaries (e.g., one zone per building, one zone per boundary section).

The edge gateway must be sized for the number of sensor channels in its zone, with at least 20% spare capacity for future expansion. RS485 bus length must not exceed 1200 m per segment without repeaters, and the maximum number of devices per RS485 bus is 32 (with standard transceivers) or 256 (with enhanced transceivers). LoRaWAN gateway coverage radius is typically 300–1000 m in urban environments depending on building density and interference.

ParameterRecommended ValueNotes
Sensor nodes per gateway5–20 nodesDepends on protocol and data rate
RS485 bus length≤1200 m per segmentUse repeater for longer runs
RS485 devices per bus≤32 (standard) / ≤256 (enhanced)Address conflicts must be avoided
LoRaWAN coverage radius300–1000 m (urban)Depends on building density and SF setting
Local storage buffer≥7 days at 1-min intervalsSSD or industrial SD card; FIFO overwrite
Edge CPU utilization<70% at peak loadReserve for burst processing and OTA updates
Gateway enclosureIP65 minimum (outdoor); IP20 (indoor cabinet)Breathable membrane for condensation control
Operating temperature-20°C to +60°CVerify against local climate extremes

4.3 Cabinet Wiring Design

The field equipment cabinet is the integration point between the sensor field wiring and the edge gateway. Proper cabinet design ensures safe, reliable, and maintainable operation over the system lifetime. The cabinet must be organized with clear separation between power circuits and signal circuits, proper grounding of all metallic components, and labeled terminal blocks for every connection.

Surge protection devices (SPDs) must be installed on all external connections — power input, RS485 lines, and Ethernet ports — to protect against lightning-induced surges. The SPD must be coordinated with the upstream circuit breaker to ensure that the SPD fails safely without creating a fire hazard. All outdoor cable entries must use waterproof cable glands with appropriate IP rating to prevent water ingress.

Environmental monitoring cabinet wiring diagram

Figure 4.2: Field Equipment Cabinet Wiring Diagram — DIN Rail Layout with RS485, PoE, and 4G Connections

ComponentSpecificationPurpose
Circuit breaker2-pole, 6A or 10A, C-curveOvercurrent protection for cabinet power
24VDC power supplyDIN rail, 24V/5A minimum, CE/UL listedPower for sensors and gateway
Terminal blocksSpring-cage or screw type, 2.5mm² ratedOrganized field wiring termination
RS485 converterRS485 to Ethernet, isolated, DIN railProtocol conversion for legacy sensors
PoE switch4–8 port, industrial, DIN rail, -40 to +75°CPower and data for PoE sensors
Surge protection (AC)Type 2 SPD, 20kA, coordinated with breakerLightning surge protection on AC input
Surge protection (RS485)RS485 SPD, DIN rail, 3kA minimumLightning protection on sensor cables
Cable glandsIP68, metric thread, appropriate cable ODWaterproof cable entry

4.4 Network Planning and Redundancy

Network planning for environmental monitoring systems must address the specific reliability requirements of the application. Safety-critical alarm paths require redundant network paths, while general monitoring data can tolerate brief outages if edge buffering is in place. The network plan must document the primary and backup connectivity for each edge gateway, the expected latency for each path, and the failover behavior when the primary path fails.

For outdoor deployments, cellular (4G LTE or NB-IoT) is the most common primary uplink due to its wide coverage and independence from campus network infrastructure. Fiber Ethernet provides higher bandwidth and lower latency for high-density indoor deployments. Wi-Fi is suitable for indoor sensors in areas with existing Wi-Fi infrastructure but requires careful channel planning to avoid interference.

Connectivity TypeBandwidthLatencyBest Use CaseRedundancy
Fiber Ethernet100 Mbps – 1 Gbps<5 msHigh-density indoor, server roomDual fiber path
4G LTE10–100 Mbps20–100 msOutdoor gateways, remote locationsDual SIM or fixed line backup
NB-IoT20–100 kbps1–10 sLow-power sensors, wide areaLoRa fallback
LoRaWAN0.3–50 kbps1–30 sBattery sensors, construction sitesMultiple gateways
Wi-Fi (802.11ac)100 Mbps+<10 msIndoor sensors with existing Wi-FiDual-band roaming
RS485 Modbus9.6–115.2 kbps<1 msWired sensors in same cabinet zoneRedundant RS485 bus

4.5 Typical System Configurations

Three standard system configurations are defined to cover the range of park sizes and complexity levels. Each configuration specifies the number of edge gateways, sensor nodes, connectivity approach, and cloud platform tier. These configurations serve as starting points for project scoping and can be customized based on the specific requirements of each deployment.

ConfigurationPark SizeEdge GatewaysSensor NodesConnectivityCloud Tier
Basic (Pilot)<5 ha1–25–154G LTEShared SaaS
Standard5–50 ha3–815–60Fiber + 4GDedicated SaaS or private
Advanced>50 ha8+60+Fiber + 4G + LoRaPrivate cloud or on-premise