MQTT + Private LoRa for Upstream & Midstream

How Clover IQ delivers end‑to‑end devices, private LoRaWAN, and MQTT integration for oil & gas

Executive summary

Midstream and upstream operators are under pressure to reduce downtime, cut truck rolls, and get cleaner, faster data from the field. The combination of private LoRaWAN for ultra‑low‑power sensing and MQTT for lightweight, reliable data movement gives you a modern, secure, and scalable telemetry stack—without ripping out existing SCADA.

Clover IQ integrates all layers: certified field sensors and edge devices, private LoRa gateways and network servers, an MQTT broker (with optional Sparkplug B), and adapters into your historians, SCADA/HMI, MES, and cloud analytics. The result is a single, supportable system that’s easy to scale from a single lease road to your entire asset base.

Why MQTT + LoRa makes sense for O&G

  • Battery‑first sensing: LoRaWAN sensors run for years on AA/ER batteries; perfect for well pads, tank batteries, and long pipeline stretches.
  • Private and resilient: Keep traffic in your network (plant/field LAN, private LTE/5G, microwave backhaul). No dependency on public LPWANs.
  • SCADA‑friendly: MQTT is lightweight, firewall‑friendly, and well‑supported across Ignition, AVEVA, PI/AVEVA Data Hub, and modern data platforms.
  • Event‑driven: Publish only when values change or alarms hit; reduce chatter and cellular backhaul costs.
  • Vendor‑neutral: Open standards (MQTT 3.1.1/5.0, LoRaWAN, Sparkplug B) avoid lock‑in and simplify multi‑vendor estates.

Typical upstream & midstream use cases

Upstream (well sites, tank batteries, saltwater disposal):

  • Wellhead pressure/temperature, choke position, flow, sand detection
  • Tank level (guided wave radar, pressure‑based), thief hatch and gate monitoring
  • H₂S, VOC, methane leak detection
  • Power monitoring for VFDs and artificial lift skids
  • Remote start/stop and setpoint adjustments via secure downlinks

Midstream (gathering, transmission, terminals, compressor stations):

  • Line pressure, differential pressure, pig passage, valve position
  • Cathodic protection (CP) rectifier telemetry
  • Acoustic and pressure‑based leak indication
  • Station health: vibration, bearing temperature, vibration FFT snapshots
  • Generator and UPS monitoring, door access, fence line sensors

Reference architecture (at a glance)

Field Network Integration Applications Ops LoRaWAN Sensors Pressure • Temp • Flow • Vibration • Gas LoRa Gateways Aggregate uplinks • Private LTE/5G backhaul LoRa Network Server (LNS) Decode • Joins • Normalization MQTT Broker Cluster TLS/mTLS • ACLs • QoS • Sparkplug B MQTT Enterprise Applications SCADA • Historian • Data Lake • Cloud/BI/AI SCADA / HMI Cloud / BI / AI Historian / MES / Data Lake Operations & Security Monitoring • Cert lifecycle • Auditing • 24×7 Clover IQ Flow

How Clover IQ delivers the stack

Field devices & gateways

  • Pre‑vetted LoRaWAN Class A/C sensors for pressure, temp, level, vibration, gas, discrete I/O
  • Industrial LoRaWAN gateways (hazard‑rated options) with dual SIM or multi‑WAN backhaul
  • Edge compute container (Node‑RED/Telegraf/edge apps) for on‑site transformation & store‑and‑forward

Network & cybersecurity

  • Private LoRaWAN with redundant LNS (on‑prem VM/K8s or customer cloud)
  • Encrypted backhaul (IPSec/DMVPN/SD‑WAN), device identity & cert lifecycle
  • Role‑based access, topic‑level ACLs, QoS policies, and audit trails

MQTT broker integration

  • Broker options: enterprise‑grade (e.g., HiveMQ/EMQX) or open‑source (Mosquitto) with clustering
  • Sparkplug B enablement for auto‑discovery and state management (BDIRTH/DBIRTH/NDEATH)
  • Bridging to on‑prem and cloud brokers, with throttling and offline replay

