DriveLab
Account

Lab IV · Crane hoist braking and trolley anti-sway

The hoist raising and lowering its rated load in four quadrants, the braking resistor, and the load as a pendulum: step against shaped trolley acceleration.

Print QR code

Objectives

As set by the Lab Works booklet:

  1. Simulate the four-quadrant torque and power of a crane hoist raising and lowering a rated load.
  2. Size a dynamic-braking resistor from the simulated peak regenerated power.
  3. Model the suspended load as a simple pendulum and simulate its sway response to a trolley acceleration profile.
  4. Design and simulate a shaped (anti-sway) acceleration profile and compare its residual sway with an unshaped (step) profile.

Background

Chapter 4 established that hoist torque follows Thoist=mgR/(i η±1)T_\text{hoist} = mgR / (i\,\eta^{\pm 1}) (course eq. 4.1, with the motoring and generating exponent of Chapter 3), and that a load on a rope of length LL is a pendulum of natural period T=2πL/gT = 2\pi\sqrt{L/g} (course eq. 4.5), excited by the trolley acceleration. For small angles the sway angle θ\theta under a trolley acceleration a(t)a(t) obeys (eq. 4.1 of the Lab Works booklet):

θ¨+gL θ=−a(t)L\ddot\theta + \frac{g}{L}\,\theta = -\frac{a(t)}{L}

Anti-sway control shapes a(t)a(t), for example with two acceleration pulses spaced by half the pendulum period ("input shaping"), so that the residual oscillation after the trolley reaches constant speed is cancelled.

Parameter sheet

ParameterSymbolValue
Rated hoist loadmm5000 kg
Hoisting speedvv0.25 m/s
Drum radiusRR0.4 m
Mechanical efficiencyη\eta0.85
DC-link voltageUdcU_\text{dc}620 V
Rope (sling) length to loadLL4 m
Trolley target speedvtrolleyv_\text{trolley}0.5 m/s
Trolley acceleration timetat_a2 s

Procedure

The booklet's five steps, with the names the checker looks for shown in code font.

  1. Set up the environment. Import NumPy and Matplotlib (already in the template).
  2. Define parameters. Set m, v, R, eta, Udc, L, v_trolley and t_a.
  3. Implement the hoist model. Compute P_load and P_motor for raising, the gear ratio i_gear, the motor torques T_raise and T_lower, the power P_gen returned when lowering the same load at the same speed, and the braking resistor R_brake.
  4. Implement the pendulum model. Write simulate_sway(L, accel, t_end, dt=0.01) returning the arrays t, theta for an acceleration function accel(t). Integrate with RK4 or scipy.integrate.solve_ivp: plain explicit Euler slowly pumps energy into an undamped oscillator. Then define step_accel (unshaped), T_sway, and shaped_accel (your anti-sway profile), and compute residual_unshaped and residual_shaped: the largest ∣θ∣|\theta| once the trolley has stopped accelerating.
  5. Plot and analyse. Plot the hoist torque and power for the raise and lower cycle, and θ(t)\theta(t) for both trolley profiles, then answer the questions under the workspace.

The checker calls simulate_sway with a random rope length and acceleration step on every run, so it must work for any sensible input.

Report

One individual report and your code, in this order: Objective, Model, Parameters, Results, Discussion, Conclusion, Code, marked out of 20 (model 6, results and plots 5, discussion 6, report quality 3). The workspace builds it from your work.