Difference between revisions of "Manufacturing:X2 Device Manufacturing and Programming Process"

From Idrive
Jump to navigation Jump to search
Line 508: Line 508:
 
<span style="color: red">New Picture with X2 shown
 
<span style="color: red">New Picture with X2 shown
  
[[File:LEDs.jpg|100px|]]
+
[[File:LEDs.jpg|200px|]]
  
 
<br/><br/>
 
<br/><br/>

Revision as of 19:15, 19 May 2015

Copyright Information

This document contains proprietary information that is protected by copyright. No part of this document may be photocopied, reproduced, or translated to another language without the prior written consent of Idrive Inc.



About This Document

This document contains the information necessary to produce a Idrive Main board suitable for building of an Idrive X2 series camera. This includes all programming, testing, focus of lenses and bar code label.



About Idrive X2 Production Process

The production process for the Idrive X2 cameras has been created with purpose in mind of tracking all work in progress as well as finished goods. This information is sent over the internet to the Idrive AdminCenter website where it is logged and configuration information is obtained for each device. As much of the testing as possible has been automated however certain steps will require human intervention. Where ever possible a bar code reader is used to reduce input errors.

To facilitate this tracking each X2 Main board MUST HAVE a serial number assigned to it. Idrive produces the range of serial numbers for each build and allocates them to the assembly vendor when a purchase order is issued. This serial number must remain unique and track through the production process all the way to a finished camera (which will inherit this serial number) or to scrap of the PCB assembly due to defect. A serial number should NEVER be reused.



X2 Camera Processing Overview

X2-process-overview.jpg



Idrive X2 Main Board Assembly



Assemble PCB

X2 Main Board PCB Assembly Materials
All components as listed in "Idrive X2 REV 1.1 Main Board" Bill of Materials
Pre-printed Bar Code Labels with Serial Number

1. SMT Assembly steps - Use the supplied pick and place information provided by Idrive Inc.

2. Manual Assembly Steps (Through Hole components etc)

3. Place Barcode label in the S/N box located on the "Road" side of the PCB next to the Power Connector

X2-driver side assy.jpg X2-road side assy.jpg

Top Level X2 Main Board Assembly

Top Level Main Board Assembly Materials
4GB Pre-Programmed Micro SD card (Contains OS for camera)
8GB Micro SD card (No pre-programming, used for event storage)
2 Lens Holders (11mm Height)
4 Lens Holder screws (2 for each lens holder)
DSL-218A Lens for Road side of the camera (side of the PCB with the power connector) (the lens for the Road Side of the camera is different from the Driver side of the camera)
DSL-180C Lens for Driver Side of the camera (side of the PCB with the Processor on it) (the lens for the Driver Side camera is different from the Road Side of the camera)
Bar code Labels with Serial number


1. Insert the Pre-programmed 4GB Micro SD card into the SD socket on the Driver Side of the Main Board.

4gbsd socket1.jpg 4gbsd socket2.jpg 4gbsd socket3.jpg


2. Insert the 8GB Micro SD card into the SD socket on the Road Side of the Main Board.

8gbsd socket1.jpg 8gbsd socket2.jpg 8gbsd socket3.jpg


3. Mount of the two Lens Holders to the board

4. Insert the proper lens in the correct side in the Lens Holders(Lenses are glued after programming and focus)

- DSL-180C Lens for Driver Side (No markings)

Sunex dsl180c.jpg

- DSL-218A Lens for Road Side (Note Markings)

Sunex dsl218a.jpg

5. Advance the Top Level X2 Main Board PCB assembly to the X2 Programming Station

File:X2-driver side top assy.jpg File:X2-road side top assy.jpg



X2 Main Board Initial Programming

Idrive X2 Programming & Lens Focus Materials
Idrive X2 Programming Station
Idrive Top Level X2 Main Board Assembly
Lens focus targets
Super Glue (for fixing lenses) (Loctite Control, Extra Time or equivalent)



Initialize Programming Station

