PWM in, PWM out (no Sine wave) Please Help  [SOLVED]

Topics concerning the Toyota and Lexus inverter drop in boards
Post Reply
Eagle411
Posts: 25
Joined: Tue Dec 10, 2024 1:43 am
Has thanked: 5 times
Been thanked: 7 times

PWM in, PWM out (no Sine wave) Please Help

Post by Eagle411 »

I'm using the Dual Motor Board connected to a 30V supply through a 10ohm resistor. The output isn't connected to a load. I'm measuring the output on my oscilloscope between the motor outputs and the HV battery negative. I'm not getting a sin wave. I'm getting a PWM output, but the duty cycle pulses a little.




I've asked this in another thread, but it wasn't the initial ask. I'm hopeing someone will take pitty on me.
Attachments
MG2 working parameters.json
(1.74 KiB) Not downloaded yet
Mg2 Data.txt
(1.35 KiB) Not downloaded yet
MG1 Data.txt
(1.36 KiB) Not downloaded yet
User avatar
uhi22
Posts: 1244
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 244 times
Been thanked: 684 times

Re: PWM in, PWM out (no Sine wave) Please Help  [SOLVED]

Post by uhi22 »

This is normal from my point of view. In stand-still, all three phase outputs have the identical 50% PWM, so the effective voltage over the motor windings is zero. If the inverter wants to drive a current through the motor windings, it applies slightly different PWM duty cycles to the phases, so that we get a non-zero effective voltage.

If you want to see the sine wave, you must: 1. use a differential probe between the phases, 2. use an additional low-pass-filter to hide the PWM and 3. adjust the oscilloscope to a much slower time interval, to capture a few Hertz instead of kHz.
Eagle411
Posts: 25
Joined: Tue Dec 10, 2024 1:43 am
Has thanked: 5 times
Been thanked: 7 times

Re: PWM in, PWM out (no Sine wave) Please Help

Post by Eagle411 »

I really appreciate your help!!! Analog and power are two things I haven't done much with, but I'm learning. thanks
Eagle411
Posts: 25
Joined: Tue Dec 10, 2024 1:43 am
Has thanked: 5 times
Been thanked: 7 times

Re: PWM in, PWM out (no Sine wave) Please Help

Post by Eagle411 »

I did two of the three recommendations and this is the result. Seems more like what I would expect. I hooked the outputs to the motor with no change in the output waveform or current draw (which was 0.01 A). The voltage supply was set to 15V.

User avatar
uhi22
Posts: 1244
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 244 times
Been thanked: 684 times

Re: PWM in, PWM out (no Sine wave) Please Help

Post by uhi22 »

Perfect. If you now add an RC lowpass between the phases and the osci probe, e.g. 4.7kohms and 100nF, the sine wave will be visible.
arber333
Posts: 3795
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 166 times
Been thanked: 411 times
Contact:

Re: PWM in, PWM out (no Sine wave) Please Help

Post by arber333 »

uhi22 wrote: Wed Feb 25, 2026 5:56 am Perfect. If you now add an RC lowpass between the phases and the osci probe, e.g. 4.7kohms and 100nF, the sine wave will be visible.
Would a trio of incandescent light bulbs be good for that? 8-)
Post Reply