Tag Archives: Pressure

RMS integration with Met Office DataPoint. An experiment with APIs…

The latest Rotronic Monitoring System software has been designed specifically for the IoT and IIoT world. We have a wide and growing range of sensors, loggers as well as input and output modules but we will never keep up with the unique demands of our customers. That’s where integration is key for any successful continuous monitoring system!

iot

Hardware can already be integrated via analogue input modules such as our 8ADC and digital devices can be integrated via our RMS-Convertor that can be programmed with custom protocols and functions operate with virtually any device.

Want to cut out the waffle… login and see the live data now using the details below:

https://rms.rotronic.com/rms/
Company Name: Rotronic demo-cloud
User: Weather
Password: guest1234

In addition to hardware, software integration is a must, and not easy when we consider RMS is a fully Gamp6 compliant system and therefore security and traceability is key.

Why not access the SQL DB?

All data on RMS is stored within an SQL database which with suitable rights can be queried easily to pull data out. However injecting data whilst possible triggers our system to report data manipulation. Also direct access to the database presents a security risk and uncontrolled changes to the system, and of course its not possible on shared systems.

That is why we also offer a Restful API through which data can be posted only when configured by users with appropriate permissions and each data stream is securely linked to a onetime token, by no means the best security but suitable for many applications (and of course the whole API function can be disabled if preferred). We of course have software wizards at our HQ that can develop professional integration solutions but as a hobbyist I wanted to see what I could achieve.

 

 

Example API Report

So my plan was to use Python and pull data from the Met Office DataPoint service and inject it directly into our RMS server software so it could visualised, reported and analysed accordingly. Just a few simple steps…

  • Step 1 Get the data from Met Office API
  • Step 2 Create API device in RMS and send your data
  • Step 3 Enjoy graphs, reports and custom alarms

Step 1 – Get the data from Met Office API.

The Met Office API is great you simply need to register to get an api key then get your head around the commands. Once you have that you can request the data you need via a simple url and the information is returned in xml or json format.

API Example
Met Office Datapoint API Response in XML

In Python requesting the last 24 hours of hourly data from location 3212 (Keswick) looks something like this…

Import json, requests
url = ‘http://datapoint.metoffice.gov.uk/public/data/val/wxobs/all/json/3212?res=hourly&key=YOURKEY’ #replace with your Met Office API key!
r = requests.get(url)
metoffice_data = json.loads(r.text)

This gives a Python dictionary with all the json data from which we can request specific values easily for example the latest conditions (no doubt there are more elegant solutions but this works for me).

Hum = (metoffice_data[‘SiteRep’][‘DV’][‘Location’][‘Period’][1][‘Rep’][-1][‘H’])
Temp = (metoffice_data[‘SiteRep’][‘DV’][‘Location’][‘Period’][1][‘Rep’][-1][‘T’])
Pres = (metoffice_data[‘SiteRep’][‘DV’][‘Location’][‘Period’][1][‘Rep’][-1][‘P’])
DewP = (metoffice_data[‘SiteRep’][‘DV’][‘Location’][‘Period’][1][‘Rep’][-1][‘Dp’])

Next we need to create our API device within RMS so it will accept our data

Step 2 – Create API device in RMS

Adding new API device in RMS is simple process, we create the device and define the Name and Serial number.

At this point RMS awaits an Post command in which the additional details are included. Using the Python code below I am able to create a device with 4 measurement points (measured values); Humidity, Temp; Pressure and Dew Point.

import json, requests

url = ‘http://rms.rotronic.com/rmsService/wService3.DeviceService.svc/UpdateDataJson’
headers = {‘Content-Type’ : ‘Application/json’, ‘Expect’ : ‘100-continue’, ‘Connnection’ : ‘Close’, ‘Host’ : ‘rms.rotronic.com’}

payload = {‘Name’:’API_Test’,’Serial’:’12345′,’Values’:[{‘Index’:’1′,’Typ’:’1′,’Value’:’50’},{‘Index’:’2′,’Typ’:’2′,’Value’:’23’},\
{‘Index’:’3′,’Typ’:’16’,’Value’:’5′},{‘Index’:’4′,’Typ’:’48’,’Value’:’1000′}]}
print (payload)
r = requests.post(url, headers=headers, data =json.dumps (payload))

Finally RMS gives us the device ID and API token which must be included in any future post commands.

Combining Step 1 and Step 2 allows us to simply replace my example values above with the real Met Office API data! Run the script hourly or permanently with an hour delay and we have a simple tool proving live data weather data!

Step 3 – Enjoy graphs, reports and custom alarms

With the data in RMS we can easily graph values and create email, sms or phone alarms. Taking the API further I it is possible download live satellite imagery and dynamically update the layouts in RMS!

Example Report

