Main Content

Cycler

Ideal galvanostat, potentiostat, or cycler

Since R2022b

Libraries:
Simscape / Battery / Cyclers

Description

The Cycler block implements an ideal galvanostat, potentiostat, or a cycler.

To configure this block as a galvanostat, set the Configuration parameter to Galvanostat, specify current. The Cycler block then represents an ideal current source or sink that is powerful enough to maintain the specified current through it regardless of the voltage across it. The output current is the value at the physical signal port, i.

To configure this block as a potentiostat, set the Configuration parameter to Potentiostat, specify voltage. The Cycler block then represents an ideal voltage source that is powerful enough to maintain the specified voltage at its output regardless of the current passing through it. The output voltage is the value at the physical signal port, v.

To configure this block as a cycler, set the Configuration parameter to Cycler, specify current or voltage. When the value at the control physical signal port, c, is equal to 0, the cycler turns off. When the value at the control physical signal port, c, is equal to 1, this block represents a galvanostat. When the value at the control physical signal port, c, is equal to 2, this block represents a potentiostat.

This table shows the overall behavior of the Cycler block:

Configuration
Galvanostat, specify currentPotentiostat, specify voltageCycler, specify current or voltage
Value at input port c
012
The Cycler block represents an ideal current source.The Cycler block represents an ideal voltage source.The Cycler block turns off.The Cycler block represents a galvanostat.The Cycler block represents a potentiostat.

Ports

Input

expand all

Physical signal input port associated with the current that passes through the cycler.

Dependencies

To enable this port, set the Configuration parameter to either Galvanostat, specify current or Cycler, specify current or voltage.

Physical signal input port associated with the voltage across the cycler.

Dependencies

To enable this port, set the Configuration parameter to either Potentiostat, specify voltage or Cycler, specify current or voltage.

Physical signal input port that controls the behavior of the cycler.

Dependencies

To enable this port, set the Configuration parameter to Cycler, specify current or voltage.

Conserving

expand all

Electrical conserving port associated with the positive terminal of the cycler.

Electrical conserving port associated with the negative terminal of the cycler.

Parameters

expand all

Convention option for the sign of the current.

Option to configure the behavior of the block.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2022b