Software apps and online services
Different loads behave differently when connected to the AC mains. Traditional electromechanical relays/contactors employed in industry and automation are not capable of synchronizing with the grid electrical quantities when making or breaking connection. As a result, arcing and/or overcurrent occurs, reducing the lifetime of relay contacts and stressing unnecessarily the commutated load.System Description
This project consists in the design of a bipolar intelligent power Solid State Relay (SSR), capable of commutating different loads (resistive, inductive or capacitive) without introducing overcurrents during the turn-on phase and avoiding voltage spikes during the turn-off phase. Bipolar topology allows to completely insulate the load from the AC source.
When the load is predominantly of capacitive type, the turn-on commutation is performed at the zero-crossing of the input voltage sine wave. This allows to greatly reduce the inrush current.
When the load is predominantly of inductive type, the turn-on is performed at the peak of the input voltage sine wave, in order to avoid core saturation an then reduce inrush current when driving e.g. large transformers.
During turn-off, in boh cases, the commutation occurs on current zero crossing, in order to avoid voltage spikes caused by the stray inductance of the power line.
The following figure shows the functional scheme. The AC grid is directly connected at the input of the SSR. The system consists of two main PCB: the SSR board and the Nucleo-64 logic unit board.
The power SSR was developed using EAGLE PCB CAD software. The SSR employes four 600 V CoolMOS™ C7 in antiseries connection to implement the bipolar switch topology. The MOSFETs are controlled by opto gate drivers. The input voltage is measured by the optically insulated voltage sensor ACPL-C87B. The input current is measured by the galvanically insulated current sensor ACS720.
The logic unit is implemented by the development board Nucleo-64. The sensing of input voltage/current and the generation of the gate signals is performed by the on board microcontroller STM32F446.
The GPIO and all peripherals were configured using STM32CubeMX tool.
The following figure shows the control system flowchart implemented by the code.
Start: in this state the code is initialized. All microcontroller peripherals are properly configurated. This state is invoked at the power-on and every time the reset button is pressed.
- Peak voltage measure: if the Nucleo-64 B1 blue switch button is pressed, the control looks for the turn-on modality. The turn-on modality is set by the Mode Selctor pin (PA15 GPIO). If the pin is linked to ground, the capacitive mode will be selected. If it is pulled-up, the inductive mode will be selected.
- Capacitive mode: in capacitive mode the turn-on of the gate signals is at the zero-crossing of the input sine wave voltage (ZVS).
- Inductive mode: in inductive mode the turn-on of the gate signals is at the peak of the input sine wave voltage.
- Disabling SSR: if the B1 button is pressed, the SSR is disabled. The gate signals are turned-off on at the zero-crossing of the current. If a fault event is detected, the turn-off happens immediatly without delay.
Three different fault events are monitored:
1) Self-diagnosis of undervoltage lockout and overcurrent fault implemented by the opto gate drivers. The microcontroller monitors the predefined GPIO where the faults are reported. The fault event is managed by an interrupt service routine.
2) software load overcurrent.
3) software input overvoltage.Experimental Results
The SSR was tested in Inductive Mode and Capacitive Mode.
Legend of the oscilloscope captures:
- blue trace: gate signal of one CoolMOS
- green trace: grid sine-wave voltage
- red trace: load sine-wave voltage
- purple trace: current load
Preliminary tests were conducted on a purely resistive load, in order to validate the different load commutation strategies implemented.
The following capture shows the SSR turn-on at the peak of the input voltage, when Inductive Mode is selected.
The following capture shows the SSR turn-on at the zero-crossing of the input voltage, when Capacitive Mode is selected.
The following capture shows the SSR turn-off at the zero-crossing of the input current.