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

Higher Engineering Science 2023 Question 10

12 marks · Sequential control circuits

Describe four faults with the circuit design shown opposite. Fault 1 Fault 2 Fault 3 Fault 4 To reduce costs and allow greater flexibility, an electronic engineer is asked to produce an alternative solution using a microcontroller. 12 V 0 V 0 V 5.0 V microcontroller A pin1 pin7 B pin2 C pin6 pin3 0 V The program to control the cylinder must meet the following criteria: • • the cylinder must remain outstroked for 1500 milliseconds before instroking • 200 milliseconds after the command to instroke, the system must start monitoring the switches again. The program shown below in PBASIC and ARDUINO code is known to have faults. main: if pin3 = 1 then jump if pin2 = 1 then main if pin1 = 0 then main jump: high 7 pause 1500 high 6 pause 200 low 6 goto jump void loop(){ if (digitalRead(3)==HIGH){jump();} else if (digitalRead(2)==HIGH){loop();} else if (digitalRead(1)==LOW){loop();} else{loop();} } void jump(){ digitalWrite(7,HIGH); delay(1500); digitalWrite(6,HIGH); delay(200); digitalWrite(6,LOW); } Describe three different faults in the program shown above. Fault 1 Fault 2 Fault 3 A further part of the system controls the motion of two cylinders. CA CB V1 V5 V4 V2 V3 Describe, with reference to the components, the full operation of the pneumatic circuit when the button on V1 is pressed. A mechanical engineer must design a pneumatic circuit to meet the following criteria: • when push buttons on VA and VB are not pressed, or when the lever on VC is thrown to the on state, a double‑acting cylinder must outstroke • a short time after the cylinder outstrokes, it must instroke automatically • the cylinder must instroke slowly. An initial design for the circuit, shown below, is known to have faults. C1 VE VD VB VA lever on lever off VC

Marking scheme

VB lets air through when pressed. VB has no exhaust. VC is connected to the output of VD. The restrictor and reservoir are connected in the wrong sequence. There is no restrictor to slow the instroke of the cylinder. The ball and valve in the UDR are upside down. 1 mark for each correctly described fault. Fault: the testing for pin 1 does not match specification. When pin 1 is high it should go to main. Fault: The cylinder does not instroke as there is no command to stop the outstroking. Pin 7 must be switched off before “high 6”/ ”digitalWrite(6,HIGH);” Fault: The last line of the program does not return to the start of the code to monitor the switches. 1 mark for each correctly described fault. Candidates should describe three different faults. The same fault in both languages cannot receive 2 marks. When V1 is actuated a pilot signal actuates V2 causing CA to outstroke. As CA outstrokes there is a delay then V4 is actuated. V4 causes CB to outstroke and actuates V3. V3 cutting off the pilot signal. After a delay V4 and V2 are actuated causing both cylinders to instroke. Both cylinders will instroke anytime V5 is actuated. 1 mark for each clearly stated point up to 4 marks. One mark reserved for identifying the function of V3. Identifying that V5 acts as a reset is an acceptable alternative to final example.

Previous question: Higher Engineering Science 2023 Question 9

Next question: Higher Engineering Science 2023 Question 11