Tuesday, November 30, 2010

Wireless sensor network in intelligent transportation system applications

Intelligent transportation systems (ITS) for urban transit primarily microscopic traffic information acquisition, traffic control and guidance, etc., by increasing the effective use of traffic information and management to improve the efficiency of transport systems, mainly from information gathering input, policy implementation, control, output subsystems data transfer and communication and other subsystems.

Information acquisition subsystem through the sensor acquisition vehicles and road information policy control subsystem according to the targets set (such as traffic volume maximum, or average waiting time, etc.) using the calculation method (for example, fuzzy control, genetic algorithms, etc) to figure out the best solution, and output control signals to the subsystem (normally a traffic signal controller) to guide and control the movement of the vehicle reaches the preset goals.

Wireless sensor network is a fusion of short-range wireless communication technologies, micro-electronic sensors, new technology for embedded systems, gradually being used for intelligent transportation systems require data collection and testing of related areas.

Based on the IEEE 802.15.4 ZigBee technology specifications, have good characteristics: ① power consumption low, 5 2 section ordinary batteries can support a node work 6 ~ 24 months; ② networking ability, the network can be up to a node, and support for the tree, Star, mesh, and other network; ③ transmission distance, the two nodes outdoor transmission distance of up to several hundred meters, while increasing the transmitter power can be up to several kilometers; ④ high reliability, with multi-level security mode; ⑤ low cost, open ZigBee protocol stack of simplified, working in the license-exempt 2.4GHz ISM band.

Wireless sensor network with excellent characteristics for intelligent transportation systems information collection to provide an effective means of monitoring crossing all directions of traffic, according to the monitoring results, improved simplification, improved signal control algorithm, traffic efficiency.

Wireless sensor networks can be applied to the implementation of control subsystem in the subsystem and boot subsystem. For example, you can apply this technique to improve signal controller that implements Intelligent public transport systems for transit priority function.

Used in ITS construction of wireless sensor networks

As shown in Figure 1, in wireless sensor networks, installing road on both sides of the aggregation nodes form a self-organization of multi-hop mesh Mesh based network architecture, traffic information collection dedicated sensor terminal node and each adjacent pool nodes star network address, the final data will be gathered to the gateway.

Gateway points can be used as a module in the intersection of traffic signal controller, via the signal controller proprietary network, will the collected data is sent to the traffic control centre for further processing.

In wireless sensor network deployment, nodes can be installed on the side of the column, a dash and other transportation facilities, network key points that can be integrated and cross-road traffic signal controller, special sensor terminal node to landfill in pavement or installed on a roadside in moving vehicles on the road or you can install the sensor nodes dynamically join a sensor network.

  

  

Figure 1 is used for intelligent traffic information acquisition of wireless sensor network architecture

Use of wireless sensor network traffic information acquisition

In the traffic information collection, Terminal node can adopt non-contact magnetic sensor to regularly collect and sensing range vehicles of speed, distance, and other information.

When the vehicle enters the sensor monitoring range, the terminal nodes through magnetic sensor to collect vehicle speed, and other important information, and information to the next scheduled wake up node. The next node induction to the vehicle, the combination of vehicles in the two sensor nodes of travel time estimates, we can estimate the average speed of vehicles. Multiple terminal node is their collection and preliminary processing of information gathered through aggregation node to gateway, data fusion, access to the road traffic and vehicle information such as the exercise of the speed, thus crossing traffic signal control provides accurate input information. Through to the terminal node installation temperature and humidity, illumination, gas detection, sensor, can also be used for pavement conditions, visibility, vehicle exhaust pollution detection.

  

  

Figure 2 is used for traffic data collection for the deployment of wireless sensor networks

Wireless sensor network in ITS application in

Realization of the intelligent transportation system bus priority function requires an existing traffic signal controller.

Add sensor and other auxiliary equipment, traffic signal controller can estimate bus arrived at the intersection of time (travel time), to calculate the buses in junctions need to be given priority (you can select the number of passengers as a priority emphasis), and then select the appropriate priority control strategy, by adjusting split to give priority to the release of public transport vehicles. Traffic signal controller innovation include:

① car wireless communication terminal node;

② intersection traffic signal controller integrated wireless gateway;

③ used public transportation vehicle location of terminal nodes;

④ by building on ZigBee wireless sensor network can implement these features.

When to approaches intersection, on-board ZigBee wireless terminal node with transit vehicle information broadcasting, roadside deployment of wireless sensor networks for information, transit vehicle location of terminal nodes on the track together to obtain the information and wireless sensor network gateway, through the internal connection last information transmitted to the traffic signal controller, make the appropriate priority.

In ITS wireless sensor network design, network nodes according to the function, you need to design respectively.

Terminal node, node and network convergence joint point software functionality as shown in Figure 3. Terminal node installation different sensors for motion vehicle information acquisition and road information. Its functionalityImplementation in accordance with the streamlined functionality of devices (RFD, Reduced Function Device) standard. Terminal node and aggregation nodes according to the star network, at a fixed point in time to wake up from sleep and aggregation node active communications. Information routing is handed over to the parent (convergence) node and network with the routing function of Coordinator and router, reduced power consumption and the software node of complexity. Aggregation node is a terminal node software functional extensions for extended network and routing messages, allowing more focused nodes access network. May, in accordance with the full function device (FFD, Full Function Device) standards for design.

  

  

Figure 3 wireless sensor network node software features

Gateway is a network of the Coordinator, is responsible for starting the members of the network, configuring the network address, network maintenance, maintenance of node bindings table, etc., is also responsible for the collection of data on the initial deal and deliver the traffic signal controller transmitted to the information centre, need more storage space, computing and communications capabilities.

Network node hardware feature design

Existing more wireless sensor network solution, including all chip manufacturers introduced SCM external RF chip and integrated single-chip RF, microprocessor, etc.

The design of the node is often used for ZigBee RF chip with Atmel's AT86RF230, TI's the MC1319x CC2420, Freescale and the MRF24J40 MC1320x, Microchip, etc. In addition, chip manufacturers introduced a single-chip solution, such as TI CC2430 by extending the schema for the CC2420 chip, in a single chip to integrate ZigBee RF front-end, memory, and the micro-controller; Freescale MC1321x/MC1322x and Jennic's JN5121/JN513x-chip solution, etc.

● Based on Atmel's AT86RF230 radio frequency chip and AVR MCU design

A typical Terminal node and aggregation node design shown in Figure 4, using the Atmel 8-bit RISC architecture and low-power MCU as system control ATMegal1281V core.

With 512 KB of AT45DB041D as an external program memory. RF module with Atmel's support for ZigBee Protocol AT86RF230, RF power reached 3dBm, outdoor transmission distance of up to 300 meters above the node extension interface can be connected to the analog input and digital I/O, SPI and I2C, UART interface, these extended interfaces make it easy and sensors and other peripherals connected, such as the external luminosity, temperature, pressure, sound, geomagnetic and acceleration sensor.

  

  

Figure 4 sensor node design

● Based on TI's CC2420 chip and arm design

In the design of a wireless sensor network gateway, you need strong data processing capacity to implement complex routing protocols and information processing, etc.

As shown in Figure 5 the Crossbow imote2 node uses the Marvell PXA271 high-performance, low-power processor. This processor uses dynamic voltage scaling technology, frequency range 13MHz ~ 416MHz, can work at a low voltage (0.85V) low frequency (13MHz) mode, with excellent dynamic power management technology. In addition, the processor package integrated three chip 256KB 32MB FLASH and SRAM, SDRAM, 32MB reduced volume. By providing multiple I/O, the flexibility of supporting different types of sensors. The processor also supports an MMX coprocessor, multimedia processing power can be used for wireless multimedia sensor network for voice and image processing. Use the TI Imote2 CC2420 ZigBee RF chip supporting 2.4GHz, 16 channel 250kb/s data transfer, sending power-24 ~ 0dBm. Effective communication distance is 30 m, SMA interface external antenna to increase transmission distance.

  

  

Figure 5 Imote2 system structure

● Node design other considerations

In intelligent transportation system dedicated wireless sensor network node needs to consider at design time as follows:

① nodes low power design.

Terminal node is battery (available solar battery) power.

② low cost to the node.

In a massive traffic information acquisition, deployment, the node will be the key to the project costs.

③ node's data processing and storage capacity.

Some nodes require high speed data acquisition and run recognition algorithm, so the need for data processing. You also need to consider in the limited space within stored procedures, data, and support code online updates, and other functions.

④ In addition, according to the needs of different applications, wireless sensor nodes to have different sensor interfaces, can add a different sensor.

Where energy consumption management should as a priority.

In particular, using a 32-bit ARM processor external RF chip solution, you need to effectively reduce energy consumption, the node system-level software on further improvement of energy management, such as optimizing the TinyOS or embedded Linux power management features.

Conclusion

Wireless sensor network technology and research to get more attention.

This article is a combination of intelligent transport systems applicationsTo discuss the design of wireless sensor networks. As the technology development and maturity, wireless sensor network technologies in intelligent transportation system more crucial occasions are applied, such as electronic toll collection, traffic safety and automatic driving, parking management, traffic guidance systems, etc., to further promote the development of intelligent transport systems.

Hotel Hotel closed circuit monitoring alarm system programme (1)

I. preface

"Security guard" is the public security system of specialized terminology, refers to the maintenance of public security, intrusion prevention, anti theft, sabotage, fire, riot and security checks and other measures.

In order to achieve the anti intrusion, theft, destruction, and so on purpose, we use electronic technology, sensor technology and computer technology-based security technology equipments and constitute one of the system, making it the best function for perfect installation of security work. TV monitoring system is a security technology in an important component is an advanced, prevent ability strong comprehensive system, it can be remote-controlled camera and its auxiliary equipment (head, camera, etc.) directly to watch monitored premises, at a glance; at the same time it can be monitored premises of image and sound records, in whole or in part, this is the future for certain events provides convenient conditions and important basis, while TV monitoring system with alarm and other security and protection system running so that the guard interlocking capabilities.

