Sunday, November 1, 2020

Understand the Basic concept of BMS system

Understand the Basic concept of BMS system 

What is a BMS or Building Management System?
In a nutshell, BMS otherwise called as BAS or building automation is computer-based control system which reduces the manpower, automate the system, and saving the energy consumption in building by monitoring and controlling the mechanical and electrical equipment in modern day buildings or any industrial plants.
Not only that but BMS helps to
·        Increasing productivity.
·        Increasing the equipment lifetime and better performance.
·        Identifying the systems faults earliest.
·        Managing the hotel tenants in an effective manner.
Nowadays any modern-day buildings built with BMS to support facilities management to accomplish the maintenance and save the energy in building from one place of computers.

Any BMS software or system must provide the following facility to the operator

  • Monitoring and controlling connected equipment in the building. 
  • The alarm should be a popup in operator workstation for any critical faults in the system. 
  • Any types of equipment on, off status and alarm should be logged or stored in PC to retrieve later.
  • Scheduling the equipment to on and off automatically by preset time. 
  • User interface graphics should be available in order to visualize the field equipment to monitor for BMS operator easily. 

BMS or BAS system monitor and/or controls the following system in buildings

  • HVAC (Heating, Ventilation, and Air-conditioning or all supply and exhaust fans, ACs etc). 
  • Lighting control system. 
  • Fire alarm system. 
  • Firefighting system. 
  • Security control system. 
  • CCTV system.
  • Lift control system. 
  • Pumping system. 
  • Water tanks level. 
  • Irrigation system. 
  • Electrical meters.
  • Water Leak detection system.
  • Split units. 
  • UPS units.
  • VFD-Variable frequency drives. 
  • VRF/VRV-Variable refrigerant flow or volume (both are same but each term copyrighted by a different vendor) 
  • And any other system which has provision for BMS to control and monitor. 

Main components of the BMS System

1.     Hardware
·        DDC-Direct digital controller
·        Sensors
·        Actuators
·        Cables to connect sensors, actuators to DDC.
·        HMI display-Human machine interface.
·        PC Workstation
·        Server to save the large database.
  1. Software
  1. Networking protocols
·        Programming or configuration tools.
·        Graphics or User interface.
·        TCP/IP– Transfer control protocols/Internet Protocol.
·        BACnet– Building automation controller network-ASHRAE
·        Modbus
·        LONworks
·        CANbus
·        and numerous protocols available.
Don’t worry about the various protocols, this all protocol doing the same task to transfer data from one device to another device. 

BMS System architecture in the modern-day building

However, BMS System controls and monitor all the electrical and mechanical systems in buildings from BMS workstation or HMI(Human Machine Interfaces), but not directly because each system has its own functionality and unique purpose like

  • HVAC System helps to facilitate and provide comfortable and healthy air conditioning to tenants.
  • The lighting control system which has a variety of lightings in buildings that needs to be on and off effectively and save energy while tenants not available.
  • CCTV helps to facility management to secure the building
  • Access control systems may also be used to control access into certain areas located within the interior of buildings.
  • A fire alarm system is the life safety system to warn people by audio and visual to protect their lives from fires, smoke, carbon mono oxide and other toxic elements for the human.
  • In case of fire Firefighting system aims to protect human life and property in the building by a large amount of water and other gas.
  • UPS is to provide to the uninterrupted power supply in the building for electrical equipment.
  • Pumping system used in the building to pump the water to the required area.
  • still tons of systems evolved in the modern-day building to facilitate the people.

All systems have its own controllers and processing system due to the different functionality of each system.

So BMS controllers or device designed for controlling and monitoring the HVAC system and other small systems and integrate all other systems through dedicated networking protocols like BACnet, Modbus etc.

General BMS System architecture with Levels

  • Management Level: This is the front end for operator and engineer used to visualize the graphics for controlling and monitoring the systems which have computer workstation, server, web browser, printers.
  • Automation Level: BMS Router and other main controllers connected in building network integrate third-party system and connect BMS devices
  • Field devices Level: this is Level where BMS controllers connect to field systems sensors, actuators, and other panel circuits to monitor and control.

