Questions tagged [pwm]
Pulse-width modulation, is varying the duty cycle of a rectangle wave, usually with a constant frequency.
530
questions with no upvoted or accepted answers
1
vote
0
answers
150
views
PWM for three phase induction motor control
I have been implementing control software which shall control the three phase voltage source inverter for controlling the induction motor. There are two requirements as far as the pulse width ...
1
vote
0
answers
142
views
Logic Level MOSFET Behaving Unexpectedly Driving PWM Signal to PSU
I am trying to control a MeanWell dimmable PSU with an Arduino. Since I do not want to exceed 60% of the output of the MeanWell, I want to use a 0 to 6V PWM signal. I figured a quick and dirty way to ...
1
vote
0
answers
55
views
Some question regarding pwm of PIC microcontroller
Hello guys i have some question regarding PWM.
What does it mean by pwm master-slave?? Why it is called master-slave??
1
vote
1
answer
109
views
Why the intersection points in SPWM define the width of the pulse?
After my previous question Why the triangle reference wave is used in PWM for sine modulation I still have some troubles on one particular point of natural sampled PWMs or more precisly SPWM.
My ...
1
vote
0
answers
163
views
How to parse this protocol with an arduino?
I'm analyzing a signal from my building's intercom system to my tenant station. Intercom has two wires, +24V/0.27ma, and ground. Every 10 seconds, the system sends a "heartbeat" signal to the tenant ...
1
vote
0
answers
535
views
Pulse width modulation for three phase voltage source inverter
I have found a block diagram which discribes implementation of a modulator for the three phase voltage source inverter. I am not sure whether I fully understand this implementation of the modulator. I ...
1
vote
0
answers
74
views
Modelling DC/DC-Converter
i want to model a cascaded Buck/Boost-Converter with FAST like mentioned here: https://cbasso.pagesperso-orange.fr/Downloads/PPTs/Chris%20Basso%20APEC%20seminar%202013.pdf.
The goal is to implement a ...
1
vote
0
answers
606
views
12 V PWM fan and Wemos D1 Mini - ground loop?
Newbie here.
I'm trying to power a 12 V 4-wire fan and a Wemos D1 Mini from the same power source. The aim is to use a Dallas DS18B20 temp sensor and increase/decrease the fan speed as per the temp ...
1
vote
2
answers
1k
views
Class D Amp headphones grounding circuit
I am having a problem with some of the class d amps I've played with (PAM8302A), and it seems like this article here describes my problem:
https://www.edn.com/design/analog/4313726/Add-headphones-to-a-...
1
vote
0
answers
258
views
SVPWM for BLDC Motors: Switching Losses vs Neutral Point Voltage Swing/fluctuation
I am implementing a SVPWM (Space Vector Pulse Width Modulation) scheme for a 3-phase inverter (3 H-bridges, nothing fancy) to control a BLDC Motor.
Since one can choose which zero vectors (000 or 111)...
1
vote
0
answers
737
views
audio output on my FPGA
I asked a very bad question related to this yesterday, sorry - this is more comprehensive and makes more sense.
this is the manual for the nexys 4 FPGA i'm using https://reference.digilentinc.com/...
1
vote
0
answers
84
views
Isolated vs non-isolated boost converter for LED (12v to 24v)
I have a 12v system in my motorhome and planning on installing 24v LED strips, however, I'm unsure whether I would need an isolated or a non-isolated boost converter.
I'll be using roughly 5 meters ...
1
vote
0
answers
246
views
Designing a constant current pulse circuit
I'm looking for help designing a constant current pulse through a variable load impedance of 10-100k (R4). The ideal response is shown below. This waveform was measured from an off the shelf ...
1
vote
0
answers
417
views
Implementing PID in PWM feedback to lower the settling time
I have created the following simple PWM feedback:
The step response is:
I have tried to add PID controller and I ran the following code to test it:
...
1
vote
0
answers
449
views
STM32F407 - how do I run one motor at a time? Why do they ignore delays..?
I'm a newbie. I'm using an STM32F407 discovery board, and I want to control 6 stepper motors using PWM, especially OPM(One Pulse Mode).
Till now I've made 3 stepper motors work using Timer 8 (CH1, ...
1
vote
0
answers
1k
views
Mosfet Gate Driver IC
Ok so I have burned about 10 MIC4605 (Datasheet here ) gate drivers this weekend. I am unsure as to how they should be PROPERLY wired.
Also have burned 8 out 10 MOSFETS (Datasheet Here )
Page 1 of ...
1
vote
0
answers
875
views
STM32 PWM generates excessive pulses
I use STM32F103C8T6 to drive WS2812 RGB LED strip.
So I try to setup TIM1 to generate PWM using DMA.
Everything works fine except the fact that I get more waves then I requested.
Almost all the code I ...
1
vote
0
answers
1k
views
Peltier Circuit Components
New to electrical in general, so be gentle...
Looking to drive a TEC1-12706 as a cooler/heater, using 24V, 500 Hz PWM as input. To avoid thermal cycling caused by PWM, incorporating LC filter.
In ...
1
vote
0
answers
387
views
Low frequency PWM Brushless DC Motor Speed Control
I am programming a L293D motor driver with a BLDC motor to spin at speeds of 60-300 RPM. It is for a hybrid drone/car where I want the motors to spin slowly while having the necessary torque to drive.
...
1
vote
0
answers
87
views
Calculating max peak current at different conditions
I have an IR LED (IR383), and I want to power it with 5v@38KHz. I'm actually calculating the resistor so I need the LED's maximum current. In the datasheet, it says that it accepts 100mA continuous ...
1
vote
0
answers
111
views
CCP PWM Strange behavior - Brief failing
I am trying generate a PWM using CCP and change its frequency on the fly, going from 1.15KHz to 3.28kHz in 180ms.
I am using:
PIC: 16F887
Frequency: 4MHz (internal)
Compiler: CCS PCM C ...
1
vote
0
answers
237
views
Help with my circuit for PWM of full wave rectified Xmas lights
I want to create a fade up/down circuit for full wave rectified LED Xmas lights that will go from full brightness to nearly but not completely off. Won’t bore you with the working circuit I designed ...
1
vote
0
answers
594
views
Best circuit for Zero Cross Detection
I am trying to build an optimal circuit for Zero cross detection for PWM dimming using a microcontroller. I have gone through most of forums and their implementation varies.
I understand that the ...
1
vote
0
answers
97
views
Non equal phase currents at nominal speed vector control Permanent magnet synchronous motor
I working on my implementation of vector control for PMSM.
I'm having close loops over speed, current in d axis(flux loop), current in q axis(torque loop). I'm using MATLAB/Simulink for vector control ...
1
vote
0
answers
554
views
PWM Dimming Causes Flickering
I designed a 24V PWM dimmer. Basically, it drives a 24V-LED-strip with low-side switching using a MOSFET driven by a 1-kHz-PWM having 1-100% duty-cycle.
There are no problems when the circuit is ...
1
vote
1
answer
88
views
Consecutive PWM signals with different prescaler settings
My ATtiny85 circuit generates signals like this one on PB1 (OC0B) using fast PWM (preamble, 16 bit data, stop pulse):
I have trouble with the leftmost longer pulse. At the moment i use simple ...
1
vote
1
answer
513
views
Is it OK to drive an LED matrix with constant current?
I bought one of these LED matrix modules as described in this Adafruit PDF.
The PDF says: "they do not have built in PWM control of any kind. Instead, you're supposed to redraw the screen over ...
1
vote
0
answers
284
views
Oscillation on PWM output microcontroller
I was trying to create a 20 kHz PWM signal with a PIC16F684 microcontroller.
I noticed some oscillation on the single when I hook my scope on the PWM output of de microcontroller (see image below).
...
1
vote
0
answers
88
views
Problem with Simulation Results VS Tested Results for a signal
For the circuit shown i am having some trouble wondering why my tested signal looks like this (i understand that it could be clipping) but when i measure my circuit in the simulation it is correct? ...
1
vote
0
answers
663
views
Can I generate two PWM with 90°phase shift from stm8 microcontroller?
I am using stm8 microcontroller(STM8AF288) to generate a PWM of 1KHz frequency with timer-1(16bit) . I am giving this as input to a circuit, which generates two PWMs with 90° phase shift. But ...