Security technology of materials, equipment and systems from its composition can intruders do rapid response, and the timely detection and arrest of offenders, the criminals have a strong deterrent.

And security technology and discover hidden dangers and prevent accidents, reduced accident and fire prevention, it is the public security work in a very important means of prevention. Especially in the modern technology of highly developed today, crime more intelligent, more subtle means to enhance modern security technology becomes even more important.

Second, the need for system design

Hotels, guesthouses and other units because of the nature of the work, its mainly for guest accommodation, catering, entertainment, leisure, out of wide range of field personnel and accounting for the vast majority of guests, and the criminals who happens to take advantage of this environment, dive hotel, hotel rooms for modus, a direct impact on the guest's personal safety and property security, directly affect the reputation of the hotel, hotel; financial room, front desk and so is the cash flow of the main premises, establishment of video monitoring, alarm and communication of safety protection system is a proven means of defence; at the same time preventing the installation of fire alarm system, fire in the bud is fight, in a timely manner to avoid significant fire accidents.

III. system design

TV monitoring alarm system consists of a camera (and sometimes pickups, alarm detector), transmission parts, control, display and record section, etc.

In each section also contains more specific equipment or parts.

1. the camera section

Picture taking part is the leading edge of TV monitoring system, the entire system of the "eyes".

It lay in the monitored sites of a certain location, so that it can cover the entire field of view angle of the monitored the various parts of the body. Sometimes, the monitored premises area is large, in order to save the number used by the camera, the simplified transfer system and the control and display systems, cameras to install electric (remote) variable focal length (zoom) lenses, the camera can observe distance farther, more clearly, and also put the cameras installed in electric head, controller of control, you can make head-driven thinking camera for horizontal and vertical directions of rotation, so that the camera can override to angle, area larger. In short, the camera is like the whole system of the eye, to monitor content becomes image signal, transmitted to the control center of the monitor.

Protection point:

[1] [2]

Based on the ADN8830 Uncooled infrared focal plane temperature control circuit design (1)

Infrared technology as a means to identify, detect and identify the target of the important means in the dual-use technology in a wide range of applications, Uncooled infrared focal plane array technology greatly improves system performance.

Uncooled infrared camera is not need refrigeration heat detector focal plane array, using infrared radiation on the focal plane of the sensitive element, so that the temperature change resistance change to probe the target temperature properties. Therefore, only as much as possible to ensure the focal plane array in the sensitive pixel itself base temperature stability and consistent, we can improve the thermal imager of detection sensitivity, and reduce the system's non-uniformity correction later more difficult, and ultimately to fundamentally improve the thermal imager of detection sensitivity, to improve the thermal imager of imaging performance. At present, in the actual Uncooled infrared focal plane array detector using semiconductor thermoelectric cooler (TEC) to stabilize the base temperature. In this focus on a high-performance based on ADN8830 TEC PID temperature control circuits and the adjustment of compensation network.

1 temperature control circuit design

TEC (Thermo Electric Cooler) is to use two different semiconductor materials (P-type and N type) pn junction, when pn junction in DC by the two materials of electrons and holes in the move process across a pn junction in endothermic or pairing (Peltier effect), the PN demonstrate refrigeration or heating effect, change the current direction for TEC's refrigeration or heating, adjustable current size to control the heating refrigeration capacity output.

Use TEC stable method of target temperature as shown in Figure 1.

Figure 1 in the first part is a temperature sensor.

This sensor is used to measure in TEC-the temperature of the target object. The desired target object temperature set point with a voltage to represent, and the representative of the temperature sensor generates actual target object temperature voltage through high precision operational amplifier, and produce the error voltage. This voltage via the high-gain amplifier, also because the target object in thermal-induced phase delay compensation, then drive H bridge outputs, h-bridge control TEC current orientation and size. When the target object of the temperature is below the set point temperature, h-bridge towards the direction of the TEC and heating in a certain amplitude driving current; when the target object of the temperature is higher than the set point temperature, h-bridge will reduce and even reverse the TEC's current TEC's current direction to lower the temperature of the target object. When the balance of control loops, TEC's current direction and amplitude to adjust the temperature of the target object is equal to the set temperature.

In the design, selection and for the control of the TEC ADI ADN8830 TEC controller.

ADN8830 is by far the best single-chip integration, high output, efficiency and high performance of one of the TEC power drive module, for setting and stable temperature, TEC in typical use, the maximum temperature drift voltage lower than 250 mV, can cause the target temperature error ±0 0.01 ℃. Each add-in voltage ADN8830 input corresponds to a target temperature set point. The appropriate current TEC by TEC will be driven on infrared focal plane heating or refrigeration. Infrared focal plane of the temperature by negative temperature coefficient thermistor to measurement and feedback to ADN8830, used to adjust system circuit and drive TEC.

Here the design realization with ADN8830 Uncooled infrared focal plane temperature control circuit shown in Figure 2.

Figure 2 resistance RTH is non-refrigeration infrared focal plane components included with the thermistor.

Resistors R4 resistance RTH of choice and thermistor temperature characteristics and environment temperature. Thermistor resistance of RTH and not as the temperature decreases linearly, resistors R4 's resistance should follow the style (1) calculation:

Type: RT1 and RT3 represent thermistor in the operating temperature of two upper and lower limit of resistance, thermistor in average RT2 for temperatures resistance.

In practice, desirable working temperature of two limit 5 ° c, 45 ℃, the average temperature is 25 degrees centigrade. Through the inspection of the thermistor temperature curve can be RT1 = 10.735 k Ω, RT2 = 4.700 k Ω, RT3 = 2.250 k Ω to calculate the value of the resistor R4 3.304 k Ω, R4 = 3.300 k Ω.

ADN8830 temperature control circuit control principle is sampling the voltage on the thermistor and Uncooled infrared focal plane normal work setting, thus adjusting the flow through the cooler in the current orientation and size to control the temperature.

ADN8830 4 pins (TEMPSET) set voltage values should touch (2) calculation:

Set temperature = 25 ℃, thermistor RTH = 4.7 k Ω, reference voltage VREF is provided by the chip is 2.47 V, the VSET 1.45 V.

2 PID network tuning and parameter setting

[1] [2]

DSP-based high-speed portable infrared gas analyser

Infrared gas Analyzer is based on the different gas molecules on a specific wavelength infrared absorption principle of selectively into a physical analysis instrument, is a typical optical, mechanical and electrical integration, intelligent sensor systems.

And compared to other gas sensor system with high sensitivity and fast response, analyze gases variety, the quantum of the wide, continuous measurement characteristics. In earthquake prediction, mine safety, oil exploration, atmospheric physics, health, pollution monitoring, high-voltage equipment fault diagnosis, chemical process control, metallurgical and other traditional industries and now all of the new technological revolution lead in disciplines such as biology, electronics, new materials, and other areas are becoming more and more widely used there.

From domestic existing infrared Analyzer, most online monitor desired position machine with complete data for post-processing and save, front-end signal detection and only complete collection of functions, this design in some limited or permanent installed without supervision (e.g. pollution monitoring) occasions would not be applicable, in response to this situation, this article on the development of an approach based on TI's DSP for non-simultaneous-infrared gas analyzers, ability to independently perform monitoring, and data can be stored in large-capacity Flash memory or via GPRS remote transmission, the instrument of the simple man-machine interface enables calibration of measuring instruments or whatever can be easily completed, at the same time, the USB interface so that the instrument has added a greater expansion of space, and the instrument has a variety of signal output mode, you can easily connect with the various systems.

1 infrared Analyzer system structure

Infrared Analyzer system architecture diagram as shown in Figure 1, send a certain frequency of TMS320F2812DSP modulation control infrared light source.

IR infrared originate from shooting, after a full test gas chamber was a specific gas absorption, filtered through selective x-ray, finally arrived at the corresponding infrared detector, detector measured absorption of light energy intensity, reflects the strength of the gas absorption infrared, also reflects the concentration of gas. Infrared detector output of weak signal, after precision of pre-amplification and II zoom filter circuit, get stable signal, the signal a/d conversion, sent to the analysis and processing DSP, passes through the filter and nonlinear correction, the final measurement data will be in the system settings and status of the current instruments, save, transmit or display refresh. Note that here the probe measurement channels at least 2 road, where 1 road to measuring road, 1 way to reference road, so you can achieve the effect of differential measurement, formed on the system noise and interference suppression, the other road sensor and A/D channels used to measure temperature, humidity and air pressure, involved in the concentration of compensation calculated.

2 system hardware design

Hardware design of the instrument in infrared sources, probes, DSP system and peripheral circuits, signal amplifier selection is the key.

The apparatus is infrared light source select IRL715 infrared light source, the source of light in the wavelength range from visible light wavelength to 5 μ m, 5 V voltage driven working life up to 40 000 h. Detector chose two road surveying pathway TPS2534G2. TI DSP has adopted the United States company TMS320F2812 digital signal processor, 32-bit fixed-point DSP, the kernel provides up to 150 MIPS computing bandwidth, greatly improving the control system of control and data handling capabilities, its peripheral circuits include: data capture, digital output, man-machine interface. Storage system and USB communication interface. Signal amplifier circuit using a two-level AD8552 amplifier circuit concatenation, there are automatic AD855X series offset adjustment features, is the low frequency of weak signal detection amplifier system preferred. Because of this instrument is high speed DSP system in infrared application of analytical instruments, the following special on DSP external circuit to be a description.

2.1 data acquisition

Data acquisition is mainly responsible for analog-digital conversion and signal acquisition and measurement of the various needs of analog by .A/D converted to the DSP.

