Alicat MATLAB/Simulink Toolbox by JTEC Energy

Article by Gavin Williamson, Mechanical Engineer at JTEC Energy

Disclaimer:

The Alicat MATLAB/Simulink Toolbox (slx_ALICAT) was developed independently by JTEC Energy and is not an official product of Alicat Scientific. Neither JTEC Energy nor Alicat Scientific provide support for this software and are not responsible for its functionality, accuracy, or any outcomes resulting from its use. All risk associated with the use of this toolbox—including data integrity, hardware control, and system performance rests solely with the user. Users should verify all critical operations independently and consult Alicat Scientific directly for support related to their hardware.

Overview:

The engineering team at JTEC Energy has developed slx_ALICAT, a MATLAB/Simulink toolbox to allow easy integration of Alicat® Scientific’s control and sensing capabilities into Simulink. This toolbox takes advantage of Simulink’s drag‑and‑drop graphical programming environment to enable rapid configuration of simulated devices (models) especially for non‑programmers.

slx_ALICAT automatically takes care of a significant amount of housekeeping associated with setting up an Alicat—connecting to the device, enabling the totalizer, choosing the control loop variable, etc. This allows engineers to focus on data collection even quicker. It also has very low supporting hardware and software requirements—it runs in a normal Simulink model (not real‑time) and does not require any expensive specialized toolkits or computer platforms to work.

The core concept of the toolbox is that you start by adding a block to your model that represents your Alicat device—whether it’s a flow meter, pressure meter, or a controller. The configuration of the Alicat can then be specified by double‑clicking the block and selecting the appropriate mask parameters.

The inputs of the block can then be used to control the setpoint, set the batch size, and reset the totalizer. Simulink can be set up to run at a certain pace, which allows you to control the rate of your data acquisition. Details on how to set this up, along with an example model, can be found in the library’s help documentation.

Working Principle:

Let’s say you want to vary the setpoint of an Alicat MC Series mass flow controller while recording the process conditions (temperature, mass flow rate, etc.). You would first add an ALICAT_Flow block. You would then set up the connection and configuration of the device through the block’s mask (enabling totalizer, choosing gas type, choosing control loop variable, etc.). You would then connect constant blocks to the inputs to control the setpoint and batch size. The outputs could then be collected to plot and/or save the collected process parameters.

Features:

  • Read Alicat mass flow meters, pressure meters, and CODA devices and BASIS devices
  • Control Alicat mass flow controller, pressure controllers, and CODA devices and BASIS devices
  • Configure Alicat devices (specific parameters will only appear when applicable to selected device)
    • Communication port
    • Gas type
    • Data logging options
      • Enable totalizer
      • Enable valve drive recording
    • Enable Alicat Controller
      • This allows a controller to just be read as a meter through Simulink (It can still be controlled through the screen interface)
    • Setpoint variable
    • Enable batching
  • An example model showing how to use the slx_ALICAT toolbox to collect data
    • Model includes automatic dataset generation scripts that will save the collected data to a .csv and .mat file automatically when a simulation is stopped.
  • Connect to several Alicat devices from one model

Limitations and Restrictions:

Currently, the toolbox supports only Alicat-compatible serial commands using ASCII over RS-232 or RS-485 communication protocols. To connect to an Alicat device from your computer, you must specify the appropriate COM port.

Downloads

About JTEC Energy:

Former NASA scientist and Super Soaker inventor Dr. Lonnie Johnson invented the Johnson Thermo‑Electrochemical Converter (JTEC), a hydrogen‑based heat engine that transforms waste heat into energy more efficiently than any device in history. Led by Mike McQuary, and with over 45 patents, JTEC can unlock a huge range of previously untapped sources of low‑quality waste heat streams—from industrial process heat, to shallow geothermal heat, to cooling center effluent—for power generation. For more information about JTEC Energy, visit the company website at jtecenergy.com.

FastTrack Flow & Pressure Devices

Alicat instruments built and shipped just 3 – 5 business days from your order.
Alicat instruments built and shipped just 10 – 15 business days from your order.
CALIBRATION
Standard or High Accuracy
DISPLAY
Monochrome, Color, or None
PROTOCOL
Analog, RS-232, RS-485, Modbus RTU, PROFIBUS, EtherNet/IP, EtherCAT, MODBUS TCP/IP, or PROFINET
CONNECTOR
MD8, Locking Industrial, DB9M, DB15
FITTINGS
NPT

FLOW METER RANGES

2 SCCM – 500 SLPM

FLOW CONTROLLER RANGES

2 SCCM – 100 SLPM
PRESSURE METER RANGES
1 – 100 PSI
SINGLE AND DUAL VALVE PRESSURE CONTROLLER RANGES
1 – 100 PSI

Do FastTrack instruments meet your requirements?

Service and Support

Whether it is time for your instrument’s annual recalibration or your instrument needs a repair or upgrade, you can fill out the Service Request Form below, email us, call us, or start a live chat session to get the service process started.

Call Us

+1 (888) 290-6060

Live Chat

Ask us a question

Help Near You

Find a local representative

Self Help

Technical documentation

Call Us

+31 262-031-651

Help Near You

Find a local representative

Self Help

Technical documentation