I want to control ME-4340 Syncube Non Spring Return Modulating Valve Actuator – 0/2-10Vdc ME-4340 with an STM32.
The Timer configurated as PWM generator of the STM32L073RZTx gives 3.3V at 100% So I used a voltage follower with gain of 4 + RC filter with cut off frequency of 160 Hz.
The op amp I am using is NCS20074DR2G Datasheet. it has Maximum Output Current of +-100mA and it is capable of sourcing 60mA when it is supplied with 10 VDC.
My questions :
Best Answer
Not directly; the ME4240 takes a PWM signal, but the ME4340 takes a voltage of 0V-10V (or 2V-10V) as the input signal. You can create that voltage from 3.3V PWM with a low-pass filter followed by an amplifier with a gain of about 3 (or amplify first, then filter), and I assume that is what you are trying to do.
If you low-pass filter the PWM to get an adjustable voltage, then the higher, the better; it makes filtering easier. Go for the highest PWM frequency you can make with the STM32 that still gives you enough resolution.
It would depends on how fast you want the valve to react (and I don't expect them to be lightning-quick), but the higher the frequency of your PWM is, the higher the cut-off frequency of your low-pass filter can be, making it faster without much ripple. I have no idea what amount of ripple that valve actuator can endure, but I doubt it will be a problem if you set things up right. Also, nothing is stopping you from making a steeper filter should you need it, but I doubt you will.