Simple Real Time example for BMS System

Any modern day building client provides huge specifications for BMS System, whereas here I am going to take simple requirement to monitor and control the sequence of Air Handling unit. 

Let us see below the requirement of the client to monitor and control the sequence in BMS System.

Before we go detailed about how to design the BMS System for the requirement. let us see some basics components of the AHU-Air handling unit.

AHU is an HVAC system which consists of the duct, fan, filter, cooling coil, heating element,humidifier, sound attenuators, dampers, valves and many more to regulate the air into the room by heating, ventilation and conditioning to distributes the conditioned air through the building and returns it to the AHU and also called as centralised AC in modern-day building.

Duct – It is the collection of metallic tubes that interconnected and distributes the heated/cooled air to the required rooms.

In order to monitor the duct air temperature in fresh, return and supply duct. we have to install the duct temperature sensor in the duct.

Fan Motor– Blower is used to circulate the air from fresh and return duct to the supply duct.

This fan motor controlled and monitored by the separate electrical panel by the designed electrical circuit with help of electrical relay and contactor and providing an option to BMS system to
  • On/Off the fan.
  • Monitor the fan running status.
  • Monitor the Fan motor overload fault status and many more.

Filter– It is one of the main components in AHU to prevent the dust and dirt particles to enter in the AHU.

When the AHU fan motor started, the fresh outside air supplied into the duct where filter components used to filter the dirty particles continuously and in order to monitor the filter extreme dirty condition,

DPS switch is used to install across the filter and provide a signal to BMS when the filter gets dirty(technically DPS-Differential pressure switch will send the signal to BMS when the pressure reached more than pre-set across the filter and this same function can be used to monitor the fan status.

Now we Read about How DPS used to monitor fan and filter status

Heating/Cooling element- It is used to cool or heat the water that entered in the coil so that air in the duct can be heated or cooled based on the user requirement.

Either heating or cooling water enters into the coils are controlled and monitored by valves on the pipe with help of valve actuator.

Dampers- An HVAC damper is a movable plate, located in the ductwork, that regulates airflow and directs it to areas that need it most.

Damper opening and closing position controlled electrically with the help of damper actuators and this actuators have terminal for control from BMS and terminal to monitor the feedback of position.

System Description:

The variable speeds Air Handling Units are used to serve air conditioning need for all area of buildings

The Air Handling Unit comprises:

·        Variable Speed Supply Fan

·        Chilled water coil with the 2-Way modulating control valve

·        Duct mounted supply air pressure sensor

·        Outdoor & re-circulating Air modulating damper

·        Carbon dioxide sensor.

·        Supply and Return Air temperature sensors

·        Supply air differential pressure switch

·        Differential pressure switches for 2 set of filters

System Monitoring and Alarm:

      ·        Software alarms shall be generated at the operator workstation whenever the run status of the supply fan (with differential pressure switch) does not match the current command state.
·        A failure alarm shall occur when the run status of the load shows no operation and the load has been commanded to be on.
·        An advisory alarm shall occur when the run status of the load shows operation and the load has been commanded to be off. All alarms shall be recorded in an alarm log for future review. Provide 15 seconds (adjustable) time delays before generating an alarm.

The sequence of Operation

a. Auto Mode:

When the AHU start is in AUTO mode (i.e. selector switch installed in the MCC must be in Auto Position), the unit is started and stopped from the BMS via a time schedule or BMS override command. When the start for the AHU is initiated, the control program residing in the controller follows the following sequence

Start-Up:

The following sequence follows with a preset time interval per interlock equipment start-up:
1) Check Supply fan trip signal – Normal State
2) Supply Air Damper –Open Position
3) Outdoor Air Damper –Open Position
4) Return Air Damper – Open Position

5) Once the above conditions are satisfied, AHU is enabled to start in Auto mode or using a plant enable button on the graphics in manual mode by the operator. Once enabled, BMS will automatically command supply fan to start.