So it turns-out getting data into RMS via the API is simple with a bit of basic code. Of course Met Office data is just an example in modern industrial applications there is so much unique data from devices or software that might be of use and RMS aims to offer a complete monitoring solution not simply for our products!

Be sure to get in touch if you have any questions on the above or have any monitoring requirements. Use the demo login above or visit out RMS website for more details.

Dr Jeremy Wingate
Rotronic UK

 

At the Forefront of Health Care

casestudy

Original Article from www.rotronic.com

Rotronic has released launched our next generation server based Environmental Monitoring System (RMS), but here we take a look at our traditional system that is still fully supported and widely used in the pharmaceutical industry and beyond. 

The German pharmaceutical manufacturer Dr. R. Pfleger Hygrolog NTGmbH requires specialist cleanroom environments for many areas of production and development. It is vital for the company to monitor and verify pressure conditions as well as humidity and temperature  data in its cleanrooms. To meet this need,the company uses validated Rotronic data loggers from the Hygrolog HL-NT series.

Together with  the Rotronic validated HW4 monitoring software, these data loggers deliver important information on the environments that have an influence on the production of pharmaceutical products.

The Rotronic monitoring system has stood the test of time in the market over many years and undergone continuous development. The HW4 software forms the heart of the system. It visualises and saves all data, configurations and user events and also triggers alarms. Its audit trail logs all data and activities in compliance with FDA21 CFR Part 11 and GAMP5. Rotronic calibrated, qualified and validated Dr. R. Pfleger GmbH’s monitoring system according to GMP requirements.

Overall control and regulation
The management system forms the basis for operation, monitoring and control of the technical facilities as well as for data and message management. Apart from the technical installations, the validated clean room monitoring system is implemented
directly in FIS (OPC interface).

HygroLog HL-NT data logger – The central acquisition unit is a HygroLog-HL-NT data logger. It provides digital inputs for HygroClip humidity and temperature probes as well as Pt100 and 4…20 mA devices.

Dr Pfleger1The data logger is also equipped with a memory card which not only stores the measurement of data but also all the events in the instrument itself.

HC2-S sensors
The digital HygroClip2 climate probes provide class leading precision and long-term stability. All calibration and adjustment data is stored internally. Their standard accuracy ex works is ±0.8 %rh and ±0.1 K, for more demanding tasks, sensors with an accuracy of ±0.5 %rh can be supplied.

Sophisticated Software  – The HW4 software saves the measurement data, alarms and events in a protected binary format. Any manipulations are detected and the data record is then marked as corrupt. Instruments are organised in groups and shown in the room layout. Colour changes make alarms and disturbances easy to recognise.

Evaluation and archiving
A data file is created for every measuring point. Mean Kinetic Temperature values are calculated from this raw data. The evaluation also contains alarm times and deviations and is presented in the form of a table with statistical values. Thanks to the high level of integration of the hardware in HW4, virtually all Rotronic instruments can be implemented in the existing monitoring system.

Customer benefits
The monitoring system implemented by Rotronic offers a consistent solution, since all main and secondary installations and the monitoring system itself are integrated in the FIS management system, they can be monitored and controlled via a central software platform.

Dr. R. Pfleger GmbH

  •  Medium-sized pharmaceutical company located in the city of Bamberg,
  • The company is entirely owned by the Doktor Robert Pfleger-Foundation
  • The company now markets over 30 medicinal products
  • Primary focus on urological, gynaecological, and dermatological indication

For more information on any of our products please visit the Rotronic website.

Measuring in clean rooms – Hands on with the Rotronic CRP5

For many years Rotronic products have been widely used in the monitoring and control of clean rooms, however more often than not our products are found out of sight quietly performing their measurement tasks away from areas with strict requirements for cleanliness demanded by modern clean rooms.

In the past few months Rotronic have launched two new clean room panels that are as the name suggests designed specifically for use within clean room environments.

Our flagship product in the field is the CRP5 which we will take a look at first.

crp-5_pfad
CRP5 – Clean room From Rotronic

The CRP5 is a comprehensive clean room panel designed specifically for the requirements of modern clean rooms. Once installed the unit provides virtually no areas for dust to collect and the industrial glass front is extremely resistant to chemicals. With a fully configurable colour screen it is a stylish looking device!

CRP1a
Unpacking the CRP5, the glass front, colour display and stainless steel fittings make the CRP5 elegant, easy to clean and functional

Internally the CRP5 delivers some serious capability, providing potentially a solution for all your clean room measurement and monitoring requirements. Including;

  • Differential Pressure via internal diaphragm sensor (measurement via rear ports and front ports for flexible instalation and calibration).
  • Interchangeable humidity and temperature sensor.
  • Two fully configurable analogue inputs (for particle counters, lux meters etc)
  • Two configurable switch inputs (for pressure or door switches etc)
  • 6 configurable relays (for alarm triggers)
  • Digital connectivity via RS485 and Ethernet (Modbus or direct connection to Rotronic HW4 software)