Systems integration

  • SCADA/HMI: Ignition, AVEVA Edge/System Platform, Wonderware
  • Historians: PI/AVEVA, Canary, OSIsoft interfaces
  • Data platforms: Azure IoT, AWS IoT Core, Kafka → Snowflake/Databricks/Delta Lake
  • OT protocols: Modbus/OPC UA/DF1 via edge agents; Modbus→MQTT mapping where needed

Lifecycle & support

  • RF design and survey, antenna selection, gateway placement
  • Commissioning at scale with QR/onboarding apps
  • Managed service (24×7 monitoring of gateways, LNS, broker health) and patching
  • Spares strategy and RMA workflow; battery‑life monitoring

MQTT design recommendations for OT

Topic namespaceUse a consistent, human‑legible pattern:

org/<company>/site/<site-id>/area/<area-id>/asset/<asset-id>/sensor/<tag>

Example:

org/cloveriq/site/wolfcamp/area/pad-07/asset/well-07a/sensor/tubing_pressure

PayloadsPrefer schematized JSON or Sparkplug B. If JSON:

{
 "ts": "2025-10-07T14:25:31Z",
 "value": 2123.7,
 "unit": "psi",
 "quality": "good",
 "battery": 3.56,
 "sensor": {
   "model": "Lora-PSI-10K",
   "serial": "PSI10K-07A-2219"
 },
 "asset": {
   "id": "well-07a",
   "type": "wellhead"
 }
}

QoS & session strategy

  • Telemetry: QoS 1 (at‑least‑once) for measurements; QoS 2 where mandatory (custody transfer)
  • Alarms/Events: QoS 1 with retained=true for last‑known state topics
  • Commands (downlink): QoS 1/2 with application‑level acks and timeouts
  • Use MQTT persistent sessions for gateways; enable store‑and‑forward at edge

Security

  • TLS 1.2+ everywhere, mutual TLS for gateways and applications
  • Per‑device X.509, short‑lived client certs, CRL/OCSP
  • Broker‑side ACLs by client and topic prefix; no wildcards for writes

LoRaWAN specifics that matter in the field

  • Class A vs C: Most sensors are Class A (best battery life). Choose Class C for actuators requiring low latency downlinks.
  • Adaptive data rate (ADR) optimizes airtime; audit your ADR settings in windy, moving, or seasonal foliage environments.
  • Confirmed uplinks only for critical points; otherwise let MQTT QoS handle delivery semantics upstream.
  • Payload normalization: Standardize units & tags at the LNS/edge before MQTT publish.

Example: well pad retrofit (upstream)

Goal: Add production telemetry and thief‑hatch monitoring without running new conduit.

  1. Install LoRa pressure and temperature sensors on tubing/casing; magnet/reed switch on thief hatch.
  2. Mount two LoRa gateways on the separator skid with directional antennas; backhaul via private LTE.
  3. LNS decodes payloads → publishes via MQTT Sparkplug B into on‑prem broker cluster.
  4. Ignition subscribes for HMI screens and alarms; historian writes min/avg/max.
  5. Cloud bridge forwards a subset (production & emissions) to analytics each hour.
  6. Battery‑life dashboard alerts on low‑battery months in advance.

Outcomes: Single‑truck installation, <1s alarm delivery over MQTT, no SCADA port sprawl, and clean separation between OT and analytics consumers.

Example: pipeline CP and valve stations (midstream)

Goal: Replace manual CP surveys and add station health.

  • CP rectifier LoRa modules send voltage/current potentials daily + exceptions on drift
  • Vibration and enclosure door sensors publish by exception
  • Gateways mesh back via microwave/fiber; MQTT broker clusters at two datacenters
  • Sparkplug online/offline states drive work orders when stations go NDEATH

Outcomes: Continuous CP visibility, fewer truck rolls, faster MTTR on station outages.

