I've got a question about L298.. I attached a picture of the logic of L298
View attachment 60213
Now focus on one H-bridge(the left one)
Assuming the enable are always high, and motor terminals(brushed DC motor) are connected at out1 and out2, the logic would be:
in1 | in2 | logic
0 | 0 | slow decay (the current path would be motor>LOWrightbjt>LOWleftbjt>motor)
0 | 1 | forward (current path is HIGHrightbjt>motor>LOWleftbjt)
1 | 0 | reverse (current path is HIGHleftbjt>motor>LOWrightbjt)
1 | 1 | slow decay (current path is motor>HIGHrightbjt>HIGHleftbjt>motor)
My question is, is this logic correct?
I input a pwm signal on in1 and grounded in2.
when pwm goes LOW, a slow decay will ensue correct?
The mode is called slow decay because the current path when the PWM goes from HIGH to LOW is just going in circles right? And so, basically the motor terminals are grounded, this leads the DYNAMIC breaking correct?
Now, if its that the case, then why can I read a voltage from the current sense pin? I mean no current flows through the sense resistor and yet I can still read voltage from it.
View attachment 60215
See? Actually, the rising part of the wave is the point where the pwm signal goes HIGH, and the peak is when the PWM signal goes low.
I'm really concerned about this since I'm basically replicating a driver unit composed of L298's.
Enlighten me please.
Thanks!!
View attachment 60213
Now focus on one H-bridge(the left one)
Assuming the enable are always high, and motor terminals(brushed DC motor) are connected at out1 and out2, the logic would be:
in1 | in2 | logic
0 | 0 | slow decay (the current path would be motor>LOWrightbjt>LOWleftbjt>motor)
0 | 1 | forward (current path is HIGHrightbjt>motor>LOWleftbjt)
1 | 0 | reverse (current path is HIGHleftbjt>motor>LOWrightbjt)
1 | 1 | slow decay (current path is motor>HIGHrightbjt>HIGHleftbjt>motor)
My question is, is this logic correct?
I input a pwm signal on in1 and grounded in2.
when pwm goes LOW, a slow decay will ensue correct?
The mode is called slow decay because the current path when the PWM goes from HIGH to LOW is just going in circles right? And so, basically the motor terminals are grounded, this leads the DYNAMIC breaking correct?
Now, if its that the case, then why can I read a voltage from the current sense pin? I mean no current flows through the sense resistor and yet I can still read voltage from it.
View attachment 60215
See? Actually, the rising part of the wave is the point where the pwm signal goes HIGH, and the peak is when the PWM signal goes low.
I'm really concerned about this since I'm basically replicating a driver unit composed of L298's.
Enlighten me please.
Thanks!!