ExamBank Scot · AH Engineering Science question bank · All AH Engineering Science questions

AH Engineering Science 2019 Question 8 (CfE)

15 marks · Forces and torque

Calculate the maximum power that can be transmitted for a coefficient of friction, , of 0·8 if F1 is 470 N and the angular input velocity is 1200 rpm at the motor. Note, 360° is equal to 2π radians. The washing machine motor is controlled using sinusoidal pulse‑width modulation (PWM) signals. A block diagram of the system is shown below. MOSFET motor driver S1, S4 sinusoidal AC S3, S6 PWM motor generator S5, S2 A triangular wave generator is a required part of the sinusoidal PWM generator. A circuit diagram for a triangular wave generator is shown below. The op‑amps used in the design saturate at ±5·2 V. 1·5 µF op-amp 1 +6 V +6 V 1 kΩ -6 V -6 V Vin Vout 18 kΩ op-amp 2 0 V 10 kΩ Typical output waveforms are shown below (not to scale). voltage period, T +VT -VT time Calculate +VT, −VT and the period of the triangular wave. The PWM signal is processed by a MOSFET‑based driver circuit as shown below. AC motor windings S1 S3 S5 S4 S6 S2 The graph below shows the input voltage to a MOSFET over one cycle. +Vs (V) 0 5 10 −Vs (V) time (ms) The MOSFET dissipates power when conducting and when switching on and off. The graphs below show a magnified view of the VDS and IDS when a MOSFET switches on and off. = 30 ns = 25 ns current = 7·0 A voltage Ton time (ns) voltage = 12 V current Toff time (ns) When each MOSFET switches on and off it experiences a switching energy loss given by the formula below. The switching power is calculated using the formula where = number of switches per cycle, and = cycle frequency. Calculate the MOSFET switching power loss for one MOSFET. A student builds a model of the washing machine using a DC motor. A microcontroller is used to generate a PWM signal to control the motor speed. The speed of the motor is measured using the following system. 5 V DC motor M PWM output pin B.3 PBASIC pin 7 Arduino back emf analogue input to ADC pin 0 0 V Back emf is proportional to the angular velocity of the motor. A voltage of 5 V at the ADC input would give a reading of 1023. microcontroller The following sub‑procedure was written to calculate the back emf. ARDUINO PBASIC void speed_bemf() { speed_bemf: sum_of_bemf = 0; //reset sum_of_bemf sum_of_bemf = 0 'reset sum_of_bemf analogWrite(7, duty); //PWM to motor pwmout B.3, 255, duty 'PWM to motor delay(10); digitalWrite(7, LOW); //stop PWM pause 10 pwmout B.3, 255, 0 'stop PWM for(int x=1; x<=10; x++) for x = 1 to 10 { inst_bemf = analogRead(A0); inst_bemf = 1023 – inst_bemf; sum_of_bemf = sum_of_bemf + readadc10 C.0, inst_bemf inst_bemf = 1023 – inst_bemf sum_of_bemf = sum_of_bemf + inst_bemf; inst_bemf } bemf= sum_of_bemf / 10; next x bemf = sum_of_bemf / 10 Serial.println(bemf); // value to serial debug bemf 'value to serial monitor monitor } return Describe, making reference to the back emf, the function of the shaded section of the program. The following information is provided for reference. ARDUINO PBASIC Command analogWrite() Description Writes a PWM signal to a pin until the next call to analogueWrite() or digitalWrite() on the same pin. Syntax analogWrite(pin, value) Parameters pin: a variable/constant which is the pin to write to value: the duty cycle between 0 (off) and 255 (fully on) Command pwmout Description Writes a continuous PWM signal to a pin until another pwmout command is sent to the pin. Syntax pwmout pin, period, mark Parameters pin: a variable/constant which is the pin to write to period: set to 255 for this application mark: the duty cycle between 0 (off) and 255 (fully on) Variable duty: integer with value between 0 – 255, used to set desired speed. Assigned in another part of the program. inst_bemf: integer with value −32,768 to 32,767 sum_of_bemf: integer with value −32,768 to 32,767 bemf: integer with value −32,768 to 32,767 Variable duty: value between 0 – 255, used to set desired speed. Assigned in another part of the program. inst_bemf: word integer with value 0 – 65535 sum_of_bemf: word integer with value 0 – 65535 bemf: word integer with value 0 – 65535 The drum of a washing machine is driven by an electric motor using a pulley and belt arrangement as shown. Under load, the tension in the part of the belt denoted as F1 is greater than the tension in the part of the belt denoted as F2. The maximum ratio of the tensions F1 and F2 is governed by the equation shown where there is a dependency on the coefficient of friction, , and the angle of contact, , between a belt and a pulley. The angle is measured in radians. F1 45° θM motor pulley diameter 60 mm θD F2 drum pulley diameter 280 mm diagram not drawn to scale

Marking scheme

Slip will occur at smallest angle, on the pulley. radians Maximum difference in tensions. Maximum power will be transmitted when the difference in belt tension is maximum. = 11·959··· Find maximum difference in tensions ⋯ P = 1502·8··· (2s.f.) 1 mark Correctly identify where slip will occur and find angle. Note: if wrong angle used but correct method applied, then no further marks penalty. 1 mark Application of formula to find tension ratio. 1 mark Find torque. 1 mark Find power. Time take for integrator voltage to ramp from +2∙89 to -2∙89 = ½ Change in voltage is 2(-2∙89) = -5∙78 = 3∙3 ms 1 mark Recognition of −5·2 V and 0 V at points on a potential divider. 1 mark Correct use of Kirchhoff’s law at node between the two resistors. 1 mark Recognition timespan for ramp +2∙89 to 1 mark Recognition that this represented a ∆Vout = -5∙78V. 1 mark Correct calculation of T. NOTE: 1 mark total for 2 mark total for expression and t= From the graph: , = 30 ns, = 25 ns Hz × 6 × Frequency = 0∙00000231 × 6 × 100 = 0∙001386 = 1·4 mW (2 s.f.) 1 mark Interpreting voltage and current graphs and substituting values in formula (order of magnitude may be incorrect on time value). 1 mark Correct calculation of Eswitching. 1 mark Interpretation of six switches per cycle from graph. 1 mark Calculation of Frequency and Pswitching. Ten ADC readings are taken and the mean is calculated ADC reading is subtracted from 1023 as the back-emf voltage reading is relative to 0V when it should be relative to +Vcc 1 mark Ten readings and mean is calculated. 1 mark Explaining why the back-emf reading is subtracted from 1023.

Previous question: AH Engineering Science 2019 Question 7 (CfE)

Next question: AH Engineering Science 2021 Question 1