I'm considering using the RP for PWM control of a solenoid. The switching frequency is 50 Hz. The duty cycle must be variable from 0 % to 100 % in very small increments (0.004 ms). This requires an output clock rate of at least 250 kHz. The output of the RP will be connected to the gate of an N-Channel Mosfet (FQP30N06L). The fast analog output is more than capable of the required speed but is limited to just +/- 1 V. The slow digital outputs switch 3.3 V (which is ideal) but are limited to 100 kHz.
Is there a way to increase the voltage of the fast anlaog output? Or is there a way to increase the speed of the slow digital outputs? Or is there another solution?
Regards, Ben
Solenoid PWM Control
-
- Posts: 3
- Joined: Tue Oct 27, 2015 7:29 am
Re: Solenoid PWM Control
Does anybody know if it is possible to output a pulse train on one of the GPIO pins with a resolution on the pulse width of 4 microseconds or better?
Regards, Ben
Regards, Ben
-
- Posts: 89
- Joined: Tue Mar 29, 2016 7:41 pm
Re: Solenoid PWM Control
Voltage on GPIO analog outputs can only be increased by some external amplifier, the maximum is 3V3.
Slow digital outputs can work very fast if they are controlled by FPGA PWM module, but this is not part of the official release implementation.
Slow digital outputs can work very fast if they are controlled by FPGA PWM module, but this is not part of the official release implementation.
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 36 guests