e-Sensor User Manual

14
Mo-Sys E-Sensor Tracking System – All Right Reserved – Do not copy or redistribute this document without permission Mo-Sys ltd. – Unit B211, Faircharm Trading Estate, 8-12 CreekSide, London SE8 3DX Ph. +44(0) 20 86942076, Fax. +44 (0) 20 86947918, www.mo-sys.com Mo-Sys E-Sensor Tracking System User Manual System Components: 1) E-Sensor Head 2) Gateway 3) Power Supply Unit 4) Mo-Sys Cable 5) Lens Encoder Kit 6) B: Terminator 2. System Setup Plug the red end of the Mo-Sys bus cable into the e-Sensor head (A) and the blue end into the gateway (C). Plug the terminator into the e-Sensor head’s blue socket (B) and the power supply into the red socket on the Gateway (F). On the other end of the gateway you’ll find the serial connection to link to the Virtual Studio System (D), and the BNC Genlock Connector (E) for synchronisation. 3. Power Up Connect an IEC AC mains power lead to the power supply and the system will turn on. The power supply supplied is of the universal type and will work on all mains voltages and frequencies. When the system is working correctly, the status LED on the e-Sensor head (above the Mo-Sys Bus connectors) will flash green and the “Data from Mo-Sys” LED will light on the gateway. The protocol will now stream out of the gateway serial port to the host computer. If there is a networking problem the “Network Fault” LED will light. Should this happen check the blue bus cable and check the terminator plug is correctly inserted. 4. Absolute Position The e-Sensor features absolute encoders so on every power up it knows the current pan and tilt absolute position. No zero referencing is required at startup. 5 Lens Encoder Kit Mounted Pict.2 Kit Components

Transcript of e-Sensor User Manual

Page 1: e-Sensor User Manual

Mo-Sys E-Sensor Tracking System – All Right Reserved –

Do not copy or redistribute this document without permission Mo-Sys ltd. – Unit B211, Faircharm Trading Estate, 8-12 CreekSide, London SE8 3DX

Ph. +44(0) 20 86942076, Fax. +44 (0) 20 86947918, www.mo-sys.com

Mo-Sys E-Sensor Tracking System User Manual System Components:

1) E-Sensor Head 2) Gateway 3) Power Supply Unit 4) Mo-Sys Cable 5) Lens Encoder Kit 6) B: Terminator

2. System Setup Plug the red end of the Mo-Sys bus cable into the e-Sensor head (A) and the blue end into the gateway (C). Plug the terminator into the e-Sensor head’s blue socket (B) and the power supply into the red socket on the Gateway (F). On the other end of the gateway you’ll find the serial connection to link to the Virtual Studio System (D), and the BNC Genlock Connector (E) for synchronisation. 3. Power Up Connect an IEC AC mains power lead to the power supply and the system will turn on. The power supply supplied is of the universal type and will work on all mains voltages and frequencies. When the system is working correctly, the status LED on the e-Sensor head (above the Mo-Sys Bus connectors) will flash green and the “Data from Mo-Sys” LED will light on the gateway. The protocol will now stream out of the gateway serial port to the host computer. If there is a networking problem the “Network Fault” LED will light. Should this happen check the blue bus cable and check the terminator plug is correctly inserted. 4. Absolute Position The e-Sensor features absolute encoders so on every power up it knows the current pan and tilt absolute position. No zero referencing is required at startup.

5

Lens Encoder Kit Mounted

Pict.2 Kit Components

administrator
timbro_01
Page 2: e-Sensor User Manual

Mo-Sys E-Sensor Tracking System – All Right Reserved –

Do not copy or redistribute this document without permission Mo-Sys ltd. – Unit B211, Faircharm Trading Estate, 8-12 CreekSide, London SE8 3DX

Ph. +44(0) 20 86942076, Fax. +44 (0) 20 86947918, www.mo-sys.com

The zero position of the pan and tilt axis can be reset at any time by pushing and holding the “Zero Head” button for a few seconds. The new absolute position is stored in flash memory and so will not be lost when the system is powered down. The resolution of the pan and tilt encoders is 500,000 positions per revolution. 5.The Gateway

Page 3: e-Sensor User Manual

Mo-Sys E-Sensor Tracking System – All Right Reserved –

Do not copy or redistribute this document without permission Mo-Sys ltd. – Unit B211, Faircharm Trading Estate, 8-12 CreekSide, London SE8 3DX