Programming fixture:

Image2.jpeg


Idrive X2 connected to Programming fixture:

Image7.png


X2 Programming Station Initialization

Setup X2 Main Board

1. Connect the LED's board to Idrive X2 Main board.

2. Place the Idrive X2 Main board in to the Device holding Fixture.

3. Connect the Power cable between the Idrive X2 Main Board and the Programming Fixture.

4. Connect the programming cable between the Idrive X2 Main Board and the Programming Fixture.

5. Connect the USB cable between the Idrive X2 Main Board and the Programming Fixture.

Front.png

Back.png

<br\><br\>











Automatic Install

X2fwautoinststart.jpg

1. Click on the Factory-New Devices-Auto button to open The Automatic Install window

2. Scan the Bar Code label with the serial number (if no bar code scanner is available type the serial number from the bar code label into the serial number input field in the Idrive Factory Tools Application)

3. Click on the Auto Install Button and the Automatic Install window will open


X2fwautoinstall.jpg






4.Click on Start Installation Button

The program will automatically step through the programming sequence and report status of each step.
  • Installing Boot Loader
  • Configuring Device
  • Contacts Admin Center to get settings for the device
  • Tests Door Wire Event
  • Tests Panic Wire Event
  • Tests Alarm Wire Event
  • Tests GPS External Interface
  • Tests Accessory Ports
If any of these steps fail the program will stop and give an error. If all steps are successful the program will enter into Lens Focus Mode.








Lens Focusing

1. Select "Inside Camera" Tab and Focus the Driver Side Lens(DSL-180C) (the same side as the Processor). The focal length for the inside camera should be ~1.5 meters


2. Select "Outside camera" Tab and Focus the Road Side Lens (DSL-218A) (the same side as Power Connector). The Focal Length for the outside camera should be as far as possible


3. Once focused fix the each lens with a drop of super glue.

4. Select "Both cameras" Tab and Verify the lenses are focused.

5. If images are focused and clear click on the "Lens Focus OK" button and the focus mode will close. If the image is not clear for some reason click on the "Lens Focus Not OK" the focus mode will exit so corrective action can be taken

6. Remove the assembly from the test fixture and Test the lenses after several minutes to ensure they have taken the glue and cannot be moved

7. Advance the Main Board Assembly to the Driver Side Case Assembly Station.






Idrive X2 Camera Top Level Assembly

Driver Side Case Assembly

X2 Drive Side Case Materials
Driver Side Plastic Case
LED Plastic Lens
Electronic Subassemblies
X2 LED Board Assembly
X2 LED Ribbon Cable
X2 Main Board Assembly


1. Snap the LED Lens into the Driver Side Case

- Ensure that the two LED indents are towards the bottom of the camera
- Clear LED lens is shown to enhance the view of indents
- Actual LED Lens is black/opaque as shown

2. Secure the LED Lens with a drop of superglue on each side. Take care not to have glue show.

X2 led lens assy.jpg X2 led cable conn.jpg

3. Connect the LED Board to The Main Board with the Ribbon Cable

- Slide cable into the connectors with the contacts up as shown
- Slide the brown tabs at the sides of the connector to secure cable in place.

Led cable slide latch open.jpg File:Led cable slide closed.jpg

4. Snap the LED Board Assembly into the Driver Side Case as shown

X2 led assy incase.jpg

5. Snap the X2 Main board Assembly into the Driver Side Case as shown




Road Side Case Assembly

X2 Windshield Support Materials
Plastic Windshield Support
Plastic Support Back Plate
Screw for Support Back Plate
3M Adhesive Tape
X2 Road Side Case Materials
Road Side Plastic case
Plastic Support Spur
Screw for Support Spur
Plastic Dust Cover for Accessory Connectors
Screw for Support attachment to Spur
Washer for Support Screw
Locknut for Support Attachment
FCC Label
Electronic Module Materials
SparkLan WiFi Module
WiFi cable
Dual Band WiFi Antenna
Screws for WiFi mounting
GPS Module Assembly












