A process control device (71, 100) comprising: a process control valve; an actuator coupled to the process control valve and configured to control a position of the process control valve; a digital valve controller communicatively coupled to the process control valve and the actuator, the digital valve controller including a processor, a memory, logic stored in the memory and a pneumatic relay, characterized in that the digital valve controller is configured to: obtain first data associated with a fluid flowing through the pneumatic relay of the digital valve controller at a first point in time, the first data comprising data indicative of a mass, a volume, and a fluid quality of the fluid flowing through the pneumatic relay at the first point in time, and obtain second data associated with the fluid flowing through the pneumatic relay of the digital valve controller at a second point in time different from the first point in time, the second data comprising data indicative of the mass, the volume, and the fluid quality of the fluid flowing through the pneumatic relay at the second point in time; and wherein the processor is arranged to: aggregate the first data and the second data, and perform one or more diagnostic and/or prognostic techniques based on the aggregated data, the one or more diagnostic and/or prognostic techniques including estimating a state of one or more components of the process control device, the one or more diagnostic and/or prognostic techniques further including analyzing a total level of pollutants, particulates, moisture, or combinations thereof, that has flowed through the pneumatic relay. a process control valve; an actuator coupled to the process control valve and configured to control a position of the process control valve; a digital valve controller communicatively coupled to the process control valve and the actuator, the digital valve controller including a processor, a memory, logic stored in the memory and a pneumatic relay, characterized in that the digital valve controller is configured to: obtain first data associated with a fluid flowing through the pneumatic relay of the digital valve controller at a first point in time, the first data comprising data indicative of a mass, a volume, and a fluid quality of the fluid flowing through the pneumatic relay at the first point in time, and obtain second data associated with the fluid flowing through the pneumatic relay of the digital valve controller at a second point in time different from the first point in time, the second data comprising data indicative of the mass, the volume, and the fluid quality of the fluid flowing through the pneumatic relay at the second point in time; and obtain first data associated with a fluid flowing through the pneumatic relay of the digital valve controller at a first point in time, the first data comprising data indicative of a mass, a volume, and a fluid quality of the fluid flowing through the pneumatic relay at the first point in time, and obtain second data associated with the fluid flowing through the pneumatic relay of the digital valve controller at a second point in time different from the first point in time, the second data comprising data indicative of the mass, the volume, and the fluid quality of the fluid flowing through the pneumatic relay at the second point in time; and wherein the processor is arranged to: aggregate the first data and the second data, and perform one or more diagnostic and/or prognostic techniques based on the aggregated data, the one or more diagnostic and/or prognostic techniques including estimating a state of one or more components of the process control device, the one or more diagnostic and/or prognostic techniques further including analyzing a total level of pollutants, particulates, moisture, or combinations thereof, that has flowed through the pneumatic relay. aggregate the first data and the second data, and perform one or more diagnostic and/or prognostic techniques based on the aggregated data, the one or more diagnostic and/or prognostic techniques including estimating a state of one or more components of the process control device, the one or more diagnostic and/or prognostic techniques further including analyzing a total level of pollutants, particulates, moisture, or combinations thereof, that has flowed through the pneumatic relay.