PWM to voltage - dimming, speed adjustment

PWM to voltage module

Insert image description here

Introduction to PWM to voltage module

What we are going to introduce this time is the PWM to voltage module, which can convert PWM signals with different duty cycles into different voltage outputs. It can accept PWM with a frequency of 22Hz-20K, and the PWM high level is 3.3V - 24V. . By changing the jumper cap to set the output voltage range, two levels are available, plus a wider range of input parameters, making it suitable for more scenarios and compatible with most analog-adjusted motors and LED control boards.

Module features

  1. 3.3V - 24V input signal voltage range
  2. 22Hz-20KHz input signal frequency
  3. Output error <±1.2%
  4. Output current <15mA (only used as signal, not loadable)

Work

block diagram

Insert image description here
The module is equivalent to a PWM signal input and analog signal output DAC. The output voltage range is selected through the level connected by the jumper cap on the module to 0-5V or 0-10V. Insert image description here
When the jumper cap is connected, short-circuit SET and GND together. , then the corresponding output voltage range of 0% - 100% duty cycle PWM is 0V - 5V, the actual output voltage V OUT =5V *D PWM ;
when the jumper cap is connected and short SET and 5V together, 0% - The corresponding output voltage range of PWM with 100% duty cycle is 0V - 10V, and the actual output voltage V OUT =10V *D PWM .
D PWM is the duty cycle of the input PWM.

Working parameters

Input signal frequency requirements: 22Hz - 20KHz;
input signal high level should be between 3.3V - 24V;
input voltage: 3.3V - 12V

Pin description

VIN: module power supply positive
GND: power, signal, output ground
PWM: PWM input pin
OUT: voltage output
SET: output voltage range selection

test

wiring

PWM to voltage module power supply Signal generator Voltmeter
VIN 5V
GND GND GND
PWM OUT
OUT

Test environment:
Power supply: 5V
PWM voltage: 0V-5V
PWM frequency: 8K
PWM waveform:
Insert image description here

Experimental phenomena

DPWM = 50%、SET = GND
Insert image description here
DPWM = 50%、SET = 5V
Insert image description here
DPWM = 10%、SET = GND
Insert image description here
DPWM = 10%、SET = 5V
Insert image description here
DPWM = 20%、SET = GND
Insert image description here
DPWM = 20%、SET = 5V
Insert image description here

DPWM = 80%、SET = GNDInsert image description here
DPWM = 80%、SET = 5V
Insert image description here

Experiment summary

The signal input frequency of the module has a relatively small error in the output voltage within 1K-8K. After the frequency exceeds 8K, the greater the input frequency, the greater the error. However, within the frequency of 22Hz - 20KHz, it meets the module ±1.2%. Allowable error.

Guess you like

Origin blog.csdn.net/qq_42250136/article/details/132846824