Which measurement channels and reference channel signal generated by the infrared detector, consisting of a A/D converter, convert, convert 16 bit precision, upon request, select direct serial interface with TMS320F2812 16 bit A/D converter; other participation in gas concentration calculation of compensation, including the signal humidity, temperature and atmospheric pressure signal by TMS320F2812 with A/D conversion time conversion, 12 bit precision. These signals converted to DSP processor cache. The series of complex calculation processing the resulting concentration of the measured gases. Here the reference is used to measure the channel and channel signal acquisition of circuit design, as shown in Figure 2.

2.2 switch reset output

Switch output including detector temperature control signal, optical lens window temperature control signal, elements of the alarm trigger signal (concentration, temperature, humidity) 3 and 1-channel time trigger signal.

Using DSP processor for general purpose I/O port for digital output, achieving 74HC244 control signals of the driver output. Figure 3 circuit diagram for the digital output. Note: the power supply voltage TMS320F2812 processor 3.3 V, and the power supply voltage 74HC244 5 V, two devices exist interface circuit level translation problems that cannot be directly connected, using LVCl * 5 as level translator for TMS320F2812 and the level of match between 74HC244.

2.3 man-machine interface

Man-machine interface uses LCMl68651 LCD module as shown, the use of matrix keyboard interrupt mode, man-machine interface of the task is receiving keyboard commands, complete sets of equipment, calibration, measurement, and so on, to provide real-time concentration curve plotting, and provides historical data in the query and display functions.

2.4 USB connected

Interface circuit

USB interface for PC and PC communication.

USB data transfer rate is very high, so not only can be used to transfer command, and can transmit data in real time, including the original measured value, the current concentrations of values, or history, Figure 4 shows the USB interface circuit schematic.

2.5 data storage

Infrared Analyzer requires the storage of data including: gas measurement record number, date, time, concentration, temperature, humidity, atmospheric pressure, record the amount of data depends on the size of the saved entry, save, save frequency and save time, considering the online measurement and management measure, the use of large-capacity Flash K9F1G08UOA as instruments of data storage media, data storage volume larger than 128 MB.

3 system software design

Software handled directly determine the system handle the level of speed and accuracy of the calculation results, Figure 5 gives the instrument software's primary processes, the basic principle is to use the ring buffer for data and other information necessary to cache, without affecting the system, man-machine interactive experience to achieve higher speed measuring and data transmission.

In the software throughout the process the most time-consuming and most affect performance of the local processing of raw data, which relates to the filter, the environment and probe compensation correction, eliminate gas absorption cross interference and other algorithms, this instrument in the such algorithms are made specifically for DSP optimization, thus ensuring system running quickly.

The system first completed initialization, including DSP and its peripheral circuits initialization, create and set the original data and target data, keyboard, and other information of a ring buffer and so on.

Set the infrared light modulation frequency and start, equipment on standby, you can do this on the instrument, press the key or the parameter setting remote start command will make the instrument into the measurement State. In the measurement State apparatus in order to distinguish a non-loop processing data or command, and then make the appropriate treatment, such as remote command execution, the original data calculation, press the command is executed, the target data transfer and storage, LCD interface refresh, etc.

A variety of original data will set the sample rate is interrupted program read and stored in the original data ring buffer, the original data including measuring channel and reference channel readings, various compensation signals to measure time, etc.

The original data is used after processing. The calculated target values into the target data buffer, if the system has a transmission, display or save settings to the destination data buffer of data will be used in sequence. All the ring buffer will maintain their own read/write pointer, and the corresponding operation completes. Some priority higher command and special situations are not affected by the above process limitations, such as a stop command, like this one interruption of operations Council to deal with directly.

4 experimental results

This is not mentioned in the earlier instrument specific measurement of gas type, because the instrument in the swap different wavelengths of light filter and do the appropriate parameter modification can be used to measure the concentration of various gases such as CO2, CO and HC.

In select the gas CO2 as a test, the ambient temperature is 25 ° c, a standard atmospheric pressure, on the national metrology standards in a variety of standard concentrations of CO2 gas measurement using this instrument, the actual results show that absolute error in 0.3%, relative error in less than 2 per cent, has better measurement accuracy.

5 conclusions

Infrared gas Analyzer involve optical, mechanical, electronic, computer, communications, information fusion and other areas, on the hardware and software design and integration capabilities requires a relatively high, described by infrared gas Analyzer with SP's powerful computing capacity, not only satisfied the demand for high-speed measurements, but also because the PC makes instrument portability and installation of greatly enhanced, through the scene run and debug the benefits of the instrument are displayed, such as the structure is simple, reliable, convenient installation and maintenance, easy operation, long time to save the data, USB extension, and believe that with the online gas analysers of the renewal application, the tester and wider.

FPGA in intelligent pressure sensor system design (1)

Introduction

Traditional gas pressure measuring instruments of the sensor part and data acquisition system is the separation of anti-interference ability of the poor, and usually the measured object of pressure change fairly quickly.

So not only system with a faster data throughput rate, but also to be able to meet the complex and ever-changing industrial environment, has better anti-interference capability, self detection and data transmission capabilities.

In this, the use of FPGA has extended flexible, system on chip (SoC), also have a variety of IP cores are available for use, etc., designed to control multiple analog switch, A/D conversion, fast data processing and transmission, error correction, temperature compensation, intelligent sensor systems; at the same time, sensor and data acquisition and processing control system integration, enabling system more compact, improves the system's ability to adapt the industrial field.

1 system properties and components

1.1 intelligent sensor system performance requirements

Sensors pressure measuring range: 0 ~ 5 MPa; system accuracy: ± 0.1% FS; 1-channel analog voltage input (pressure signal) of more than 250 sampies/channel/s; the use of serial RS 232C interface output.

1.2 system main components and performance

According to the system requirements of precision index: select device

Altera FPGA chip selection of C y c l o n e C E P 2 Ⅱ 5, its logical unit has 4 608-LE, 26 M4K RAM blocks, 142 user I/O PIN.

Pressure sensor using PDCR130W, pressure range 0 ~ 7 MPa, operating voltage DC 10 to 30 VDC, output 0-10 V, precision ± 0.05% FS, temperature range-40 to + 125 ° c, temperature ± 0.015% FS/℃.

Temperature sensor with integrated temperature sensor with high precision, sensitivity to LM335 10 mV/K, accuracy to 1 ° c, temperature range-40 to + 100 ℃.

A/D converter selection contains sample and hold for 12-bit A/D converter, convert time AD1674 is 10 μ s, 0-10 V unipolar input or ± 5 V bipolar input, 12-bit parallel output.

Multi-channel analog switch with four selected a multi-channel analog switch AD7502, its PIN is set to EN = 1 enabling signal; A1A0 pin signal for channel selection.

Output level conversion interface system complete with MAX232 chip TTL and RS 232C level conversion.

2 system error correction method

2.1 zero drift and gain error correction method

In intelligent instruments and error model error correction formula is:

Type: b1 and b0-error correction factor.

Error correction circuit model as shown in Figure 1, where x is the measured signal; y is the system output; ε, k, I as an unknown quantity of effects system.

Error correction process is:

When S1 is x = 0, error correction formula-(2), used for zero point calibration system;

When S2 is x = E (standard voltage), formula (3) for the system gain error correction;

With vertical (2), (3) may have error correction factor:

When the actual measurement is closes, use S3 calculated correction factors and error correction formula (1), you can find the correct output signal after y.

Function ImgZoom (Id)//reset the picture size to prevent broke form {var w = $ (Id) .width; var m = 650; if (w

2.2 sensor temperature compensation

The pressure sensor, the environmental temperature on the measurement results have a greater impact, in order to eliminate the error caused by temperature, sensor signal do temperature compensation.

By measuring sensor temperature sensor temperature compensation. Sensor temperature error correction model are:

Type: y is measured value; once the temperature compensation yc measurements; △ φ is the actual temperature sensor and the difference between a standard measurement temperature; a0 to changes in temperature calibration sensor calibration coefficient of variation of temperature, a1 calibration of transducer zero coefficient of variation of drift, the two coefficients reflecting the sensor temperature characteristics.

2.3 random error elimination method

[1] [2] [3]

Based on CAN bus traffic lights dynamic adjustment system design (1)

Domestic traffic lights traffic control system traffic light switch time widely used fixed or segmented change interval, or the traffic control centres in accordance with the traffic situation adjustment interval, not according to actual traffic conditions be dynamically switched, nor be able according to road conditions prior intervention to prevent the deterioration of the traffic.

In extreme cases, there may be a red light in the direction of the car, no cars stop in the direction of the prevailing situation. green light This inefficient, heavily dependent on traffic control sector efficiency, and generally only in traffic deterioration after may intervene, cannot advance prevention. This article presents an approach based on can bus traffic lights dynamic adjustment system, which according to actual traffic conditions in real time to adjust the traffic light, you can reduce the chance that security road congestion, traffic flow.

1 overall design scheme

The overall design of the programme as shown in Figure 1.

Figure 1 (a) for each intersection traffic light controller, loop and traffic lights between the dotted line represents both the linkage relationship of ask. Figure 1 (b) to the system diagram. Each intersection traffic light controller via CAN bus connection to the control center. In General, four loop vehicle detectors are installed at the crossroads of four direction, when the vehicle after the loop detector, produces high level signal, the signal is fed to the controller. Controller for this information to count, and real-time control traffic lights over time, the road to the best prevailing conditions; at the same time controller via CAN bus calculated related data transmitted to the control center and related sectors. Control Center is available depending on the situation made public, but also can send instructions to a controller, remote manual intervention. The system has real-time high, objective and accurate benefits, but also can reduce the labor intensity of traffic control sector.

2 can bus traffic dynamically adjust system hardware design

System hardware consists of a loop detector, controller and CAN transceiver modules.

Which ring coil detector can be used at present, some sections have been laying the product, this can reduce capital investment.

2.1 controller design

Controller adopts ST STR710 company as the central processing unit.

