Preview only show first 10 pages with watermark. For full document please download

Smart Vehicle Tracking System

   EMBED


Share

Transcript

STEVAL-IEG001V1 Smart vehicle tracking system Data brief Features ■ Real-time vehicle tracking system based on GPRS/GSM/GNSS. The vehicle location coordinates are acquired using FASTRAX GPS/GLONASS module and sent over GPRS to the web server-based fleet tracking application ■ Web GUI-based application based on API’s provided by third party map provider “Open Street Maps” can monitor up to 10 vehicles, their known location and status ■ Car lift alarm for anti-theft feature ( MEMSbased) ■ Black box functionality: in case of vehicle crash (detected using MEMS), vehicle status and location parameters are stored in the micro SD card and SMS. In all other cases any alarm notification is through web-based GUI ■ Tamper and panic detection, and alarm ■ Local graphic display of information such as vehicle status, location coordinates, speed, distance covered, GPS strength, GSM signal strength, time and date ■ Ability to send alert message from web application to be show on tracking system display ■ Buzzer on vehicle unit for alarm indication ■ On-board user switch for different actions ■ RoHS compliant Description The STEVAL-IEG001V1 is a smart vehicle tracking system reference design based on GPSGLONASS/GSM-GPRS. The system is built around the Cortex-M3 STM32F20x microcontroller series. Today, tracking and navigation systems for vehicles are extensively used all over the world by public transportation units, fleet owners and individuals, and are October 2012 essential parts of vehicle telematics systems. The design consists of a vehicle unit (to be installed inside the vehicle) and remote web server application where the vehicle status and movement information may be viewed in an intuitive way on the map. The vehicle unit is built around the Cortex-M3 STM32F20x microcontroller, Fastrax GNSS (TESEO II) module and a SAGEM GSM/GPRS module. The vehicle unit gathers the GPS/GLONASS information on geographic coordinates, time, date, speed, in-journey distance traveled and satellites fixed, and sends this information over GPRS to the web server application. The web application shows the current location and status information of the vehicle on open street maps. The same information is displayed locally on the graphical LCD display. This unit also consists of MEMS sensors LIS331DLH 3-axis accelerometer, and L3G4200D yaw/pitch/roll gyroscope. This unit also serves as a theft detection unit and senses car lift using MEMS. In case of vehicle crash (detected using MEMS), the vehicle status and location parameters are logged in the micro SD card, and the same information is sent to the administrator over SMS, thereby providing blackbox functionality. Doc ID 023759 Rev 1 For further information contact your local STMicroelectronics sales office. 1/12 www.st.com 12 Schematic diagrams STEVAL-IEG001V1 1 Schematic diagrams Figure 1. µSD connections 3V3 C1 4.7uF C2 100nF R1 100k R2 (DNM) CD PD7_CS_MSD PB5_SPI1_MOSI_MSD PB3_SPI1_SCK_MSD PB4_SPI1_MISO_MSD R5 100k 8 1 VSS2 RSV RSV PD7_CS_MSD PB5_SPI1_MOSI_MSD PB3_SPI1_SCK_MSD PB4_SPI1_MISO_MSD 2 3 5 7 R6 100k 6 12 Figure 2. CS DATA_IN SCLK DATA_OUT COM VSS 10 VDD 9 VSS PE1_MSD_CD 11 PE1_MSD_CD 4 J1 uSD Connector IrDa transceiver C4 4.7uF R7 47 3V3 PC10_USART3_Tx_IrDA PC11_USART3_Rx_IrDA PC12_SD_IrDA R9 1k R8 1k R10 1k R11 47 U2 1 2 3 4 5 6 VCC2/IRED Anode TXD RXD SD VCC1 GND TFBS4711 C5 0.1uF Figure 3. EEPROM section 3V3 C3 100nF U1 1 2 3 PB8_I2C1_SCL_TS R4 0 6 7 4 E0 E1 E2 VCC SDA 8 5 SCL WC VSS M24M01-HR 2/12 Doc ID 023759 Rev 1 R3 0 PB9_I2C1_SDA_TS STEVAL-IEG001V1 Schematic diagrams Figure 4. LCD connector on VTS motherboard Figure 5. Graphical LCD daughter card Doc ID 023759 Rev 1 3/12 Schematic diagrams PA9_USART1_Tx_GPS PA10_USART1_Rx_GPS PA9_USART1_Tx_GPS R13 220E ADC1_IN ADC5_IN UART1_TX/USB_DM UART1_RX/USB_DP GND UART0_RX UART0_TX UART2_RX UART2_TX 1PPS GND SPI_DI SPI_DO SPI_CLK SPI_CSN 38 TCK 40 TMS XRESET XSTANDBY WAKEUP ODO_IN GND RFIN GND VBAT IT600 TESEOII VDD1V8 VDD3V3 GND CAN0TX CAN0RX CAN1TX/12C_SD CAN1RX/12C_SCLK 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PA11_GPS_RESET PA12_GPS_STBY PA8_GPS_WAKEUP PA11_GPS_RESET PA12_GPS_STBY PA8_GPS_WAKEUP HI 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 TRSTN TD0 R12 220E PA10_USART1_Rx_GPS 41 42 U4 GPS MODULE INTERFACE 39 GPS module interface TD1 Figure 6. STEVAL-IEG001V1 J2 VRTC 3V3 CON2 2STR2215 R14 10k R17 R16 220E 37 36 35 34 33 C7 100nF C8 GND GND GND GND GND GND GND 1 2 Q1 47uF 31 VRTC 1V8 C9 47uF 32 Antenna RF_IN 100k PC2_GPS_1V8 J3 3V9 1 2 3 4 3V9 PA3_USART2_Tx_GSM PA2_USART2_Rx_GSM CON8 J4 1 2 3 4 PC4_POK_IN_GSM R15 100k PA0_USART2_CTS_GSM PA1_USART2_RTS_GSM PC5_ADC_IN15_GSM_I/O CON8 Figure 7. 4/12 GSM module interface Doc ID 023759 Rev 1 STEVAL-IEG001V1 SIM card section SIM_DATA SIM_CLK SIM_RST VSIM J3 3 2 1 6 5 4 C3 10pF C707 10M006 0492 U1 5 4 3 1 C4 22pF C5 10pF C6 33pF C7 10nF ESDALC6V1W5 2 Figure 8. Schematic diagrams Doc ID 023759 Rev 1 5/12 Schematic diagrams Figure 9. STEVAL-IEG001V1 Compatibility between STM32F10x and STM32F20x 4.7K PB8_I2C1_SCL_TS PB8_I2C1_SCL_TS R18 3V3 C10 22pF 4.7K PB9_I2C1_SDA_TS PB9_I2C1_SDA_TS R19 3V3 C11 22pF 4.7K R24 PB10_I2C2_SCL_MEMS PB10_I2C2_SCL_MEMS 3V3 3V3 SUPERCAP 1 2 PE2_PANIC_SWITCH PE3_GYRO_INT1 3 4 5 6 7 8 9 10 11 12 13 VRTC PC13_TAMPER_PIN OSC32_IN OSC32_OUT VRTC STM32F10X: R36 3V3 OSC_IN OSC_OUT STM32F2X: R35 R35 3V3 AGND R36 0E 16 17 18 19 20 21 22 23 24 25 AGND L1 10uH 3V3 14 15 RESET# PC0_TS_INT PC1_ACC_INT1 PC2_GPS_1V8 0E 3V3 VDDA C21 C20 10uF AGND 10nF PA0_USART2_CTS_GSM PA1_USART2_RTS_GSM VDD_3 VSS_3 PE1 PE0 PB9 PB8 BOOT0 PB7 U5 100 99 98 97 96 95 94 93 C16 0.22F PE1_MSD_CD PE0_LD29300_EN VRTC STM32F2X: C19 PE2 PE3 PE4 PE5 PE6 VBAT PC13-TAMPER-RTC PC14-OSC32_IN PC15-OSC32_OUT VSS_5 VDD_5 OSC_IN OSC_OUT STM32F207 NRST PC0 PC1 PC2 PC3 VSSA VREFVREF+ VDDA PA0-WKUP PA1 PA2 C19 100nF VDD_2 VSS_2 NC PA13 PA12 PA11 PA10 PA9 PA8 PC9 PC8 PC7 PC6 PD15 PD14 PD13 PD12 PD11 PD10 PD9 PD8 PB15 PB14 PB13 PB12 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 3V3 3V3 PA13_JTAG_JTMS PA12_GPS_STBY PA11_GPS_RESET PA10_USART1_Rx_GPS PA9_USART1_Tx_GPS PA8_GPS_WAKEUP PA11_GPS_RESET PD15_OLED_DISP PD14_OLED_E PB15 PB14_1V8_INH PB13_CAN2_Tx PB12_CAN2_Rx 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 PA2_USART2_Rx_GSM PA3 VSS_4 VDD-4 PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2/BOOT1 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 PB10 PB11 VSS_1 VDD_1 D1 BAT54 PA14_JTAG_JTCK 0E R29 0E PD3_LED_RED PD2_LED_GREEN PD1_DISP_CS R28 3V3 BOOT0 3V3 22pF 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 3V3 PB6 PB5 PB4 PB3 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 PC12 PC11 PC10 PA15 PA14 R27 C15 PE1_MSD_CD PE0_LD29300_EN PB9_I2C1_SDA_TS PB8_I2C1_SCL_TS STM32F10X: R29 STM32F2X: R28 4.7K PB11_I2C2_SDA_MEMS PD1_DISP_CS PD0_OLED_RES PC12_SD_IrDA PC11_USART3_Rx_IrDA PC10_USART3_Tx_IrDA 22pF PB11_I2C2_SDA_MEMS PC12_SD_IrDA PB5_SPI1_MOSI_MSD PB4_SPI1_MISO_MSD PB3_SPI1_SCK_MSD PD7_CS_MSD PD6_USER_SWITCH PD5_DISP_MODE_SEL PD4_OLED_R/W C14 R39 100K BOOT1 C25 100nF C24 100nF C27 100nF Y1 PA7_GYRO_INT2 PC4_POK_IN_GSM PC5_ADC_IN15_GSM_I/O C23 100nF PA5_ACC_INT2 C22 100nF PA3_USART2_Tx_GSM 3V3 3V3 R40 BOOT0 100K 0E R42 PE8_OLED_D0 PE9_OLED_D1 PE10_OLED_D2 PE11_OLED_D3 PE12_OLED_D4 PE13_OLED_D5 PE14_OLED_D6 PE15_OLED_D7 PB10_I2C2_SCL_MEMS PB11_I2C2_SDA_MEMS PB1_BUZZER_PWM BOOT1 3V3 DECOUPLING CAPACITORS C26 100nF STM32F10X: R42 STM32F2X: C26 J5 2 1 CAN_CONN 32.768KHz R43 C28 C29 10pF OSC32_OUT 0E 10pF 3V3 OSC32_IN C30 PB1_BUZZER_PWM OSC_IN 22pF C31 Y2 8MHz R45 1M OSC_OUT 22pF 6/12 R44 1k Doc ID 023759 Rev 1 BZ1 BUZZER PB12_CAN2_Rx PB13_CAN2_Tx STEVAL-IEG001V1 Schematic diagrams Figure 10. Switch section 3V3 3V3 PANIC SWITCH USER1 SWITCH R20 4.7K R21 4.7K R22 R23 PD6_USER_SWITCH PE2_PANIC_SWITCH 33E 33E SW1 SW PUSHBUTTON SW2 SW PUSHBUTTON C12 100nF C13 100nF R25 R26 100E 100E 3V3 3V3 RESET SWITCH TAMPER SWITCH R30 4.7K R31 10K R32 PC13_TAMPER_PIN 33E RESET# SW3 SW PUSHBUTTON C18 100nF SW4 RESET SWITCH C17 100nF R33 100E D2 R34 PD2_LED_GREEN PD3_LED_RED 100E LED BI-COLOUR 3V3 USER2 SWITCH R38 4.7K R37 PB15 33E SW5 SW PUSHBUTTON C37 100nF Figure 11. SWD section R100 10k 3V3 J8 3V3 1 3 5 7 9 R98 10k 2 4 6 8 10 PA13_JTAG_JTMS PA14_JTAG_JTCK RESET# R102 10k R89 10k R101 10k 3V3 3V3 SWD_CONN R99 0 3V3 R97 10k Doc ID 023759 Rev 1 7/12 Schematic diagrams STEVAL-IEG001V1 Figure 12. 5 V regulator F1 Fuse-R L2 BAT_12V J6 C35 100nF 9 10 NC NC OUT L5 5 150uH NC C44 220uF 15 BOOT GND NC 16 BOOST_12V 2 SS_INH C41 2.7nF 6 5V0 OUT C43 470uF/25V R52 4k7 L4978 OSC 3 C40 220nF 8 VCC 4 12 D7 STPS2L30A D8 LED 14 FB 11 COMP R49 20k NC U8 NC D6 STPS2L30A BAT_12V 7 D5 DNM------Transil 1 D4 STPS2L30A BAT_12V C36 100nF NC 5 47uH 1 2 3 13 4 C42 100nF C50 100nF D9 LED R50 2k7 D10 STPS2L30A R51 9k1 R54 4k7 R53 4k7 C51 22nF Figure 13. L6924D battery charger BAT_3.7V D13 GREEN-LED R56 1k R57 2k7 R59 1k D14 YELLOW-LED R60 0 L6924_SD R62 4.7uF/16V U11 5V0 1 2 3 4 5 6 7 8 C58 1uF/16V C60 22nF VIN VIN_SNS ST2 ST1 TPRG GND SD TH L6924_SD VO_PRG VO_SNS V_OUT V_REF I_END V_PRE I_PRG I_PRE BAT_12V C57 9 10 11 12 13 14 15 16 BAT_3.7V Q3 2STR1160 4k7 R64 2k7 C62 1nF L6924D R70 1K R65 R66 27K 13.5K R67 3.5k R69 470 Figure 14. Voltage regulators 3.9V REGULATOR 3.3V REGULATOR U6 LD29300P2MTR INH INPUT GND VOUT ADJ/NC GND D3 STTH102 1 IN OUT GND 3V3 3 C32 LD39150_DPAK 10uF C33 100nF 1 2 3 4 5 6 U7 5V0 PE0_LD29300_EN C34 100nF 2 PE0_LD29300_EN 5V0 R46 15K 5V0 R48 15K R47 33k U9 3V9 3V3 3V3 C47 C48 10uF 1 2 3 VIN VOUT GND INHIBIT BYPASS 1V8 5 C45 100nF C46 10uF 100nF LDS3985MI8R C49 10nF PB14_1V8_INH PB14_1V8_INH R55 10k 1.8 V REGULATOR 8/12 3V9 1V8 4 Doc ID 023759 Rev 1 C39 100uF + C38 100nF 5V0 STEVAL-IEG001V1 Schematic diagrams Figure 15. Boost using STLDC08 Figure 16. Battery protection and boost/charger synchronization Figure 17. Gyroscope section 3V3 3V3 3V3 C64 C65 10uF 10nF C66 C67 R75 10k 470nF 100nF 14 16 13 GND RES PLLFILT RES L3G4200D SDA RES RES RES 12 11 10 9 8 INT1 SAO INT2 R81 4k7 4 RES SCL/SPC CS DNM-----4k7 3 VDD_IO 7 R80 3V3 2 6 PB11_I2C2_SDA_MEMS R77 0 R79 0 5 PB10_I2C2_SCL_MEMS VDD U13 1 15 3V3 3V3 R82 4k7 R83 4k7 3V3 R85 10k Doc ID 023759 Rev 1 PA7_GYRO_INT2 PE3_GYRO_INT1 9/12 Schematic diagrams STEVAL-IEG001V1 Figure 18. Temperature sensor 3V3 3V3 PB9_I2C1_SDA_TS R71 4k7 U12 R72 12k 1 2 3 3V3 R73 0 R74 0 6 5 4 ADDR/THERM SDA GND EVENT VDD SCL PC0_TS_INT STTS751 C63 100nF PB8_I2C1_SCL_TS Figure 19. Accelerometer section 3V3 PC1_ACC_INT1 PA5_ACC_INT2 PC1_ACC_INT1 R76 4k7 R78 4k7 PA5_ACC_INT2 C68 100nF 3V3 14 VDD 15 RESERVED GND GND LIS331DLH INT 1 RESERVED GND INT 2 6 13 12 11 PC1_ACC_INT1 10 9 PA5_ACC_INT2 CS SCL SDA 5 NC SDO 4 GND NC 8 3 R84 0 VDD_IO 7 2 GND U14 1 3V3 16 C69 10uF C70 100nF 3V3 R86 4k7 PB10_I2C2_SCL_MEMS R87 4k7 R88 0 10/12 PB11_I2C2_SDA_MEMS Doc ID 023759 Rev 1 STEVAL-IEG001V1 2 Revision history Revision history Table 1. Document revision history Date Revision 25-Oct-2012 1 Changes Initial release. Doc ID 023759 Rev 1 11/12 STEVAL-IEG001V1 Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. © 2012 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 12/12 Doc ID 023759 Rev 1