Download - Murdoch Research Repository

Transcript
At the heart of the system an embedded PC has been used to perform all the
necessary calculations. This PC will interface between the laser scanner, existing
PLC’s and Citect SCADA systems as previously shown in figure 1.2. The PC will
also be used to store the scan records as a database. An embedded PC was
chosen in preference to a PLC due to the complexity of the calculations and the
need for a database. This rugged PC has been chosen to suit an industrial
environment and has a low power 900 Mhz Intel Celeron Laptop processor. It
has most of the general features as a standard desktop PC, a low power
graphics accelerator, USB ports, serial ports and facility for battery backup power
(Advantech. 2007).
The operating system installed on the embedded PC is Windows XP embedded.
This is a condensed version of windows XP (Advantech. 2007). This operating
system will fit on the flash memory removing the need for a hard drive
(Advantech. 2007). However, a 160Gb hard drive has been fitted for the purpose
of storing the database. The database does not contain crucial information and
the PC does not require any backup facility. The PC has also been fitted with the
500mhz Quatech RS422 serial PCI card to communicate with the laser scanner.
3.2 Processing the results
Once the laser scanner has transmitted a set of polar co-ordinates to the
embedded PC the values need to be interpreted. The algorithm for this
interpretation is shown on a flow chart in appendix iv. Data is received from the
scanner through the serial connections and converted to an array of integers as
detailed in section 2.6.
The scanner head is not always exactly at right angles to the ground. On some
sites the scanner has to be tilted to avoid obstructions and to have full line of
sight. In these cases the scan data needs to be scaled down by the cosine of the
tilt angle as shown in figure 3.2. This tilt angle is read from a text based
configuration file when the program is started.
Height of the scanner unit above the ground is required to convert the array of
polar co-ordinates to the array of Cartesian co-ordinates relative to ground level.
This height value is also read from the text based configuration file.
23