6) Supply Fan shall start and it’s associated Interlock equipment in sequence. Through the signal from the Diff. Airflow Switch, if airflow is detected, the System will continuously run, if No airflow is detected by the DP Switch, the Supply Fan will de-activated and send an Alarm to the DDC – for “No Airflow” and shut down the whole system including its associated interlocks. If the Air flow switch signal is proved ‘ON’ then BMS will enable control loops.

b. Shutdown Mode:

When the shutdown command for the AHU is initiated, the control program residing in the controller follows the following sequence.
1) Send Stop command to stop the supply fan
2) The outdoor air, return and supply air damper move to close
3) Move chilled water valve to close position

c. Manual (Hand) Mode:

When the AHU is the manual mode, the fans are started and stopped from the AHU control panel. Other control except for fan on/off control shall function as per the Auto mode.

d. Fire / Smoke Mode:

Fire condition is determined by the Fire Alarm Control Panel. AHU will automatically shutdowns the whole system with associated interlocks.

AHU Control

The control program, on the feedback of air handling unit operation, initiates the control algorithm. This algorithm consists of three controls. Each temperature, pressure and ventilation control has its own control loop. The pressure control loop is used to modulate the speed of the supply air fan hence supply air flow. The control loops design to function as per following explanation:

a. Temperature Control loop:

The supply air temperature installed in the duct will relay the measured signal (temperature) to the DDC controller, the DDC controller compares this signal with set-point (adjustable by the operator from BMS central) and generates an analog output to the 2-way modulating cooling valve. Based on the difference between the two values, a proportional-integral program will determine the percentage of the cooling coil valves opening to achieve the desired condition. The default set-point value for the supply air temperature is 13ºC (Adjustable).

b. Pressure Control loop:

The supply air pressure sensor shall be installed in the duct  will relay the measured signal (static pressure) to the DDC controller, the DDC controller compares this signal with the set-point (adjustable by the operator from BMS central) and generates an analog output to the variable frequency drive (VFD) of the supply air fan. Based on the difference between the two values, a Proportional-Integral program will determine the percentage of the fan speed to achieve the desired pressure. The set-point value for the supply air pressure for each AHU shall be adjusted.

c. Ventilation Control loop:

Demand control ventilation employs return air carbon dioxide controlling strategy.

A single carbon dioxide sensor sense carbon dioxide concentration in the return air duct and sent to the DDC controller, the DDC controller compares the signals with return air carbon dioxide concentration (Default carbon dioxide level difference value 400 ppm).

Then DDC controller generates an analogue output to the outside air dampers and returns air damper to modulate, based on the difference between the values, the Proportional integral program will determine the percentage of the modulation of outdoor and return air dampers.

Minimum outdoor air quantity shall be governed either by building pressurization requirement (Input from Building differential pressure sensor) or 20% of the Maximum outdoor requirement of the AHU.

Alarms:

The following minimum alarms shall be generated on BMS
1) Filter Dirty Alarm: This is generated when pressure drop on each filter exceeds the set value to indicate dirt accumulate at filters.
2) Fan Trip Alarm: A normally open “NO” volt free contact at the MCC panel when closed will generate an alarm at the BMS indicating that the fan is tripped
3) Fan Fail: In case the supply air fan fails to start or if the differential pressure switch across

supply fan is not giving the signal according to the command due to any reason then alarm shall be generated. In case of a fan fail alarm on the BMS, due to abnormal behaviour, the DDC controller will latch the alarm. The operator has to acknowledge (reset) the alarm on the BMS once the trouble has been checked and removed. The operator shall not be able to start the AHU until the alarm s acknowledged and reset.

4) Temperature High & Low: Temperature HIGH and LOW alarms shall be generated if the supply/return air temperature rises above or falls below the supply /return air temperature alarm limit.

List of Input and output points are required for the above-discussed sequence of operation for AHU

Some basic terms of digital electronics

  • Analog Input: Analog inputs can come from a variety of sensors and transmitters. You can measure a whole bunch of different things. The job of the sensor or transmitter is to transform that into an electrical signal. Here are a few of the things you can measure with analog sensors:

·        Level

·        Flow

·        Distance

·        Viscosity

