0
0
Simulinkdata~20 mins

H-bridge driver simulation in Simulink - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
H-bridge Simulation Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding the H-bridge operation

Which statement best describes the function of an H-bridge in motor control?

AIt converts AC voltage to DC voltage for the motor.
BIt increases the voltage supplied to the motor to boost speed.
CIt measures the motor speed and adjusts the current accordingly.
DIt allows the motor to run forwards and backwards by controlling the polarity of the voltage applied.
Attempts:
2 left
💡 Hint

Think about how direction control is achieved in DC motors.

Predict Output
intermediate
2:00remaining
Simulink block output for H-bridge input signals

Given a Simulink model of an H-bridge with inputs IN1=1, IN2=0, what is the expected output voltage polarity across the motor terminals?

Simulink
IN1 = 1;
IN2 = 0;
% Output voltage polarity: +V to terminal A, 0V to terminal B
ABoth terminals are at 0V (motor stopped).
BMotor terminal A is negative, terminal B is positive (reverse rotation).
CMotor terminal A is positive, terminal B is negative (forward rotation).
DBoth terminals are at positive voltage (short circuit).
Attempts:
2 left
💡 Hint

Check which input is high and which is low to determine polarity.

data_output
advanced
2:00remaining
Simulated PWM signal effect on motor speed

In a Simulink H-bridge model, a PWM signal with 50% duty cycle is applied to the enable pin. What is the expected average voltage across the motor terminals?

Simulink
PWM_duty = 0.5;
V_supply = 12; % volts
V_avg = PWM_duty * V_supply;
A6 volts average voltage across the motor terminals.
B12 volts average voltage across the motor terminals.
C0 volts average voltage across the motor terminals.
D24 volts average voltage across the motor terminals.
Attempts:
2 left
💡 Hint

Average voltage is supply voltage multiplied by PWM duty cycle.

🔧 Debug
advanced
2:00remaining
Identify the error in H-bridge input signals causing short circuit

In a Simulink H-bridge model, both IN1 and IN2 inputs are set to 1 simultaneously. What is the likely outcome?

AMotor runs at maximum speed forward.
BShort circuit occurs because both high-side switches are on, damaging the circuit.
CMotor runs at maximum speed reverse.
DMotor stops safely with no voltage applied.
Attempts:
2 left
💡 Hint

Consider what happens if both sides of the H-bridge are connected to the supply voltage at the same time.

🚀 Application
expert
3:00remaining
Designing a Simulink model for bidirectional motor control

You want to simulate a bidirectional DC motor control using an H-bridge in Simulink. Which input signal combination correctly achieves forward, reverse, and stop states?

AForward: IN1=1, IN2=0; Reverse: IN1=0, IN2=1; Stop: IN1=0, IN2=0
BForward: IN1=0, IN2=0; Reverse: IN1=1, IN2=1; Stop: IN1=1, IN2=0
CForward: IN1=1, IN2=1; Reverse: IN1=0, IN2=0; Stop: IN1=0, IN2=1
DForward: IN1=0, IN2=1; Reverse: IN1=1, IN2=0; Stop: IN1=1, IN2=1
Attempts:
2 left
💡 Hint

Recall the polarity needed for forward and reverse motor rotation and what input combination stops the motor.