Lab III · Four-quadrant elevator drive with S-curve profiling
A seven-phase S-curve trip, the reflected torque of a counterweighted lift, the four quadrants along the trip, and the braking resistor for the worst regenerating case.
Objectives
As set by the Lab Works booklet:
- Generate a jerk-limited S-curve position, velocity and acceleration profile for a traction elevator trip.
- Model the counterweighted mass imbalance and compute the reflected motor torque throughout the trip.
- Classify the resulting operating points into the four torque-speed quadrants and identify the motoring and generating intervals.
- Size a dynamic braking resistor from the peak regenerated electrical power.
Background
Chapter 3 established the counterweight balance (course eq. 3.1), the reflected motoring and generating torques (eqs. 3.3 and 3.4), the dynamic torque (eq. 3.5), the four-quadrant classification and the jerk-limited S-curve (). Combining an S-curve speed profile with the torque model gives the torque, speed and power at every instant of a trip, from which the quadrant history and the regenerated energy follow. With , and the travel direction included in the speed and acceleration :
Parameter sheet
| Parameter | Symbol | Value |
|---|---|---|
| Empty car mass | 1000 kg | |
| Rated payload | 1000 kg | |
| Counterweight balancing factor | 0.5 | |
| Sheave diameter | 0.60 m | |
| Roping ratio | 1 | |
| Gear ratio (gearless) | 1 | |
| Mechanical efficiency | 0.90 | |
| Rated velocity | 2.5 m/s | |
| Maximum acceleration | 1.0 m/s² | |
| Maximum jerk | 1.5 m/s³ | |
| Travel distance (trip) | 20 m | |
| DC bus braking threshold | 760 V |
Procedure
The booklet's five steps, with the names the checker looks for shown in code font.
- Set up the environment. Import NumPy and Matplotlib (already in the template).
- Define parameters. Set
Mcar,Mrated,B,D,i,kgear,eta,v_rated,a_max,j_max,H,Vdc, and the counterweightMcw. - Implement the S-curve model. Write
scurve(H, v_max, a_max, j_max, dt=0.001)returning the arrayst, x, v, a, jof the seven phases. Each jerk phase lasts ; if the acceleration never reaches , so use . If the trip is too short to reach , lower the peak speed until the two ramps, of length each, fit into . The checker calls it with a long and a short trip. - Compute torque and power. Write
drive(load, direction, v, a)returning the arraysT, w, P, q(torque, motor speed, power and quadrant) for a load in kg,direction+1 (up) or −1 (down), and the S-curve'svanda. Run it for the two booklet scenarios, (a) full load up and (b) empty car down, and for the worst case, full load down. - Plot and analyse. Plot , , and of the S-curve; plot and for each scenario with the quadrant marked. From the full-load-down trip, compute the peak regenerated power
P_regen_peak(a positive number, in W) and the braking resistorR_brakeat , then answer the questions under the workspace.
The checker calls scurve and drive with random arguments on every run, so each must work for any sensible input, not only the lab's values.
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.