·        Temperature

  • Digital Input: It allows a microcontroller to detect logic states either 1 or 0 otherwise called as VFC-Volt free contact.
  • Analog Output: In automation and process control applications, the analogue output module transmits analogue signals (voltage or current) that operate controls such as hydraulic actuators, solenoids, and motor starters.
  • Binary Output: it is nothing but relay output from the controller to trigger on and off any equipment.

Now its time to choose the DDC controllers based on the above input and output point list.

Any BMS controllers manufacturer must have the basic controllers types of analogue input-output, binary input, and output controllers either dedicated controllers or mixed of all types in a single controller.

For the above applications, we need to choose controllers that should accommodate 17 AI, 6 BI, 5 AO, and 1 BO(Note that temperature and humidity are two different analogue input)

Once controllers are designed, we need to calculate power load for each controller (available in controller datasheet) and field devices to choose the right transformer rating for our DDC panel.

Next things are to write a program for our controllers to accomplish the above sequence,

First, we need to change English words into the flowchart then we can change it later on the different programming language that required for BMS vendors either ladder logic or functional block or plain English and etc.

Whatever it is any BMS program functionality that will not go beyond the basic digital logic gates.

Flowchart for AHU Control sequence of operation




Thursday, October 15, 2020

Contactless Access Credentials & Egress

Contactless Access Credentials & Egress 

THE business landscape changing so dramatically over the past few months — possibly irrevocably — the task for many in security, including for consultants, integrators, dealers and manufacturers. As businesses and organizations begin to reopen, many are rethinking the way they budget for security, including access control, video surveillance and intrusion Alarm.

It’s amazing that a microscopic virus from China could virtually bring the world to a standstill. The 2020 global pandemic has reshaped the way people work, learn and play on every conceivable level. In addition to the devastating impact on global health and safety, COVID-19 has infected the health of the global economy.

The growing call to return to work will surely accelerate many of the physical (not social) distancing, sterilization and occupancy issues that we are currently facing. Hopefully, modern medicine will rise to the challenge sooner than later with a COVID-19 vaccine, but this may take some time even with accelerated testing and approvals.

Commonly touched items that can cause the spread of coronavirus (and other infectious disease) can include things like elevator buttons, ATM and checkout keypads, door knobs and handles, keyboards and mice, and door/entry access control panels — just to name a few. When you think about all of the “touchable” items that you interact with each day it becomes a daunting task to stay away from them and feel safe, clean and virus-free. Well, it's no surprise that right now, businesses are feeling the need to provide solutions and upgrade their safety and security as the workforce begins to come back to the office or plan for that to happen soon.

Contactless credentials are the most common component used in an access control system and while many look alike externally, important differences exist. “Contactless credentials and touchless access control can help reduce the number of surfaces that people touch on campus and can help reduce contact transmission” said Arindam Bhadra founder SSA Integrate.

Credentials Overview

While other credential options exist, the most common choice is RFID 'contactless' types. Nearly 90% of systems use contactless cards or fobs built as unpowered devices that are excited and read when brought close to a reader unit. This 'wireless power' process is called resonant energy transfer.

In Proximity Reader technology the reader itself emits a field collected by the card, eventually reaching enough of a charge that temporarily powers a wireless data transfer between the two. The image below details typical internal components of the type, where the wire antenna collects energy, the capacitor stores it, and when full discharges ICC chip (credential) data back through the antenna to the reader:

In general, all contactless credentials work this way but the exact parameters like operating frequency, size of credential data, encryption, and format of the data greatly vary in the field. In the sections that follow, we examine these parameters in depth.

Contactless Credentials Dominated by Giants

One of the biggest differences in contactless credentials is the format of the data it contains, typically determined by the manufacturer. Upwards of three-quarters of contactless credentials use formats developed or licensed by HID Global and NXP Semiconductor.

HID Overview

Since the market began migrating away from 'magstripe' credentials in the early 1990's, HID Global gained marketshare with its 125 kHz "Prox" offerings. Now part of ASSA ABLOY, HID has become the most common security market credential provider, and OEM of products for access brands including Lenel, Honeywell, and Siemens. The company's best-known formats include:

·     "Proximity": an older 125 kHz format, but still regularly used and specified even in new systems

·      iClass: an HID Global specific 13.56 MHz 'smartcard'

HID is the most common choice for credentials in the US. Because of commanding market share, HID is able to license the use of its credential formats to a variety of credential and reader manufacturers. Even when marketing general 'ISO 14443 compliant' offerings, HID strictly follows "Part B" standards (vs Part "A" - described in more detail later).

NXP Overview

Formerly Phillips Semiconductor, Europe-based NXP offers a number of 'contactless' credential components used in a number of markets - security, finance, and industrial. With widespread adoption of ISO standards in credential specifications, NXP offers a catalog of types built to spec, including:

·    MIFARE PROX: NXP's 125 kHz format built on early drafts of ISO standards, but not as widely adopted as HID's "Proximity" lines

·  MIFARE/DESFire: an ISO Standards-based NXP 'smartcard' format, also operating on 13.56 MHz the 'DESFire' moniker was introduced in the early 2000s to distinguish the format from 'MIFARE Classic' credentials. DESFire credentials feature stronger encryption that required higher performing chips. The 'Classic' format fell under scrutiny for being vulnerable to snoop attacks, and DESFire countered this threat. Because these improvements were made only to credentials, and existing MIFARE readers could still be used, the new format became known as 'MIFARE/DESFire'.