A unique feature of the CRP5 is the optional flush mount humidity probe. The probe is locked into place through the use of magnets and can easily be removed for cleaning or calibration. An optional rear mount connection is available for Rotronic HC2 humidity and temperature probes should you wish to monitor ducts or spaces remote to the CRP5 itself.

CRP2
The unique removable Humidity and Temperature probe for ease of cleaning and calibration

The configurable colour display shows alarm conditions which can be acknowledged via the front panel. Alarms can be used to trigger relays associated with audible and larger visitual alarms. Interaction with the CRP5 is via four optical buttons –  their use is completely unaffected if operators are wearing protective gloves or not (unlike capacitive interfaces).

CRP3
Optical buttons can be used easily even when wearing gloves!

As an FDA and Gamp5 compliant device the CRP5 is a safe choice for regulated industries. The instrument can be used with 3rd party systems via its analogue outputs or industry standard Modbus TCP / RTU communication. Alternatively the CRP5 can be connected to the Rotronic HW4 software package to provide a one stop solution for monitoring, control and alarming. Pharmaceutical validation services as well as ISO 17025 (UKAS) calibrations are available from Rotronic if required.

To get some more detailed information about our clean room solutions give us a call or visit our website… Rotronic Website and CRP5 Datasheet

Next time we will look at the Rotronic CRP1 a dedicated temperature and humidity clean room panel for  applications with slightly simpler requirements but still demanding a clean installation  and high accuracy measurements!

crp1_side
The CRP1 – Humidity and Temperature measurements in clean rooms.

Dr Jeremy Wingate
Rotronic UK

Monitoring Transportation

Rotronic has recently released a cold chain logger which can be used to ensure items are kept at the correct temperature during transportation.

tl-cc1_0094Rotronic cold chain logger

Transportation in general

One key aspect of today´s wealth in the modern world is specialization. So towns, regions or even whole countries focus on a few things they are really good at. This can be based on various factors; for example resources offered by the land, climatic conditions or specific knowledge that has been developed over a long period and has been passed on from generation to generation. As an example, Cuba provides brilliant conditions for the Corojo and Cirollo plants, better known as tobacco. Although smoking is quite popular among Cubans, their production of tobacco exceeds the local demand by far. On the other hand they lack other resources and goods. At that point trading, and therefore the importance of transportation, comes into play. In the case of the tobacco the transportation is not a simple task, since it requires a constant high humidity level to maintain the high quality expected from a Cuban cigar.

Tobacco-Fields-in-VinalesTobacco plants in Cuba

Like tobacco there are many products where special requirements for shipping have to be put in to consideration, in order to maintain freshness, internal integrity, colour quality or whatever other properties that could be affected by an inappropriate transportation.

Facts & figures:

A major step in the transportation industry was the international standardisation of shipping containers in 1955. This means that one container can be put directly from a vessel to a truck and transported all around the globe.

Today 28´000´000 ISO containers (20 feet) are permanently on the move, transporting goods from point to point keeping our economy running.

Every year 10´000 shipping containers fall over board.

0.16 Euro cents is the cost of transporting a bottle of Chilean whine to Europe.

Why the need to monitor transportation?

Various factors can have a negative impact on a product during transportation. Below are the most common parameters to be monitored to ensure product quality:

Temperature

Controlling temperature is the key in transporting fresh foods, where the rate of decomposition is reduced significantly by maintaining lower temperatures. It is also important as proof of an uninterrupted cool chain for frozen products or to ensure the effectiveness of medication.

truck_insidesthe back of a temperature controlled lorry.

Humidity

Monitoring humidity ensures that the growth of micro organisms in food and medications remains below critical levels. Controlling humidity also helps to maintain structural integrity of paper and cardboard or to avoid corrosion of metals during a long transatlantic journey in a shipping container.

Pressure

Apart of being able to reconstruct when and how long a parcel`s flight was, pressure is also en essential parameter for products that have to be transported in a vacuum or pressured chamber. This method could for example be used when transporting biological samples or hazardous chemicals.

Shock

To guarantee that expensive machinery, glass, works of art and other delicate products weren’t damaged during transportation, monitoring of the G-force in all three axis is the solution.

Rotronic-HygroLog-Log-HC2-P1-Universal-Humidity-and-Temperature-Data-Logger-Humidity-and-Temperature-Measurement---Large-21391770915

 

The Rotronic LOG-HC2 can log light, temperature, humidity, pressure, and shock.

Light

Light is a good parameter to determine if or at what time a container or package was opened. Also to ensure protection of light sensitive products such as vegetable oils, chemical substances or photo paper.

Philip Robinson                                                                                                       Rotronic UK