Introduces the bus standard of an embedded processor named PC104, discusses the embedded laser beam quality analyzer software and hardware design based on the standards, and gives the test results of the instrument. It was shown that if the embedded technique was used for beam quality measurement, functional integration of the beam quality analyzing equipment can be achieved. That is the all in one system including the function of data acquisition and processing, beam quality factor calculation, results shown and the network communication, which has advantages such as small volume, powerful function, high reliability, good extension and so on. A better solution for application the beam quality analyzer into the industry field was provided in the paper.
One of important goals has been pursued by the modern testing equipment designer is functional integration and small size. With the continuous development of laser technology, lasers have been widely used in the industrial production and scientific research fields [
With the development of embedded computer technology, the embedded processor was paid universal attention by the control engineering as its advantages such as small size, low power consumption, high reliability and so on. This paper describes briefly the PC104 standard based on which developed a portable, compact embedded laser beam quality testing equipment adopting the beam quality factor method recommended by the International Organization for standardization, integration the laser optics, modern integrated circuit technology and embedded technology.
In the year of 1987, the related factory introduced a PC104 embedded computer modules due to the shortcoming such as huge in size, high power consumption, low reliability lie in the PC in the filed of industrial control. PC104 module is a kind of structural module with the characteristics such as low-cost, high reliability, which can be configured into a product quickly. The bus module of which is fully compatible with PC bus system on the aspects of architecture, hardware and software, it is suitable for embedded applications as it adopts a compact stack structure. PC104 bus is a simplified version of IEEE-P996 actually, which is a bus specification specially designed for embedded system applications. It provides a standard system platform for embedded applications, and has an open PC bus architecture. Developers can develop different functional boards to adapt different functional requirements and on-site equipment requirements of different period, which can be combined into different control devices. Using the PC104 bus module system, the development cycle of a product was shorten greatly, the product also is low-cost and low risk which reflects the latest technology fitful for the production of high-density, small size and portable testing equipment. The development platform for PC104 bus system and for the existing general-purpose computer systems are identical, so all existing development software can be used, general-purpose computer can also be used to develop the application program for the control systems.
According to IEEE standard, the main difference between PC104 bus device and PC bus devices are:
• Small module size, which is only 90 mm.
• No chassis, panel or bus board, which is embedded in the other module or system as normal component.
• PC104 modules stacks using longitudinal and lateral plug connection mode, the usual edge plug contact is changed into a reliable pin stack access, strong antivibration and shock, high reliability which referred to 64-pin P1 and 40 pin P2.
• Single +5 V power supply, lower power consumption (typical value of 1 - 2 W/module) and a smaller bus drive current (that is about 6mA).
PC104 system usually consists of several different functional modules, such as CPU module, LCD module, floppy drive module, CRT module, hard drive module, and so on. These modules connect through the bus connector P1, P2 and are fixed by using the standard mounting holes, which forms a compact stack-fit structure. PC104’s hardware architecture and software development are compatible with IBM PC, most developers are familiar with them, so relative to the special structure of PLC, 80C196, PC104’s development, maintenance and expansion are very convenient.
The hardware overall block diagram of the embedded beam quality analyzer was shown in Figure1. Seen from
The electrical system included CPU, CCD camera, data acquisition card and stepper motor controller. Among which, CCD camera is responsible for detecting the laser spot, data acquisition card is responsible for collecting image data and transmitted them to the PC104 for display processing. That is, the image acquisition card collects the laser spot intensity data, expressed by the gray scale,
CPU makes a decision whether the image data are effective, if it is false, CPU controls the stepper motor rotation via the serial port, the rotation sport can be translated into a one-dimensional moving motion by the screw, moving result is to change the sampling position, by using another motor, we can implement a continuous attenuation to change the intensity received by CCD so that the laser energy is fitful for adapting camera to capture image and PC104 can obtain the key data, finally complete its measurement task.
The testing instrument used PC104 module as a “macro component”, designed a substrate, above which set PC104 bus. PC104 modules was plugged into the substrate just like an ordinary application function plate, and then plug other specific functional plate in the substrate on the board, mainly including control card templates, capture card templates, liquid crystal display template, finally a complete application system was constructed in the paper. This design is characterized by using a specific I/O to insert an embedded computer (that is PC104 macro component) instead previous inserting the I/O expansion board into the computer, which reflected the design of embedded systems.
The beam quality measurement instruments need complete laser spot image data acquisition, implementation of filtering algorithms, data operations and display, network communications and other functions, taking into account the integration and the design of portable equipment, the processing equipment core was no longer a PC but an embedded processors called PC104 module, whose specific model is PCM-3386. PCM-3386 is an embedded control module with cost-effective and extremely compactable size. There is a high-performance 16-bit embedded processor on-board, which is an internal 32-bit RISC architecture and is compatible with 80C186 processor with high performance, frequency up to 1 GHz, built-in 100 M Ethernet, and which supports 512 MB SDRAM. Its instruction is compatible with other X86 microprocessor. On-board features include 10/100 M Fast Ethernet interface, supports standard IDE interface, parallel port, serial port, PS/2 keyboard port, CFC electronic disk interface, LCD interfaces and so on.
Array CCD camera module is the core component of the laser spot collection; its performance determines the overall system measurement accuracy. The following aspects should be considered when we choose array CCD camera as image sensor.
1) High resolution It is well known that the camera’s resolution is higher, the outline of objects or images detected by CCD is more slightly, and the measurement accuracy is higher, which requires that there are enough pixels in the array CCD camera.
2) Low noise The noise from CCD camera affects the subtle contours of images collected to some extent, the main consideration in the camera system is thermal noise, dark current noise which requires to choose a low-noise, small dark current CCD camera, while in the software part, the background noise should be considered and eliminated.
3) Wide dynamic range The dynamic range of CCD camera depends on the maximum signal level and noise level of the linear response. Resolution requires an increase in the number of CCD pixels, resulting in the maximum charge may be stored to reduce, so that the dynamic range is smaller, so the choice of CCD camera must be integrated into the above indicators. The system is normalized, 1 and 1/e2 are responding, so the camera’s dynamic range should be greater than 10 dB.
4) Response spectrum The spectral range of the system requirements is between 400 nm to 1100 nm, selection of CCD camera should consider whether there is response and the degree of response should be high enough, so we chose silicon CCD in the system.
Considering above factors comprehensively, the system selected near infrared camera (that is NIR) called UM-301. At the point of 945 nm wavelength, the product is more sensitive than the ordinary camera about four times. Fuzzy points on the screen are reduced to a minimum, and its dynamic range is higher than the ordinary camera. In addition, UM301 camera has asynchronous capture function; this function can let the camera collect high-resolution images at a high speed shutter without any ambiguity point. The module has a standard EIA/ CCIR output, which determines that the following image acquisition card should be analog frame grabbers.
As the core structure of image processing in the embedded beam quality testing instruments is PC104 standard, so the image acquisition card in the selection criteria must be PC104 interface card [
Stepper motor is a kind of electromagnetic actuator which can translate the input pulses into rotation or linear incremental motion. Input one pulse on each step, a stepper motor steps a shaft angle increment. All the motor back to the corner is proportional to the total number of pulses being entered; the corresponding speed depends on the input pulse frequency. After analysis, the system used two-phase stepper motor as the enforcement components; the specific model is 17H150H-04A. After that we designed a stepper motor driving and controling system. In order to form a standard PC104 architecture, we designed the electrical board with a standard PC104 bus plug [
People usually choose different amplifier and different parameter element to construct a step motor driving circuit [
The instrument’s software flowing chart was shown in
The whole system designed in the paper was shown in
high measurement precision and so on, which satisfied the demand of ±6% testing precision.
The embedded beam quality analyzing system has been developed successfully, compared with some existing similar function instruments; it has advantages such as a flexible system configuration, easy monitoring and controlling to facilitate expansion, easy debug setting, and effectively automatic measurement for beam quality advantages and so on. The software interface of this in strument is clear, simple and beautiful. As using a touch screen to control the measurement process and display the result, say a site operator, the man-machine interface is friendly, and easy to be operated. However, the overall function of the instrument need to be further developed and improved.