STR710 with 14 external interrupt input, 256 KB FLASH memory, 64 KB internal RAM, 5 timer, more appropriate to deal with multiple external interrupt sources need to be addressed. Controller circuit diagram shown in Figure 3. P2.5 through the optical coupling is connected to the DI-MAX485 to control the conversion of traffic lights; P2.4 through optical coupling attached to the end of DE MAX485 to MAX485 to send function.

[1] [2] [3]

Touch panel of the tactile feedback of new proposals emerge (1)

For touch panel uses, and the original completely different haptic feedback technology proposals to increase.

A new way, or combined with other features of the technology is already available. Toshiba information systems to take advantage of weak electric field variation for various tactile technology, manufacture of the corresponding product.

Prior to that of haptic feedback technology, generally is used by small motor and piezoelectric vibration occurring such as, using the method of electric field variation is rare.

  

Use of electric field variation method has the advantage in addition to being able to show more tactile, with no mechanical parts, thus no vibration sound, not easily damaged.

Do not select to prompt the sense of touch is the one place. In the electronics of the back side, as well as surface and so original technology elusive places can also be used. In addition, you are free to control provides the touch area. For example, only when the user touches the screen display of the button, the tactile feedback.

In order to promote the kind of tactile available, Toshiba information systems (GIS) in the "13th embedded system development technology exhibition (ESEC)" exposed "iPodtouch" and the introduction of the touchpad of samples (Figure 1).