Integration patterns we implement

  • SCADA bridge: MQTT → OPC UA server (Ignition or standalone) for legacy consumers
  • Kafka tap: MQTT bridge to Kafka for high‑volume streaming into the lakehouse
  • Enterprise data sharing: Broker‑to‑broker bridge (DMZ) with topic rewrites and throttling
  • Alarm routing: MQTT to events bus → email/SMS/Teams via rules
  • Northbound cloud: MQTT to Azure/AWS IoT with device twin mapping

What you get with Clover IQ

  • Turnkey bill of materials: sensors, hazardous‑area approvals, gateways, antennas, enclosures, power
  • Private LoRaWAN design: coverage modeling, gateway placement, interference study
  • Broker & LNS: hardened, HA clusters with backups, monitoring, and patching
  • Data model & topics: documented namespace, Sparkplug enablement, and schema registry
  • Integration: SCADA/Historian connectors, data lake pipelines, dashboards
  • Run & operate: SLA‑based managed service, spares, and lifecycle management

Getting started

  1. Discovery: asset list, points, alarm philosophy, data consumers
  2. Pilot scope: 10–50 points across 2–3 sites, success criteria, and security guardrails
  3. Design: RF survey, BoM, topic & payload schema, integration plan
  4. Deploy: stage, commission, validate, hand‑off with runbook
  5. Operate: monitor, optimize reporting intervals, trend battery health, expand by area

Ready to modernize field telemetry without a rip‑and‑replace? Clover IQ can deliver the devices, the private LoRa network, the MQTT core, and the integrations that make the data useful on day one.

Contact: sales@cloveriq.com | cloveriq.com

Regional focus: Odessa & the Permian Basin

Environment & constraints

  • Heat & dust: Summer highs >105°F, abrasive dust; choose IP66/67 enclosures, hydrophobic vents, and UV‑stable cable glands. Derate batteries at temperature; prefer Li‑SOCl₂ D‑cell packs and shade mounts.
  • Wind: Frequent 30–50 mph gusts; specify NEMA 4X poly or powder‑coated aluminum with reinforced pole mounts and guy wires on 20–30 ft masts.
  • H₂S & hazardous areas: Many sites require Class I, Div 1/2 devices. We standardize on C1D1 sensors where alarms/ignition risks exist; otherwise C1D2 for general telemetry.
  • Backhaul: Private LTE/5G (CBRS), licensed microwave, or fiber at stations. We design for offline tolerance with edge buffering + MQTT persistent sessions.

RF & coverage guidance (US915)

  • Well pads: 2–5 mi typical radius with 20–30 ft gateway height; >8–10 mi LOS with elevated placement.
  • Pipelines: Gateways every 5–10 mi depending on terrain and foliage. Use directional (Yagi) antennas along ROW, omni at stations.
  • Gateway density: Start with 1 gateway per pad cluster (~1–2 mi spread); add redundancy for alarm‑critical assets.

Device catalog — Permian‑ready LoRaWAN endpoints

Below are representative device classes we deploy and support. Final models depend on site standards and approvals.

1) Pressure transmitter (C1D1/C1D2)

  • Range: 0–10,000 psi (others available). Accuracy: ≤±0.25% FS.
  • Power: 3.6 V Li‑SOCl₂; life: 5–10 yrs @ 10‑min reporting + change‑of‑value.
  • LoRa: Class A, US915; payload: pressure, temp, battery, quality.
  • Install: 1/4" NPT process, isolate with valve/manifold; orient cable gland down.
  • Use cases: tubing/casing, separator, discharge header, pig traps.

2) Differential pressure (DP) / flow

  • Orifice/venturi across filters or meters; 0–250 inH₂O typical.
  • Downlink‑configurable span; alarm on ΔP excursions for filter change.

3) Temperature (RTD/thermowell node)

  • PT100/PT1000 input node; −40…+125 °C; optional surface‑mount for bearings.

4) Tank level (hydrostatic or radar interface)

  • Hydrostatic 0–10 mH₂O for produced water/crude; radar integration via edge adapter.
  • Overfill alarms; thief‑hatch status via discrete input.

