JS-50 Configuration
The JS-50 has multiple configuration options that will influence how data is collected while scanning. These options will need to be determined and sent to the JS-50 using the Pinchot API before the start of each scan.
Note
The configuration is not saved to the scan head and will not remain applied once disconnected or powered down. Instead, the configuration is applied by the API each time before scanning.
Scan Window
The Scan Window is a configurable region which can be used to exclude regions from being considered when scanning. Anything that is outside of the defined window will not be detected by the scanner while scanning; allowing the scan head to ignore regions that could result in spurious data.
An example of SensorTester configuring the window is shown below. The first picture shows the window set to 30 inches in each direction.
Using proper windowing, it's possible to filter out areas that would interfere with scan data. This example reduces the window to remove the far left feature.
Alignment Parameters
By adjusting the Alignment Parameters, it is possible to change how scan data is presented to the end user from each individual scan head. This is commonly used to have all of the scan heads within a given system to have a common coordinate system that is referenced to the mill machinery, such as having Y axis be plumb vertical with Y = 0
set to the top of the chain and X = 0
being at the middle of the chain.
The following parameters are presented to the end user through the API.
Roll: Rotates the data by a specified number of degrees.
Shift X: Offsets the X axis by a given number of inches.
Shift Y: Offsets the Y axis by a given number of inches.
Cable Downstream: Flips the X axis in the event that a given JS-50 scanning device is oriented 180 degrees differently than other scan heads within a system. This commonly happens if the orientation changes to facilitate better cable routing within a mill environment.
The default orientation of the JS-50 is shown below; this is referred to as being "cable upstream".
Note, the coordinate system presented in this illustration shows the view looking downstream at the laser plane.
Taking the above orientation with the JS-50 rotated 180 degrees is referred to as being "cable downstream". If uncorrected, the X axis for this orientation will be mirrored from that of "cable upstream". Configuring the cable downstream option will correct this change such that it will instead have the same data coordinate system as cable upstream.
An example of changing the alignment parameters is shown below. First, a default alignment is captured.
The alignment parameters are then changed to offset the X axis by -20 inches and to add a roll of 20 degrees.
Data Format
The Data Format can be used to configure the density of the scan data returned to the client PC from JS-50 scanning devices. The supported formats are the following.
XY full, Brightness full: full resolution XY data points and brightness measurements
XY half, Brightness half: half resolution XY data points and brightness measurements
XY quarter, Brightness quarter: quarter resolution XY data points and brightness measurements
XY full: full resolution XY data points
XY half: full resolution XY data points
XY quarter: quarter resolution XY data points
Exposure Control
Two different Exposure Controls are available to be controlled through software.
Laser Exposure: For XY and brightness profile data, this controls the amount of time the laser will remain on; the camera exposure time will automatically be calculated and managed by the JS-50 device.
Camera Exposure: When receiving image data, this controls the amount of time the camera sensor will remain exposed.
Additionally, the exposure can be to run with either manual exposure or auto exposure.
Fixed Exposure
Fixed Exposure will force the exposure to remain at a constant setting during the duration of a scan. In order to configure fixed exposure, the minimum, maximum, and default exposure settings should be configured to all be the same value. This value will define the constant exposure to be maintained.
Auto Exposure
Auto Exposure will allow the firmware on the JS-50 to dynamically adjust the exposure within a given range to try and achieve a desired result. To configure auto exposure, first define the bounds.
Minimum: The minimum exposure allowed.
Maximum: The maximum exposure allowed.
Default: The initial exposure value used.
Further, the following additional parameters are used to control the dynamics of auto exposure while scanning.
Laser Detection Threshold: Determines how bright a given camera region needs to be in order to trigger a valid data point. A lower value implies that data points will be generated with less light exposure and a higher value will require more light exposure for data to be generated.
Saturation Threshold: Sets the brightness required in order to consider a given data point to be considered saturated. Once enough points are saturated, auto exposure will then drive the laser on time down in order to reduce the number of points that are saturated. Similarly if not enough of the points are saturated, auto exposure will then drive the exposure time up.
Saturation Percentage: The percentage of data points returned within a given profile that are required in order to determine if the profile is sufficiently saturated. If over saturated this will engage auto exposure to drive the saturation down; similarly if under saturated auto exposure will then engage to drive the saturation up.