290 likes | 438 Views
The Child Leash Unleashed. ECE 445 Senior Design December 2, 2004 Conway Mai . Sophia Kang. Introduction. The FBI estimates that 85-90% of missing persons are juveniles In approximately 725,000 cases (or 2,000 per day) the disappearance of a child was reported
E N D
The Child Leash Unleashed ECE 445 Senior Design December 2, 2004 Conway Mai . Sophia Kang
Introduction • The FBI estimates that 85-90% of missing persons are juveniles • In approximately 725,000 cases (or 2,000 per day) the disappearance of a child was reported • "Juvenile“ Category - 651,209 cases Source: Federal Bureau of Investigation, National Crime Information Center (NCIC), Missing Person File.
Functional Block Diagram Transponder-A Transponder-B Reader
Deliverables • Reliable and accurate data transmission • Predefine range and signal coverage • Robust alert system • Tamper-proof system • Uniquely identify multiple children • Portable / Easily concealable package • Low-cost solution and implementation
R E C E I V E R
Component Breakdown Transponder Reader • Microcontroller • PIC16F872 • Transmitter • TXM-900-HP-II • Contact Sensor • MTS102 (Temp Sense) • LM358N (Op-amp) • 8-bit ADC (in PIC) • Microcontroller • PIC16F872 • Receiver • RXM-900-HP-II • Channel Switch • COTO-8041 (Relay) • LM358N (Op-amp)
Block Diagram (Transponder) PIC16F872 CHILD Temperature Sensor To Parent Device Transmitter
Block Diagram (Receiver) Receiver Child Data Display Data to Parent PIC16F872
Transmitter / Receiver Selection • Key Capabilities: • Transmitter • Channel Selection (8 channels) [902-928Mhz] • Clear To Send (CTS) Indicator • Power Down Pin • No internal power output attenuation! • Receiver • Channel Selection (8 channels) [902-928Mhz]
Contact (temperature) Sensing Performance Requirements: • Skin at room temperature (~24˚C-25˚C) • Arms & Legs: 31˚C* • Feet & Hands: 29˚C* • Head, Chest & Abdomen: 34˚C* • Typical Variation: 5˚C • Possible Variation: 30˚C Challenge: • Temperature Sensor Range: 10mV • Amplifier insensitivity to small change for ADC *Source: http://www.science.uwc.ac.za/physiology/temperature/temperature.htm
Contact Sensing Solution *assumes R14=R5 and R13=R6 • Theoretical Gain = 258 V/V • Tested Gain = 228 V/V • Vsat = 3.759 V • Example Calculation: • 12mV*258 = 3.096 V • Saturation condition: • Difference > 15 mV
Protocol Design • To eliminate data corruption and noise on crowded frequency channels. • Packetization • Encoded Data • Bits 0-6: ID of Transponder • Bit 7: 0=Transponder not on, 1=Transponder on END WAKE UP ENCODED DATA 8 Bit Packet 8 Bit Packet 8 Bit Packet
R E C E I V E R
Alert System • Alert system checks three functionalities: • kbhit() returns false • Data from rs232 does not match the packets sent by the transmitter • In the encoded data, temperature is “bad.”
Timing Issues • Three timing issues to consider: • Receiver has to be on before the transponder • Time between powering up the transmitter and when it sends valid data (1.2 ms) • Frequency channel switching (8 – 10 ms)
Channel Switch Functional Test Receiver A B
Contact Circuit Functional Test > 2.840V < 2.840V
Successes & Challenges • Data integrity: • Challenges • Timing issues (inconsistencies): Transmitter power down • Noise (same frequency): Wireless protocol • Two-Child Implementation: • Challenges • Range: Output Power Control • Communication: Transmitter power down • Contact Sensing: • Challenges • Sensitivity: Differential amplifier of ambient temperature vs. contact temp. • Tools and Concepts: • Challenges • Understanding wireless communication and protocol • Learning new development tools
Future Recommendations • Higher noise tolerant protocol • Detect multiple children to one parent • Location/Directional detection of child • Passive powered transmitter • Low power consumption • User-friendly interface
Conclusion • Accomplished: • One Child Communication • Two Child Communication • Alert System • Tamper Proof System • Learned: • Teamwork and Project Management • RF Technology, PIC, C Coding • Design Procedures
Acknowledgements • Mo Zhou, our TA • Marty and Chirantan • Professor Swenson • Professor Bernhardt • ECE Parts Shop