1. Attach Base Support Spur to the Road Side Case with the screw (Note correct orientation of Support Spur)

X2supportspur1.jpgX2supportspur2.jpgX2supportspur3.jpg


2. Install the Wifi Module with cable and antenna, secure with 2 screws as shown

X2wifimodule1.jpgX2wifimodule2.jpg


3. Affix the WiFi FCC label to the back of the case as shown

File:X2WifiLabelPicture.jpg


4. Install GPS Module as shown. Ensure the cable is routed properly

X2gpsmodule1.jpgX2gpsmodule2.jpg


5. Assemble Windshield Support Base Assembly (Step may be performed in advance at a different station)

X2winshieldsupport2.jpgX2winshieldsupport.jpg X2winshieldsupporttape.jpg


6. Attach Windshield support to the Support Spur using the supplied screw and nut. (Note correct orientation of the window mount)

  • Perform this step after Final Test. With the Windshield mount in this position the power cable cannot be plugged into the device for testing.

X2attachmount.jpgX2attachmount3.jpg




Top Level Camera Assembly

X2 Top Level Camera Materials
Driver Side Case Assembly
Road Side Case Assembly
Bar Code Label with Serial Number
Case Screw
Wifi Antenna

1. Mount the WiFi Antenna on the Driver Side Case as shown. Note the orientation of the wifi with the model number sticker facing upwards.

X2wifiantenna.jpg

2. Scan the Serial Number sticker on the Main Board and affix the corresponding Sticker to the outside of the Road Case as shown

File:X2SerialNumberPicture.jpg

3. Connect the GPS and WiFi Cables to the Main Board

X2wifiandgpsattachment.jpg

4. Snap the two halves of the camera together.

- Ensure no cables interfere or block the Lenses, Power Connector, USB opening or case screw

X2twohalves.jpg X2cablesclear1.jpg X2cablesclear2.jpg

5. Secure the cases to together with the case screw

X2casescrew1.jpg



Final X2 Camera Testing (Bi-Color LEDS, Accelerometers, IR LEDs, Wifi Transfers, GPS)

Note:The Idrive X2 programmer may also be used to perform this portion of the programming provided a wireless router is configured and connected to the system. For better throughput and to reduce the number of wireless networks in a factory environment it is recommended that the x6 Programmer be used. Because this document is intended to support production the x6 programmer process is shown here.

<br\><br\>

X2 final testing.jpg

Stage 2 Initialize x6 programming station

X6fixtswitchesman.jpg

x6 Final Test Station Initialization

1. Connect up to 6 cameras into the x6 programmer using the 6 pin power cables

2. Turn on the power switch of the x6 programmer (applies power to the programmer)

<br\><br\>

Test Bi-Color LED function

1. Press the "12 Volt On/Off" Button on the x6 programmer (applies +12volts to the Devices)

2. Press any one of the Ignition On buttons (Turns the Ignition on for all of the Devices)

2. As the cameras boot observer the Bi-Color LEDs and confirm correct function

File:X2 bicolor led test.jpg

<br\><br\>

Test Accelerometer function

1. After camera turns Green/Green shake the camera to trigger a shock event

2. While the shock event is recording place your hand in front of the Driver Side Lens to check the IR LED Function

File:X2 ir led test.jpg

<br\><br\>

Transfer the event(s) to the Test Station

1. Turn off the Ignition to the camera(s) and verify that each camera downloads

- Green text is good (verification that a shock event triggered and has GPS data)
- Red text is bad (Camera connected but no event was downloaded or failed GPS Data)
- No text (camera did not download to test station. WiFi failure?)

<br\><br\>

Play and Evaluate downloaded event file(s)

- Verify Both Driver and Road side images are clear and in focus
- Verify that you can see the IR light reflected off of your hand
- Verify audio sound clarity

Print and affix exterior serial number label to camera

10. Disconnect the power cable from the Camera(s)

