Control of LED lamp with FPAG system or C/OS2 II operating system

FPGA
Landscape lamp in the traditional sense with a control box, single-chip, ARM control, color changes, only seven kinds of light color change mode,There is a single way on the led changes, and has limit for hardware control system speed.microcontroller family of embedded controllers PWM (PulseWidthModulation) generally only 3 to 6-chanle, if the need to expand only using software PWM. Function, can not meet the requirement of high speed transmission of data.control of LED lamp with FPAG system or C/OS2 II operating system Especially when the LED lamp for a long time to fade in and fade out, will cause jump process obvious in entire process of fade in and fade out. In order to let the eye looks no jumping, to achieve the gentle fade in and fade out effect, must rely on a powerful processor to complete the requirements. The system uses Nios II soft core embedded into the FPGA based SOPC(SystemonProgrammableChip) method, Nios II soft core processor on a PWM independent control of R (red), G (green), B (blue) light gray to control landscape lamp, landscape lamp control implementation of LED full-color display.The communication mechanism between multi processes in the business field, has obtained the successful should Using [526]. The use of programmable SOPC technology and C/OS2 II operating system is a good choice for the design of control system of LED landscape lamp.
system function description
The system is composed of a display unit, a display drive unit, control unit, data communication unit,Figure 1 system structure diagram
Using Nios II soft core with FPGA, by C/OS2 with real-time operating system by using the signal way by changing the PWM (pulse width modulation) duty cycle to achieve control the [7] scene playing on LED lamp group, showed the least 256 colors, with static, gradient, light gradually, gradually dark, flashing 5 types of change
Type and effect of full-color dynamic changes. Data communication unit by CF (CompactFlash) card, the lamp control data file of PC send out to control system. Control unit put the transmits light control data of PC into memory, to fetch and analysis data from the memory,the analysis and processing of finished lamp control data sent to the LED lamp driving unit, display unit control is realized by multiplex channel PWMA variety of change scenarios of LED lamp. The display drive unit is a custom Full color lamp control IP core, each IP control of a lamp through PWM. lamp control data show a scene change effect through the PWM port. Display the core device unit for three color LED tube, color with red, green, blue, produce various other different colors.