Ph. +44(0) 20 86942076, Fax. +44 (0) 20 86947918, www.mo-sys.com

Gateway Serial Protocol The Mo-Sys gateway is available with one of two Serial streaming Protocols:

a) Mo-Sys protocol: 38400 Baud, 8 Bit, Odd Parity, 1 Stop bit b) Radamec protocol (special order): 38400 Baud, 8 Bit, Odd Parity, 1

Stop bit. A2 Extended packet with Pan, Tilt, Elevation on Free D Extension

Gateway Connectors: Serial Data Connection The gateway is available with RS232 or RS422 output. The RS232 connection is a standard 3 wire DCE configuration: Pin 2 : TX (from gateway) Pin 3: RX (to gateway) Pin 5: GND The RS422 connection is a standard SMPTE Slave configuration: Pin 1: GND Pin 2: TX- (from gateway) Pin 3: RX+ (to gateway) Pin 7: TX+ Pin 8: RX- Genlock Connector The gateway features a BNC connector for connecting a genlock signal. This is 75ohm terminated internally. If a genlock signal is connected the “Genlock” LED will light. If no genlock signal is detected, the gateway will default to its inbuilt timebase of 50 hz and the genlock light will be extinguished.

Page 4: e-Sensor User Manual

Mo-Sys E-Sensor Tracking System – All Right Reserved –

Do not copy or redistribute this document without permission Mo-Sys ltd. – Unit B211, Faircharm Trading Estate, 8-12 CreekSide, London SE8 3DX

Ph. +44(0) 20 86942076, Fax. +44 (0) 20 86947918, www.mo-sys.com

5. e-Sensor Connectors The e-Sensor side panel features a number of sockets for lens encoding: Incremental Lens Encoder Sockets The two blue coloured sockets are for connecting optional incremental encoders for focus and zoom. Encoders are available in standard resolution (1,200 counts per revolution) and in high resolution (40,000 counts per revolution). The standard encoders are usually supplied but for more demanding applications and lenses with longer travel, the hi-res encoders are recommended. A special cable is available for connecting the Canon box lenses type XJ22x and XJ23x encoder outputs directly to the e-Sensor. Digital Lens Encoder Socket The orange connector is for the newer digital lenses from Canon and Fujinon. Special cables are available for either and the e-Sensor will auto-sense which is connected. These lenses offer convenience in not having to mount external encoders- instead the positions of their internal encoders are output in a serial data stream direct to the e-Sensor and output to the virtual set via the gateway. Resolution of these lenses varies from model to model and should be checked with their manufacturer. I/O Socket The I/O socket is not normally used in virtual set applications. In motion control applications an external reposition switch can be fitted to the I/O port.

E-Sensor connectors and buttons

Page 5: e-Sensor User Manual

Mo-Sys E-Sensor Tracking System – All Right Reserved –

Do not copy or redistribute this document without permission Mo-Sys ltd. – Unit B211, Faircharm Trading Estate, 8-12 CreekSide, London SE8 3DX

Ph. +44(0) 20 86942076, Fax. +44 (0) 20 86947918, www.mo-sys.com

Buttons Lens Cal:

when held in for 3 seconds this resets the lens encoders ready for re-calibration.

Zero Head:

In the Virtual set environment this button is held in for 3 seconds to set the pan and tilt absolute positions to zero. This is used to index the heads absolute output to the virtual surroundings and the physical set.

When the e-sensor head is used as an input device in the motion control system the zero head button allows the e-sensor to be repositioned without moving the head (it temporarily disconnects the two)

The only other time the zero head button is used is for re-calibration of the e-Sensor encoders. This should not normally be required. If it is deemed necessary (please consult technical support first), please follow the instructions in the separate e-Sensor calibration document that you will be sent. 5. Lens Encoders: Mounting and Calibration First choose the correct gear type for the lens (Canon or Fujinon) and mount them on the encoders, tightening up the small grub screws in the gears. The lens encoder kit should be mounted on the lens as shown in the following pictures. The bracket should be screwed onto the lens barrel with the central screw (either M3 or special M4 supplied) and the two grub screws at either end adjusted to take up any looseness caused by differing lens barrel diameters. Be careful not to tighten up too much or you may distort or damage the lens! You may have to turn an encoder around to avoid its body fouling the focus ring of certain lenses. The gears can also be mounted either way round to reach the lens gears correctly. Finally adjust the aluminium clamp collars on their shaft so that a light spring pressure is maintained to keep the gears in mesh.

