Upload
others
View
3
Download
0
Embed Size (px)
Citation preview
Test Specification
City of Glasgow College
HND Electronics Graded Unit Project
SARRRO
Gavin Hannah
N10161454
2012/13
HND Graded Unit Project – Gavin Hannah – SARRRO Test Specification
26 May 2013 2
This document provides details on test procedures for SARRRO. It should provide a reference for
anyone attempting to diagnose faults. It is split into three parts. These are:
+ Motherboard
+ Ultrasonic Emitters
+ Ultrasonic Receivers
Please consult this document before attempting any service or repairs. Further detailed information
regarding individual components can be found within the components’ individual data sheets.
HND Graded Unit Project – Gavin Hannah – SARRRO Test Specification
26 May 2013 3
Motherboard
Power Supply:
Battery Requirements - 7.2V – 9V, 2000mAh minimum
Test Point Parameter Specified Output 1 VDD ~5V
2 VSS 0V
3 Vsrc 7.2Vmin
MCU Nominal Operation
Test Point Parameter Specified Output OSC1 / OCS2 freq XTAL Freq, 20MHz
11/32 VDD 5V
12/31 VSS 0V
PORT PIN OUTPUT HIGH
VOH 5V
PORT PIN OUTPUT LOW
VOL 0V
PORT PIN INPUT HIGH
VIH 2V - 5V max
PORT PIN INPUT LOW
VIL 0V - 0.8Vmax
HND Graded Unit Project – Gavin Hannah – SARRRO Test Specification
26 May 2013 4
Bluetooth Connection
Test Point Parameter Specified Output Parameter Test Point Specified Output
CONN-SIL 1 VDD, IDD 3V3, 50mA VH, VL 1 High = 5V, Low = 0V
CONN-SIL 2 VSS 0V VH, VL 2 High = 5V, Low = 0V
CONN-SIL 3 VH, VL High = 3V3, Low = 0V VH, VL 3 High = 5V, Low = 0V
CONN-SIL 4 VH, VL High = 3V3, Low = 0V VH, VL 4 High = 5V, Low = 0V
CONN-SIL 5 VH, VL High = 3V3, Low = 0V VH, VL 5 High = 5V, Low = 0V
CONN-SIL 6 VH, VL High = 3V3, Low = 0V
CONN-SIL 7 VH, VL High = 3V3, Low = 0V
CONN-SIL 8 VH, VL High = 3V3, Low = 0V
TEMPERATURE & HUMIDITY
SENSORS
* See Graphs At Back For Detailed Data.
Test Point Parameter Specified Output 1 VH, VL High = 5V, Low = 0V
2 T, Vo @25°C = 2.5V *
3 T, %RH, freq @25°C & 55%RH = 4.975kHz*
1
1 2 3
2 3 4 5
HND Graded Unit Project – Gavin Hannah – SARRRO Test Specification
26 May 2013 5
H-BRIDGE
Test Point Parameter Specified Output PIN 9 VSS 5V
PIN 4 VS 7.2V (Vsrc)
PIN 5 VH, VL High = 5V, Low = 0V
PIN 7 VH, VL High = 5V, Low = 0V
PIN 10 VH, VL High = 5V, Low = 0V
PIN 12 VH, VL High = 5V, Low = 0V
PIN 6 VH, VL High = 5V, Low = 0V
PIN 11 VH, VL High = 5V, Low = 0V
PIN 1 Vsense 2.3Vmax
PIN 15 Vsense 2.3Vmax
PIN 2 Io Non-Repetative(100µs) = 3A, Repetative (80% on, 20% off ton = 10ms) – 2.5A,
DC operation 2A
PIN 3 Io Non-Repetative(100µs) = 3A, Repetative (80% on, 20% off ton = 10ms) – 2.5A,
DC operation 2A
PIN 13 Io Non-Repetative(100µs) = 3A, Repetative (80% on, 20% off ton = 10ms) – 2.5A,
DC operation 2A
PIN 14 Io Non-Repetative(100µs) = 3A, Repetative (80% on, 20% off ton = 10ms) – 2.5A,
DC operation 2A
HND Graded Unit Project – Gavin Hannah – SARRRO Test Specification
26 May 2013 6
Ultrasonic Sensors
Ultrasonic Emitter
Test Point Parameter Specified Output
U1:A – 2 f 13 – 14kHz
U1:A – 1 VoH 11.95V
U1:A – 1 VoL 0V
Q2 B Vb 4.3 – 5V
Q2 C VeH 11.95V
Q2 C VeL 0V
HND Graded Unit Project – Gavin Hannah – SARRRO Test Specification
26 May 2013 7
Ultrasonic Receiver
Test Point Parameter Specified Output
Q7 B Vb 3.1V
Q7 C Vc 7.2V
Q7 E Ve 2.6V
Q8 B Vb 3.1V
Q8 C Vc 7.2V
Q8 E Ve 2.6V All outputs are under quiescent conditions.
During Echo Detect( Test signal of 10mV applied to Vb Q7 )
Test Point Parameter Specified Output
Q7 Cpeak Vc 7.6V
Q8 Cpeak Vc 12V
D1 Cathode Vpeak detect 9V
Q1 B Vb 9V
Q1 E Vout 5V
HND Graded Unit Project – Gavin Hannah – SARRRO Test Specification
26 May 2013 8
Input Signal 10mV Peak
Vc Peak 7.6V
Vc Peak 12V
Oscilloscope output of circuit simulation
HND Graded Unit Project – Gavin Hannah – SARRRO Test Specification
26 May 2013 9
TEMPERATURE & HUMIDITY SENSORS
Ideal Temperature Sensor Plot
0
0.5
1
1.5
2
2.5
3
3.5
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41
Vo
lta
ge
Temperature
Output Voltage vs Temperature
HND Graded Unit Project – Gavin Hannah – SARRRO Test Specification
26 May 2013 10
Humidity Sensor ;
For SARRRO, C represents a capacitive humidity sensor. tA can be calculated using the following
formula. See Data Sheets for in depth description of individual components.
40406B CMOS Schmitt Trigger Astable Setup
Vp = Positive Threshold Trigger,
TYP = 2.9V
Vn = Negative Threshold Trigger,
TYP = 1.9V
VDD = 5V
VSS = GND
Capacitive response of Humidity Sensor For HCH-1000-101
HND Graded Unit Project – Gavin Hannah – SARRRO Test Specification
26 May 2013 11
SARRRO MOTHERBOARD
CONNECTOR TYPE DESCRIPTION ICSP PICKit Connector MOTORS Bi-Directional Motor connection
BLUETOOTH 1 – 3V3 : 2- GND : 3 – Connection status LED : 4 – BT Reset : 5 – Auto discover : 6 – Set 9600 Baud : 7 – MCU Rx : 8 – MCU TX
ULTRASONICS 1,2 – 7V2 : 3,4 – GND : 5 – Left Ultrasonic : 6 – Middle Ultrasonic : 7 – Right Ultrasonic : 8 – Ultrasonics Activate
USINPUT 1 – Ultrasonic Sensor Input : 2,3- NC - PIN 1 Must be disconnected during ICSP programming PWRIN / PWROUT -VE Negative Battery Terminal : +VE Positive Battery Terminal / +5V output : GND J1 / J2 Jumpers for ICSP. Must be removed during ICSP programming
J1
J2
HND Graded Unit Project – Gavin Hannah – SARRRO Test Specification
26 May 2013 12
SARRRO ULTRASONIC EMITTERS
CONNECTOR TYPE DESCRIPTION
J1 1 – GND : 2 – PWR Supply : 3 – Left Emitter Activate : 4 – Middle Emitter Activate : 5 – Right Emitter Activate : 6 – 555 Activate
LS1 1 – Emitter Positive : 2 – Emitter GND LS2 1 – Emitter Positive : 2 – Emitter GND LS3 1 – Emitter Positive : 2 – Emitter GND
HND Graded Unit Project – Gavin Hannah – SARRRO Test Specification
26 May 2013 13
SARRRO ULTRASONIC RECEIVERS
CONNECTOR TYPE DESCRIPTION J1 1 – GND : 2 – PWR Supply : 3 – Receiver Output Left Receiver 1 – Receiver Positive : 2 – Receiver GND Center Receiver 1 – Receiver Positive : 2 – Receiver GND Right Receiver 1 – Receiver Positive : 2 – Receiver GND
HND Graded Unit Project – Gavin Hannah – SARRRO Test Specification
26 May 2013 14
Troubleshooting
I am unable to program SARRRO using the ICSP.
Make sure that the ICSP header pins are connected to the MCU /Chip holder. Test each pin with the
corresponding MCU pin to make sure full connectivity is present.
If a pin has no connection, inspect solder joints for dry solder joints or missing solder.
Nothing happens when I switch SARRRO on.
+ Check the battery has enough charge.
+ Check that the on/off switch is functioning.
+ Check the green on/off LED is fully lit.
Step 1 Checks - Check the external crystal oscillator is functioning
- Check capacitors C1 & C2 are functioning
- Inspect MCU chip holder solder joints for signs of deteriorated solder
Step 2 Checks - Check that the on/off LED is functioning
- Check that 5 - 5.3V is present at the cathode of 5.1V Z
- Check that the VDD pins of MCU are at 5 - 5.3V
- Inspect MCU chip holder solder joints for signs of deteriorated solder
If all above checks are exhausted, try replacing MCU with one that is known to be working.
The motors have stopped working.
+ Ensure MCU is operational.
+ Check that H-Bridge pin 4 (Vs) = Vsrc. Check that VSS = 5V.
+ Check that Diodes 2 - 9 are all functional. Replace any burnt out diodes.
+ If MCU is operational and Diodes 2 - 9 are fine, check that the H-Bridge is operational. Replace if
burnt out.
The Ultrasonics are not working.
+ Following the test point procedures, check that the 555 and LM386 chips are operational.
+ Check that all the passive components (Transistors, resistors, capacitors etc) are all functioning.
Replace any burnt out parts.
HND Graded Unit Project – Gavin Hannah – SARRRO Test Specification
26 May 2013 15
The Humidity and / or Temperature Sensor(s) do not work.
+ Check for any burnt out passive components (Resistors, capacitors etc).
+ Check that the 4017 Schmitt Trigger is operational.
+ Check that the thermistor is not burnt out.
+ Inspect the humidity sensor for any signs of physical damage.
+ Replace any burnt out / blown parts.
+ Check that the MCU pin RB5 is high (+5V) during sensor activation. If pin is not high and MCU is
operational, check the MCU code for conflicts.