5) Gas detection — H₂S (C1D1)

  • 0–100 ppm, 0.1 ppm resolution; T90 ≤ 30 s; bump‑test reminder in payload.
  • 2–3 yr sensor cartridge; enclosure with splash guard and calibration port.

6) Methane leak/LEL (NDIR)

  • 0–100% LEL; event‑driven publish; pair with camera/edge for confirmation if desired.

7) Vibration & motor health

  • Tri‑ax accelerometer + temp; envelope RMS + peaks; exception uploads for FFT snapshots.

8) Valve/actuator position & D/I–D/O

  • Limit switch inputs; optional Class C node for quicker downlink control windows.

9) CP rectifier telemetry

  • 0–100 V, 0–10 A; daily reads + exception on drift; coupon potentials optional.

10) Site security & utilities

  • Door/tamper/tilt, fence beam, generator/UPS Modbus via edge adapter.

Gateways (outdoor, IP67, 8/16‑channel)

  • Backhaul: Private LTE (dual SIM), Wi‑Fi, Ethernet; PoE support.
  • Antenna: Omni for pads; Yagi/sector for pipelines. Include lightning arrestors & proper bonding.
  • Compute: Optional edge apps (Node‑RED/Telegraf) for normalization + store‑and‑forward.

Solar power kits (where no utility power)

  • 30–50 W panel, MPPT charge controller, ≥35 Ah AGM/LiFePO₄, NEMA 4X battery enclosure.

Photos: See the image gallery in this chat for example gateways, C1D1 pressure transmitters, and solar enclosures.

MQTT broker & Sparkplug B mapping for SCADA

  • Namespace (Permian example):org/cloveriq/site/odessa/pad/pad-07/asset/well-07a/sensor/tubing_pressure
  • Sparkplug: Define Edge Node per gateway; Devices per sensor. Use BIRTH to push tag metadata (engineering units, ranges, alarm setpoints). Alarms/events on separate .../event topics.
  • QoS: 1 for measurements; 2 for custody transfer; retain last‑value for critical states.
  • Security: mTLS per device, short‑lived certs; topic ACLs per pad/area.

Odessa deployment kits (illustrative BoMs)

Kit A — Well pad starter (battery‑only)

  • (4) C1D1 pressure transmitters (10k psi)
  • (2) Temp nodes w/ RTD
  • (1) Thief‑hatch switch kit
  • (1) IP67 8‑ch LoRa gateway w/ LTE backhaul, omni antenna, lightning kit
  • (1) Solar kit 40 W w/ 35 Ah battery
  • Mounting hardware, glands, tags, runbook

Kit B — Station/compressor add‑on

  • (2) Vibration nodes
  • (1) CP rectifier telemetry module
  • (1) Door/tamper kit
  • Broker license (if enterprise), Ignition connector, historian interface

Installation & field notes for Permian crews

  • Pre‑stage device AppEUI/DevEUI/keys and labels; use QR onboarding.
  • Mount gateways ≥20 ft AGL; maintain 3–6 ft separation between LTE/LoRa antennas.
  • Use stainless hardware; apply anti‑seize; torque to spec; route drip loops.
  • Validate RSSI/SNR at install; tune ADR; set report intervals per alarm philosophy.
  • Record as‑built photos and GPS; update topic paths and asset IDs.

Conclusion

Clover IQ brings simplicity, scalability, and reliability to every level of field data integration. By unifying LoRaWAN sensing with MQTT messaging, we help operators cut downtime, streamline deployments, and unlock real-time visibility without re-engineering legacy systems. It’s an approach that scales with your assets and grows with your data strategy—because efficient telemetry should just work. Ready to connect the field to the future? That’s the Clover IQ difference.

LET'S JOIN US....

Working together as One!

Stay updated with our latest content, tips, service updates, and helpful articles on maintaining a reliable and secure network.
Newsletter
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Privacy Policy  
| Copyright © 2022-2024 | Clover IQ. All Rights Reserved.