进入“Solution templates”页面,找到“Swimming Pool SCADA system”并点击“Install”开始安装。
将提供该解决方案的配置说明,请按步骤操作。
完成后点击“Close”完成设置并进入仪表板。
Go to the "Solution templates" page. Find "Swimming Pool SCADA system" and click "Install" to start the installation process.
Configuration instructions for this solution will be provided — follow the steps as instructed.
Once done, click "Close" to complete the setup and proceed to the dashboard.
Swimming pool SCADA system dashboard.
仪表板
本解决方案开发了全面的Swimming Pool SCADA系统仪表板,用于可视化、交互并控制多设备的实时数据。仪表板设计用于展示水管理、温度控制与设备绩效的关键信息。
支持操作人员从任意设备与各类系统组件交互,进行实时控制与监测。
The feature-rich dashboard displays the swimming pool system, showing real-time data for pool temperature, outdoor temperature, and water levels. Clicking on different devices provides detailed metrics and controls for each component.
By clicking on the water pump device, you can access a detailed dashboard state showing real-time metrics such as flow rate, rotation speed, power consumption, and vibration, along with the pump operational status and any active alarms.
By selecting the sand filter device, you can view a detailed dashboard state showing real-time metrics such as rotation speed, flow rate, vibration, and pressure, along with the filter current operational status.
Clicking on the heat pump device takes you to a detailed dashboard state where you can view key metrics like rotation speed, power consumption, temperature, and compressor pressure, along with any active alarms.
Switching to the "Alarms" tab will display all active and cleared alarms in the system.
移动端视图展示仪表板的灵活性,支持在平板和智能手机等不同设备上管理和监控泳池SCADA系统。
点击不同设备可查看各组件的详细指标与控制项。
The feature-rich dashboard displays the swimming pool system, showing real-time data for pool temperature, outdoor temperature, and water levels. Clicking on different devices provides detailed metrics and controls for each component.
Clicking on the water level meter will open a pop-up window with a chart visualizes real-time water level data, showing trends over time to ensure optimal water levels are maintained.
The temperature sensors allows you to view a detailed dashboard state with real-time pool and outdoor temperature data, along with the target temperature, enabling efficient temperature control.
By clicking on the pH sensor device, you can access a dashboard state that displays real-time pH level data, helping you ensure water quality is maintained within optimal ranges.
By selecting the flow rate meter, you can view real-time flow rate data to ensure optimal water circulation through the system.
By clicking on the water pump device, you can access a detailed dashboard state showing real-time metrics such as flow rate, rotation speed, power consumption, and vibration, along with the pump operational status and any active alarms.
By selecting the sand filter device, you can view a detailed dashboard state showing real-time metrics such as rotation speed, flow rate, vibration, and pressure, along with the filter current operational status.
Clicking on the heat pump device takes you to a detailed dashboard state where you can view key metrics like rotation speed, power consumption, temperature, and compressor pressure, along with any active alarms.
Swimming Pool SCADA系统包含一个名为SCADA Swimming Pool system的资产。该资产作为从所有连接设备采集并处理数据的中心枢纽。
资产采集的数据通过字段计算处理,随后用于监测与控制各系统组件,包括判断各管道是否在流水的计算。
数据在仪表板上可视化,允许用户与设备交互并控制设备,同时实时监测系统绩效。
Go to the "Assets" page. The Swimming Pool SCADA system includes a single asset named Swimming Pool SCADA system. This asset serves as the central hub for collecting and processing data from all connected devices.
The data collected by the asset.
Using calculated fields, the collected data is processed and used for monitoring and controlling various components of the system.
All 14 devices have a relation to this asset.
网关
ThingsBoard IoT Gateway将设备集成至ThingsBoard的SCADA系统,确保连接与数据传输顺畅。
“Pool System Gateway”网关配置可在Entities部分的Gateways页面访问。
Go to the "Gateway" page in the "Entities" section, and select "Pool System Gateway";
The Pool System Gateway configuration page.
Pool System Gateway显示连接的设备及其状态。点击设备旁的“Show Device Info”图标可查看包含状态与相关指标在内的详细信息。
The Pool System Gateway displays connected devices and their status. Click “Show Device Info” icon next to the device to view detailed information, including its status and relevant metrics.
Details of the selected device.
Click the "Connectors configuration" button;
Click on the Modbus gateway connector to open its configuration settings. Navigate to the "Master Connectors" tab, where you'll find connection parameters for connecting devices to the Modbus server and data processing settings for each device.
We'll examine the configuration parameters using the "Main intake valve" device as an example. Click the pencil icon next to the device name to open its settings window.
The host host.docker.internal and port 5021 are specific to your Modbus device.
滚动至”Time series”部分。此处可配置入站数据的处理。这些设置将在ThingsBoard中解释为设备遥测数据。
点击铅笔图标打开时间序列配置。有关”Time series”部分各参数与设置的更多说明,请参阅Modbus time series设置文档。
Click the "pencil" icon to open the time series configuration;
Here, you can configure the processing of incoming data. These settings will be interpreted in ThingsBoard as device telemetry data.
Click the "pencil" icon to open the RPC requests configuration;
Here you can configure parameters for remote procedure calls (RPC) from ThingsBoard to the device.
规则链
每条消息经过Swimming Pool Device Rule Chain。在此处保存遥测、属性与RPC请求,生成告警,并执行热泵控制。
Go to the "Rule chains" page, and select "Swimming Pool Device Rule Chain";
Swimming Pool Device Rule Chain. Here, telemetry, attributes, and RPC requests are saved, alarms are generated, and control of the heat pump is performed.
Every message first passes through the device profile node. This step allows the system to generate alarms based on the conditions defined in the device profiles (such as for the heat pump, water pump, and sand filter). If the telemetry exceeds the set thresholds, alarms are triggered and displayed on the dashboard.
After the initial profile processing, the message moves to the message type switch node. This node routes messages based on their type, such as telemetry data, attribute updates, or RPC requests. It sends each message down the appropriate path for further processing.
When telemetry from the heat pump is detected, the system checks specific conditions—like target temperature, outdoor temperature, and pool temperature—through a switch node. If the telemetry conditions meet the thresholds for turning the heat pump on or off, an RPC request is sent to control the heat pump’s state.
Go to the "Device profiles" page. For the "Swimming Pool SCADA system" solution template, six device profiles were created to manage the 14 operational devices;
Click on the any device profiles to open its details. The "Swimming Pool Device Rule Chain" is set as the default rule chain for our devices, and specific alarm rules are defined for them.
告警规则
Swimming Pool SCADA系统包含关键设备的告警配置,使操作人员可监测关键状况并快速响应潜在问题。告警基于设备配置中预定义的阈值与规则触发,有助于维持系统最佳绩效。
设备专属告警
热泵:热泵基于以下指标有五条告警规则:
振动水平
功耗
转速
制冷剂压力
压缩机温度
The heat pump has five alarm rules.
水泵:水泵由基于以下四项规则监测:
振动水平
功耗
转速
温度
The water pump is monitored by four alarm rules.
砂滤器:砂滤器配备三条跟踪以下指标的告警规则:
振动水平
转速
压力
The sand filter is equipped with three alarm rules.
The widget subscribes to the alarm status field and receives updates about the alarm state based on its type.
If the alarm severity type is "Major", "Minor", "Warning", or "Indeterminate", the component is in a warning state.
If the alarm severity type is "Critical", the component is in a critical state.
Normal state of the Heat pump.
If an alarm with a severity type of "Major", "Minor", "Warning", or "Indeterminate" is triggered, a warning icon—a yellow triangle—will appear in the bottom-left corner of the heat pump.
If an alarm with a severity type of "Critical" is triggered, the warning icon will change to a red square.
点击热泵设备可进入其状态页,查看运行数据与当前告警。详情包括转速、功耗、制冷剂压力等。
Clicking on the heat pump device, you will access its state, which displays operational data.
This dashboard state includes information about active alarms, rotation speed, power consumption, refrigerant pressure, and more.
切换到”Alarms”标签可查看系统中所有活跃告警,按来源设备及其告警类型、严重程度分组展示。
Switching to the "Alarms" tab will display all active alarms in the system, organized by the originating device, and their respective alarm types and severities.
Configure the filters to view other alarms.
The widget subscribes to the alarm status field and receives updates about the alarm state based on its type.
If the alarm severity type is "Major", "Minor", "Warning", or "Indeterminate", the component is in a warning state.
If the alarm severity type is "Critical", the component is in a critical state.
Normal state of the Heat pump.
If an alarm with a severity type of "Major", "Minor", "Warning", or "Indeterminate" is triggered, the propeller will change its color to yellow.
If an alarm with a severity type of "Critical" is triggered, the propeller will change its color to red and start flashing.
点击热泵设备可进入其状态页,查看运行数据与当前告警。详情包括转速、功耗、制冷剂压力等。
Clicking on the heat pump device, you will access its state, which displays operational data.
This dashboard state includes information about active alarms, rotation speed, power consumption, refrigerant pressure, and more.
切换到”Alarms”页面可查看系统中所有活跃告警,按来源设备及其告警类型、严重程度分组展示。
Switching to the "Alarms" tab will display all active alarms in the system, organized by the originating device, and their respective alarm types and severities.
Configure the filters to view other alarms.