Questions tagged [pwm]
Pulse-width modulation, is varying the duty cycle of a rectangle wave, usually with a constant frequency.
3,049 questions
0
votes
0
answers
66
views
Generating two PWM signals from a PIC18F45K20
I'm doing an environmental control group project for my embedded systems module. I want to generate two PWM signals:
Control fan speed from ADC readings from a TMP36
Dim an LED strip depending on ADC ...
0
votes
2
answers
116
views
Boosting the output audio signal of an ESP32 GPIO25 DAC pin
I am building a class d amplifier and need a PWM waveform created by comparing a triangle waveform (5Vp-p) with a audio waveform signal in a single supply (5V) LM311. My audio is coming from an ESP32 ...
0
votes
1
answer
68
views
Sending PWM signal over Cat5
I'm trying to send PWM signal to MOSFET gate to control 12VDC 2A motor. The NE555 circuit is built as shown in this article (https://www.build-electronic-circuits.com/555-pwm-circuit/) with the same ...
0
votes
3
answers
123
views
DC Motor regulated with cheap PWM regulator make electrical noise
On my camper with a 24VDC circuit, I've a small computer to show the water tanks level and a DC circulating pump with a PWM speed regulator bought on Amazon, regulating at 60% speed.
The computer is ...
-1
votes
1
answer
54
views
Linear AC voltage to DC 5v or 10v PWM conversion
I have a vehicle with generator style speed signal generator and its output is linear from 0 -30VAC. This signal is used by the Dash mounted speedo without any issue. I now have a mandated requirement ...
7
votes
4
answers
1k
views
Is it advisable to apply a square voltage (for example a PWM) to LEDs?
I intend to connect the output of a push-pull type buffer IC, SN74LVC2G34, to:
a) a LED (for debugging and monitoring purpose)
b) a gate driver IC (1ED3142MC12H)
I simulated the following circuit to ...
1
vote
1
answer
107
views
3 'Phase' BLDC Motor Control using Raspberry Pi 5
I am making a project to control speed and position of multiple 3 Phase BLDC Motors using a Raspberry Pi 5. I am struggling with the number of PWM channels I will need and the lack thereof on the Pi ...
0
votes
2
answers
81
views
What is a systematic way of handling DC inrush currents?
Let's say I have the following setup:
24VDC PSU → PWM Dimmer with 5A outputs → Incandescent 24V 40W bulb
While the 40W bulb consumes only ~1.5A, its inrush current is about 10A. The PWM dimmer has no ...
0
votes
2
answers
133
views
Will 400 Mbps be enough to transmit a 5 kHz PWM signal?
PWM signal to be generated from MAX6966 at 5 kHz with duty cycle varying from 1% to 99%.
This PWM signal is fed into a line driver SN65LVDS1. Then using a 10 meter shielded twisted pair of wire, this ...
2
votes
5
answers
434
views
What is the best flyback protection circuit for a 12 V / 30 W solenoid driven by 2 kHz PWM when the diode cannot be placed directly across the coil?
I need some help choosing the best flyback protection circuit for an inductive load driven by PWM. I’ll attach a simplified schematic of my circuit along with test results for each protection method I’...
1
vote
1
answer
143
views
Voltage Spikes with PWM Controlled Brushed Motor
I have disassembled a 20V cordless drill. It uses a two-lead brushed motor controlled via a PWM signal. Out of curiosity I connected both motor leads to an oscilloscope and measured both against a ...
1
vote
1
answer
123
views
Flyback diode solution for inductive loads with GND loss and reverse polarity issues
I'm looking for advice on how to properly design a flyback protection circuit on the PCB for an automotive application, where the supply comes from a vehicle battery and the system must handle GND ...
0
votes
1
answer
104
views
PWM demodulator implementation
I was browsing the web for the prior works on the PWM demodulator implementations, and I found patent US4408166A, "Pulse width modulation decoder" from 1982.
I cound not obtain the vo ...
1
vote
1
answer
71
views
How to calculate impedance across common terminal of PWM switch in buck-boost converter
In the book 'Fast analytical techniques for electrical and electronic circuits' by Vatché Vorpérian, the DC and small-signal equivalent circuit model of the buck-boost converter is obtained by ...
-2
votes
4
answers
159
views
What’s the difference between using PWM and H-bridge circuits for controlling DC motors in robotics? [closed]
I’m working on a small robotics project and trying to control DC motors. I’ve come across terms like PWM motor control and H-bridge circuits, but I’m a bit confused. From what I understand, PWM is ...
0
votes
1
answer
155
views
I have a PWM signal that I want to control a heater (3 ohms) with a 36V source. My MOSFETS keep blowing using TC4427
I initially used a 74HC04 to drive the MOSFET gates. This was initially because I wanted 5V on the gate: by putting the pwm 3v3 through the 74HC04 and then re-inverting the pwm came out st 5V. I chose ...
0
votes
1
answer
70
views
How to verify ADC data sampling aligned with center-aligned TIM8 PWM on STM32H743 without oscilloscope?
I am working on an STM32H743 project where I need to read ADC data synchronized with a center-aligned PWM signal generated by TIM8. My goal is to ensure ADC sampling is correctly aligned at the center ...
-1
votes
1
answer
89
views
Optocoupler saturation
IC MPN- FODM2701R2
I am giving If=5 mA current through diode.
CTR is 300%.
Ic current through transistor will be 15 mA.
R1=0 Ω.
R3=1500 Ω.
Therefore I am limiting the max Ic current to 3.33 mA.
...
0
votes
3
answers
66
views
Can't get sound from AST0940MCQ
I'm stuck with simple AST0940MCQ, I'm not able to get any sound from it, here is my sch
R41 is connected to MCU where I generate a PWM signal 4kHz, check with my oscillo pwm is fine. If I check ...
1
vote
1
answer
163
views
Modern replacement for TL494/TL594 with internal signals exposed to pins
TL494/TL594 has several features that make it versatile.
A wide duty cycle range, from 0% to greater than 90%.
Exposed comparator pin and open-collector pull-up feedback amplifiers allow for direct ...
1
vote
2
answers
182
views
Problem with the totem pole gate driver on bipolar transistors
I need to make a gate driver for a P-channel mosfet. I plan to use a PWM signal from a microcontroller with a maximum amplitude of 3.3 or 5V. After searching for a circuit on the Internet, I found ...
-1
votes
1
answer
78
views
Why does my CH552T NEC IR sender sometimes produce incorrect codes on an ESP32 receiver?
I’m building a USB IR blaster using a CH552T dev board, a Crowtail IR emitter, and an HS-S23B receiver connected to an ESP32. My goal is to send NEC protocol IR codes at 38 kHz using Timer2 for the ...
0
votes
0
answers
72
views
Sending DSHOT frames from a Nucleof4 development board to an esc
I’ve been working on implementing DShot150 on an Nucleof4 development board using HAL drivers with DMA, driven via a timer. I followed the DShot using HAL drivers implementation and even extracted the ...
2
votes
1
answer
400
views
4-pin DC Brushless Fan tachometer
I've been going through a few datasheets for 4-pin DC brushless fan with Pwm and Tachometer functions. I've attached one of them here for reference.
However I couldn't understand the tachometer part. ...
3
votes
4
answers
169
views
Level translator for a PWM signal
I'm working on a circuit that converts a 3.3V PWM signal to 5V (level translation). I'm trying to implement this using a single MOSFET. The circuit works fine at lower frequencies, but at higher ...
1
vote
2
answers
116
views
ADF4001 Programing And Testing
I trying to program the ADF4001 in order to make a PLL with an N counter and R counter of 1, but I have no output on the CP pin. I am unsure if it's the way I am programming the chip or the layout I ...
1
vote
0
answers
129
views
PWM signal delay (distortion) at transformer
The transformer (Mfr.Nr.: PH9400.111ANLT) is causing a delay of about 50ns on this 150KHz, 3.3V PWM signal.
Are there hints to deal with this delay and distortion? This signal (S1) is driving a MOSFET ...
6
votes
2
answers
771
views
How to improve sound output level of passive, piezoelectric buzzer?
I have built a device containing a Murata PKMCS0909E4000-R1 passive, piezoelectric buzzer (Link to datasheet).
According to the datasheet, its sound output is highest around a frequency of 8 KHz, so ...
1
vote
1
answer
149
views
Parallel NPN BC547 for increase current demand of PWM controlled fan
My fan requirement is 180mA while the transistors I have has a maximum collector current rating of 100mA, thus, I resorted to using a parallel arrangement as shown.
I have done some calculations &...
2
votes
2
answers
445
views
PWM with PCA9685 not able to generate pulsewidth more than 1.2ms
I'm trying to generate PWM signals for a stepper motor with a PCA9685 development board and an MCU (STM32F4). I'm able to write and read all commands to the chip via I²C — and verify that everything I ...
0
votes
0
answers
75
views
FOD3180 only switches above 12.5V, while the datasheet specifies a maximum threshold of 9V
I'm using the FOD3180 as an optocoupled gate driver to drive the gate of an N-channel MOSFET (STB130NF7) in a low-side switching application.The application is intended to switch at 10 kHz, with the ...
1
vote
2
answers
217
views
How Pulse Width Modulation (PWM) has advantage over linear?
When I read about power delivery or motor powering, there arises a technique called Pulse Width Modulation (PWM), to reduce power loss. Here, the voltage supplied is given in a pulse form, instead of ...
0
votes
2
answers
261
views
Low pass filter for PWM audio
I want to add sound to a microcontroller project, using PWM, and I came across this blog post with the circuit below.
With a cutoff frequency of 100Hz, doesn't this heavily attenuate all audible sound ...
-1
votes
1
answer
82
views
Can LM2596 be used as a LED dimmer driver?
I am trying to use the following LED:
https://www.flyrobo.in/3w-3000-15000k-high-power-white-smd-led-light-beads-purewhite?tracking=ads&tracking=4a9a9a&gad_source=1&gad_campaignid=...
1
vote
1
answer
105
views
Need help in confirming the circuit and the results. I am converting a PWM signal 0 - 5 V to analog 0 - 10 V
I am trying to convert a PWM signal generated from MCU which can only output 0 - 5 V but I want to drive an ECM fan which requires 0 - 10 V analog so I am using a MOSFET to switch 10 V supply by ...
0
votes
0
answers
65
views
Controlling a motor using H-bridge circuit with STM32F051
I'm trying to drive a 110V motor using H-bridge circuit, by programming a STM32F051 using C language. The problem is when turning a motor there are overshoots to the negative value (-110V). Can ...
1
vote
2
answers
135
views
Change signal duty cycle
I have a 2 kHz PWM signal (500 µs period). The pulse width varies from 125 µs to 250 µs and can take any value between them. How can I double the pulse width duration, and as a result, the duty cycle ...
2
votes
1
answer
254
views
Get rid of PWM delays
I have a drone flight controller that outputs a OneShot125 2 kHz PWM signal. The pulse width varies between 125 µs and 250 µs and represents the information being transmitted. The flight controller ...
0
votes
0
answers
112
views
PWM-controlled Buck Converter MOSFET heating up and signal too rippled
I have the circuit below with all the components the same, except the PMOS being a SQD50P04-13L_GE3 MOSFET. The PWM signal that is sent from the STM is from a 216 MHz clock with prescaler 100 and ...
0
votes
2
answers
158
views
How to select a switching frequency for MOSFETs in a traction inverter?
When designing an inverter from scratch, what factors should be considered in selecting the switching frequency?
Specifically asking for: 20kW - 40kW traction inverters for motor control using SiC ...
1
vote
0
answers
48
views
Formula for Inductor Charge and PWM Duty Relationship
I am running some tests on a wye wound BLDC to understand the relationship between duty cycle and charge for a given PWM period. I am slowly linearly increasing the duty cycle off just one phase. ...
-3
votes
1
answer
101
views
Duty cycle of this PWM generator
I have designed this PWM generator:
...
4
votes
2
answers
291
views
PWM DAC Considerations
Consider the following PWM D/A Converter that I would like to use. I saw a similar concept once on a commercial device, and since I now need an adjustable voltage with high resolution, but not fast ...
2
votes
1
answer
196
views
Isolate PWM of microcontroller from motor drivers
I need to design a three-phase inverter for motor control and isolate microcotnroller from power stage (gate drivers + transistors) .. look at the image
If I use LM5018 as flybuck, at the output there ...
1
vote
1
answer
69
views
PWM Output Channel Speed
I'm a mechanical engineer with some light knowledge of electronics. I might not understand immediately, but whatever knowledge you provide I'm sure with enough hours of googling I'll be able to figure ...
0
votes
1
answer
88
views
Gate driver Infineon 2EDL05N06 series shutting off intermittently at higher frequencies
I have built a half bridge resonant inverter using the Infineon 2EDL05N06 series gate driver (datasheet) and power MOSFETs, and it seems to be generally functional. I am controlling the gate driver ...
1
vote
2
answers
58
views
Can PWM DAC convergence be improved by taking into account the previously commanded output voltage?
Suppose the current output (and, therefore, capacitor voltage) is 0V and the PWM DAC is commanded to output AVDD/2. Conventionally, it would set the duty cycle to 50% - which is the value that works ...
2
votes
3
answers
454
views
How to Achieve 0.1 Hz Resolution from 0 to 10 kHz Using STM32 Timer?
I'm trying to generate output frequencies from 0 Hz to 10,000 Hz using STM32F407VET6 with Timer2 in Output Compare Toggle Mode. The timer clock is 84 MHz.
I need to achieve:
0.1 Hz resolution up to ...
0
votes
0
answers
65
views
DRV8837 motor driver inconsistent behavior
I designed a PCB using the DRV8837 motor driver. While testing it, I'm getting some behavior that I don't understand so I was hoping someone could shed some light here. My circuit is pretty much just ...
0
votes
0
answers
55
views
Hardware PWM reading on OrangePi Zero 2 W
Is it possible to read PWM signal on OrangePi Zero 2 W (Allwinner H618) using the board's hardware?
The problem is: I'm sending PWM signal using Jetson Nano and I want to read it on OrangePi Zero 2W. ...