11. Print label containing the serial number, Bar code and MAC address and affix to the camera as shown:

File:X2seriallabelext.jpg


12. Check the "Final Box" in AdminCenter to make the camera eligible for shipment. Advance the Camera to Shipping


New Picture with X2 shown

LEDs.jpg



Shipping and Device Assignment

Using the idrive admincenter to ship idrive devices from the factory.

Login in with your user name and password to http://admincenter.idrive.pro


Click on shipping

Idrsd1.jpg


Click on ADD to start the process

Idrsd2.jpg


Use the Pull-down fields to select: Company, Location, Quote, Date, Address, Contact, Shipping Company (Tracking Number(s) can be entered later if it is not yet available). Click on "Add S/N" to open the form for device selection.

Idrsd3.jpg

  • We really need the scanner to do this to reduce the errors.

In the device selection form check the box next to the device(s) to be shipped. You can search the list by typing the last 3 characters into the "S/N" box which will highlight the device you are searching for. Once ALL of the devices are selected click on the "X" to close the window.

Idrsd4.jpg


Verify the correct number of IDRX2 units (the other items ship from elsewhere) and Click "Next(Confirm shipping)"

  • New Picture

Idrsd5.jpg

After Confirmation a Shipping form will come up. This should be printed and included with the shipment of the devices to the customer.

  • New Picture

Idrsd6.jpg


Select the "Shipping List" Tab. If you need to add tracking information you must do it before closing out the shipment using the edit button. Select "Close" to assign the cameras to the customer as well as send the automated notification of the shipment to the people on the distribution list. The "Close" process will be performed by Idrive after our review of the shipment.

Idrsd7.jpg

Done.

<br\><br\>

Appendix A - SD Card Preparation

The SD cards could be formatted EXT4 during configuration OR NOT, this option is available under settings . However, this is a quick format, it will take less than 1min for 64GB card. Usually 64GB cards are coming formatted ExFAT which is not supported by Linux so at least in this case we need this option but I will suggest to use EXT4 for all storage cards(8GB-64Gb) is more safe – FAT can be easily corrupt.

Also there is an open source Windows driver for ext3/4 that can be used to read these cards: http://www.ext2fsd.com/ ensure to check the write option at installation time

After duplication affix label or stamp with version so there is a difference between programmed and unprogrammed cards.



Use of Vinpower SDShark Duplicator

Vinpower 11.jpg



Step 1. Turn on the system by pressing the Power button.

Power Button.jpg


Step 2. After it has booted up, the main menu screen will appear (root menu) that signifies the system is ready.

System Power Up Start.jpg


Step 3. Insert the master flash card into the Source port. Select ENT from the main display.

Original.jpg

Enter Button.jpg


Step 4. Confirm that RAW mode is slacked on the main menu screen.

RAW Display.jpg


Step 5. If RAW is not the slacked mode select F2, ENT, ESC from the main display.

F2 Display.jpg

Enter Button.jpg

Escape F2.jpg


Step 6. Insert empty target flash devices into the other non-Source ports slack ENT from the main display.

Once the system detects one or more empty flash devices,
the system will countdown 30 seconds prior to executing the copy.
Any new device detected will reset the countdown period.

Target.jpg

Enter Button.jpg

Device Port Status.jpg


Step 7. Upon completion the system will display the job report.

OK:00 indicates the number of copies passed in this process.
NG:00 indicates the number of copies failed in this process.
JOB:00 indicates the number of copies in this entire fob.


Step 8. Remove all the target flash devices for the current job and proceed to either.

Make more copies proceeding to Step 9.
End job by proceeding Step 10 .

Remove.jpg


Step 9. Make more copies by connecting more target flash devices.

Once the system detects one or more empty flash devices,
the system will countdown 30 seconds prior to executing the copy.
Any new device detected will reset the countdown period.

Target.jpg


Step 10. To end the job and go back to the root menu by pressing the "ESC" button.

ESC Button.jpg