Mounting bracket with adjusters Choice of gears Kit Fully Assembled

Page 6: e-Sensor User Manual

Mo-Sys E-Sensor Tracking System – All Right Reserved –

Do not copy or redistribute this document without permission Mo-Sys ltd. – Unit B211, Faircharm Trading Estate, 8-12 CreekSide, London SE8 3DX

Ph. +44(0) 20 86942076, Fax. +44 (0) 20 86947918, www.mo-sys.com

Check the focus and zoom movement and make sure there is no jump or backlash. Lens Calibration Connect the encoder connectors to the e-Sensor making sure that the correct encoder is connected to the appropriate connector (focus or zoom). Switch on the system and make a full rotation of each axis from limit-to-limit. The blue lights on the gateway indicate that each lens encoder is calibrating. Once the lens rings have been moved their full range they are calibrated and their range rescaled in the serial data output. The lens calibration data is volatile so every time the system is powered on a full revolution limit-to-limit is required to re-calibrate the lens axes properly. The lens calibration can be reset any time by pressing the lens cal button or by rebooting the system.

5

Lens encoders mounted to a Canon lens

Page 7: e-Sensor User Manual

Mo-Sys E-Sensor Tracking System – All Right Reserved –

Do not copy or redistribute this document without permission Mo-Sys ltd. – Unit B211, Faircharm Trading Estate, 8-12 CreekSide, London SE8 3DX

Ph. +44(0) 20 86942076, Fax. +44 (0) 20 86947918, www.mo-sys.com

e-Sensor Specifications

o Max counterbalanced camera weight: 30Kg o Head weight: 6.5Kg o Pan Range: 360 ° o Tilt Range: +/-90 ° o Output resolution pan & tilt: 500,000 counts per revolution o Bowl Diameter 100mm o Power Supply: 8-30VDC o Mains Supply for AC-DC PSU: 100-240VAC, 50/60Hz o Power Consumption (Head and Gateway): 500mA Max.

Page 8: e-Sensor User Manual

23/07/2009 Motion Logger User Manual_EN_v02.doc Pagina 1 di 1

Motion Logger User’s Manual Build 1734.v01

Software aimed to save check and save “tracking” data. In order to use the gateway you need to have a RS232 or RS422 port (serial) on your PC. Otherwise install a USB to RS232 converter available on the market. Note. The RS422 gateway is compatible with RS232 port. After installation you will see a screenshot like this.

First thing to do is configure the serial port.

1. Go to setup 2. Select the correct COM

port 3. Select the Baud Rate

(written on the gateway box)

The circular indicators on the bottom show the data coming from the sensor head. If there is not activity in the circular indicator check the communication between gateway and PC.

Page 9: e-Sensor User Manual

Title: Mo-Sys Protocol F4

Project:

Version: V 1.0

Author: Francesco Giuffrida

Rev Number V 1.0 10-05-06, First Release

V 1.1 31-01-07, Addeded flags

V 1.2 2-05-07, Added the Odd/Even Field Information

V 1.3 4-06-07, Added the Serial Cmd to reset remotely axis position

Page 10: e-Sensor User Manual

Sensor Head Pan, Tilt, Focus, Zoom ….

Crane Jib, Turn ….

Other Devices …..

232 Gateway

can

F lens

Zoom

RS232

PC Virtual Studio Sw

can

Genlock

Page 11: e-Sensor User Manual

The Mo-Sys Encoding Protocol is a modular structure, adaptive to the number and specs of the encoding devices connected to the Can Based Mo-Sys Network. The basic application of the protocol is for capturing encoding data for virtual studio applications in real time, and active control commands. The F4 Encoding packet is based on a 4 byte Header and a generic Axes Block (5 bytes each). Each Axes has got a unique identifier (out of a possible range of 255). Each Camera or environmental chain can have up to 255 axis. The order in which axis are sent is given by the axis coding and it is not related to the order of mounting of the axes (no relation between the camera chain packet and the cinematic chain) Current Axis Implementation:

