ExamBank Scot · AH Engineering Science question bank · All AH Engineering Science questions
15 marks · Forces and torque
Calculate the magnitude and direction of the tangential and radial components of force acting on the rack if the pinion is turned clockwise. 150 mm The actual torque required to turn both wheels about their pivot is 100 Nm when the wheel is at an angle of 10°. A power steering system provides additional force to move the rack which causes the wheel to change angle about a pivot (changing the direction of the car). The arm connecting the rack to the pivot is 150 mm long. A sketch of the plan view for the arrangement for one wheel is shown below. 10° Rack Wheel Pivot Calculate the required force in the rack to turn the wheels and hence the additional force supplied to the rack by the power steering system. A recent advance in car technology is to point the headlights in the direction that a car is turned. A student uses a precision motor to adjust the angle of a car headlight as it corners. The angle is changed by applying a pulse of variable width to the motor, as shown in the waveform diagrams below. 1·0 ms Period, T 0° 90° 1·5 ms Period, T 2·0 ms Period, T 180° The motor waveforms are produced using the circuit shown below. 555 555 5 V 10 kΩ R1 4 8 4 8 R3 7 7 R2 6 3 6 3 2 2 1 5 1 5 Vout V1 0·01 μF 0·01 μF 0·22 μF C 0·1 μF 0 V Note: V1 has a duty cycle of 99%, ie mark : space ratio is 99:1 The second stage of the circuit produces the output signal Vout. Ton = 1·4 ms 5 0 0 10 20 30 40 50 60 Time (ms) Voltage,Vout (V) The mark time is calculated using: Ton=1·1RC where R is the total resistance in series with the capacitor, C. Calculate the values of R1, R2, R3 and the angle the precision motor will move to. The student replaces the 555 circuit with a microcontroller. A program is written to process the angle of the wheels and produce a waveform to adjust the angle of the headlights. The following information is included for reference. • The range of movement of the headlight must be limited to −15° to +15°. • The frequency of the output waveform must match the waveform in part (c). • The angular position of the front wheels is detected by a rotary potentiometer with a range of 0° to 180°. • The voltage from the potentiometer is processed by the microcontroller’s ADC producing a value stored in the integer variable wheel_angle in the range 0–255. • Potentiometer rotation of 180° would produce a wheel_angle of 255. Rotary potentiometer angle 0° −15° Headlight angles +15° 90° Wheels straight ahead 75° Wheels 15° to left 105° Wheels 15° to right Programming commands to produce time delays PBASIC Syntax PAUSEMICRO microseconds Parameters Microseconds — is a variable/ constant (0–16383) which specifies the number of microseconds to pause Example PAUSEMICRO 50 ‘Wait 50 µs ARDUINO Syntax delayMicroseconds(us) Parameters us — is a variable/ constant (0–16383) which specifies the number of microseconds to pause Example delayMicroseconds(50);//Wait 50 µs Syntax PAUSE ms Parameters ms — is a variable/constant which specifies the number of milliseconds to pause Example PAUSE 5000 ‘Wait 5000 ms Syntax delay(ms) Parameters ms — is a variable/constant which specifies the number of milliseconds to pause Example delay(5000); //Wait 5000 ms Program Variables PBASIC wheel_angle mark space All variables are word integers in the range (0–65535) ARDUINO wheel_angle mark space All variables are integers in the range (−32768 to 32767) ARDUINO void sub_procedure_B() { // get wheel angle and // scale to 0–255 range wheel_angle = analogRead(14)/4; if(wheel_angle < 106) { wheel_angle = 106; } if(wheel_angle > 149) { wheel_angle = 149; } SECTION A mark = wheel_angle*1000/255+1000; space = 20000 – mark; digitalWrite(3, HIGH); delayMicroseconds(mark); digitalWrite(3, LOW); delayMicroseconds(space); } SECTION B BASIC sub_procedure_B: ‘ get wheel angle readadc 0, wheel_angle IF wheel_angle < 106 then let wheel_angle = 106 ELSEIF wheel_angle > 149 then let wheel_angle = 149 ENDIF SECTION A LET mark = wheel_angle*1000/255+1000 LET space = 20000 – mark HIGH 3 PAUSEMICRO mark LOW 3 PAUSEMICRO space return SECTION B Explain the purpose of the program lines in section A, and show how the numbers 106 and 149 have been calculated. After testing the program and finding faults, section B was modified as shown below. ARDUINO mark=wheel_angle * 100/255 + 100; mark = mark * 10; space = 2000 – mark; digitalWrite(3,HIGH); delayMicroseconds (mark); digitalWrite(3,LOW); delay(18); delayMicroseconds(space); } BASIC LET mark = wheel_angle*100/255 + 100 LET mark = mark * 10; LET space = 2000 – mark HIGH 3 PAUSEMICRO mark LOW 3 PAUSE 18 PAUSEMICRO space return Explain why the lines highlighted were altered. Steering wheel Pinion gear Rack The steering mechanism for a car, shown above, comprises a steering wheel connected to a toothed bar called a ‘rack’ via a ‘pinion’ gear. The pinion gear is fixed in location and is free to rotate. The rack moves to the left or to the right depending on the direction of rotation of the pinion gear. The pinion gear and rack are shown below. Pinion gear Rack The pinion has a pitch circle diameter of 45 mm and a pressure angle of 25°. A torque of 10 Nm is required at the pinion for the car to turn a corner at a constant speed.
Tangential force from Torque applied and radius of gear; Radial force due to gear geometry; If the pinion is turning clockwise then the force on the gear on the rack is acting to the left and the radial force acts vertically down w.r.t. the diagram in the question 1 mark: tangential component of force 1 mark: radial component of force 1 mark: explanation of force direction (pinion gear forces are equal and opposite) Tangential force is the force that is applied to the steering arms; torque supplied by the driver. Resistance to turning is 100 Nm Difference in rack force 1 mark: Correct rack force, noting that the radius is less than 150mm due to angle Rack force applies to both wheels 1 mark: Correct difference From the graph of Vout, Period = 20ms T1 =0∙99 x 20 ms = 19∙8 ms T2 = 20 ms – 19∙8 ms = 0.2 ms kΩ kΩ Precision motor angle 1 mark: Extract period from the graph and calculate T1 and T2 1 mark: Calculate R2 1 mark: Calculate R1 Note: kΩ Award mark for R2 but not R1 if this working is shown, but individual values are not subsequently found 1 mark: Calculate R3 1 mark: Calculate precision motor angle The 106 and 149 were calculated using the potentiometer angles given in the question. -15 degrees = 75 degrees on rotary potentiometer +15 degrees = 105 degrees on rotary potentiometer The lines in section A check to see if the wheel angle is outside the limits of 106 and 149, if so then the wheel_angle variable is set to the minimum or maximum value 1 mark: Show how to calculate ADC values corresponding to -15 and + 15 degrees 1 mark: check that the wheel angle is not outside limits: if so, then set wheel_angle to max/min value mark = wheel_angle * 100 / 255+100; mark = mark * 10; Max wheel_angle = 149, which when multiplied by 1000 in the original program would produce an overflow as it exceeds 32767 (Arduino) & 65535 (BASIC). Taking two steps to calculate it prevents this from happening as maximum value is now 14900 digitalWrite(9, HIGH); delayMicroseconds (mark); digitalWrite(9, LOW); delay(18); delayMicroseconds(space); HIGH 3 PAUSEMICRO mark LOW 3 PAUSE 18 PAUSEMICRO space The maximum value of microseconds for delayMicroseconds/pausemicro is 16383. This value is exceeded in the original program for the space at all times, even when mark is at the maximum value of 1584, space = 18416. The delay(18)/pause 18 produces a delay of 18000 microseconds. This ensures that the maximum value for delayMicroseconds/ pausemicro is always <16383 1 mark: explain that the mark calculation would exceed the maximum value permitted for the integer variable and that this is prevented by the 2-step calculation 1 mark: identify the problem with the space value exceeding the maximum value for delayMicroseconds/pausemicro 1 mark: outline the solution using delay(ms)/pause ms and delayMicroseconds(us)/ pausemicro(us) combined
Previous question: AH Engineering Science 2018 Question 7 (CfE)