Step 11. Shutdown to avoid possible system failures the system needs to be shutdown properly.

Select F2 from the main display thin select "ENT". When the display says it's Okay push
the power button.

Power OFF.jpg

Power OFF2.jpg

Power Button.jpg






Use of USB Image Tool

http://www.alexpage.de/usb-image-tool/download

http://www.alexpage.de/usb-image-tool/faq

http://www.alexpage.de

1) double click on USB Image Tool.exe

2) Use Device Mode

3) Click on Restore

5) Select path to Image file



Appendix B - Idrive X2 Programming Station Documentation

Programming Station Components

  • :* New Picture Rewrite entier section for new programmer
X2 Programming Station Components
:* Computer with Monitor and speaker(s)(see requirements below)
:* Idrive X2 Programmer
Internet Connection
Power cable for X2
Programming cable
USB type B cable
Ethernet cable
USB to Ethernet adapter
DC 12V/1A power supply
stuff
another item
Bar Code Scanner
Lens Focus Charts
:* New Picture SD Card (with firmware and filesystem files)
Micro SD card reader – primarily for RMA activity to recover events from the SD card

<br\>

Computer Hardware Minimum Requirements and Setup

  • Different requirements?
Computer Hardware Minimum Requirements
Monitor (needs to support 1600X1200 screen resolution)
Speaker(s)
Windows XP or better, Windows 7 Professional recommended
1GB RAM
100 GB Hard Disk
2 Network adaptors (NICs)

Network Adapters LAN settings:

Connection one for the Programming Fixture
- IP address: 192.168.0.10
- Subnet Mask: 255.255.0.0
- Default gateway: Blank
- Connection two for local network with access to internet
- DHCP or as required by location

<br\>