Using iPodtouch provides horizontal sliding finger touch button allows the user to feel part of the button is located on a different touch. The touchpad, the personal computer screen shows the surface of the "brush", "rough surface" and "uneven materials", etc, when you place the cursor in a different image above, fingertip access to the touch (Figure 1 (b).

  

The key is thin-film materials

Develop the use of electric field variation technique is Finland's venture company Senseg Oy Note 1).

The company provides control special films and electric field variation of modules, control software, as well as a variety of haptic database (Figure 2).

  

[1] [2]

Video integrated centralized control system of low power design principles (1)

The deployment of large-scale video challenge of integrated management system

As the video surveillance system big strides to mass distribution and application of orientation to promote socialization, IP-based, high-definition technology, intelligent technology development trend for video surveillance industry into a new period of transition.

In the traditional analog video monitoring system for the implementation of large-scale upgrading of the process, in the new video surveillance system architecture design selection process, the user not only to image sharpness, real-time performance, reliability, and ease of use make the increasingly demanding requirements, also for equipment manufacturers and systems integrators offers energy-saving, efficient and environmentally friendly system for comprehensive consideration of the request. If the have the same characteristics and prices of the two products, the user must select the lowest energy consuming products aimed at achieving the Green environmental protection.

A complete video surveillance system including the front-end acquisition, intermediate transport, back-end display management and storage, and other major sectors, is responsible for the back-end management of devices displayed is the core of the entire system controller hub.

Whether a node to form a single system, or multiple nodes of the cluster system, be it analog video access, digital video access or blend access, only the modulus through backend display management equipment to distribute the deployment image resources together and form a human-machine interface. This video integrated centralized control of the central role as each system is indispensable for the soul, since the system architecture of the complex and ever-changing, in particular the need to address analog video and digital video integrated access problems, specific constitute the richest also involves receiving optical transceiver, network video decoder and matrix switching controllers, hard disk recorders, management servers, disk arrays, and other devices. As responsible for the front-end acquisition cameras/speed dome and is responsible for the intermediate transmission cable Fiber relatively low energy loss, thus reducing power consumption, improve energy efficiency, promotion of compressed comprehensive cost goals are placed in the back-end display management link, the prevalence of such equipment for several types of problems:

1. low level of integration, deployment trouble

Currently on the market existing scale large analog video access systems, back-end display management devices are configured with a matrix for all video overall fast browsing, real-time display of non-compression and immediate control.

1 256 input 32-channel output matrix, mostly to configure two more large card type chassis, but also to an external CPU controller and code Distributor, etc., not including DVR/video distributor, it already takes nearly 1 standard rack space. More than a single chassis video capacity requires different chassis between multiple CPUs to work between cells, and more substantial connection between the chassis video cable, easy to introduce signal interference and instability. If you use embedded DVR video Plus Digital decoding matrix, or the network video codec, you need to configure a large number of network resources, system reliability/stability vulnerable, operation and maintenance costs more.

2. expand the difficulties confined to evolution

Current video surveillance systems, analog SD analog CVBS, high-definition digital SDTV SDI, D1, digital high-definition 720P etc video format diversity, to the users system evolution of uncertainty and high cost of equipment upgrades.

In addition to the analog video signal of two class belongs to the international common criteria, you can directly use conversion, digital video signal at present is that each manufacturer has its own compression algorithms and standards, it is difficult to compatible, causing the device to replace the obsolete, take up storage space and pollute the environment. Even for video switch control of analog matrix, there are structural design limitations, such as each feature card can only be placed on the back panel fixed slot, not flexible combination, but in addition to the video input and output modules can be extended for the system expansion to add new features.

3. high power, high emissions

In the past, and most other variables (speed/performance, cost, cost, time to market system risks) compared to the power consumption are often at a lower priority.

However in today's market, in the design of the decision-making process, the power consumption has become a very important part. For example, in each year for all types of monitoring center spending hundreds of millions of dollars in electricity tariffs, 25% of the costs are directly attributable to the system of large-scale equipment and various server power supply, and 50% of costs for the cooling system and power supply fan, etc., to eliminate operational equipment to produce heat. Moreover, even a small monitoring center every year since the device running and 20 tons of carbon dioxide emissions.

Integrated control system for video with low power consumption and high efficiency principles

1, high density, compact design

Reduced control management device number and volume of composition, not only can reduce system power consumption, but also to the compression space.

Such as hard disk recorders from early gongkongshi DVR to subsequent embedded DVR, from the installation compact card to 16 CIF and even current 16 D1; such as hard drive capacities from three years ago 80G to 1T become mainstream; such as matrix switch controller, from early single chassis 192 in 16 out of the industry's leading single-chassis 256 into 64 out, as well as for car/meeting room application launched in 1U chassis 32 to 16 out of the industry's most compact small system; for example, optical transceiver from point to point to point of single fiber optic 16-way, and the node type/convergence-optical system.

High density compact structural design allows the same space to accommodate more video access, the same power consumption provides better picture quality, the same video index takes up less bandwidth, and disk capacity, same system equipment cost less cost.

For example, a 256 into 64 out of large intelligent network matrices, video input and output modules-weight does not exceed 1kg, matrix full configuration weight does not exceed 25kg, full-load consumption only 90w, compared to previous generation analog matrix, weight reduction of 70%, 85% reduction in power consumption. In addition, because the CPU unit/code distributor/power modules, all built-in to reduce electricity demand matching equipment, high integration and high integration also substantially improves the system installation deployment speed, regardless of the number of chassis, multiple devicesMutual connection and repeatedly setting. High-density 7U rack-mountable chassis reduce room/cabinet space requirements, saving the user resources (shown in Figure 1).

2, modular structure, flexible expansion

Video surveillance system depending on customer needs and technology implementations, is divided into several functional modules, including: audio and video switching, front-end cloud lens control and alarm acquisition linkage, digital video storage, network, remote transport and forwarding of data transfer, etc.

Each functional module after years of development, has become a separate industries and product lines. Each device for different functions, up to a different role to meet the needs of users relatively independent, so the design into different functional boards and hardware structure, chassis size specifications and appearance of the craft also varies. But overall an increasingly competitive environment and focus on the industry trend of solution, you must consider how to integrate a number of different categories of products, to provide users with high integration level, use the convenient, efficient operation and maintenance of integrated products, systems, and in response to price competition, must implement cost compression and quality control of industrial requirements. Even for the same products are also faced with a product assortment yield less hardware structure varies, card chassis, closed cannot guarantee the standards of low efficiency. The modular structure of design has become the most effective means of resolving.

[1] [2] [3]

NTT Electronics support H.264/AVC HDTV codec

2008-12-2,- NTT Electronics Corporation developed the piggyback has support for H.264/AVC (Note 1) HDTV real-time codec LSI "PINEA" (Note 2) PCI Express module "PINEA module".

This product is equipped with a built-in DDR memory and uses a stack package codec LSI, the module can easily realize PC platform h.264/AVC codec system architecture.

As digital video compression format, H.264/AVC began to be widely broadcast, next-generation DVD and mobile terminals, etc.

H.264/AVC with high compression algorithms, can achieve high compression rate. On the other hand, in order to implement huge calculus, also requires a high degree of processing power. Although PC high speed rapidly spread, however, use the software for full HD video and standard definition video with real-time processing of multichannel encoding also slightly less, so the market appeared to be stable realization of real-time encoding hardware codec needs.

In order to meet the market demand, the company has now developed to work with PC/server field in mainstream compatible PCI Express support H.264/AVC HDTV real-time decoding module.

This product is able to achieve high definition video compression, and can realize the miniaturization and low-power, and the various video device miniaturization and high performance of contribution, through support for universal PCI Express helps shorten development time.

NTT Electronics will enter this product for mass production stage, and from June 2009, accept orders and production.

【 PINEA module's characteristics and uses 】

(1) equipped with a support H. H.264/AVC HDTV real-time codec LSI "PINEA" piggyback has support for advanced video compression technology, H.264/AVC encoding/decoding of single-chip LSI "PINEA."

Because you can support Full HD (1080i/720p) 1 channel, SD 4-channel or 8-channel input CIF (Note 3), and therefore can support a variety of application software.

(2) to pick up a Motion JPEG decoding functions the product market in Mount controlled mainstream Motion JPEG decoding capabilities.

By entering the PINEA module Motion JPEG video, you can actually convert the compression ratio when higher H.264/AVC.

(3) to pick up with AES encryption functionality supported by AES (Note 4) encryption features.

Ideal for network TV Conference and monitoring, etc.

(4) main use may apply to the PC platform videoconferencing, compatible with multi channel DVR (digital video recorder), monitoring control device, professional video server and PC video compression accelerator.

【 PINEA module main specifications 】 video encode/decode video encoding H.264/AVCProfileHigh, Main, Baseline level 1.1-4.1 video decoding H.264/AVCProfileHigh, Main, Baseline level 3.0-4.1 (High Profile) 1.1-4.1 (Main Profile/Baseline) Motion JPEG decoding maximum resolution/frame rate 1280 × 1024/30fps interface/encryption video input PCI Express (YUV422, JPEG, RGBA 32bit) video output PCI Express (YUV422) input and output streams PCI Express (Video ES) encryption AES-128 main interface PCI Express power and size power PCI Express Mini 1.5W dimensions

【 Terminology explained 】

(Note 1) H.264/AVC it is 2004 by ITU-T (International Telecommunication Union, Telecommunication Standardization sector electrical) and ISO (International Standardization Organization) common standardized video codec specification.

At the same time, also called MPEG-4 AVC. It can be equal to two times more than MPEG-2 high data compression rates.

(Note 2) PINEA it is a way to have a PCI Express interface, while reducing PC load can be single-chip implementation of high definition video compression and regeneration of video codec LSI.

It supports H.264/AVC, MPEG-2 by equivalent to half the size of the data or bit rate to high definition. It uses built-in DDR memory stack package for miniaturization and low power.

(Note 3) to correspond to the SD 4-channel or 8-channel input CIF compatible SD 4-channel or 8-channel input CIF.

Through the PC will be more than one channel video synthesis, and enter the PINEA module, allowing full HD picture of synthesis and decrypt the encodings.

(Note 4) AESA Advanced Encryption Standard abbreviation.

Adopted by the United States Department of Commerce National Institute of standards and technology, the selected encryption algorithm, to achieve a high level of security.

Report recorded in product specifications as a due to the release date specifications.

For this specification, the future is possible without prior notice to change, please understanding.

Based on the Verilog hardware description language of the AES algorithm (1)

Introduction

Password module is a security system is an important part of its core task is combined with the/decrypt data.

At present, the AES block cipher algorithm to its high efficiency, low cost, simple, and other characteristics are widely used in password module. As computer information technology and VLSI technology matures and development, through hardware to implement key internal operation of the module, you can ensure that the outside world without key flow of plaintext, to achieve a real sense of confidence. In addition, the hardware implementation also has high speed, high reliability characteristics. Many current hardware implementation of AES algorithm uses a lookup table based on the RAM to implement algorithms in one of the most critical part of SubBytes. This article uses the composite domain to achieve SubBytes operation part of inverse for easy use of combinational logic reduces the area. At the same time using encryption/decryption operation column transform part of the circuit for reuse, further savings in realization of the area. This enables AES password applied to RFID systems, IC card, etc., area requires smaller occasions.

1 Introduction to the AES algorithm

The AES algorithm is a block cipher iterative type, its packet length and key length is variable, each can be independently assigned to 128 b, 192, 256 b b.

This article primarily discusses the packet length and key length of 128 b. The AES algorithm is to enter the plaintext (or redaction) into 16 bytes, Add in the first Round after 10 Keys transform round. Iterative process is identical to the former 9 rounds, after bytes instead (substitute bytes), line-shift (shift rows), columns of mixed (mixcolumns), rotation keys plus (add round keys), the last round of skip a column mix (mix columns). Decryption and encryption process is similar, but the execution order and description of the content is different, therefore the AES algorithm for encryption and decryption operations are required.

2 AES hardware design

According to the AES algorithm theory and basic structure, the entire AES algorithm module is divided into four relatively independent sub modules: interface module, control modules, encryption and decryption operations module, key expansion module.

This article is designed to have the password algorithm does not include key generator, with the key passed by an external input interface module, the decryption operation data output via the output interface. The AES algorithm module is the overall structure as shown in Figure 1.

2.1 interface module design

Input interface module's main task is: will data to the encryption and decryption operations module, place the imported key delivered to key expansion module.

As clear text and key input is 128-bit, will cause the entire module input/output too much, take too many resources, taking into account the design of this article is mainly applied to the area requires smaller occasions, such as RFID systems in data transmission, that is, each time the data transmitted is 64 bits, so the use of four 32-bit registers, under the control of the clock every time 1 group a 32-bit, four clock cycles can be 128-bit data, can effectively reduce resource consumption. Output interface modules is 128-bit decryption result output, also take the 32-bit 4 group output method.

2.2 control module design

Control module's main task is to implement encryption/decryption operations module and key expansion modules work started.

Control module in clock pulse control, production control encryption/decryption module byte substitution, transposition, columns, rows, mixed with various parts of the work of the key. Can be one of two State of the State of the machine controls. When new data or key input signal through the state machine can determine last encryption/decryption operations are completed. If a state machine signal is busy, the decryption operation is in progress, need to wait for; if the signal is idle, the decryption operation is complete, you can start the encryption and decryption operations module and key expansion module, enter the data and the key to the encryption and decryption operations module and key expansion module, start a new set of data encryption and decryption operations.

2.3 decryption operations module design

AES algorithm round transform features the hardware implementations can have more than one way: serial manner, wheel transform can adopt combo logic implementation; in 10 round, first round results directly as input to the next round; and in 1 cycle completes one grouping operation that make the best throughput.

But it requires a large amount of memory resources and combinational logic resource support, General FP-GA chip to meet the capacity requirements, and the clock frequency is very low; basic iterative feedback, all iterations using only one wheel transform module, and 10 clock cycles to complete one grouping operation that takes up less resources; wheel assembly line, insert the wheel transform, each register operations into multiple operation segments, each clock complete 1 operation, the advantage is you can improve the algorithm running clock frequency. But the wheel at all levels of water part cannot be executed simultaneously, which increases the number of clock algorithm. Wheel assembly line of progression, the more the number the more clock, although the algorithm can achieve very high frequencies, but did not significantly improve the throughput.

The comparison shows that IMIS, this article on the AES algorithm implementation aims to minimize resource consumption, minimize the area.

It uses basic iterative feedback work design.

2.3.1 SubBytes () and the design of InvSubBytes ()

Bytes instead of the entire AES hardware implementation of the most important transformation, in the encryption and decryption operations module and key expansion module bytes instead of the main operation process.

Therefore, byte instead of hardware design determines the entire AES algorithm for hardware implementation of speed and size. Bytes instead of by a lookup table and be of arithmetic operations. Tradition of the AES algorithm with lookup table methodsRealization of bytes instead, you can improve the speed, but the inverse of the transformation input data as 8-bit, encrypt and decrypt the replacement byte table is different, so the selector and the register number, the hardware implementation of larger, it is mainly used for high-speed AES implementation. Arithmetic operations in hardware design performance for combinational logic, using the arithmetic operation of hardware design is to reduce complexity, decrease the area.

2.3.2 ShiftRows () and the design of InvShiftRows ()

Line transfer transform function in the intermediate state of the row, the rows in the State according to different offset for circulation.

Cryptographic operations intermediates of 0 ~ 3 rows, respectively, to the right loop mobile O, 1, 2, 3 bytes. This action is only carried out according to the data, hardware bytes when you only need to make adjustments on the wiring, Basic does not occupy the hardware resources.

Decryption process is just the inverse of the line shift, move to the left circle, respectively, 0, 1, 2, 3 bytes.

Similarly, the operation is only the data in bytes. If you have a location change, bytes can now be modified on the wiring.

[1] [2] [3]

Beijing security exhibition on six security electronics trends

On the morning of March 13, 2008 the 6th Beijing international community public safety products and technology exhibition in Beijing, China at the opening of the new Museum.

This exhibition consists of capital social law Committee Office, Beijing Municipal Public Security Bureau, co-hosted by. As the 2008 Spring's first major security exhibition, a total of more than 600 exhibitors, a total of 1 000. Visit the audience statistics for more than 5 million passengers. In addition to security vendors, some fire enterprise also participated in the exhibition. Impressive comparison is "safe city" and wireless monitoring and control products. From security equipment technology and engineering perspective can sum up out of the six major trends

1. traditional video surveillance is almost completely replaced by network monitoring, analog monitoring equipment basic exit visitors view.

In addition to network-based DVR, pay more attention to broadband and high-definition.

Wireless video surveillance, particularly in the compresses FODM wireless-based transmission was praised by many manufacturers, the price is higher than previous year dropped significantly. Work in the 800 m following until 300 MHz frequency bands for wireless video transmission, diffraction, equipment erection simple, low running cost, enter into the street with Lane, is particularly suitable in the highway, port, monitoring of real-time mobile community, is currently the preferred mobile monitoring.

2, infrared, laser, black light, night vision means has been widely used.

True enables the stars from the fog to until dark environment of video surveillance.

Black light or infrared, very suitable for close monitoring of non-visible, hidden under a very strong. Infrared and laser night vision effect mainly effective distance, but the image is blurred and can only display the outline, the higher the sensitivity. Such equipment is expensive, non-special occasion works hard to spread.

2000 meters (winter snows)

2000 (summer sunny)

3, "safe city" concept as a new era of monitoring industry's hotspot.

3111 "projects" as the Guide for the construction of the "safe city" will greatly promote monitoring industry market.

In addition to networking, wireless, wired, the trend of high expansion lens, specifically developed for high-performance camera and optical lens has aroused the interest of visitors. The camera has a higher resolution, wide dynamic, ultra low illumination. New lens use spherical lens, large aperture, increasing the luminous flux rate, its automatic adjustment ability is also greatly improved. Generally used for high point monitoring and control of high multiple large lens made in products already have many of the significant drop in prices than in previous years.

Additionally since the "safe city" project social coverage, technical links, communications network is diversified, so also requires the development and construction of software platforms must be increased to a more complex Boda level.

4. car park intelligent management system is a big hit this year exhibition.

Manufacturers a lot, but the basic realization of independent research and development, in addition to platform software, ballot boxes, long-range reader, gates, etc., the basic realization of the independent research and development production.

Toll collection, automatic license plate recognition, image recognition, automatic intelligent parking car boot functionality had significant breakthroughs. In which not parking parking system adopts 900M UHF long-range reader, no parking card can direct traffic. Including parking sensors, parking directions system, hardware equipment, many can jointly develop production. And control based on upper software platform or shades of gray, some manufacturers added biometric technology such as a fingerprint, facial recognition, and others in the management of the practical aspects of the work.

5, security technology and smart home deeper integration.

To form a more comprehensive, more reliable, higher technology content of home security devices, involving anti gas gas, anti-theft, anti-Chuang, indoor electrical equipment safety, through the Internet and mobile communication can remotely receive real-time sound and image.

And you can realize remote control home related safety equipment and electric cookers, water heaters, air conditioners, electric curtains, etc.

6, coal mine safety monitoring of emergency network linkage facing great building space.

This type of display product hot spots still remain in the front sensor detection and level alarm level.

As the emergency response of new concepts, there are a lot of research and development space. In addition to mine, County, province to multi-level information dissemination, networking equipment structure and linkage, it must also be building decision-making software platform, also the construction of the head must be established to support the decision-making of the underlying database system, including the relief materials database, rescue teams database, medical resource databases, traffic conditions database, meteorological climate database, etc., are still to be invested huge human, material and financial resources.

Nuclear technology to help Olympic explosives detection

■ Domestic campaign-will be used for Olympic shooting ■ photography/Yu Zhigang

More than 40 service military technology — the Olympics

--Use of space technology of the Olympic torch is lit in the Everest, the use of radiation technology, radioactive material inspection systems have been applied to Olympic security, use of shipbuilding technology research of steel structure has become the "bird's nest" landscape ...

In yesterday's "2008 military service Olympic and national economic development Summit Forum", General Manger of the Council of national defense, in the forthcoming opening of the Beijing Olympics, nuclear, aerospace, aviation, ships, weapons, military electronics six industry more than 40 major scientific and technological achievements will embark on the Olympic stage.

"China Atomic Energy Research Institute developed the NQR of explosives detection systems and radioactive material inspection system two Olympic security project is its nuclear technology services for the Olympic Games, to counter-terrorism areas important results."

National Defense General Manger of the Bureau of the Forum said in his speech, NQR explosives detection system solves today's world of explosives security challenges, is the world's most advanced and practical one explosive detection technology. The system uses four moments of nuclear resonance technique is similar to a fingerprint recognition technology, with good specificity, the detection sensitivity and high reliability, and are not included on the human body and environment by hazards of radioactive, not out of the box, quickly, easily, effectively and accurately detect explosives. The hospital's channel-explosives detection systems, car-carrying explosives detection systems and mail explosives detection system for three types of explosives detection systems, luggage, suitcase, messages and other items for security checks.

Radioactive material inspection system is atomic energy homes in order to guarantee the security of the country and people against terrorist use of radioactive substances harmful to society and humanity, and also to prevent immigration and the local community in the illegal transfer of radioactive materials and specialized research and development of products.

Current safety gate-radioactive detection system and vehicle radioactive check system is applied to Olympic security system.

In aerospace technology, in addition to the familiar "clouds" torch, a subsidiary of second homes 23 and China Meteorological Research Institute collaboration in the development of wind Profiler radars, has become the Olympic sailing competition the smooth progress of major weather protection equipments.

China holdings of China dbsat Ltd. completed a torch climb Everest TV live technical support, will continue to race live television and providing technical support.

In addition, in the field of aviation, China aviation industry in the second group Chang Fei company production helicopters will plunge into racing safety monitoring aerial, to ensure the smooth running of the Olympic Games and the quality of news coverage; in weapons, soldiers with Group companies manufacture in the North of Heilongjiang tools of triangle sports-will be directly applied to the Olympic shooting competition; in defense electronics, China electronics technology group Corporation is the 15th Institute undertook five system, including the Security command system, food transportation vehicle body-e-mail check sealing system, opening and closing ceremonies performances and rituals command monitoring system, etc.

Milestone increase market share to maintain the status of the world's first.

IMS Research <P> According to the latest report "The World Market for CCTV and Video Surveillance Equipment 2009 Edition" (2009 edition of the global CCTV and video surveillance equipment market), Milestone Systems open platform again in its capacity as IP video management software, the number one provider .the status of the eye-catching business. .</ P> <P>, the report found, Milestone Systems has been in the past 5 years in similar enterprises to maintain its leading position in the video surveillance industry has made more market share, particularly noteworthy is that in the past year .difficult to obtain financial environment is still a lot of money results. .Milestone in the open platform video management software (VMS) area has a strong leadership position, accounting for 10% market share. .VMS in pure software vendors, Milestone's market share from 19.5% to 25.8%. .</ P> <P> Milestone Systems President and CEO Lars Thinggaard said: "Milestone Systems in 2008, continue to maintain fast and stable growth, revenue growth of over 42% in 2007. And compared to 29% over the same period .overall market growth rate, indicating that the Milestone was another winner in the competition. "</ P> <P> economic downturn has resulted in some markets more than the negative impact of other markets, it is always for international companies .a challenge. .Milestone software across 107 countries through authorized partners to sell, and in which 11 countries have their own offices. .Milestone growing ecosystem of partners, including the complete program, including training and certification, solution integration and alliance partners, the manufacturer support. .</ P> <P> Thinggaard explained: "due to the severe financial situation, monitoring the growth mode and the market is very different from previous years. For Milestone such as a global company, the need to pay close attention to the fluctuation .conversion rate, and we strictly control our cash flow, while focusing on those that enable us to continue good business investment in the future. July 2008 from Index Ventures external investment further strengthens our foundation, to help maintain our strategy .development momentum. "</ P> <P> IMS Research senior market research analyst Alastair Hayfield concluded:" Despite the current economic difficulties, Milestone continued healthy growth and increase market share. As the market conditions improve, as has .high market share of the world's leading open video management software provider, Milestone in 2009 and into 2010 has laid a good foundation for success. "</ P> <P> IMS report shows that open-platform solutions .In 2008, a large proportion of market revenue, which indicates that open platform is the trend. .They estimate that, since "open platform solutions over proprietary systems far superior range of functionality and integration," the fact that in 2013, open platform will account for the majority of market revenues. .</ P> <P> Milestone Systems open platform to provide a large number of documents that the software development kit, the kit contains the international system integrators and solutions partners Milestone: Now, with Milestone XProtect (TM) IP video .Integrated software solutions have more than 150, these solutions provide access control, point of sale terminals, analysis, biometrics, lighting or door control, alarm, fire alarms, baggage claim, production systems and other aspects of seamless interoperability. .</ P> <P> IMS Research's report on the security industry, more than 100 international companies from a comprehensive survey and related information materials, annual reports and Internet-based data and statistics. .</ P> <P> </ P>.

ZTE big push "Web video" 3G Video Surveillance.

Recently, ZTE in Beijing released the name of "new fusion, new experiences, new value," "Web video" 3G video surveillance solution.

By virtue of technological innovation and professional applications, the solution has been in Shanghai Telecom, Jiangsu Telecom, Beijing Unicom, mobile, and a large number of Shenzhen, is the telecom operator's 3 g video surveillance system and business promotion offers a good reference model.

With the release of the 3 g licenses, telecom operator opens the fixed network to move the entire business operations.

3G video monitor business take advantage of high bandwidth wireless access, support in arbitrary locations in the upload field images, in any location to receive distant image and and fixed network video monitoring system integration, anytime, everywhere video surveillance applications. 3G video surveillance is a high-end and differentiated features 3 g multimedia service representative of typical for a wide range of services in emergency command, bus monitoring, home monitoring, public areas such as multimedia services and greatly extend video surveillance application environment and how to use a more user-friendly, more convenient, personalized business experience, have broad market prospects.

Fixed-mobile convergence applications, boost 3G multimedia services

"Web video" 3G video surveillance solution is ZTE following "Web video" IPTV system after the launch of yet another heavyweight system solutions.

The biggest feature is to meet the 3 g times of video monitoring needs for fixed-mobile convergence. This brand new video surveillance application model is a good way to promote the development of multimedia business 3G.

First, it can span two fixed network, mobile network to provide video monitoring service, the use of fixed-mobile convergence FMC service quality customers to realize video monitoring business, fixed network users, mobile users scale of win-win situation.

Secondly, it provides end users with professional-grade monitoring applications, and video services, so that users are willing to accept and ready to use.

Live images can be arbitrary selection of WCDMA/CDMA2000 TD-SCDMA/fixed-line, WIFI, etc., network users can upload; flexible choice mobile phone, computer, television, IPTV set-top boxes, and other equipment monitoring images; the user can use the control center, the Omni-directional alarm linkage, voice/email/SMS alerts, and other professional monitoring capabilities, and card swipe card reader, access control, image intelligence analysis, GIS geographic information system and intelligence system integration using; safe city, emergency dispatching, traffic monitoring, Internet monitoring, environmental monitoring, campus monitoring, SMEs monitoring, home monitoring, baby online, public information, target different users browsing of personal solutions, making video monitoring is no longer cumbersome and inflexible, and user groups from industrial customers expanded to include industrial customers, small and medium-sized, family, personal users, all users.

System scale application, establish a business model

From the 2006 launch of operation-level video surveillance system, ZTE has as core manufacturers participating in the domestic largest carrier Telecom, China Unicom, mobile video surveillance standards very excellent test results.

Constant technological innovation makes the ZTE "Web video" 3G video surveillance for highly technical features, in addition to professional-level monitoring and intelligent applications, but also the industry leading support fixed-mobile convergence, the first to support video surveillance + IPTV + Visual communication multimedia business integration, first to support TR069 network management.

Since 2007, ZTE has been contracted by Shanghai Telecom, Jiangsu Telecom, Hunan Telecom, Telecom, Chongqing, Hubei Province, Xinjiang, China Telecom, China Telecom Guangxi Telecom, Guizhou Telecom, Heilongjiang Telecom, Beijing Unicom, Shenzhen mobile, mobile, fixed-line monitoring of Anhui Province, mobile surveillance project, in the carrier's new market for video surveillance market share ranking them first.

In particular, ZTE the contractor of all video surveillance platform not only support fixed network video monitoring, you can also quickly with a simple upgrade support 3G video surveillance.

Of these, Jiangsu Telecom, Shanghai Telecom, Beijing Unicom, Shenzhen mobile, has begun to take the lead in construction, as the telecom operator's 3 g video surveillance system and business promotion offers a good reference model.

Face recognition security companies you ready for mobile phone.

<P> Now, go to the supermarket or convenience store consumer spending, coffee checkout checkout, there have been the case of mobile payment. .The public purse and do not need to take bank cards, mobile phones simply brush on a POS machine, checkout can be completed. .According to industry analyst for the analysis of this market within five years, the phone will become electronic payment instruments in the United States, opened the door of the "key", metro card, receive electronic coupons, but also as a card to use. .These seem very far away from everyday life mobile phone use have been in South Korea, Japan and other countries a reality. .The two East Asian countries in mobile technology has always been ahead of the United States. .For example, the U.S. market research firm Forrester consulting firm, a survey for 963 people showed that 15% of Japanese mobile phone users pay the phone as a tool in the shops. .</ P> <P> "mobile payment, mobile wallet" service since its introduction has been the thunder, little rain, the application has been no real improvement. .The reason, I think the first is the need of mobile communication products, operators work closely with banks and the broad user acceptance, and mobile communication technologies and the application of radio frequency RFID technologies have a process and facilities caused by the imperfect .. .Now, with mobile operators, operators in close cooperation with the banks, and the corresponding advances in technology, RFID system has finally settled in the mobile payments, electronic purse and finally reveal the true colors under the repeated calls. .Faced with this attractive market, security business development opportunities where? .Security companies you ready yet? .</ P> <P> RFID security access control industry as an important application of technology, with the banks, third-party payment platform associated with the terminal after the mobile operators, operators with the support of mobile payment can be realized. .Virtual wallet on the mobile phone users need to recharge account, the money first to reach the phone, "My payment account" from the "pay my account" into the "my wallet", and money in their wallets to reach, after .Users then money from his wallet, can be used with the check. .</ P> <P> in a burst of applause, the convenience of mobile payment, energy saving, portable, non-contact and other advantages are also members of the public talked about, but the problem is also prominent. .First, the mobile phone is easy to lose items from the "pay my account" to "My Wallet" this process, some people set their own password-protected the consumer, but to reach "my wallet" after the amount, then no .protection. .According to Mobile's customer service personnel, if the phone is lost, RFID-SIM card with the information will be lost, the amount of money if there is no way back. .Only to re-apply RFID-SIM card, activate the phone wallet. .Although the phone is lost, you can report the loss immediately, but the mobile wallet of the risks for the people concerned, is still a big worry. .</ P> <P> Secondly, the mobile payment models for mobile phones is limited, while open mobile wallet, is to spend 150 yuan for RFID-SIM card. .Although the mobile phone number do not change, but it is still not 150 low cost, if the loss of a cell phone, make up and also 150, the cost will double. .This is common to many people, it only takes the convenient if, in fact, bank cards can do this, why spend the hundreds of cost? .</ P> <P> Third, technology is still in there blind spot. .First, the mobile wallet is integrated into the phone memory chip on the motherboard. .However, whether it is on the motherboard or on the back cover, on the phone when the curing means that the replacement phone has the possibility of losing the original card information, the most appropriate storage function is to make SIM card, but the technology still has not been .overcome. .Second, the phone only in case of a power can only use the phone to consume. .This will require that the phone must remain switched on 24 hours. .If you happen to catch up with the phone battery died when they go out, then the payment of ideas can also be said fantasy. .</ P> <P> mobile payment as a security application of radio frequency RFID technology development can be said that unlimited broad market prospects, but also reflects the trend of IT security industry. .Relying on hundreds of millions of mobile phone holders in this huge potential users, mobile payment business, with only "just started coming to the fore," but also can be described as latent market potential is huge. .</ P> <P> for the security company, if you want a real piece of hundreds of millions of Lost cake, is crucial to find a breakthrough. .Despite the apparent trend of IT security, but how to make traditional security companies really into mobile payments, you can not blindly follow the trend. .In my opinion, so is the security of mobile payment security Wang enterprise development. .Mobile payment and cell phone identified the combination of the mobile phone can also be access cards, this is the security companies need to solve the problem, to find business opportunities. .Therefore, competition for the cake in the face of all this, security companies thought to be calm, how to break through the existing flaws, break the bottleneck is the access to pass this piece of cake. .</ P> <P> RFID security access control industry as an important application of technology, the use of cell phones as access control card is the revelation of this information to us, so I have to ask, security business, you make preparations to meet the mobile identification .it? .</ P>.

Mobile phone security one slow startup of big market (1)

Content summary: mobile video monitoring this a product that integrates wireless communications, security monitoring, smart home, systems integration and technology, the core components of mobile video host, only a small book.

Home users can with this handy utility for phone monitoring technology to easily understand the home, car or other places of interest in real time.

What is a cell phone security

Network video monitoring breakthrough geographic restrictions, remote monitoring, but with "AnyTime, AnyWhere, AnyDevice" (any time, anywhere, any device), etc., the ordinary concept of network video surveillance has been unable to meet the growing diversity of user requirements.

New solution – "mobile monitoring" and "Mobile Security (hereinafter referred to as mobile security)" so that this problem has been answered, the application will be in the security industry to promote and spread rapidly. At the same time, mobile security will gradually go into people's family life.

Mobile security is a mobile messaging software and traditional security industry with professional-level monitoring products, mobile communications, security and Internet integration, systems integration and technology translates into potential product application.

Via cell phone or computer can view the remote real-time dynamic display capabilities for the enterprise and the family provides a simpler, more convenient, more timely monitoring solution. Mobile security is on the user property and personal security of smart guard, recognition and informed.

The strict sense, the mobile phone security should be divided into four areas.

One is mobile video alerts (market representative products:: helmsman eye), cell phone MMS or text message alerts (market representative products: hand-eye, small door eye pupil, love, eyed-pass), the second is a mobile video surveillance (market representative products: hand uni-video, Star Valley technology, State treasure, British Tektronix, Zeus eye, 1288 take eye), the third is the mobile personal personal safety (market representative products: days of ren bodyguards); the fourth is mobile smart home (market representative products: true digital housing).

Mobile security system structure and working principle

A product of mobile security, mobile network cameras and video servers, in turn, are connected by routers that can be directly connected to the Internet network (independent from the standard network environment, not without a computer), and then set the camera to the video signal of the video and audio are compressed into M-JPEG, then sent to the Internet, and the user-end devices are turned into our everyday use of mobile phones.

Mobile Internet via GPRS, by viewing the device's IP address or to a dedicated Web site, you can see the mobile network camera captured video files.

Mobile video monitoring system by mobile terminal, transport networks, Central Administration and monitoring of front-end 4 components (as shown in Figure 1).

 

 

Figure 1

 

[1] [2] [3] [4]

Infrared market has reached 50 billion U.S. dollars unlimited future potential.

Infrared <P> now how much the market in the end, no one can expect, I firmly believe that this market will take a longer period of time continued to grow. .Every year we see more and more people continue to find new thermal imager applications, on the other hand, the price of thermal imager is decreasing every year, from the price of these new products, new applications .possible! .Infrared global markets have now reached 50 billion U.S. dollars in the next three to four years, if the thermal imaging market has doubled over the world to double again by 2016, which is in no way surprising things. .For the thermal imaging manufacturers, also need to work together develop the market, so that customers understand the benefits of infrared thermal imaging device, through the full range of solutions to expand to meet customer demand. .</ P> <P> some customers on what is "Infrared" perplexed that such a product similar to the laser lighting device, or "active lighting device." .In fact, infrared thermal imager is a completely different technology. .For example, the active detection range of luminaires limited to 100 m -200 m, while the detection of infrared thermal imaging device can detect the distance from 400 m to 20 km distance range. .</ P> <P> most on the market today with the ordinary thermal imaging polysilicon detectors, this technology has been 20 years old. .In comparison, vanadium oxide detector is a new product, is the world's most sensitive detectors. .The sensitivity of this material commonly used in uncooled detector than 3 times higher, the temperature difference can be detected 30mk. .In practical applications, infrared thermal imaging products to play an irreplaceable role in two: the threat against intruders and theft of natural resources. .</ P> <P> probe threat (against intruders) </ P> <P> most people think of thermal imaging technology is no less than the perimeter security fence or hiring cheaper, more efficient, it is not. .Perimeter security technology can be cheaper than other "hot like a fence." .</ P> <P> general perimeter border of the "technology" includes traditional electronic fence, RAFID sensor cable, traditional CCTV cameras and infrared active illumination (also called near-infrared camera). .Combination of these products than the price of higher cost thermal imager. .For example, one including the sensor cable, electronic fences, civil engineering and security personnel salaries total cost of the security may be in the $ 100,000 dollars. .CCTV cameras and infrared illuminators require costly annual maintenance fees, expenses and cost of electric energy consumption. .Civil engineering and electronic fences need constant maintenance; the thermal imager is no such problem, do not need such a high energy, human resource consumption, maintenance costs low. .A CCD camera and infrared imaging system, including the design of sophisticated security system than just using the CCD camera security system earlier, faster detection of threats, and can be in the mist, smoke and complete darkness in the work .. .</ P> <P> security (protection of natural resources) </ P> <P> every year due to theft of natural resources (including oil, metals, electronic products, etc.) which led to huge losses, the threat posed by terrorism, .illegal immigration, unauthorized access or intentional acts of vandalism is intensified, especially for the destruction of historic buildings and theft losses are priceless, but more security monitoring system in the smoke or the whole day and night under the dark .monitoring. .</ P> <P> and the unique benefits of thermal imaging for security so that system integrators and installers to meet the user needs to provide a new "comprehensive solution." .For example, in the petrochemical field, thermal imaging devices and image motion detection software, based on TCP / IP network, for the petrochemical plants to provide prevention and intrusion detection "hot like a fence." .Now, many security companies to thermal imaging devices and supporting the use of various software, such as video motion detection, video tracking, hard disk recorders and video analysis software, leading to higher value and more benefits for end users to provide more comprehensive .The security solution! .</ P> <P> infrared thermal imaging products in the world, including China have great potential. .</ P> <P> FLIR company began selling in 1965, thermal imaging devices, has been operating in China more than 10 years, witnessed the infrared thermal imaging market from scratch, from small to large development process. .</ P> <P> in the Chinese market, the monthly sales of the "Near Infrared" or "active infrared" cameras more than a million units, can be said that China is the world's largest security market. .When the price of infrared thermal imaging cameras with active illumination comparable prices, the Chinese market demand for infrared thermal imaging devices will grow significantly. .FLIR also been observed, the Chinese customer awareness and use of new technologies have a strong ability to accept, and other customers in the region, the Chinese customers faster and more thorough grasp of advanced security technology benefits. .</ P> <P> situation from the existing applications, infrared thermal imaging market, the most popular application areas including airports, customs, prisons, railway stations, monitoring, and vehicle driving assistance. .For example, the infrared camera in the train station and railway tunnels to detect potential intruders, early detection of intruders and potential criminals. .And as a large factory, a vast geographical company, all the important historical sites and the majority of schools and residential areas, which have infrared thermal imaging needs. .</ P> <P> application is now a popular border security, such as preventing illegal immigration, drug trafficking and other dangerous threats. .More and more countries realize that the border line can prevent the protection of national interests well. .The industry continued to increase as governments budget continued to grow. .</ P> <P> In addition, the infrared camera's unique value lies in early detection of people carrying the virus, thus saving the government millions of individuals for medical expenses. .FLIR's thermal imagers are being used in airports, ports of entry and customs, not with the naked eye to detect the virus, such as the H1N1 influenza virus. .</ P> <P> </ P> <P> </ P> <P> </ P>.

Based on the nios and μ C l I n u x embedded system design (1)

Embedded system typically consists of an embedded microprocessor and a peripheral hardware devices, embedded operating system, and user applications of four parts, its development primarily in chip technology, as well as in chip technology constraints of algorithm and software development.

As chip manufacturing technology, embedded system structure has undergone major changes, from embedded systems based on microprocessor-based microcontrollers, embedded systems, and shall then be programmable logic pld (programmable logic device) technology into the embedded system design, turn to the soc (system on chip), eventually in conjunction with the pld and embedded processors and become sopc (programmable system on chip) that makes the sopc become embedded system design of a trend.

This article uses the sopc embedded 32-bit soft core processor nios, implements a uart serial ports and Ethernet interface converter (hereinafter referred to as converter), and the company based on the nios processor microtronix transplantation of μ I n c l u x developed application, his system structure as shown in Figure l.

  

  

1 embedded hardware based sopc platform

Different from the controller on the processor or embedded systems and SOC, sopc-based embedded system with configurable features, not including any specialized peripherals, but may need flexibility in constructing peripheral interface in the fpga.

Embedded systems based on SOPC mainly consists of 1 tablet core chip sopc and tablets, devices, as well as some related interface devices.

This article is to be achieved by using altera Corporation converter cyclone chip and the external circuit, where the external circuit includes 2 pieces of 512 kb sram, l 8 MB flash movie, uart electronic converters and 1 slice Ethernet controller lan91c111. System circuit diagram shown in Figure 2.

  

  

Sopc chip embedded soft core processor nios.

In addition to the sopc chip, cpu, can be equipped with on-chip rom, internal timers, uart serial interface, sram, flash interface, and other system components. These parts are in the form of programmable logic part, chip components chart as shown in Figure 3. Cpu and all parts through avalon bus connected.

  

  

  

Sopc chip system modules and avalon bus modules are automatically generated by sopcbuilder tool, use qualtus ii integrated development environment for logic design of the chip and PIN definitions.

After compiling the generated suffix .sof hardware image file download via byteblasterii cable to the target Board cyclone chip, or .sof files to download to a file, .flash target Board of flash. This completes the hardware design of the converter.

2 μ l I c based n u x sopc application development

Application development can be carried out directly on the hardware platform, but need to know the details of all hardware components, and to prepare the appropriate drivers, software designing subroutine more difficult and heavy workload, and portability.

Based on embedded system applications, all their hardware details are on the user's screen. On the hardware for direct control of the underlying drivers are encapsulated in the operating system, device driver interface, users just need to high through the operating system provides programming system calls. Μ I n c l u x is designed for control of embedded Linux operating system, such as nios processor and so does not have a memory management unit (mmu) microprocessor/microcontroller. Development based on the operating system, the operating system is loaded into the hardware platform, μ c l I n u x can take part in the form of integrated into sopc system.

2.1 load c μ l I n u x system steps

Will I n c μ l u x is loaded into a target plate sopc need to provide a cross-compilation environment, hardware requirements with a serial PC workstation, based on the nios processor sopc target Board and byteblastermv cable, etc.

Software demand windowsntv4.0, windows2000 or windowsxp, altera nios Development Kit ndk 3.0 the nios gnupro tools, ahera nios Development Kit provided by cygwin installation, as well as the quartus ii programmable logic development tools v2.2.

2.1.1 create and load the kernel image

Create and mount μ l I n u c x image file in linux developerbash environment, you first need to follow these steps to configure and build the kernel.

[linux developer]…

μclinux/:cd linux

[linux developer]…linux/:make xconfig

[linux developer]…linux/:make clean

[linux developer]…1inux/:make dep

[linux developer]…l

inux/:make

[linux developer]…

μclinux/:make linux.flash

Generated linux.flash file is μ I n c l u x kernel image.

When sopc target Board is powered on, on-chip rom monitor program running in the germs, [linux developer] ... Μ I n c l u x/:, type nios-runlinux.flash, download the file to the target Board linux.flash, complete loading of kernel image.

2.1.2 create and mount the root file system

In addition to loading the kernel, you need to mount the root file system.

Μ I n c l u x adopts romfs filesystem, the file system relative to the ext2 file system generally requires less space.

On the host and the target directory for linux that μ l I n u c x under the root (root) directory.

The current script and tool will convert the image file to the target directory (romdisk.flash), created in the following steps:

[linux developer]…

μclinux/:make clean_target

[linux developer]…

μclinux/:make romfs

And then type the following command:

[linux developer]…

μclinux/:nios-run romdisk.flash

Upcoming romdisk.flash file is downloaded to the target Board, complete μ I n c l u x root file system is loaded.

2.1.3 loading applications

The user application available through the target directory is loaded into the root file system, you can rebuild romdisk image.

Application in userland directory, run after the file is compiled to target the directory tree, and according to the target directory content creation romdisk.flash file. A new application, you first open a form in userland linuxdeveloperbash, create a directory in the directory app, application source files stored in this directory, and then in userland/app/a makefile file in the build.

Makefile content as shown below, where the application name appfile.

stackslze=8192

include..

/.. /rules.mak

all:appfile.relocbflt

sources=appfile.c

install:

$(romfsinst)appfile.reloebfh

$(romfsdir)/bin/appfile$(execsuffix)

clean:

rm-f *. [

iods]core appfile appfile.*elf appfile.*bflt

Run make to compile the application and modify the userland/.eonfig and/userland/makefile file.

In userland/.config file, add the line config_my_app = y, userland/makefile file, add the dir_ $ (config_my_app) + = app, enter a subdirectory, run make userland, you can install your application to userland/bin, and userland/.config file in the corresponding variable indicates that the application binaries are copied to the target directory.

Finally, type the following command to rebuild romdisk image file (romdisk.flash), and downloaded to the target Board.

[linux developer]…uclinux/:make clean_target

[linux developer]…uclinux/:make romfs

[linux developer]…uclinux/:nios-run romdisk.flash

2.1.4 run μ I n c l u x

Complete μ l I n u c x kernel and mount the file system, you can run μ c l I n u x.

Type g800000 (800000 as startup code address, set the sopc builder), μ c l I n u x automatically complete the initialization process, user-entered login username, password, nios μ c l I n u x, μ l I n u c x's prompt #, that has entered the μ c l I n u x running environment.

2.2 converter application implementation

Converter application system is mainly through the network interface and serial interface data transfer between the transmission of the data stream, as shown in Figure 4.

Μ I n c l u x operating system provides the network drivers and the serial port driver, and provides support for multiple threads.

  

>

Converter application system serial port transceiver data and network port transceiver data is asynchronous, respectively, may be treated as a single task, the task is complicated, so you can use multithreaded programming techniques to achieve multiple tasks concurrently executing the system main program flowchart as shown in Figure 5.

  

  

In this application system has four tasks, create four threads: network receive thread, net send thread, serial receive thread and serial port to send thread.

These four threads can execute concurrently. serial port for network speed and the speed differences, there is a need to set up the appropriate buffer to send and receive data buffer. In this application system set two ring buffer, as shown in Figure 4, which used to receive network data nctrv_uartsd_buf for storage from the network port to receive data, and then remove the serial data from the buffer. Another buffer to receive the serial data uartrv_netsd_bur, and then remove the network port of the data in this buffer.

Need to achieve mutually between threads and synchronizing communications, shared buffer to perform and to synchronize the mutex, its operation following the model of producers and consumers.

The operation of mutual exclusion between threads using a mutex (mu-tex [1] [2]