Unlike HID, NXP's credential formats are 'license-free' and the according standards are available for production use for no cost. NXP manufacturers all ISO 14443 product to "Part A" standards. NXP's market share is largest outside the US, mostly attributed to the early (starting in ~1990's) adoption of HID Global formats inside the US, but the brand's formats are often the primary ones used in Europe and Asia for physical access control.

US vs the World

Because of NXP Semiconductor’s strength in EMEA and the lack of licensing, MIFARE, DESFire, and the associated derivatives are popular outside the US.

However, HID Global's strongest markets are in the Americas, especially in the US. Despite the additional cost of licensing compliant credentials and readers, the company also produces products that use the unlicensed NXP formats and has equal or greater operability as a result.

125 kHz vs 13.56 MHz

The credential's RF frequency factors a key role in its performance. Because readers can only scan credentials operating at specific matching frequencies, this attribute is the first to consider. If frequency and format do not match, credentials are simply not read. The chart below shows the frequency of popular formats:

Perhaps the biggest difference between 125 kHz and 13.56 MHz frequencies is credential security. 125 kHz formats do not support encryption and are easily snooped or spoofed. However, 13.56 MHz formats are encrypted (usually 128 bit AES or greater) and credential data can only be read by a device that is specifically given the key to do so. 

Deciphering Credential Types

One of the most challenging jobs for integrators and end users alike is simply identifying which credential a system is using. The market is crowded with hundreds of options with no guarantees of compatibility for items that all appear to be a blank white card. The image below details four different credential types with dramatically different performance and security characteristics, yet they all look the same to the untrained eye:

For contactless types, you must know three attributes that are not typically clearly printed or overtly labeled on the credential:

·     Format Name: This designates how and how much data the credential transmits, usually defined by an ISO standard for Wiegand formats. For example H10301 is the typical 26 bit format, H10304 is HID's Wiegand 37 bit, and so on. The best way to confirm the format used by a card is to locate a box label of existing cards (See image below 'Card Format Details') to interpret the raw hexadecimal output as a specific format. If card boxes are not available, researching the credential type used by checking the format used in the Access Control Management Software application, typically in the cardholder and reader configuration settings.

·       Facility Code: This attribute is NOT printed on the card in most cases. This piece of information is also typically found on box labels but can be decoded using the same online calculators for format name. In certain cases, access systems must be configured to accept specific facility codes and some low-end systems may limit acceptable codes to one specific number. Without knowing this code, credentials are not sure to work.

·       Card ID/Serial Number (CSN/UID): In many cases, the ID number is embossed or printed on the card. This number is the 'unique ID' that ties a user to a specific badge. While concurrent numbers are not an issue, redundant numbers are, and the same Card ID and Facility Coded credential cannot be issued twice in the same system. The image below shows.

Interestingly, the Sales Order/Batch Number information printed on the card is often not used by the access system at all and is only printed to assist in researching the origin of the card as shipped to a specific distributor, end user, or dealer.

In some cases, a card vendor or distributor will 'read' an unknown card for a fee, but turn around times may take several business days.

Often, the box for cards currently in production is often the quickest, easiest way to gather all three pieces of this information, if not a reordering part number, as shown below:

The ISO/IEC 14443 Division

Very little separates HID's iClass from NXP's MIFARE offerings, and if not for ambiguous interpretation of an ISO standard, they would 'look' the same to most readers. However, because early versions of the standard left room for differentiation, HID and NXP designed their 'compliant' standards with a different encryption structure.

The end result is both versions of credential claim 'ISO 14443 Compliance', but are not entirely interchangeable. To reconcile this difference, ISO revised 14443 to include parts 'A and/or B' to segregate the two offerings. The default, basic serial number of cards is readable in both A & B parts, but any encoded data on the card is unreadable between the two because the original standard left room for implementation ambiguity.

In general, because there is no licensing cost in using 'Part A' standards, many low-cost, non-US target market, and new reader products start here. However, readers marketed specifically in the US or from vendors with a broader global market license use 'Part B' compliance common to HID.

For example, this TSDi reader supports 14443-A, but not 14443-B, meaning in practical terms in does not support HID's 13.56 MHz iClass formats, but does support NXP's 13.56 MHz MIFARE/DESFire formats:

In contrast, HID iClass readers support both 'A' and 'B' along with the non-ISO specific 'CSN' such that either type of credentials will work with these readers:

13.56 MHz Smartcard Interoperability

While the 'Part A & B' division in ISO 14443 separates formats from being the same, it does not always mean they are unusable with each other. Portions of ISO 14443 are the same in both parts, including the 'Card Serial Number'. For some access systems, this is the unique number that identifies unique users, and because this number is not encoded, it will register in 'non-standard' readers:

·    CSN/UID String: Essentially the card's unique identifier is readable because it is not stored in the deep 'encrypted' media. Many simple EAC platforms use only this number to define a user, and instead use the internal database to assign rights, schedules, and privileges.

·    Encoded Read/Write: However, the vast majority of storage within the card is encrypted and unreadable unless compliant readers are used. Especially for access systems using the credential itself for storage (e.g.: Salto, Hotel Systems) and for multi-factor authentication (e.g.: biometrics) high security deployments, the simple CSN is not sufficient.

The CSN Loophole

In terms of security, not all credential details are encrypted. The 'Card Serial Number' (defined by ISO standards) for 13.56 MHz cards can often be read regardless of underlying format, modulation method, or encryption. The CSN may be usable as a unique ID by the system, but the full data set of the credential will not be available.

For smaller systems with only a few doors and a hundred or fewer cardholders, using the CSN as the primary ID is common due to the ease of enrollment in using CSNs as unique badge numbers. However, for high-security sites where access identity encryption is required by standard or when credentials are used for multiple integrated systems, using CSNs to identify issued cardholders is often not approved. Rather, the card's encrypted data is required instead.

Form Factor

Credential shapes are not just limited to cards or fobs. The size and method of hosting a credential can include stickers, tokens, cell-phone cases, or even jewellery.

The form factor of the credential often is an important consideration in overall durability and service life. For example, while a white PVC card may be ideal to print an ID badge on and hang from a lanyard, it can easily be bent or broken in a rough environment. A key fob, while unsuitable for printing a picture on, is designed to be durable enough to withstand abuse, harsh environment exposures, and even submersion in water.

The right form factor choice should be dictated by the user and the user's environment, and generally, all major credential types have numerous form factor options to suit.

Touchless Switches

Touchless wall switch makes opening a door simple and germ free. Blue LED back-lighting highlights the switch at all times, other than during activation. This provides a visual reference of the switch’s location in low light conditions. Its low-profile design makes it blend into your wall.