Computer Software Requirements

  • TeamViewer V9 (http://www.teamviewer.com ) - personal license. Install TeamViewer - during setup you need to choose the Personal license installation!

-Idrive Factory Tools 3.0.4


X2 Programmer Connections

Programmer.png

<br\><br\>

X2 Programming Station Initialization

<br\>

1.Configure Switches on the X2 Programmer

Image6.png

Turn On the Power switch and leave the programmer on for the batch of boards.(you do not need to turn it off to program the next board)































2. Launch the Idrive Factory Tools 2.0 Application

Factory tool.png

Double click the icon on the Desktop to open the application Factory tool icon.png

Factory-New Devices-Auto

Select for Automatic programming of New Idrive X2 Devices (Most commonly used mode)


Factory-New Devices- Manual

Select for Manual Custom Programming of New Idrive X2 Devices


RMA

Select for RMA processing of Existing Idrive X2 Devices (Password protected)


Idrive Development


For internal Idrive Development use only (Password protected)


SETTINGS

Select to set Port number or non-standard IP addresses


Factory Wiki

Factory Manual on Admin Center



3. Configure Application Settings for the Programming Station

Same? Different

Click on Settings

Barcode Scanner Set the port number for the Barcode scanner. (Normally Human Interface Scanner)

(Port number can be checked in "Control Panel> System and Settings> Administrative Tools> Computer Management> Device Manager> Ports)

Config and Install

-Set the serial port number for the X2 programming fixture.

-Set the serial port number for the Idrive X2 device.

(Port numbers can be checked in "Control Panel> System and Settings> Administrative Tools> Computer Management> Device Manager> Ports)

Event Test Set for non-standard IP addresses


FT settings1.png
FT settings2.png



























4. Select Programming Mode (Normally Auto)

Same? Different?

Factorytool-auto250.jpg
Click on Factory-New Devices-Auto
Serial Number field
12 character serial number for the device to be programmed as read from the bar-code label on the Motherboard. The serial number can be typed in but usually it is filled in by the bar code scanner. After the field is populated press enter and the Auto Install Button will become active.
Auto Install Button
A valid serial number must be entered for the button to be active. When selected it will open the The Automatic Install window (see below)
Lens Focus
Reenter Focus mode for a device that previously failed this step.
Event Test-Transfer and Play
For Review of Events transferred from programmed X1 series board in the Final Programming Station
Settings
Set the Port number to look for the programming fixture
Factory Wiki
This document on the Idrive Admin Center







V7 programmer final programming process

Same? Different?

1. Open the Events test - Transfer and Play window in the Factory Tool
2. Power on the wireless router
3. Turn on the "Power On/Off" Switch on the V7 Programmer
4. Plug the 6 pin power cable into the camera (No HDMI Cable is used!)
5. Turn on The "Idrive On/Off" Switch on the V7 Programmer
6. Turn on the Ignition Switch and wait for the LEDs on the camera to turn Green/Green
7. Gently shake the camera to record a shock event (Left LED will be Red during recording)
8. When both LEDs on the camera are Green turn Off the Ignition Switch (Event will download to the Factory tool)
9. Review Event(s) and check for
  • An event is present for each Camera
  • Focus and Image quality
  • Verify that the audio is working
  • Verify there is GPS data for each event


<br\><br\>

Cable Diagrams

Appendix C - Idrive x6 Programming Station Documentation

<br\>

Idrive x6 Final Programming Station Requirements

Final Programming Station Components
Computer with Monitor and speaker(s)(see requirements below)
Idrive x6 Final Programmer
Internet Connection
USB Cable type B to type A max. 1.5m
Idrive Power Cables 6 PIN to 6 PIN
2 Cat 5E Cable (internet connection, Wireless router)
Stabilized Power Supply 12V, 6A Minimum
Bar Code Scanner
Wireless router
SD card reader – primarily for RMA activity to recover events from the SD card

<br\>

Computer Hardware Minimum Requirements and Setup

Computer Hardware Minimum Requirements and Setup
Monitor (needs to support 1600X1200 screen resolution)
Speaker(s)
Windows XP or better, Windows 7 Professional recommended
1GB RAM
100 GB Hard Disk
2 Network adaptors (NICs)

Network Adapters LAN settings:

Connection one for the Programming Fixture
- IP address: 192.168.0.10
- Subnet Mask: 255.255.0.0
- Default gateway: Blank
- Connection two for local network with access to internet
- DHCP or as required by location

<br\>

Computer Software Requirements

  • TeamViewer (http://www.teamviewer.com ) - personal license. Install TeamViewer - during setup you need to choose the Personal license installation!
  • OpenJTAG Driver for USB
  • Bar Code Scanner Software - need to identify
  • Idrive Factory Tools 2.2.0



x6 Final Programmer Connections

X6-final-Programmer-connections.jpg

<br\><br\>

x6 Final Programmer Switches

X6fixtswitchesauto.jpg

X6fixtswitchesman.jpg

<br\><br\><br\><br\>

x6 Final Test Station Initialization

1.Configure Switches on the x1 Programmer

Ensure the power switch is in the off position as shown.



2. Launch the Idrive Factory Tools 2.0 Application

Fwtransandplay.jpg
Double click the icon on the Desktop Factorytool-icon.jpg



Click on Factory - New Devices - Auto Fwfactorynewauto.jpg



Click on Event Test - Transfer and Play Fwevttesttransplay.jpg



This opens the transfer and Play window















Wireless router Setup

If a wireless router is used with the V7 programmer a small network hub is required to share the idrive programmer NIC on the computer.

  • LAN IP address 192.168.0.1
  • Network Mask 255.255.0.0
  • Default Gateway Blank
  • 5.8GHz band?
  • Encryption?
  • Same? Different? SSID bwifi
  • No DHCP
  • No DNS
  • No WAN settings (not in use)


<br\>

Appendix D - Assembly Process Stations

<br\><br\>


Each Idrive X2 Kit requires one each of the following:

IDR-KIT-X2-V-TBD
Completed Idrive X2 series Camera
Idrive X2 Power Cable harness Assembly
Idrive Wired Panic Button Assembly
Idrive Driver ID Assembly - is this true?