1 - Pan Head 2 – Tilt Head 3 – Focus Lens Val on 16 bit rescaled Range 4 – Zoom Lens Val on 16 bit rescaled Range 5 – Linear Axes, X Coord 6 – Linear Axes, Y Coord 7 – Linear Axes, Z Coord 8 – Crane Pan (Turn) 9 – Crane Tilt (Jib) 10 – Turntable Rotation 11 – Linear Axes, Dolly Crane Pos 12 – General Orientation Coord 13 – Iris Lens Val on 16 bit rescaled Range 14 – Digilens Focus Read 15 – Digilens Zoom Read 16 – Digilens Iris Read 17 – Roll Head 50 – (Pan) Ax1 Raw Encoder Resolution, no Conversion 51 – (Tilt) Ax2 Raw Encoder Resolution, no Conversion 52 – (Roll) Ax3 Raw Encoder Resolution, no Conversion 53 – (Jib) Ax4 Raw Encoder Resolution, no Conversion 54 – (Turn) Ax5 Raw Encoder Resolution, no Conversion 55 – (Elev) )Ax6 Raw Encoder Resolution, no Conversion 56 – (Telescopic/Track) Ax7 Raw Encoder Resolution, no Conversion 57 – (Track) Ax8 Raw Encoder Resolution, no Conversion

The Serial Port Communication Spec: Speed: 38400/57600 Bites: 8 Parity: Odd Stop: 1

Page 12: e-Sensor User Manual

Mo-Sys Encoding Packet (F4) The Encoding Packet is used to transfer the encoding information into the virtual studio environment. The packet structure is not predefined but fully adaptable. A priority list ordered as the camera/axis list, defines the order in which the axis are transferred.

Field Length Description Cmd 1 0xF4 CameraID 1 0x01~0x7F AxisCount 1 0x01~0x7F

Bits 7:4 Bits 3:0 Status 1 Bit 4: Rec on Bit 5: Genlock Bit 6: Odd/Even

0x0~0xf packet progressive number

For AxisCount { AxisID 1 0x00~0xff axis identifier AxisInfo 1 Reserved Position 3 Axis position data.

Format is AxisID specific. } Checksum 1 5+ Bytes

Header: <F4> 1 byte Message Type. ID F4 <CA> 1 byte Camera ID. <NAx> 1 byte N axis sent in the packet <Cnt/Res> 1 byte 4 bits reserved 4 bits packet counter It is admitted to collect, organize and send on the same serial connection packets related to different camera encoding branches a maximum of 255 branches. Cameras can be defined and sent on the same line, (limited only by the serial bandwidth). The Progressive Counter count freely 0x0-0xF. When a Genlock signal is detected, the Genlock flag is raised to 1, and the Odd/Even flag is synchronized with the Odd/Even Fields of the Video Signal (0=Even, 1=Odd), the progressive counter is also resettled to be on sync with the odd/even fields.

Page 13: e-Sensor User Manual

Axes Block Each Axes is then send on a 5 bytes block: <AX1Id> 1 byte <Ax1Info> - 1 byte Axes Status – not used in this configuration <Ax1.data> 3 bytes Data for Axis 1 (3 bytes). – Angle Format/Linear Format/Lenses Format

Angle Format: 3 bytes, 24 Bit complement 2 format, resolution 1/1000 Degree, range –180-+180 Linear Format: 3 bytes, 24 Bit complement 2 format resolution 1/100 of mm , range from –83886.0 mm to 83885,0 mm Lenses format: 3 bytes: 1 byte lens info: (MSB)

Focus: bit 0: 1 digital / 0 analog bit 1-7: unused Zoom: bit 0: 1 digital / 0 analog

bit 1: 1 multiplier on/multiplier off bit 2-7: unused 2 bytes unsigned int with the rescaled calibration range on 16 bit rescaled rage. Raw Encoder Format: (Axis Over ID 50) 3 bytes, 24 Bit complement 2 format, resolution 1:1 on the encoders resolution, check the axis encoders resolution for setting up the proper conversion factor range: free

Page 14: e-Sensor User Manual

Remote Reset: A remote reset command is now introduced. This command allow to reset the position of the axis one by one or all together.

Field Length Description Cmd 1 0x31 CameraID 1 0x01~0x7F Axis 1 0x00~0x39 Checksum 1 The command can be sent to a single axis putting in the axis field the related axis number, or it can be sent with argument 0, in this case all the axis on the network will be reset to position 0

Checksum: 1 Byte checksum expressed as: static unsigned char CalcChkSum(unsigned char *MsgBlock, int Length) { unsigned char Total = 0x40; int i; for(i = 0; i < Length-1; i++) { Total -= MsgBlock[i]; } return Total; } The checksum is computed on the whole packet including the 1st character