Having trouble with L298N H-Bridge IC

  • Thread starter Thread starter sherrellbc
  • Start date Start date
  • Tags Tags
    Ic
Click For Summary
SUMMARY

The discussion centers on the operation of the L298N H-Bridge IC, specifically the confusion surrounding the control of transistors for motor direction. The user highlights the need to enable IN1, IN2, and ENA pins to activate the appropriate transistors while expressing difficulty in understanding how to achieve this without inadvertently enabling other transistors. The clarification regarding the presence of inverting terminals on some AND gates resolved the user's confusion, confirming that the control logic for motor direction is indeed feasible with the correct understanding of the schematic.

PREREQUISITES
  • Understanding of H-Bridge motor control concepts
  • Familiarity with the L298N H-Bridge IC functionality
  • Knowledge of transistor operation and logic gates
  • Basic circuit schematic interpretation skills
NEXT STEPS
  • Study the L298N datasheet for detailed pin configurations and operational modes
  • Learn about PWM signal generation for speed control in motor applications
  • Explore the function of AND gates and inverting terminals in digital circuits
  • Investigate alternative H-Bridge ICs for comparative analysis
USEFUL FOR

Electronics enthusiasts, robotics developers, and engineers working with motor control systems who seek to understand the L298N H-Bridge IC and its application in driving motors effectively.

sherrellbc
Messages
83
Reaction score
0
[SOLVED] Having trouble with L298N H-Bridge IC

I cannot understand how this IC works from the block diagram given in the datasheet. I understand the concept of an H-bridge, but cannot figure how this one operates.

I drew on the schematic to illustrate my confusion.

To run a motor in the given way (red path) you would need to enable the transistor in the top left and bottom right, while disabling the other two. Do to that, the AND gates at the base of those transistors (conducting) need to have two HIGH terminals in order to provide feeder current for the transistors.

However, in order to turn on only those two transistors, you must enable IN1, IN2, and ENA (ENA is simply a pin you enable to power the left H-Bridge of the L298N - is has two as shown).

Given how the wires are connected, there is no way - that I can see apparently - to turn on two diagonal transistors without enabling the other two ..

I obviously must be missing something .. According to what I have read, in order to drive the transistors you need to have IN1 HIGH and IN2 LOW for one direction and the opposite for the other. I just do not see, from this schematic, how that even is possible.

Also note: the ENA/ENB pins are used in conjunction with PWN signals to drive the motor are variable speeds.

-----------------

Here is the original:

paj36.png


And here is the illustration:

wblhD.png
 
Last edited:
Engineering news on Phys.org
I was actually informed that some of the AND gates had inverting terminals. That completely makes sense now. I did not even catch that.

Even though no one posted I will leave this just in case anyone ever searches with a similar issue and thread gets indexed.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
8K
  • · Replies 10 ·
Replies
10
Views
8K
  • · Replies 21 ·
Replies
21
Views
7K
  • · Replies 22 ·
Replies
22
Views
4K
Replies
12
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K