Using VO2223A phtotriac to control vibration pump

Hi everyone,
I want to use PWM to control a vibration pump. I read on an old thread that someone had done something like this using phototriacs to change the phase angle, but I did not want to revive a dead thread. I understand that a phototriac (non-zero crossing) will enable the

I obtained some VO2223A phototriacs, but I'm not sure how to connect the AC side as the vibration pump has only 2 terminals and the phototriac AC side has 3 pins. Unfortunately Im not very familiar with triacs. I had assumed they would work in a similar way to a DC optocoupler, however I don't know what to do with the extra output pin.
Here is the datasheet - http://www.vishay.com/docs/81166/vo2223.pdf

The phototriac can switch 0.9A, which is more than enough for the 40W pump pulling 330mA at 120V.

My research has led me to believe I may need to use some sort of snubbing circuit, but am unsure how to proceed.

Any advice is most welcome, many thanks in advance! :slight_smile:

That chip has two triacs in parallel and the extra gate is for manual triggering. I would just leave the gate unconnected.

Thanks for your reply Grumpy Mike :slight_smile:

When I connect the pump across pins 6 and 8 (ignoring the gate) and apply power to the AC side, the pump begins to hum. When the microcontroller attempts to drive the pump, nothing happens (except for the hum).
I have tried connecting the pump across pins 5 and 8 as well (as my knowledge of triacs is currently very limited) with the same results.

What would be causing the humming when the optotriac is not being driven by the microcontroller? :~

I have tested the microcontroller PWM output on a LED and can confirm that it is working as expected.

When I connect the pump across pins 6 and 8

What!!!
Where have you put the mains?

It should be live -> pin 8 , pin 6 -> one pump wire, other pump wire -> neutral

If you have connected the mains across the triac it is likely you have blown it up.

Sorry, I didn't explain myself very well.
The hot wire goes to pin 6, pin 8 goes to pump. Neutral of pump stays connected to pump. So I am switching the hot wire :slight_smile:

Edit: I have also tried hot wire goes to pin 8, pin 6 goes to pump.
In both cases the pump hums when AC power is applied, even when the mcu is powered off.

A hum would imply that there is excessive leakage current going through the motor. Have you measured it?
The data sheet shows it should be small. Compair what you measure with this value. It could be a damages opto.

I saw a fairly quick spike of about 40mA (with my DMM) when AC power was applied, but it quickly settled to 0mA.

Compared to the datasheet, I should be getting tens of nA of offstate leakage current.

Does this mean I should be getting a different type of opto?

Well not yet.
Try turning the pin driving the LED side to high and measure the voltage across the LED. Does that match up with the data sheet?

I am getting about 0.9V across the LED when it is switched high. According to the datasheet it should be between 0.9 - 1.3V, so it matches with the datasheet.

What is the value for R1?
Have you set the output pin to be an output?
Have you set the pin to output a high? Not PWM.

R1 = 500 ohms. So the current through the LED should be (5-0.9) / 500 = 8.2mA. This is slightly under what the datasheet says for max current.

I have tried both PWM and a high pin with no success. I also tried driving it from the Arduino Vcc 5V pin just to be sure.

This phototriac is a random fire, do I perhaps require a zero crossing phototriac?

  1. A random fire phototriac is the correct sort for driving an inductive load such as your pump.

  2. Check with a multimeter that the series resistor you are using really is 500 ohms and not some higher value.

  3. Use a lower value resistor. The minimum current guaranteed to trigger the optotriac is 10mA. The maximum rated current is 50mA. So try about 220 ohms, which should give about 18mA, or 330 ohms to get about 14mA.

You really should post your complete schematic.
Hashing this out verbally will just lead to trouble.

Here is the connections I am using,I didn't have the correct part on Eagle, so I used this Eagle part, however I am using the VO2223A phototriac. DC connected across pins 1 and 4, AC connected across pins 6 and 8 ![](http://VO2223A capture.JPG)lt

I have checked and confirmed that the series resistor I am using is in fact 500 ohms. I have also tried 390 ohms with the same result.

I have checked and confirmed that the series resistor I am using is in fact 500 ohms.

When you say that people are skeptical because 500R is not a standard value. I have never seen one in my life.

If you short out the pins 6 and 8 does the motor start?
If you apply 5V across pins 1and 4 does it start?

Grumpy_Mike:
If you short out the pins 6 and 8 does the motor start?
If you apply 5V across pins 1and 4 does it start?

Shorting pins 6 and 8 is a good test, but according to the datasheet, pins 1 and 4 are connected together, so applying 5V across them makes no sense. Perhaps Mike meant something else?

Some further thoughts:

  1. Connecting the load between pins 5 and 8 may well have damaged the device. I think you should get another one.

  2. Connecting a 1k resistor between pins 5 and 6 may possibly help, if leakage in the opto triac is turning the main triac on.

  3. Check with your dmm what the current consumption of the pump is, under various conditions, e.g. without any water (if that is allowable for the pump) and when pumping water. The triac has a holding current of 25mA max, so under some conditions, the pump might be too light a load. If so then you could connect a 3.3k 5W resistor in parallel with it.

  4. You should use a snubber. Something like 0.1uF metallised film rated 120VAC or greater, in series with 220 ohms.

Sorry, typo, resistor is 510 ohms. I metered it & got 500 ohms.

Shorting out pins 6 and 8, the pump runs as it should.
5V across pins 1 and 4, the pump does not run.

I have tried a new VO2223A in case I damaged the first one, the pump does not run.

I tried a 1K between pins 5 and 6, the pump does not run.

I measured the current draw when the pump is running with water. It pulls 1.5A. :astonished: Considering its rated at 41W, its only supposed to pull 340mA.
I guess I have found the problem, I need a bigger optotriac

It is entirely possible for the pump to draw 1.5A and only consume 41W. What this suggests is that the pump is a highly inductive load and the current is close to 90 degrees out of phase with the voltage. I'm still surprised that it didn't run for a while. Anyway, random fire SSRs rated at 2A or 2.5A are readily available.

I tried a 1K between pins 5 and 6, the pump does not run.

I hope that included the resistor otherwise you could have blown up the LED.
Yes when the current and voltage is so out of phase the power and current calclulaltions are not straight forward. It is a vector multiplication you have to do.

I'm not sure I understand what you mean, do you mean a 1K between pins 5 and 6, as well as the 510 ohms on the LED side?