Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Latest commit

 

History

History
16 lines (9 loc) · 988 Bytes

README.md

File metadata and controls

16 lines (9 loc) · 988 Bytes

PSM

Pulse skip modulation (PSM) code for Arduino

This project explores ways to manipulate vibe pump flow using simple components.

The basic setup consists of an Arduino Nano board and AC Dimmer board with an AC phase sensing circuit.

Most popular AC Dimmer boards have a bridge rectifier that allows zero-crossing detection. This project requires modification of such board by replacing bridge rectifier with a diode, so the circuit detects full negative part of AC wave.

UPDATE: The requirement of the replacement of the bridge with a diode can be dropped if the code accounts for two impulses per period and keeps the TRIAC open for the full duration of it.

Arduino_PSM_Schematic

Each time a negative half-wave is detected, the code calculates whether the next positive pulse has to be skipped, and sets a TRIAC control output accordingly.