Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
CALIBRATION METHOD FOR LED LIGHTING SYSTEMS
Document Type and Number:
WIPO Patent Application WO/2011/106661
Kind Code:
A1
Abstract:
A method of operating a lighting fixture comprising a plurality of discrete illumination sources of distinguishably different color coordinates comprises determining target color coordinates and luminous flux at which to operate the lighting fixture, determining input electrical power values for each of the plurality of discrete illumination sources that substantially produce the target color coordinates and luminous flux by referencing a calibration data lookup table having calibration data based on measurements of the plurality of discrete illumination sources, determining a color mixing zone defined by three distinguishably different color coordinates of the plurality of discrete illumination sources within which the target color coordinates lie according to the calibration data, determining luminous flux ratios for each of the plurality of discrete illumination sources having one of the three distinguishably different color coordinates defining the color mixing zone that substantially produces the target color coordinates.

Inventors:
GAMBESKI GANNON T (US)
ECKEL DAVID P (US)
SECILMIS SECKIN K (US)
WALSH ANDREW B (US)
WARING RICHARD (US)
LEE RAND (US)
JENKINS DAVID (US)
JAKUC MATTHEW (US)
REEDER JEFFREY (US)
Application Number:
PCT/US2011/026269
Publication Date:
September 01, 2011
Filing Date:
February 25, 2011
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
BE AEROSPACE INC (US)
GAMBESKI GANNON T (US)
ECKEL DAVID P (US)
SECILMIS SECKIN K (US)
WALSH ANDREW B (US)
WARING RICHARD (US)
LEE RAND (US)
JENKINS DAVID (US)
JAKUC MATTHEW (US)
REEDER JEFFREY (US)
International Classes:
G03F3/08; H05B44/00
Domestic Patent References:
WO2009035493A12009-03-19
WO2008065321A12008-06-05
WO2009034060A12009-03-19
WO2009035493A12009-03-19
Foreign References:
US20080215279A12008-09-04
US20050275912A12005-12-15
US20100007588A12010-01-14
US20090140630A12009-06-04
US20090001251A12009-01-01
US20070034775A12007-02-15
US20070103646A12007-05-10
US20050174309A12005-08-11
US20080215279A12008-09-04
US20090021955A12009-01-22
US20100007588A12010-01-14
US20050275812A12005-12-15
Other References:
C. HOELEN ET AL.: "Color Tunable LED Spot Lighting", PROCEEDINGS OF THE 6TH INTERNATIONAL CONFERENCE ON SOLID STATE LIGHTING (SPIE, vol. 6337, 2006, XP002720441, DOI: doi:10.1117/12.694799
Attorney, Agent or Firm:
FREY, David, A. et al. (191 N. Wacker Drive Suite 370, Chicago IL, US)
Download PDF:
Claims:
WHAT IS CLAIMED IS:

1. A method of calibrating a lighting fixture comprising a plurality of discrete illumination sources of distinguishably different color coordinates, the method comprising:

measuring color coordinates of each of the plurality of discrete illumination

sources;

determining a color mixing zone defined by three distinguishably different color coordinates of the plurality of discrete illumination sources within which a target color coordinates lie;

determining luminous flux ratios for each of the plurality of discrete illumination sources having one of the three distinguishably different color coordinates defining the color mixing zone that substantially produces the target color coordinates; and

determining input electrical power levels for each of the plurality of discrete illumination sources that generate the determined luminous flux ratios.

2. The method according to claim 1, wherein the discrete illumination sources are light- emitting diodes (LEDs).

3. The method according to claim 1, wherein the input electrical power is provided using pulse width modulation (PWM) of an electrical signal.

4. The method according to claim 1, wherein the plurality of discrete illumination sources include discrete illumination sources having primary wavelengths in the visible red, green, blue, and white color regions of a color space.

5. The method according to claim 1, wherein the determined input electrical power levels are normalized pulse width modulation (PWM) duty cycle ratios.

6. The method according to claim 1, further comprising recording a measured temperature To of the discrete illumination sources measured during the measurement of the color coordinates.

7. The method according to claim 1, further comprising determining electrical input power levels for each of the plurality of discrete illumination sources that generate a target luminous flux at the target color coordinates.

8. The method according to claim 1, wherein measuring color coordinates of each of the plurality of discrete illumination sources comprises measuring operating color coordinates of each of the plurality of discrete illumination sources when substantially producing the target color coordinates.

9. The method according to claim 8, wherein measuring the operating color coordinates comprises compensating for heating effects of neighboring discrete illumination sources when determining the color coordinate and luminous flux of a given discrete illumination source.

10. A method of operating a lighting fixture comprising a plurality of discrete illumination sources of distinguishably different color coordinates, the method comprising:

determining target color coordinates and luminous flux at which to operate the lighting fixture;

determining input electrical power values for each of the plurality of discrete

illumination sources that substantially produce the target color coordinates and luminous flux by referencing a calibration data lookup table having calibration data based on measurements of the plurality of discrete illumination sources; determining a color mixing zone defined by three distinguishably different color coordinates of the plurality of discrete illumination sources within which the target color coordinates lie according to the calibration data;

determining luminous flux ratios for each of the plurality of discrete illumination sources having one of the three distinguishably different color coordinates defining the color mixing zone that substantially produces the target color coordinates; and

determining input electrical powrer levels for each of the plurality of discrete illumination sources that generate the determined luminous flux ratios.

11. The method according to claim 10, wherein determining the input electrical power values for each of the plurality of discrete illumination sources comprises determining a current operating temperature of the plurality of discrete illumination sources and calculating compensated input electrical power values based on the calibration data and a difference between the current operating temperature and the measured temperature of the calibration data.

12. The method according to claim 11, wherein determining the color mixing zone comprises compensating the color coordinates of the plurality of discrete illumination sources for the difference between the current operating temperature and the measured temperature of the calibration data.

13. The method according to claim 11, wherein determining the input electrical power values for each of the plurality of discrete illumination sources further comprises compensating for a change of the color mixing zone due to changes in the operating color coordinates of the plurality of discrete illumination sources.

14. The method according to claim 10, wherein the discrete illumination sources are light- emitting diodes (LEDs).

15. The method according to claim 10, wherein the input electrical power is provided using pulse width modulation (PWM) of an electrical signal.

16. The method according to claim 10, wherein the plurality of discrete illumination sources include discrete illumination sources having color coordinates in the visible red, green, blue, and white color regions of a color space.

17. The method according to claim 10, wherein determining the input electrical power values for each of the plurality of discrete illumination sources comprises compensating for the length of time the plurality of discrete illumination sources have been operating.

Description:
CALIBRATION METHOD FOR LED LIGHTING SYSTEMS

CROSS REFERENCE TO RELATED APPLICATIONS

[0001] The present application is a continuation-in-part of U.S. Patent Application Serial Number 12/566,146, filed on September 24, 2009, which claims the priority benefit of U.S. Provisional Application No. 61/099,713, filed September 24, 2008, entitled, "An Aircraft LED Washlight System and Method for Controlling Same" and U.S. Provisional Application No. 61/105,506, filed October 15, 2008, entitled, "An Aircraft LED Washlight System and Method for Controlling Same." The present application claims the priority benefit of the above-referenced applications, and also claims the priority benefit of U.S. Provisional Application No. 61/308,171, filed February 25, 2010, entitled "Lighting System for Vehicle Cabin," U.S. Provisional Application No. 61/320,545, filed April 2, 2010, entitled "Lighting System for Vehicle Cabin," and U.S. Provisional Application No.

61/345,378, filed May 17, 2010, entitled "Lighting System for Vehicle Cabin." All of the above-referenced applications are herein incorporated by reference in their entirety.

BACKGROUND

[0002] Washlights are used to provide lighting accents generally via indirect lighting (i.e., an area is illuminated primarily by light from the illumination source that is reflected off of another surface). For vehicles in general, and specifically here for aircraft, washlights can be used to create various moods, particularly when colored lighting is used.

[0003] Advances in light emitting diode (LED) technology has made them an ideal source of light where low-powered lighting solutions are desirable, which is particularly true in aircraft in which power availability is limited. However, with known systems, a degree of sophistication is lacking with regard to the full range of control that is possible with the use of LEDs and light sources having similar properties.

[0004] One problem introduced by the use of LED lighting technology is the light output by different LEDs of the same type and model can vary in intensity given the same input electrical signal. Variances in brand new LEDs are due to variances in manufacturing processes. The output of the LEDs can also vary over operating temperature and with the length of time that the LEDs have been in service (i.e., their age). Thus, a washlight installation that includes multiple LED lighting modules may not have uniform lighting characteristics (e.g., color, color temperature, and brightness) if all the LEDs of each type in the LED lighting modules operate using the same input electrical signal. Likewise, a new LED lighting module that replaces one out of many older LED lighting modules in a washlight installation may also not have lighting characteristics that match the older LED lighting module which is replaced when operating using the same input electrical signal.

SUMMARY

[0005] A method of calibrating a lighting fixture comprising a plurality of discrete illumination sources of distmguishably different color coordinates comprises measuring color coordinates of each of the plurality of discrete illumination sources, determining a color mixing zone defined by three distmguishably different color coordinates of the plurality of discrete illumination sources within which a target color coordinates lie, determining luminous flux ratios for each of the plurality of discrete illumination sources having one of the three distmguishably different color coordinates defining the color mixing zone that substantially produces the target color coordinates, and determining input electrical power levels for each of the plurality of discrete illumination sources that generate the determined luminous flux ratios.

[0006] A method of operating a lighting fixture comprising a plurality of discrete illumination sources of distmguishably different color coordinates comprises determining target color coordinates and luminous flux at which to operate the lighting fixture, determining input electrical power values for each of the plurality of discrete illumination sources that substantially produce the target color coordinates and luminous flux by referencing a calibration data lookup table having calibration data based on measurements of the plurality of discrete illumination sources, determining a color mixing zone defined by three distmguishably different color coordinates of the plurality of discrete illumination sources within which the target color coordinates lie according to the calibration data, determining luminous flux ratios for each of the plurality of discrete illumination sources having one of the three distmguishably different color coordinates defining the color mixing zone that substantially produces the target color coordinates, and determining input electrical power levels for each of the plurality of discrete illumination sources that generate the determined luminous flux ratios. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] The invention is described below with reference to the drawings that illustrate various embodiments of the invention.

FIG. 1A is a block diagram illustrating an exemplary configuration of lighting system components;

FIG. IB is a block diagram illustrating the primary components of a lighting module group;

FIG. 1C is a hierarchical tree diagram illustrating the different levels of lighting;

FIG. ID is a block diagram illustrating regional groupings of modules;

FIG. 2A is a bottom view of an exemplary lighting module;

FIG. 2B is a side cross-sectional view of the lighting module shown in FIG. 2A;

FIG. 3A is a pictorial view of an exemplary lighting module showing its plug assemblies;

FIG. 3B is a pictorial view of an exemplary lighting module group;

FIGS. 4A-C are respective side, top, and perspective views of an exemplary lighting module group connected in a U-shaped manner;

FIG. 5 is a block diagram illustrating various configurations of lighting module groups;

FIG. 6 is an exemplary flowchart for scene change using the ACP; and

FIG. 7 is a block diagram illustrating an exemplary connection of LRUs to an

RS 485 communications bus.

FIG. 8 illustrates a CIE 1931 chromaticity diagram.

FIG. 9 illustrates a method of mixing the light output from multiple LEDs of different colors to produce a desired color set point.

FIG. 10 illustrates a method of calibrating an LED lighting module.

FIG. 11 illustrates an iterative method of obtaining color coordinates and flux of

LEDs of an LED lighting module. FIG. 12 illustrates a color shift measurement method of obtaining color

coordinates and flux of LEDs of an LED lighting module.

FIG. 13 illustrates a direct measurement method of obtaining color coordinates and flux of LEDs of an LED lighting module.

FIG. 14 illustrates a method of adjusting the PWM duty cycle ratios for the LEDs to compensate for temperature variations.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

OVERVIEW AND STRUCTURAL HIERARCHY

[0008] A modular lighting system is provided in which the modules or module groups contain an intelligent control. Figure 1 A provides an exemplar organization of a grouping hierarchy that may be used in the aircraft lighting system 10. The lighting system may be broken down into different addressable lighting regions 20 that could be used on an aircraft. For example, the regions on an aircraft could include: sidewall lighting, cross-bin lighting, over wing exit lighting, ceiling lighting, direct lighting, etc. The regional breakdown of the lighting system allows lighting control over broad areas of the aircraft.

[0009] Within each of these regions 20, one or more lighting module groups 60 may be provided. These module groups 60 may be fashioned as line replaceable units (LRUs) to enable quick assembly, maintenance, and replacement. For example, one module group 60 could be for the main cabin cross-bin lighting for rows 10-15.

[0010] The aircraft lighting system 10 further comprises a system controller 30 that can use, e.g., an attendant control panel (ACP) 40 as the primary user interface for attendants controlling the lighting during a flight (including on-ground parts of a flight), as well as for maintenance.

[0011] The LED modules in the system are designed to be interconnected with one another into module groups. The attached Appendix provides illustrations of the bracketing and cabling that may be used in order to connect the modules together and to the existing aircraft structure for mounting. [0012] The lighting module groups 60 each comprise a power supply 70 that converts the aircraft power into a power usable by the module group 80, and may comprise a filter 80 for filtering out harmful noise and other signals. Each module group comprises a module group controller 90 that can intelligently handle high-level instructions from the system controller 30 and possibly provide useful information back to the system controller 30.

[0013] The lighting module group 60 may comprise one or more lighting modules 110 that each, in turn, comprise a plurality of LEDs 130 that may be organized in LED groups 120. Note that an individual LED 130 could belong to more than one group 120. For example, an LED 130 could be arranged according to one group based on the manufacturer, and could be arranged in another group based on its color.

[0014] Note that when the lighting module group 60 comprises a single lighting module 110, the characteristics (such as power supply 70, filter 80, and controller 90) can be associated with the module 110 itself. In other words, the lighting module group 60 and lighting module 110 could be construed as the same thing when there is only a single module 110 in the group 60.

[0015] Each module 110 can be designed to comprise one or more of the following: a) control circuitry 90 for controlling the module and possibly other attached slave modules 110' in a group 60; b) power supply circuitry 70 to enable an LED washlight to function off of, e.g., a 115 VAC, 400 HZ power source. The power supply 70 can, e.g., receive 115 VAC, 400Hz in and convert it to 28 VDC, 12 VDC, 5 VDC, or whatever DC voltage is typically necessary for LEDs and electronics to operate. The power supply 70 design is preferably a switching power supply, but could also be a linear or other topology with approximately a 75% - 85% efficiency and receive approximately 7.5 W in and provide 5.7 W out to the LED, microcontroller and other electronics load; and c:) filtering circuitry 80 to filter incoming power to the modules and ensure that no problematic harmonic emissions, spikes or other undesirable power conditions are introduced back onto the aircraft power bus.

[0016] The LEDs 130 within a module can possibly be controlled individually, within specific groupings of LEDs 120 within a module, or collectively (all LEDs in a module).

The groupings 120 can comprise arbitrary numbers of LEDs, or can be grouped according to area zones, color, LED characteristics, or other schemes. [0017] Figure 1C shows the overall hierarchical structure in an exemplary design, although it should be noted that various levels of the hierarchy do not necessarily need to exist in every embodiment. Figure ID is an exemplary configuration, showing the ACP 40 (discussion of the ACP 40 herein can also infer reference to the associated system controller 30) that is connected to a number of regional lighting configurations 20. The ACP 40 can communicate via ports, such as an RS-485 port, or a networking port using, e.g., Ethernet, TCP/IP, etc. Figure ID shows that the different lighting components can be lighting module groups 60 or individual lighting modules 110 themselves (which could also be construed as a module group 60 having a single lighting module 110).

[0018] Figure 2A is a bottom view of an exemplary lighting module 110. As can be seen, individual LEDs 130 A 1.1, 130 A1.4, can be organized into LED groups (the two noted LEDs belonging to LED group 120 Al . The LEDs 130 can be identical to each other (in terms of color or other operational characteristics), or they can be different. Similarly, the LED groups 120 can be identical to one another (e.g., 120 Al, 120A2), or can be different from one another (e.g., 120A1, 120 Bl). The LEDs could be arranged in any configuration. Figure 2B is a side cross-sectional view of the module 110 shown in Figure 2A, illustrating an exemplary layout of the circuit components within the module case. Although Figure 2B illustrates the power supply 70, filter 80, and module group controller 90 being arranged at a particular location on the PCB, the actual location of the components can be changed based on engineering design principles. For example, the power supply or other components could be flipped over on a back plate to facilitate heat transfer.

[0019] Figure 3 A shows a module 110 configured as a LRU, having a power plug assembly 112, and a terminating connector 114 that can be used to join the module 110 with additional modules 110.

[0020] As noted above, the modules 110 may be collected together into module groups 60, e.g., three modules 1 10 to a module group 60. Figure 3B shows a collection of three such modules 110 arranged as a group 60. Figures 4A-C illustrate another arrangement of modules 110 into module groups 60, the modules 110 being arranged in a U-shaped parallel configuration.

[0021] Although Figures 4A-C show individual modules 110 that each have an extruded housing and are interconnected via plugs. However, it is also possible that the module groups 60 comprise a common housing and that the individual modules 110 are implemented as printed circuit boards within the housing and are joined together via, e.g., a jumper board, or other form of plug. These designs facility ease of assembly and ease of repair, and a modular configuration with housing and mounting brackets permits extremely easy and efficient installation and removal.

[0022] As is illustrated in Figure 5, a module group 60, may comprise all master modules (Configuration 1) that are each externally connected to an external controller and controlled independently of one another. Or, (Configuration 2) the group may comprise any combination of master modules that are directly connected to and controlled by an external controller and slave modules 110' that receive communications and control signals through a connected master module 110.

[0023] Configuration A illustrates a module group 60 in which each module 110 comprises a power supply70, a filter 80, and a controller 90. However, in Configuration B, it can be seen that the first module 110 only comprises a filter, whereas the second module 110 comprises the power supply 70 and control, and finally, the third module 110 does not comprise a power supply 70, filter 80, or controller 90. In this illustration, the third module 110 is a dummy that just accepts the power and control from a different module in the group.

[0024] For a module group 60, there can be one power supply 70 per unit or two power supplies 70 per unit preferably at opposite ends of the device and also preferably fitting within a washlight extrusion or within a bracket area at each end of the washlight. If more power is needed, the power supply 70 can also extend into a bracket area that connects lighting units together into an assembly, which can increase the power output capability.

[0025] The LEDs 130 can be fed from one or both power supplies 70 either in a linear array, alternating LEDs 130 or in a U-shaped array or any combination thereof. These configurations perform slighting differently when the LEDs 130 are powered up or if one string of LEDs goes out.

[0026] The two linear strip array approach also allows for light levels to be increased incrementally and independently which should help extend the life of the device because each power supply 70 could alternate their operation thus allowing each power supply 70 to run at lower than maximum levels and/or be off for periods of time to allow the power supply 70 to cool off. The power to a specific LED 130 can be controlled via modifying the voltage/current level to the LED or by a scheme such as pulse-width modulation, etc.

[0027] Also, additional external power supplies 70 that are preferably located within the bracket area can be added and controlled in the same manner above thus increasing the overall power output and life of the device.

[0028] As noted above, the modules 110 themselves or module groups 60 can collectively be controlled by a master or system controller 30. Such a master controller 30 can permit operation of the modules 110 or module groups 60 at a much higher functional level than has previously been possible.

USE OF SCENES

[0029] A very high level of control involves defining various "scenes" that dictate certain lighting characteristics that can be applied, e.g., airplane -wide. The use of these high level scenes can greatly simplify complex lighting control, and can permit, e. g., a flight attendant, to select a scene from a few basic scenes to create a particular lighting pattern, using the attendant control panel (ACP) 40 that is connected to the system/main controller 30.

[0030] For example, a scene designated "entry/exit" or "cleaning/maintenance" might designate a maximum level of white lighting (e.g., 5000 Kelvin), whereas a scene of "daylight mid- flight" might designate a moderate level of lighting with a cooler color temperature (e.g., 3000 Kelvin) having more of a yellow component. A scene of "night-time sleeping" might designate a very dim blue lighting. In this way, specific predefined scenes can be used to easily control the cabin lighting. It is possible to provide an override that would let the specific level for each color group be manipulated from a user interface of the main control device.

[0031] The controller 30 itself may have corrective algorithms that permit precise adjustment of the LEDs 130 and that could, e.g., compensate for aging LEDs 130, color shifts, etc., over time. Similarly, the corrective algorithms could reside in the module groups 60 or modules 110 themselves. [0032] Furthermore, when transitioning from one scene, or even color/level setting, specific algorithms can be implemented to effect a smooth transition— which is not necessarily a linear adjustment of each respective color. Thus, to adjust from 100% brightness to 20% brightness from white to blue, a linear adjustment might introduce an undesirable red component in the transition. Thus, in one embodiment, specific look-up tables (LUTs) can be provided that are used by the controlling processor(s) (system controller 30, and/or group/module controller 90) containing the necessary brightness values for properly adjusting during the transition. The control may be effected using software algorithms specifically designed for creating scenes and controlling the transitions.

POWER CONTROL

[0033] Furthermore, given certain restrictions on the use of power, it may be desirable to provide the control circuitry (in the system 30 and or group/module controller 90) with the ability to limit the overall power consumption to be within some specified limit, and this limit could vary depending upon the situation of the aircraft. This permits precise control of the system, even though the collective power consumption of the system might exceed predefined limits.

[0034] For example, the lighting system may, when fully engaged in its brightest configuration, consume 2000 W. However, there may be a limit imposed on power used in flight of 1000 W, whereas it is permissible to use the full 2000 W when on the ground and parked. In this scenario, the controller could ensure that no more than 1000 W is delivered to the lighting system when the plane is in the air.

[0035] One way to achieve this is to have a database of the power consumption characteristics for each module 110 associated with the master control 30. In the event that a request is received that would exceed the permissible values, the master control 30 could appropriately reduce the light levels to keep the system under the necessary limits. For example, if a flight attendant inadvertently selected the scene "entry/exit" with its maximum lighting requirement of 2000 W, the master controller could detect that this is improper and limit the levels to 50% or less so that the 1000 W cap is maintained.

[0036] Scene developer's software can be provided to ensure that no scene or mode will exceed a fixed or variable total power consumption for the entire lighting system 10, a given application type, LRU or device. The software can automatically regulate the wattage load and notify the user or programmer, etc., that the limit is being approached, has been met, or has been exceeded, and once met will not allow anymore devices to be added.

[0037] Additionally, the controller 30 can have another option to allow for random and/or identifiable priorities to be set for lighting applications, LRU's or devices so that a maximum power will not be exceeded by reducing the total power to selected applications, thus automatically scaling back the light output on lower priority applications while allowing more to others.

[0038] This may be linear or employ more complex relationships and algorithms and weighting factors to each load type. This is preferably done automatically without user intervention and displays and memory tables can be used to show and store lookup values respectively for current draw, wattage consumption, priority settings, etc., and this information along with the final configuration can be displayed in the manufacturing equipment, in field flight attendant panels, etc. This software may be stored in a master controller 30 or LCD display of the ACP 40 and information about individual lighting loads as requirements can also be sent (or preloaded) and stored in the lighting device (module group 60 and/or modules 110) itself, as required.

[0039] Summarizing and providing more detail, an aircraft lighting system 10 may incorporate numerous modules (modules 110 or groups 60), each comprising a plurality of LEDs 130. In this system 10, the following attributes can be provided: lights and groupings at any level (LED 130, LED group 120, module 110, module group 60, region 20, and whole system 10) can be, but do not need to be, individually addressable.

[0040] Advantageously, a hierarchy of "groups" or "zones" of lights and modules are provided in a manner that is easier to control and that allow the lights to function together. The system 10 can provide dynamic scenes that change over time, and these scenes can be simply controlled via control logic 30 associated with the Attendant Control Panel (ACP) 40.

[0041] In one embodiment, the lighting units (either modules 110 or module groups 60) as line-replaceable units (LRUs) can be shipped from the factory with pre-configured scene information already stored. A base set of scenes, such as those described above, could be programmed into the modules 110 or groups 60 so that they can be easily integrated into an existing system. The system 10 can also comprise a scene creation tool that permits a scene developer to design their own scenes and transitions between scenes. This could also be integrated with the power management tool to help ensure that maximum permitted power is not exceeded, or to help reduce power consumption costs. Additionally, in one embodiment, multiple intensities for the same scene can be designated. For example, the mid-flight scene could be provided in a High/Medium/Low/Night setting.

[0042] In a preferred embodiment, some system intelligence can be placed within a scene generation tool of the group 60 controller 90. In such a design, the lighting LRU 60 firmware in the controller 90 is simple, and the same. The system 10 can be designed to prohibit updating of the LRU 60 electrically erasable (E ) memory in the field (under the design guide that devices returned to the factory should be in the same configuration they were when they left). In this scenario, controller communications are minimized, and a smaller bandwidth can be realized.

[0043] An exemplary LRU E memory layout of scene data is provided below: (for the purpose of this illustration: High = 0, Med = 1, Low = 2, Night = 3). This assumes, of course, that four intensity settings will be provided for each scene (thus, all scenes will actually have four rows worth of data each in the memory layout), although this number could vary.

[0044] Unused scenes and/or intensity variations can simply have 0's for all light values (ensuring that they are off for that selection). Not all columns will be used by all light types, but all will be present on all lighting unit LRU's 60. The lighting LRU 60 type is preferably written to E memory during a final calibration phase (along with the calibration data), when the unit is about to leave the production center. A serial number of the unit can be provided, and its characteristics can be associated and stored for later reference. The lighting LRU firmware can use the light type in its E memory in order to determine which values to use.

[0045] The following table illustrates an exemplary arrangement for storing a scene table.

Scene Intensity Red Value Green Blue White #1 White #2 Amber Scene

# (1 byte) (2 bytes - Value Value Value Value Value Transition (1 10 bits (2 bytes (2 bytes - (2 bytes - (2 bytes (2 bytes Time byte) used) - 10 bits 10 bits 10 bits - 10 bits - 10 bits (millisec; 2 used) used) used) used) used) bytes)

0 0 (High) OxORRR OxOGGG OxOBBB OxOWWW 0 0 0x7530

0 1 (Med) OxORRr OxOGGg OxOBBb OxOWWw 0 0 0x7530

0 2 (Low) OxORrr OxOGgg OxOBbb OxOWww 0 0 0x7530

0 3 (Night) OxOrRR OxOgGG OxObBB OxOwWW 0 0 0x7530

11 0 (High) OxORRR OxOGGG OxOBBB OxOWWW 0 0 0x7530

11 1 (Med) OxORRr OxOGGg OxOBBb OxOWWw 0 0 0x7530

11 2 (Low) OxORrr OxOGgg OxOBbb OxOWww 0 0 0x7530

11 3 (Night) OxOrRR OxOgGG OxObBB OxOwWW 0 0 0x7530

Table 1

Exemplary Scene Data Storage Table

[0046] Utilizing this philosophy, the entire scene table can occupy approximately 708 bytes of E memory for 12 scenes. Calibration data may be stored in a similar fashion (as shown by the sample table below).

Table 2

Exemplary Calibration Data Storage Table

[0047] Thus the there can be one bias table entry (calibration offsets) for each intensity group. For the example shown of four intensities, the entire table will have four rows (occupy 48 bytes). If required, the bias table could be expanded so that every built-in scene has its own bias entry.

[0048] The preferred operation is that on LRU 60 power up, the firmware will load the scene for # 0, High intensity and the bias table values for high into RAM, and attempt to establish communications over a communication link, such as RS-485 with the ACP 40. Failure to establish communication with the ACP 40 within a specified time interval can, e.g., result in this default scene being activated. This provides a failsafe mode in the event that the ACP 40 is broken, missing, or non- functional, and will allow there to be light on board the aircraft. An extra scene can be provided as the "failsafe" with little impact to memory requirements. Upon receipt of a valid command from the ACP 40 to change scene selection or intensity, the appropriate table entries can be loaded into RAM by the firmware, and the scene transitioning will start to occur.

[0049] Under this scheme, the ACP 40 does not need to "know" anything related to the default "canned scenes". It merely sends a broadcast message on all of its communication (e.g., RS-485) ports to change to scene # X, with intensity level Y), to elements at the regional 20, module group 60, or module 120 level. A one-time correlation can be made in the ACP 40 that, e.g., scene 1 = Boarding / Disembark, 2 = Safety Video, 3 = Taxi / Takeoff / Ascent, etc., so that the display activation sends out the correct scene number to correspond to the data contained in the internal tables. This simple scheme satisfies all of the requirements for a baseline system.

PROTOCOL CONSIDERATIONS

[0050] As previously stated, the ACP 40 will not have to do anything special for an "out of the box" system 10. It can merely broadcast and repeat (at predetermined intervals) the current scene number and intensity value. If a particular light type does not participate in that scene, its table entries will all be 0, and those lights will remain off.

[0051] The protocol can be configured to allow for BIT/BITE, LRU Grouping or Zones, Custom Scenes, and Maintenance Modes. The BIT/BITE sequence is rather simplistic— it is a request for address status, and a reply. If no reply is received, the fault is logged/displayed etc. Grouping or Zones preferably occur from the ACP 40.

[0052] A mechanism may be provided to tell each addressed LRU 60, 110 what group it belongs to (e.g., kept in RAM in the lighting LRU 60, 110). This should be resent by the ACP 40 at each system power up and on change (assuming the ACP 40 allows for dynamic moving of zones). The messages sent from the ACP 40 to the lighting LRUs 60, 110 can then incorporate the group number for which the scene/intensity change is directed. Only lighting LRUs 60, 110 that have been configured to be a member of that group or zone, will actually respond to the request for scene change. [0053] In a preferred embodiment, the minimum packet size is 6 bytes, and the maximum packet size is 256 bytes

[0054] Each scene change initiated at the ACP 40 can result in a notification message being broadcast to each LRU 60, 110 three times, spaced a predefined number of milliseconds apart. The ACP 40 can debounce scene selections (consecutive button presses) for, e.g., predefined number of milliseconds. The ACP 40 can periodically re-broadcast the current scene selection at predefined intervals.

[0055] A group value of "ALL" may also be included to force all lighting units when zones are employed. For the custom scene portion, the ACP 40 will once again need to be involved, since it would be undesirable to remove the lighting units and return them to the factory for addition of new scenes.

[0056] Basically, when the custom scene is selected, the ACP 40 can use a message to send the custom intensity values to the lighting LRUs 60, 110. When the lighting LRUs 60, 110 receive these commands, they then place the data into RAM and begin the scene transition. Custom scenes do not have to have any bias or calibration applied to them, since they may not have been developed at the production facility and calibrated for uniformity. Maintenance modes can be provided as well.

SCENE GENERATION

[0057] A PC-based scene generation tool can be used as the brains of the system, and can incorporate any of the compensation equations for temperature and intensity variations. It is preferably the place to perform the calibration of LRU's as they leave the factory, since it can easily compare a database of expected values to measured ones, and calculate the necessary biases to achieve the desired results. It can also be used to limit system physical temperature and current draw. The tables that this tool may produce can have all of these factors taken into consideration, and may be what is eventually stored in the individual lighting LRUs 60, 110.

GENERAL CABIN LIGHTING COMMUNICATIONS PROTOCOL

[0058] As noted above, the general cabin lighting system 10 is used to illuminate the interior cabin of the aircraft. The system 10 may comprise two main parts, the lighting units (grouped 60 or modules 110) and the ACP 40. The ACP 40 may be used as the main interface point for cabin attendants and maintenance personnel. It allows input from users to execute the various cabin lighting scenarios inside the aircraft cabin. The lighting units 60, 110 are the physical units installed throughout the aircraft which are used to illuminate the aircraft cabin to the lighting scenarios selected.

[0059] The following description of different communication functions is split into four sections: Normal Operation, Addressing Operation, Bit/Bite Operation and other Misc Operations that may occur (loss of communications, decompression, etc.).

NORMAL OPERATION:

General Command Format:

<SOT> <DEVICE ID> <ADDR> <STATUS> <CMD> <DATA> <D_TIME> <XOR CHECKSUM> <EOT>

Device IDs: Device ID

9150 Ceiling Wash Lights (RGB+W) <DEVICE ID> = "A" 0x41

9150 Sidewall Wash Lights (RGB+W)

9150 Cove Wash Lights (RGB+W)

9250 Over- Wing Wash Lights (RGB+WW)

9200 Cross-Bin Wash Lights (W+A) <DEVICE ID> = "B" 0x42

92XX COS Wash Lights (W+A)

[0060] Note that certain lighting units behave identically to the another family of washlights. For example, the 9250-XXX family of washlights is virtually identical to the 9150 family of washlights except for the additional white LEDs that are powered and controlled by a separate dedicated 6VDC emergency power line.

[0061] Figure 6 is a flowchart illustrating normal operation. The system sits in an idle state and waits until the ACP is actuated S210. Once activated, it is determined whether a lighting scene is activated S212; if so the process continues on. The ACP accesses the lighting database for the scene selected S214, and then parses the database and begins transmitting to each LRU the intensity and color commands S216.

[0062] The lighting LRUs receive the command and begin to transition to the color/intensity received S218. A rebroadcast for all messages for scene selected S220 may be performed, and the scene transmission may then be completed S220 once the necessary rebroadcasting is complete. It should be noted that the ACP40 and associated controller 30 can pass information to the LRUs 60, 110 at a very basic level (brightness level, color information, if possible) to the addresses, e.g., of each individual LED 130. It could also send information to LED groups 120. At a higher level, the information regarding which scene should be activated and be provided as well.

[0063] The communication to and between groups 60, modules 110, the system controller 30, etc., can be done via an RS-485 multi-drop bus, which can handle up to 255 devices and at a rate of 115200 bps. An exemplary command is provided below.

9150-XXX Ceiling, Sidewall, Cove and Direct Washlights fRGB+ W)

Protocol

Table 3

Exemplary Protocol

CMD Set Description

G2.

Gl = 0x20 offset + Most Significant 5 of 10 bits (GREEN)

G2 = 0x20 offset + Least Significant 5 of 10 bits (GREEN)

**G1,G2 = If G1,G2 = OxCO then the intensity value is to remain unchanged

Bx = The Blue intensity value is 10 bits wide and split into 2 bytes, Bl and B2.

Bl = 0x20 offset + Most Significant 5 of 10 bits (BLUE)

B2 = 0x20 offset + Least Significant 5 of 10 bits (BLUE)

**B1,B2 = If B1,B2 = OxCO then the intensity value is to remain unchanged

Wx = The White intensity value is 10 bits wide and split into 2 bytes, Wl and W2

Wl = 0x20 offset + Most Significant 5 of 10 bits (WHITE)

W2 = 0x20 offset + Least Significant 5 of 10 bits (WHITE)

**W1,W2 = If W1,W2 = OxCO then the intensity value is to remain unchanged

<D_TIME> = D1,D2

Dx The scene transition time <D TIME> represents the number of

seconds the scene will be transitioning. It is a 10 bit wide value and split into 2 bytes, Dl and D2.

Dl = 0x20 offset + Most Significant 5 of 10 bits

D2 = 0x20 offset + Least Significant 5 of 10 bits

ADDRESSING OPERATION:

[0064] As noted above, each lighting unit may incorporate an address. This address helps to identify the location of the lighting unit in the aircraft. Using a lighting layout of passenger accommodation (LOP A), an individual could determine the exact position of the light in the aircraft. Addressing each light makes the system capable of handling multiple zones of lighting, and also allows the systems to do built-in test equipment (BITE) testing to locate faulty LRUs.

[0065] The ACP 40 and associated controller 30 can control addressing of the washlights. The ACP 40 can use a Token communications line in addition to the RS485 line to help address the washlights. Each Washlight LRU may have an RS485 transceiver, Token-In, and Token-Out Lines.

[0066] The Token Lines may be used to identify which washlight is currently being addressed. If a washlight 's Token-In line is active, then the washlight is currently being addressed and any Address Input Messages are intended solely for that device. If the washlight receives the address input message it can acknowledge the receipt of an address with an Address ACK Message. This signifies that addressing is complete for the device and it is time to move on to the next device. Next, the ACP 40 can pass the token by sending a Pass Token Command which will allow the next washlight in the column to be addressed. Once this is received, the currently addressed washlight will set its Token-Out line active so that the next sequential washlight can be addressed. In conjunction, the previous addressed device will set its Token-Out line inactive to complete addressing operations for the currently addressed unit.

[0067] Figure 7 illustrates this addressing. In Figure 7, the Center LRU is currently being addressed since its Token-In Line is active (Pulled to ground) by the previously addressed LRU. The Specifications for this communication are as follows:

Control Method: RS485 Half-Duplex

S485 Transceivers Load: 1/8 Load, Max possible devices = 255

Baud Rate: 115200 bps

Baud Rate Tolerance: ±185 bps

Message Frequency: Messages in Address mode should have a 50ms pause between commands.

Token Line Vm: 4.7VDC MIN in respect to the washlights Token Ref Line.

Token Line V IL : 0.3VDC MAX in respect to the washlights Token Ref Line.

Protocol

CMD SET DESCRIPTION

<SOT> : 0x01 - Start of Transmission Character <EOT> = 0x04 - End of Transmission Character

<ADD > = 0x21 - OxFF, 0x20 offset + 5 bit address value, MAX possible devices =

222

0x20 = the general broadcast address. And as such is not used.

Address Input Message.

<CMD> = "A" 0x41 - This command sets the washlights address.

Address ACK Message.

<CMD> = "B" 0x42 - This command is the acknowledgement message from the washlight.

Pass Token Command:

<CMD> = "C" 0x43 - This command tells the washlights to pass the token

Example Message Format

ACP sends:

Byte 1 : 0x01

Byte 2: 0x21

Byte 3: 0x41

Byte 4: 0x33

Byte 5: 0x34

Byte 6: 0x04

Washlight Responds

Byte 1 0x01

Byte 2 0x21

Byte 3 0x42

Byte 4 0x33

Byte 5 0x37

Byte 6 0x04

ACP sends Pass Token Command:

Byte 1 0x01

Byte 2 0x21

Byte 3 0x43

Byte 4 0x33

Byte 5 0x36

Byte 6 0x04

BIT BITE OPERATION

[0068] The ACP 40 with control 30 controls when BIT/BITE is initiated. The ACP can use the RS485 line to help poll each washlight in the system to determine if the washlight is still active. In addition to polling each device the ACP can send out a lamp test message that will turn on each one of the LEDs on each LRU so a visual check may also be performed.

Protocol

CMD SET DESCRIPTION

Misc OPERATIONS

[0069] A number of miscellaneous operations may also be provided by the system 10.

Checksum Calculation:

[0070] A checksum calculation is provided to help insure the integrity of the transmitted data. The checksum calculation may be a one byte XOR checksum of all the bytes including the SOT byte to the last byte before the checksum value. The checksum has a XOR

PRESET of 0x55. After the checksum calculation is completed the byte is split into the ASCII representation of the value. So if the value = 0xA3, the Checksum values in the message protocol would be 0x41 and 0x33. Below is the C code which does the Xsum calculation on the message and the method which converts it to binary. Decompression Signal:

[0071] The washlights have no direct decompression signal message. If the ACP receives a decompression signal then the ACP should simply send a 100% white intensity command to all lighting units.

Loss of Communications:

[0072] If an LRU losses communications with the ACP, it may remain in the last state which it was commanded.

Device Calibration

[0073] Corrective algorithms and look-up tables may be utilized to calibrate lighting devices for color matching, white color temperature matching, matching over various intensities and use of various LED manufacturers. This may be done at the individual device, LRU, subassembly and complete application level. Corrections may be performed and stored in the lighting devices, LRUs and/or other remote devices including master controllers, etc.

[0074] Corrective algorithms and look-up tables may be utilized to calibrate lighting devices for color matching, white color temperature matching, matching over various intensities and use of various LED manufacturers (to accommodate variations between manufacturers). This can be done at the individual device (LED 130, LED groups 120), LRU (module 110, module groups 60), subassembly (module groups 60, regional lighting groups 20) and complete application (system 10) level. Corrections may be performed and stored in the lighting devices, LRUs 60, 110 and/or other remote devices including master controllers 30, etc.

[0075] It has been recognized that lighting devices 130 can change over time and can change based on usage (power) and environmental conditions. For example, where a change over the lifetime of an LED is known, the operation time of a module 110 can be tracked, and look-up tables can be provided to compensate and adjust for the change over time.

Thus, if an LED was known to fall off to 98% brightness after 200 hrs. use, the time for the module could be tracked and at 200 hrs., a new adjustment value could be applied for that module, or, since it is possible to address LED groups and even single LEDs, it could be possible to resolve the new adjustment values down to the single LED level, if desired. By using look-up tables (LUTs), known variance characteristics of LEDs over time can be compensated for. As noted previously, these tables can reside at the system level on the system controller 30, at the module group/module level on the group controller 90, or could be shared between the two.

[0076] Similarly, characteristics that vary over temperature could be similarly provided in LUTs or some other form of database. Thus, when the modules 110 are ready to ship from the manufacturer, an initial calibration procedure may be performed to determine the exact color wavelength or x, y coordinates on a color chromaticity diagram, and

predetermined tables capable of correcting the LEDs as they age or as they are operated at different temperatures can be provided prior to shipment of the manufactured device.

[0077] Furthermore, the LUTs or other database parameters could be fixed, or, preferably, could be updatable so that as new characteristics of the LEDs is learned, the tables can be adjusted accordingly. In this way, corrective adjustments based on temperature and lifetime use of the modules can be provided.

[0078] In one embodiment, calibration can be done via an internal and/or external optical sensor that accurately reads the color and intensity information produced by a module 110 or module group 60, and adjustment information can be determined based on this feedback. Updated adjustment information can then be provided directly or indirectly into the lighting device, LRU 60, 110, master controller 30, etc.

COLOR MIXING METHOD

[0079] In order for a lighting module 110 to produce specific desired color set points (which includes both color and intensity or luminous flux), multiple LEDs 130 of different types are used in combination such that their mixed light outputs produce the specific desired colors and the desired overall luminous flux. For example, a lighting module 110 may include LEDs 130 that produce colors in each of three primary colors red, green, blue, and white. The lighting module 110 may also include LEDs 130 that produce colors in each of cool white, warm white, and amber. The mixing of the colors of the LEDs to produce the desired color set points may be performed according to known color map characteristics and the specific calibration data for each of the LEDs 130 in the lighting module 110. For example, an LED lighting module 110 that includes LED groups 120 having red, green, blue, and white (RGBW) LEDs 130 may undergo a calibration procedure to determine the actual color coordinates of the RGBW LEDs 130 at a measured temperature. Thereafter, during operation of the LED lighting module 110, a color mixing method may use this data in conjunction with an input specific desired color set point including target color coordinates and total flux value to compute a duty cycle ratio of each of the RGBW LEDs 130 which will produce the specific desired color set point for the overall LED lighting module 110. While the descriptions that follow use the RGBW LEDs as examples, the methodology is also applicable to the set of cool white, warm white, and amber LEDs, any combination of three or more LEDs from within the two sets, and any other potential combination of three or more LEDs.

[0080] FIG. 8 illustrates a CIE 1931 chromaticity diagram. The CIE 1931 chromaticity diagram illustrates on a two-dimensional (x, y) graph all the colors which the normal human eye can perceive. The set of parameters x and y of the chromaticity diagram and an additional luminance parameter Y characterize each visible color in the CIE system, and define the CIE xyY color space. In the CIE xyY color space, the parameters are based on the spectral power distribution (SPD) of the light emitting from a colored object and are factored by measured color sensitivity curves of the human eye. In a lighting module 110 that includes red, green, blue, and white LEDs, a specific desired color set point on the chromaticity diagram may be realized by mixing different intensities of each of the red, green, blue, and white LED light outputs together. Variations in the light outputs of the specific LEDs 130 within a specific lighting module 110 may be compensated for by use of calibration data acquired for the specific LEDs 130.

[0081 ] Specific desired color set points within the chromaticity diagram may only be realized using the specific red, green, blue, and white (RGBW) LEDs 130 of the lighting module 110 when the specific desired color set points fall within geometric zones defined by lines connecting the output colors of each of the specific red, green, blue, and white LEDs 130, as illustrated in FIG. 8. Thus, desired color set points within illustrated zone 1 may be realized using GBW LEDs, desired color set points within illustrated zone 2 may be realized using RBW LEDs, and desired color set points within illustrated zone 3 may be realized using RGW LEDs. In addition, any desired color set point within any of zones 1, 2, and 3 may be realized using RGB LEDs. However, white LEDs tend to be more efficient than red, green, and blue LEDs, so the use of white LEDs improves efficiency in the aircraft lighting system 10 compared to the use of red, green, and blue LEDs alone.

[0082] The required specific intensity values of each of the LEDs 130, and consequently the specific input electrical power to each of the LEDs 130, to achieve a specific desired color set point in the lighting module 1 10 depends upon the actual color characteristics of each of the LEDs as determined by calibration. Thus, a mapping of the RGBW points and zones 1 , 2, and 3 onto the chromaticity diagram may be unique to each installed lighting module 1 10.

[0083] FIG. 9 illustrates a method of mixing the light output from multiple LEDs 130 of different colors to produce a desired color set point. During calibration, the method of FIG. 9 may be performed by the PC controlling the calibration. The method of FIG. 9 may also be employed during operation of the lighting module 1 10, in which case the method may be performed by a controller within the LED lighting module 1 10, within the module group controller 90, or other location which controls the LEDs 130 of the LED lighting module 1 10.

[0084] In a step 910, a desired color set point on the CIE 1931 chromaticity diagram (xa, y d ) for the LED lighting module 1 10 is input. In a step 920, a determination is made as to whether the desired color set point (x d , y d ) is within the color gamut of the LEDs 130 of the LED lighting module 1 10. If the desired color set point (x d , y d ) is determined to not be within the color gamut of the LEDs 130 of the LED lighting module 1 10, the method fails in a step 930. During calibration, the PC may indicate to an operator that the lighting module 1 10 has failed calibration. Alternatively, during operation of the lighting module 1 10, for example, in step 930, a default light output mixture of the multiple LEDs 130 may be set, such as all on at 25% power, 50% power, 75%> power, 90%> power, or 100% power. Alternatively, during operation of the LED lighting module 1 10, in step 930, a color reasonably close or closest to the desired color set point which is within the color gamut of the LEDs 130 may be chosen, and the method may continue to step 940.

[0085] In a step 940, which of one or more color mixing zones defined by the plurality of different color LEDs 130 of the LED lighting module 1 10 within which the desired color set point lies is determined. The color mixing zone may be defined by a triplet of three different primary color points ABC represented in the CIE 1931 XYZ color space corresponding to three different color LEDs 130 of the LED lighting module 110. For example, when the LED lighting module 110 includes LEDs 130 of four different colors (e.g., RGBW), which of three potential color mixing zones the desired color set point lies within is determined (e.g., GBW, RBW, and RGW). For example, the GBW zone may be determined when ya is less than the y value of the line between the G point and the W point at the point xa, and ya is greater than a y value of the line between the B point and the W point at the point xa; the RBW zone may be determined when ya is less than the y value of the line between the B point and the W point at the point xa, and ya is less than a y value of the line between the R point and the W point at the point xa; and the GRW zone may be determined when ya is greater than the y value of the line between the G point and the W point at the point xa, and ya is greater than a y value of the line between the R point and the W point at the point xa. If the desired color set point is determined to fall on the border between two color mixing zones, either color mixing zone may be arbitrarily chosen to represent the desired color set point. The choice of which color mixing zone the desired color set point lies within may be made more efficiently by searching within the zones in the order of their percentage of coverage of the CIE 1931 chromaticity diagram.

[0086] In a step 950, the luminous flux ratios of each of the LEDs 130 in the LED lighting module 110 are set according to the determined color mixing zone to produce the desired color set point. For example, if the desired set point is determined in step 940 to be within the GBW zone, the luminous flux ratio of the red (R) LEDs 130 would be set to substantially zero, and the luminous flux ratios of each of the green (G), blue (B), and white (W) LEDs 130 would be set appropriately to mix to produce the desired color set point on the chromaticity diagram. The following equations may be used to set the input power levels to each of the triplet of different color LEDs 130 in the LED lighting module 110 which are at the endpoints of the color mixing zone determined in step 940:

S BCM

s ABC

S

R ACM

B

s ABC

S ABM

R, C

s ABC where RA, R B , and Rc are the flux ratios of each of the three colors A, B, and C at the endpoints of the determined color mixing zone; M is the desired color set point within the triangle defined by A, B, and C; D is the endpoint of a line drawn from the endpoint C through the desired color set point M to a line connecting endpoints A and B of the determined color mixing zone; and SA B C, S B C M , SAC M , and SA BM are the areas of the triangles formed by the respective endpoints ABC, BCM, ACM, and ABM of the determined color mixing zone.

[0087] Alternatively, the flux ratios may be calculated based on the lengths of the line segments. In this case, the equations are as follows:

R c =≡.

C CD

where DB represents the distance between endpoints D and B, MC represents the distance between endpoints M and C, AB represents the distance between endpoints A and B, CD represents the distance between endpoints C and D, DA represents the distance between endpoints D and A, and MD represents the distance between endpoints M and D.

[0088] In a step 960, the normalized PWM duty cycle ratios each of the LEDs 130 in the LED lighting module 110 are set according to the luminous flux ratios determined in step 950. Because a luminous flux level of each of the triplet ABC of LEDs 130 defining the determined color mixing zone is different at a same PWM duty ratio, the duty ratios are normalized to produce the desired color set point corresponding to the luminous flux ratios determined in step 950. A multiplication factor may be determined by which the luminous flux ratio of each of the different color LEDs 130 is multiplied to arrive at the

corresponding normalized PWM duty ratio. The multiplication factors may be set such that of a plurality of different color LEDs (e.g., four) among the LEDs 130, the multiplication factor for one of the plurality is one, and the multiplication factors for the others of the plurality are set to normalize their PWM duty ratios to the PWM duty ratio of the one of the plurality. Using the example of RGBW color LEDs, the PWM duty ratios of each of the RGBW color LEDs may be computed according to the following equations: PWM R = R R ,

PWM G = k G R G ;

PWM B = k B - R B ;

PWM W = k w - R w . where k ¾ ke, and k are the normalization multiplication factors for each of the respective colors G, B, and W by which the ratios RG, R B , and R W are multiplied to arrive at their respective PWM duty ratios normalized to the PWM R duty ratio. The values of k G , k B , and k w can be computed according to the following equations:

k R = 1;

k w . y w F R .

y R F w

F = 683.002 - Y.

where y R , yo, ye, and yw are the y coordinates in the CIE xyY color space corresponding to the R, G, B, and W color LEDs 130, respectively; and F R , FG, F b , and F W are the F values corresponding to the R, G, B, and W color LEDs 130, respectively, in which Y is the Y coordinate in the CIE XYZ color space corresponding to the R, G, B, and W color LEDs 130.

CALIBRATION METHODS

[0089] Calibration methods may be employed to create data for use in lookup tables during operation of the LEDs 130. Calibrations of an LED lighting module 1 10 may be performed in a calibration chamber, the data may be transmitted to the module group controller 90 of a lighting module group 60 that includes the calibrated LED lighting module 1 10 (e.g., using RS-485 messages), and the calibrated LED lighting module 1 10 may then be controlled in a calibrated manner by the controller 90 such that the LED lighting module 1 10 provides a consistent lighting color and intensity output over its life without further calibration or adjustment, and without a closed-loop control system using real-time feedback. The data in the lookup tables may be used during operation of the LEDs 130 to map an incoming lighting command signal value to an LED input electrical power value that produces the desired LED output light characteristics corresponding to the incoming lighting command signal value. The data in the lookup tables may take into account manufacturing variances, operating temperature, and age of the LEDs 130.

[0090] In an exemplary application of the aircraft lighting system 10, there may be a fixed number such as sixteen (16) or thirty-two (32) predefined target color points k which the LED lighting modules 1 10 are intended to reproduce. Each predefined target color point may be represented as an x,y coordinate in the CIE 1931 xyY color space, as well as the target point luminous flux Y. Each predefined target color point may also be represented as X, Y, Z coordinates in the CIE 1931 XYZ color space. Calibration methods may be used to populate a lookup table that identifies characteristics for the LEDs 130 of the LED lighting module 1 10 associated with each of the predefined target color points so that driving conditions of the LEDs 130 may be adjusted to reliably produce the desired target color points using the LED lighting module 1 10 given variations in manufacturing tolerances, temperature, and age of the LEDs 130. For example, for each predefined target color point k, an entry in the lookup table may represent the measured CIE 1931 xyY color space data points x, y, and Y (flux φ) and actual PWM duty ratios for each of the four color LEDs 130 (RGBW) that produce the predefined target color point A: at a measured temperature To as the following matrix: x r ¾ X w

y r y s y w

M k {T 0 ) :

Φ Φ, Φ,

d b

In other words, the table M k (To) indicates the measured CIE 1931 xyY color space data points (x, y, φ) for each of the red, blue, green, and white (RGBW) LEDs 130, and their respective PWM duty ratios d, which mix to produce the target color A: at a measured temperature of T 0 . The index value k may refer to a line in the aircraft lighting system 10's scene data storage table (Table 1).

[0091 ] Calibrations may be performed prior to installation by placing an individual LED

130, an LED group 120, an LED lighting module 1 10, or an entire module group 60 into a calibration chamber which is specifically equipped for performing LED calibrations. For example, the calibration chamber may be temperature controlled and equipped with sensors to measure operating temperatures and light output characteristics (e.g., color points) of the LEDs under test such as color and intensity. Calibration of the LEDs in the calibration chamber may be intended to determine the input electrical power values or PWM duty cycles each LED requires in order to produce the desired color points over different operating temperatures.

[0092] In an embodiment, an LED lighting module 110 may be placed in the calibration chamber and driven using PWM power signals provided using a computer (e.g., a PC) which controls the calibration. The PWM power signal may be varied while the color point produced by the LED lighting module 110 is monitored. A table of input PWM power signal values vs. color points may be saved by the PC, including the specific PWM power signal values that produce each desired color point. The calibration may also be performed across a range of operating temperatures. The resulting lookup table data may also be extrapolated to include projected aging characteristics for the LED under test. The lookup table data may be stored within the lighting module 110 under test, an associated module group controller 90, or other appropriate location associated with the control of the LEDs 130 of the LED lighting module 110 after installation. In addition to the lookup table data, a serial number, part number, and LED manufacturing lot IDs may be stored in association with the calibrated LEDs 130. This additional data may support loading new temperature and lifetime correction tables for the calibrated LEDs 130.

[0093] FIG. 10 illustrates a method of calibrating an LED lighting module 110. In a step 1010, the color coordinate C ma in CIE 1931 XYZ space of each of the LEDs 130, e.g., red (R), green (G), blue, (B), and white (W), is measured and recorded. The color coordinates C ma (R, G, B, W) may be measured while operating the LEDs 130 at a specific PWM duty cycle, such as 25%. Then, calibration data corresponding to other PWM duty cycles may be computed without additional measurements using known LED flux characteristics to save time in performing the calibrations. Alternatively, for more accurate calibration data at the expense of greater calibration time, the measurements could be made at a number of PWM duty cycles corresponding to desired luminous flux values corresponding to the specific target color set points. The operating temperature To of the LEDs 130 may be measured and recorded along with the color coordinate data. [0094] In a step 1020, a desired target color set point CT and luminous flux φχ is input.

[0095] In a step 1030, an operating color coordinate Ci and luminous flux φ 1 of each color LED 130 (e.g., RGBW) and associated operating duty cycle di is determined when producing essentially the desired target color set point C T . An iterative method, a color shift measurement method, or a direct measurement method may be used, as described below with respect to FIGs. 1 1 , 12, and 13.

[0096] In a step 1040, the LED lighting module 1 10 may be operated for a period of time at the operating conditions Ci, φ i, and di to insure an accurate reading corresponding to typical operating conditions in the field, and the resulting operating color coordinates C mT and luminous flux φ π^Γε recorded along with the corresponding operating temperature T 0 .

[0097] In a step 1050, a distance between the resulting operating color coordinates C mT and luminous flux φιηχ measured in step 1040 and the operating color coordinate Ci and luminous flux φ i determined in step 1030 is computed in terms of ME step size, and a determination is made as to whether the distance is less than a threshold value such as one half ME step. The ME step size refers to the radius of a MacAdam Ellipse centered about either C m x or Ci on the CIE 1931 chromaticity diagram, or in between, corresponding to one standard deviation or 68.25% of the general, color normal population. In other words, C m x and Ci are both within a same one-step MacAdam Ellipse when the distance therebetween is less than an ME step size. At a distance of one ME step size, 68.26% of the general, color normal population would be able to visibly distinguish the colors C m x or Ci.

[0098] If the distance measured in step 1050 is not less than the threshold value, in a step 1060, flux values φ 0 (ί^, G, B, W) are computed based on the C m x and φ ιηχ

measurements of step 1040 using a color mixing method such as that described with reference to FIG. 9. The difference between <> C (R, G, B, W) and φι(Κ, G, B, W) is then computed, and φι(ΙΙ, G, B, W) is adjusted accordingly. Thereafter, step 1040 is repeated.

[0099] If the distance measured in step 1050 is less than the threshold value, in a step 1070, the operating temperature To of the circuit board having the LEDs 130 is measured and recorded along with operating color coordinate Ci(R, G, B, W) and luminous flux φι(ΙΙ, G, B, W) as computed in step 1030 or revised in step 1050. [00100] In a step 1080, a determination is made as to whether additional color coordinates Ci(R, G, B, W) and luminous flux (f>i(R, G, B, W) need to be computed for other target color points Cr k - If so, steps 1020 through 1070 are repeated for each target color point Cx k -

[00101] Otherwise, in a step 1090, luminous flux entries (f>i(R, G, B, W) for each target point k at other flux levels than target input flux level φχ are estimated by computations using predetermined LED flux data curves.

[00102] At a step 1095, a validation may be performed to insure that the LED lighting module 1 10 produces the desired color set points when the LED lighting module 1 10 is controlled using compensation methods that use the calibration data. It is determined whether the validation passes or fails. The results of the validation are noted, and the method is complete.

[00103] FIG. 1 1 illustrates an iterative method of obtaining color coordinates and flux of LEDs of an LED lighting module. The method illustrated in FIG. 1 1 may be performed as part of step 1030 of FIG. 10. In practice, chromaticity coordinates and flux levels of an LED are not only functions of duty cycles of the LED itself, but also of duty cycles of adjacent LEDs. This may be caused by heating of the adjacent LEDs, for example.

Therefore, at different target color and flux points, a group of LEDs (e.g., RGBW) may exhibit different individual color coordinates. Φ

[00104] One way to compensate for the dependence of chromaticity coordinates and flux levels of LEDs on the duty cycles of neighboring LEDs in the calibration of the LEDs for the target points k is to use duty cycle models based in the observation that the chromaticity shift caused by duty cycles of an LED and its adjacent LEDs is linear and predictable. A duty cycle model may be constructed to predict the chromaticity shift of RGBW LEDs at different duty cycles and temperatures. Then, the measurement results of the chromaticity of the LEDs at a duty cycle of 25% combined with the duty cycle model may be used to compute the calibrated primary color coordinates of the RGBW LEDs using the iterative method illustrated in FIG. 1 1. [00105] A duty cycle model may be constructed by collecting measurement data of the

RGBW LEDs at different combinations of duty cycles and collecting the measurement data together in a matrix as shown below:

0 X rg X rb X rw X gr 0 x gb X gw X br X bg 0 X bw

M d r d g d b d w ~ M ' d r \d g \d b \d w ~*~ 0 rg yr' b y rw d r + y gr 0 y S b y gw d g + yb' r yb' g 0 y bw d b +

0 <l>rg <t>rb 0 gw _ >br 0

where Mdr|d g |db|dw represents an LED data matrix where each of the RGBW LEDS operate at the specified duty cycles separately, and M dr dg db dw represents an LED data matrix where each of the RGBW LEDS operate at the specified duty cycles simultaneously. The matrix

Mdricigicibiciw may be obtained by the method described with reference to FIG. 10. The matrix

Mcir dg db dw may be obtained by assuming that adjacent die heating effects are linearly related to the duty cycle of a given LED. x'ij , and (f>'ij are determined according to 5'ij = 95 j / 9di, where i and j are the LED colors r, g, b, or w, and d is the duty cycle. For example, x' r,g represents the x g color coordinate shift of the green LED with respect to the duty cycle of the adjacent red LED.

[00106] Measurements of the heating effect of LEDs due to the PWM duty cycles of

adjacent LEDs are made by blocking the light of an adjacent LED when measuring the light output by a particular LED. The measurement process involves driving a first color LED

(e.g., red) using a default duty cycle (e.g., 25%), measuring its chromaticity and flux, then turning on an adjacent LED of another color in a similar manner and allowing the adjacent

LED to warm up to operating temperature, and then measuring the chromaticity and flux of the first color LED again without impact of the light of the adjacent LED.

[00107] In a step 1110, an iteration over an integer i begins with initially setting a color point C mi (R, G, B, W) = C ma (R, G, B, W) as recorded in step 1010 of FIG. 10. In a step

1120, the color mixing method described with reference to FIG. 9 is performed and a desired luminous flux of each of the color LEDS (]) m i(R, G, B, W) corresponding to the color set point C m i(R, G, B, W) is determined. In a step 1130, a duty cycle of each of the color LEDS d m i(R, G, B, W) is determined according to the duty cycle computation method described elsewhere herein. In a step 1140, the duty cycle model described above is applied to the duty cycle d m i(R, G, B, W) computed in step 1030 and a new color point C m( i +1) (R, G, B, W) is determined. In a step 1150, a determination is made as to whether a difference between color points C m i(R, G, B, W) and C m( i +1) (R, G, B, W) is less than a threshold value, such as 0.0001. If the determination is made that the difference is not less than the threshold value, the integer I is incremented and the method returns to step 1120. If the determination is made that the difference is less than the threshold value, the method proceeds to a step 1160, and the color coordinates and flux are set such that Ci(R, G, B, W) = C m(l+1) (R, G, B, W) and <|>1(R, G, B, W) = (^ mi (R, G, B, W).

[00108] A benefit of the iterative method of FIG. 11 is that calibration is fast. However, the duty cycle model may introduce errors, at least partially due to its assumptions. In addition, the duty cycle model may be complicated and time-consuming to build.

[00109] FIG. 12 illustrates a color shift measurement method of obtaining color coordinates and flux of LEDs of an LED lighting module 110. The method illustrated in FIG. 12 may be performed as part of step 1030 of FIG. 10. In the method illustrated in FIG. 12, the color shift of the LEDs 130 is measured directly rather than using a duty cycle model as in the method of FIG. 11.

[00110] In a step 1210, a color point is initially set as C mi (R, G, B, W) = C ma (R, G, B, W) as recorded in step 1010 of FIG. 10. In a step 1220, the color mixing method described with reference to FIG. 9 is performed and a desired luminous flux of each of the color LEDs 130 (f> m i(R, G, B, W) corresponding to the color set point C m i(R, G, B, W) is determined. In a step 1230, a duty cycle of each of the color LEDs 130 d m i(R, G, B, W) is determined according to the duty cycle computation method described elsewhere herein. In a step 1240, the color coordinates of the color LEDs 130 are measured and a new color point C mk (R, G, B, W) is determined. The color coordinates and flux are then set such that Ci(R, G, B, W) = C^R, G, B, W) and ( (R, G, B, W) = (^ mi (R, G, B, W). [001 1 1 ] A benefit of the color shift measurement method of FIG. 12 is that calibration is fast. In addition, the measurement results may be useful for calibration and compensation of the LEDs 130 and LED lighting modules 1 10 in other ways. For example, across different LED lighting modules 1 10, the difference C^R, G, B, W) - C MA (R, G, B, W) may be approximately constant. Therefore, by measuring multiple LEDs 130, an average color shift value may be determined for each target of k targets. These average values may then be used to estimate the color coordinates of the LEDs 130 in initial calibration and/or operational compensation.

[001 12] FIG. 13 illustrates a direct measurement method of obtaining color coordinates and flux of LEDs of an LED lighting module 1 10. The method illustrated in FIG. 13 may be performed as part of step 1030 of FIG. 10. In the method illustrated in FIG. 13, the color coordinates of the LEDs 130 are measured directly rather than using a duty cycle model as in the method of FIG. 1 1 , and the direct measurement is made only once at each target color point C T (R, G, B, W) for one flux level. Other flux levels corresponding to other target points of the k target point having the same target color point C T (R, G, B, W) are then estimated. A benefit of the direct measurement method is that it is simple and accurate, and reduces the amount of calibration measurement data that is collected.

[001 13] In a step 1310, a determination is made as to whether chromaticity coordinates Ci(R, G, B, W) have been measured to correspond with target C T (R, G, B, W) already at one flux level already. If a determination is made that measurements have been made already, in a step 1360, the color coordinates and flux are then set such that Ci(R, G, B, W) = Cmk(R, G, B, W) as previously measured and (f>i(R, G, B, W) is estimated based on (])mi(R, G, B, W) as previously measured according to known flux characteristics of the LEDs. If a determination is made in step 1310 that measurements have not been previously made, in a step 1320, the color point is initially set as C m i(R, G, B, W) = C MA (R, G, B, W) as recorded in step 1010 of FIG. 10. In a step 1330, the color mixing method described with reference to FIG. 9 is performed and a desired luminous flux of each of the color LEDS (]) m i(R, G, B, W) corresponding to the color set point C m i(R, G, B, W) is determined. In a step 1340, a duty cycle of each of the color LEDS d m i(R, G, B, W) is determined according to the duty cycle computation method described elsewhere herein. In a step 1350, the color coordinates of the color LEDs 130 are measured and a new color point C mk (R, G, B, W) is determined. The color coordinates and flux are then set such that Ci(R, G, B, W) = C^R, G, B, W) and 4>1(R, G, B, W) = ( R, G, B, W).

Temperature Compensation Method

[00114] FIG. 14 illustrates a method of adjusting the PWM duty cycle ratios for the LEDs 130 during in- field operation of the LED lighting module 110 to compensate for temperature variations. The method may be performed by the module group controller 90 of the lighting module group 60. In the method, the temperature of each LED 130 measured during initial calibration is compared with the operating temperature of the LED 130, and adjustments to the PWM duty cycle ratio of the LED are made to compensate for the temperature difference according to previously measured and stored temperature calibration data when a temperature change greater than a threshold value is measured. In other words, the method may only be performed when the temperature change above the threshold has been detected. The method includes a thermal model that computes the matrix M k (Ti) based on the calibrated matrix M k (To) and the temperature difference ΔΤ between the measured operational temperature Ti of the LEDS 130 and the temperature T 0 measured when the LEDS 130 were calibrated. An equation representing the computations follows:

M k ft ) = M k {T 0 )+ a 4x4 · (ij - T 0 ) + β 4χ4 · ( T x - T =

X g °¾

y r y g y b y a yr

+ ° . {τ, -τ^+β^ -^ -τ^ 2

<t> r

d b d w 0 0 0 0 where 4χ4 is the first order thermal parameter matrix in which represents the first order thermal parameter of the CIE 1931 C x color coordinate of the red LED (dC x /dT), each of the other ?? paremeters of the cc 4x4 matrix correspond to the other derivatives of the respective C x and C y color coordinates and φ parameters of the red, green, blue, and white color LEDs 130 with respect to temperature T at the target color point k; and β 4χ4 is the second order thermal parameter matrix (e.g., d 2 C x /dT 2 ), which is defined similarly to the cc 4x4 matrix. Many elements of the β 4χ4 matrix will be equal to zero if the desired parameter (e.g., C x , C y , φ) of the LEDs 130 has a linear relationship with respect to temperature T. [001 15] In a step 1410, the PWM ratios for each LED 130 are determined according to the method of FIG. 9 based on the temperature T 0 measured at the time the calibration measurements of the LED were made.

[001 16] In a step 1420, the current real-time operating temperature of the LED is measured, and the difference ΔΤ between the current temperature ΤΊ and T 0 is calculated.

[001 17] In a step 1430, a thermal model is applied using the measured ΔΤ of step 1420 to calculate corrected color point Cn(R, G, B, W) at the current temperature Ti. In other words, a new matrix M k (Ti) as defined above is built and applied. The corrected color point CTI(R, G, B, W) may be computed using the equations x T i(R, G, B, W)= M k (Ti)-[l 0 0 0] T and y TI(R, G, B, W)= M k (Ti)-[0 1 0 0] T .

[001 18] In a step 1440, the color mixing method described with reference to FIG. 9 is performed and a desired luminous flux of each of the color LEDS (f>-n(R, G, B, W) corresponding to the temperature-corrected color set point Cn(R, G, B, W) is determined.

[001 19] In a step 1450, a flux model Φ(Τ, d) is applied using the flux (^i(R, G, B, W) and the temperature Ti to compute the mitigated duty cycle dn(R, G, B, W). The flux model Φ(Τ, d) is a function of temperature T and duty cycle d. The adjustment of the duty cycle for temperature Ti Αάτι can be calculated from the duty cycle d-n after temperature correction as follows: Ad T i = d T i - M k (Ti)-[0 0 0 0] T .

[00120] In the flux model Φ(Τ, d), the PWM duty cycles d kT for each color target point k and each LED 130 are computed at four characteristic points: minimum, nominal, and maximum operating temperatures, and the temperature at which the color target point k moves from one color mixing zone to another color mixing zone. A trend line between the temperature points within a zone is approximated using a second order polynomial, and then used to approximate the Adji for the measured operational temperature Ύ . The following equations describe the computation of a duty cycle d on the trend line when the operating temperature Ti lies on an opposite side of the color mixing zone switching temperature T sw compared to the calibration measurement temperature To (for T<T SW and To T SW ): d(T) = d(T sw ) + a . (T - T m ) + fi(T - T sw f

Α - β - C

a = —

B

B D - A E

B F - C E

Α = αΒ + βΟ

D = aE + F

A = y(h) - y 0

B = t l - t 0

D = y(t 2 ) - y 0

E = t 2 — 1 0

The polynomial a and β values may be computed in advance and stored along with the calibration data for each color LED 130 (R, G, B, W) at each target color point Ck(R, G, B, W) and luminous flux (f>k(R, G, B, W), as well as the measured temperature value T 0 that corresponds to each target color point Ck(R, G, B, W) and luminous flux (f>k(R, G, B, W).

[00121] An alternative flux model Φ(Τ, d) may be built from separate calibration measurements of the flux value for each LED 130 of the colors R, G, B, W as a function of duty cycles and temperature. The measurements may be used to determine whether Φ(Τ) and Φ(ά) are independent of one another in order to determine the appropriate way to predict LED performance and determine appropriate duty cycles over temperature to achieve desired flux levels.

[00122] In a step 1460, the LEDs 130 of the LED light module 1 10 are operated according to the mitigated duty cycle d T i(R, G, B, W). If the computed duty cycle is less than zero or greater than 100%, it is set to zero or 100%, respectively, as appropriate. In addition, the duty cycle may be limited to a value less than 100%, depending on the application. For example, a lower duty cycle value may lengthen the life of the LEDS 130. In this case, the duty cycle for all color points may be scaled by a factor such that they lie within the allowed range of the duty cycles. For example, if the duty cycle without applying an upper limit is 100%, and the upper limit is 80%>, then the scaled duty cycle would be 80%. Likewise, a 50%> duty cycle would scale to 40%>. The scaling factor would be applied to each duty cycle for each color LED 130 (RGBW).

[00123] Because the color coordinates of each of the LEDs 130 change as a function of temperature, the color mixing zones also shift in correspondence thereto on the CIE chromaticity diagram. Thus, a target color point k which was on or near a border between two color mixing zones may shift between one color mixing zone and another color mixing zone due to the temperature changes. During operation of the LED lighting modules 110, this is accounted for because the mixing ratio and duty cycles of the RGBW LEDs 130 are calculated dynamically according to measured temperature variations. However, these shifts should be accounted for in the calibration process for the LEDs 130. In particular, it is important for the color coordinates to be stored in the calibration data even if the flux φ and duty ratio d corresponding to the color coordinate are zero.

Age Compensation Method

[00124] Over the lifetime of each LED 130, luminous flux varies. An adjustment factor may be applied during operation of the LEDs 130 using piecewise linear approximation of a lifetime luminous flux variation curve. The lifetime flux variation may be a characteristic of each type of LED 130 used, and may not need to be calibrated separately along with the target color point C k (R, G, B, W) and luminous flux (f» k (R, G, B, W) of the LEDs 130.

ADDITIONAL EXEMPLARY EMBODIMENT

[00125] The following describes an additional exemplary embodiment and

communications for an implementation of the system. The ACP is the main interface point for cabin attendants and maintenance personnel, and it allows input from users to execute the various cabin lighting scenarios inside the aircraft cabin as well as configure address and view BIT information from its LCD touch screen interface.

[00126] In this embodiment, all lighting LRUs maintain their scene information locally in the LRU. The ACP is responsible for commanding the lighting system to the specific scene that has been selected by the cabin crew. Lighting assemblies have the capability to receive messages from the ACP via RS485. The lighting assemblies are individually addressable enabling the ACP to individually communicate with each lighting assembly, or to communicate with a group of lighting assemblies. Lighting assemblies also have the capability of being BIT tested to detect if the assembly is still communicating with the system. BIT information from the lighting system can then be viewed on the ACP.

[00127] In this embodiment, the lighting LRUs have the capability to have sixteen preprogrammed scenes and sixteen re-programmable scenes. The pre-programmed scenes do not have the ability to be altered. The reprogrammable scenes can be altered onboard the aircraft by the ACP without the need to re -work the devices on a bench. The lighting scenarios are static, and transition at a variable rate do not to exceed 5 minutes from one scene to another. In this embodiment, the physical layer requirements are as follows:

Communication Method: RS485 Multi-drop Bus (2-wire + shield)

RS485 Signals: RS485A, RS485B and RS485 Shield

RS485 Transceivers Load: 1/8 Load, Max possible LRUs = 255 (Physical

Limit)

Baud Rate: 115200 bps

Baud Rate Tolerance: ±185 bps

Duplex: Half-Duplex

Token Signals: Token-In, Token-Out and Token-Ref Token Electrical Characteristics:

ACP PROTOCOL REQUIREMENTS

[00128] The ACP is the controlling focus of the lighting system. The protocol requirements are the timing and transmission guidelines the ACP in an embodiment of the invention follow for the lighting system to operate correctly.

1) Each scene change initiated at the ACP results in a notification message being broadcast to the lighting system. This message is repeated 3 times, with each message spaced 50ms apart. 2) The ACP ensures that each consecutive message sent to the lighting system is no less than 50ms apart.

3) The ACP periodically re-broadcasts the current scene selection at intervals of 10 seconds.

4) All responses to the ACP from the lighting LRUs occur within 50ms.

5) The checksum calculation begins and include the <SOT> byte and continues until <ASCII XOR XSUM> bytes.

6) Any message with an unknown <CMD> are discarded.

7) Any message with fields containing illegal or unused values for the specific

<CMD> should be discarded.

8) When an LRU has its Input Token Signal active, all messages besides an

Address Assignment Message should be discarded.

[00129] Each lighting LRU in this embodiment incorporates an individual and unique address. This address helps to identify the location of the lighting LRU in the aircraft. Using a lighting LOP A, an individual could determine the exact position of the light in the aircraft. The SCENE SELECTION message allows the ACP to select a lighting scene for a specific LRU, a Zone of Lights or the entire aircraft. The scene selection message allows the ACP to select either preloaded aircraft lighting scenes or customer specific lighting scenes.

SCENE SELECTION

Specifications

Source Device: ACP

Destination Device: Lighting LRUs

1) The lighting assemblies ignore any scene selection messages that select a scene that is not programmed.

2) Upon system power up, each LRU should wait for 30 seconds to receive a Scene Selection Message. If none is received within that time period, the LRU will automatically transition to 100% White light. 3) Receipt of a Scene Selection Message should cancel/terminate any BIT/BITE mode that may be in progress.

4) The lighting assemblies should ignore this message while downloading scenes, or addressing is taking place.

Protocol - Scene Selection Message

CMP SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x30 - 0x32] - The destination mode selection byte

0x30 = Broadcast Message

0x31 = Group/Zone Message

0x32 = Address Message

<DEST> = [0x20 - OxFF] - The Destination Address.

<DEST MODE> = 0x30:

<DEST> = [0x30] - Don't Care

<DEST MODE> = 0x31 :

<DEST> = [0x31 - OxFF] - The zone selection

<DEST MODE> = 0x32:

<DEST> = [0x21 - OxFF] 0x20 offset + address, MAX possible LRUs = 222 <CMD> = 0x20

<DATA> = 2 Bytes <SCENE><I TENSITY>

<SCENE> = Scene Selection byte. Denotes LRU stored scene information. The ACP can select either standard aircraft scenes or customer specific scenes by altering the first nibble of this byte.

Standard Scenes: 0x30 offset + 4 bit scene number. 16 scenes max

Customer Specific Scenes: OxCO offset + 4 bit scene number. 16 scenes max.

<INTENSITY> [0x31-0x34] - Denotes the relative intensity setting for the scene selected.

0x31 = HIGH

0x32 = MED

0x33 = LOW

0x34 = NIGHT

ADDRESSING OPERATION:

[00130] The ACP controls addressing of the washlights. The ACP can use the Token Line in addition to the RS485 line to help address the washlights. In this embodiment, each washlight LRU has an RS485 transceiver, Token-In and Token-Out Lines.

[00131] The token lines are used to identify, which washlight is currently being addressed. If a washlight's Token-In line is active, then the washlight is currently being addressed and any Address Assignment Messages are intended solely for that LRU. If the washlight receives the address input message it will acknowledge the receipt of an address with an Address Response Message. This signifies that addressing is complete for the LRU and it is time to move on to the next LRU.

[00132] Next, the ACP can pass the token by sending a Pass Token Command which will allow the next washlight in the column to be addressed. Once this is received, the currently addressed washlight will set its Token-Out line active so that the next sequential washlight can be addressed. In conjunction, the previous addressed LRU should set its Token-Out line inactive to complete addressing operations for the currently addressed LRU.

Protocol - Address Assignment Message

Specifications Source Device: ACP

Destination Device: Lighting LRUs

1) Addressing messages are only processed by lighting assemblies whose Token-In line is active.

2) ACP asserts its Token-Out line active before it begins sending the first address assignment message.

3) The lighting assemblies are reassigned any time an LRU is replaced on board the aircraft.

4) The Token Lines are considered active when these signals have the voltage potential of the Token Ref Line(GND).

Protocol:

CMD SET DESCRIPTION

<SOT> = [0x01] - Start of Transmission Character

<EOT> = [0x04] - End of Transmission Character

Address Assignment Message:

<DEST MODE> = [0x30] - The destination mode selection byte

0x30 = Broadcast Message

<DEST> = [0x30] - The Destination Address.

<DEST MODE> = 0x30:

<DEST> = [0x30] - Don't Care

<CMD> = [0x10] - This command sets the washlights address. <DATA> = <Address><Group/Zone>

<Address> = [0x21 - OxFF] 0x20 offset + address, MAX possible LRUs = 222 <Group/Zone> = [0x30-0xFF] - Group/Zone Assignment

Protocol - Address Response Message Specifications

Source Device: Addressed Lighting LRU

Destination Device: ACP

1) The ACP should exit "Addressing Mode" after sending an Address Assignment Message without receiving an Address Response Message within 50ms.

2) The ACP should compare the information returned in the Address Response Message to its internal database, in order to ascertain that the correct light type is at the address in question. It may also verify the serial number, hardware version number, and firmware version number. Any discrepancy in returned information should stop the addressing mode of the ACP, and alert the operator to the problem.

Protocol:

CMD SET DESCRIPTION

<ACK SOT> = [0x06] - Start of Transmission Character

<EOT> = [0x04] - End of Transmission Character

Address Response Message:

<CMD> = [Ox IF] - This command is the acknowledgement message from the washlight. <DATA> = <Address><Device

IDxSerial #><Hardware Rev><Firmware Rev>

<Address> = [0x21 - OxFF] - The newly assigned address of the LRU

0x20 offset + address value, MAX possible LRUs = 222

<Device ID> = [0x41-0x43] - The LRU type.

[0x41] = 9100 Direct Lights (W + A)

[0x42] = 9150 Cross-Bin Wash Lights (W + A)

[0x42] = 9150 COS Wash Light (W+A)

[0x43] = 9200 Ceiling Wash Lights (RGB+W)

[0x43] = 9200 Sidewall Wash Lights (RGB+W)

[0x43] = 9200 Cove Wash Light (RGB+W)

[0x43] = 9250 Over-Wing Exit Wash Lights (RGB+WW)

<Serial #> = 20 ASCII bytes denoting LRU Serial Number (Stored in LRU nonvolatile memory)

<Hardware Rev> = 20 ASCII bytes denoting LRU Hardware Rev (Stored in LRU non-volatile memory)

<Firmware Rev> = 20 ASCII bytes denoting LRU Firmware Rev Number (Stored in LRU non-volatile memory)

Protocol - Pass Token Command

Specifications

Source Device: ACP

Destination Device: Lighting LRUs

<Addressing Complete> = 0x31 when the last washlight is being addressed. Protocol:

CMD SET DESCRIPTION

<SOT> = [0x01] - Start of Transmission Character

<EOT> = [0x04] - End of Transmission Character

Pass Token Command:

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = [0x20 - OxFF] - The Destination Address.

<DEST MODE> = 0x32:

<DEST> = [0x21 - OxFF] 0x20 offset + address, MAX possible LRUs = 222 <CMD> = [0x11] - This command tells the washlights to pass the token <DATA> = <Addressing Complete>

<Addressing Complete> = 1 byte indicating that addressing is complete

[0x30] = Addressing is not complete

[0x31] = Addressing is complete.

Example Message Format

ACP sends:

Byte 1 0x01

Byte 2 0x10

Byte 3 0x21

Byte 4 0x33

Byte 5 0x35

Byte 6 0x36

Byte 7 0x04

Washlight Responds: Byte 1 0x01

Byte 2 OxlF

Byte 3 0x21

Byte 4 0x41

Byte 5-24: 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30,

0x30, 0x30, 0x30,

0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30

Byte 25-44: 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30,

0x30, 0x30, 0x30,

0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30

Byte 45-64: 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30,

0x30, 0x30, 0x30,

0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30,

0x30, 0x30, 0x30

Byte 65: 0x32

Byte 66: 0x42

Byte 67: 0x04

ACP sends Pass Token Command:

Byte 1 0x01

Byte 2 Oxl l

Byte 3 0x30

Byte 4 0x30

Byte 5 0x34

Byte 6 0x35

Byte 7 0x04

BIT BITE OPERATION

[00133] The ACP can control when BIT/BITE is initiated. The ACP can use, e.g., the

RS485 line to poll each washlight in the system to determine if the washlight is still active. In addition to polling each LRU, when a washlight receives a BIT request, this sets the light intensity and colors to a specific level which provide visual lamp test functionality. All

BIT/BITE requests should be processed and acknowledged from the lighting LRUs within

50ms.

Protocol - BIT/BITE REQUEST MESSAGE

Specifications

Source Device: ACP

Destination Device: Lighting LRUs 1) Receipt of a Scene Selection Message cancels/terminates any BIT/BITE mode that may be in progress.

2) The lighting assemblies ignore BIT/BITE messages while downloading scenes, or addressing is taking place.

3) The ACP polls each LRU by setting the <DEST MODE> = 0x32 and <DEST> to the destination address of the lighting LRU currently being polled.

Protocol

CMP SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x30 - 0x32] - The destination mode selection byte

0x30 = Broadcast Message

0x31 = Group/Zone Message

0x32 = Address Message

<DEST> = [0x30 - OxFF] - The Destination Address.

<DEST MODE> = 0x30:

<DEST> = [0x30] - Don't Care

<DEST MODE> = 0x31 :

<DEST> = [0x31 - OxFF] - The zone selection

<DEST MODE> = 0x32:

<DEST> = [0x21 - OxFF] 0x20 offset + address value, MAX possible LRUs = 222 <CMD> = 0x30 Protocol - BIT/BITE A CK MESSA GE Specifications

Source Device: Addressed Lighting LRU

Destination Device: ACP

1) If the <DEST MODE> = 0x32 of the BIT/BITE Request message, the LRU responds with the BIT/BITE ACK message immediately upon receipt of the BIT/BITE Request message, if the <DEST> of the request matches the address of the lighting assembly.

2) The ACP should receive a BIT/BIT ACK message within 50ms of sending the BIT/BITE request message.

3) If the <DEST MODE> = 0x30 of the BIT/BITE Request message, the lighting assemblies each respond with the BIT/BITE ACK message after delaying for an interval of 50 milliseconds. Note that the LRU address can be used as a seed value to determine the length of time each LRU will wait before transmitting its BIT/BITE ACK message.

4) If the <DEST MODE> = 0x31 of the BIT/BITE Request message, the lighting assemblies each respond with the BIT/BITE ACK message after delaying for an interval of 50 milliseconds. Note that the LRU address can be used as a seed value to determine the length of time each LRU will wait before transmitting its BIT/BITE ACK message.

5) The ACP should compare the information returned in the BIT/BITE ACK

Message to its internal database, in order to ascertain that the information in the lighting assembly is correct. Any discrepancy in returned information should alert the operator to the problem.

Protocol:

Command <ACK <CMD> <DATA> <XO CHECKSUM> <EOT> Format SOT>

Bytes 1 1 103 2 1

Data 0x06 CMD DATA ASCII XO XSUM 0x04

CMD SET DESCRIPTION

<ACK SOT> = [0x06] - Start of Transmission Character for ACK messages

<EOT> = [0x04] - End of Transmission Character

Address Response Message:

<CMD> = [0x3F] - This command is the acknowledgement message from the washlight.

<DATA> = <Address><Device IDxSerial #><Hardware RevxFirmware

Rev>

<B Scene Rev><User Scene RevxCal Flag>

<Address> = [0x21 - OxFF] - The newly assigned address of the LRU

0x20 offset + address value, MAX possible LRUs = 222

<Device ID> = [0x41-0x43] - The LRU type.

[0x41] = 9100 Direct Lights (W + A)

[0x42] = 9150 Cross-Bin Wash Lights (W + A)

[0x42] = 9150 COS Wash Light (W+A)

[0x43] = 9200 Ceiling Wash Lights (RGB+W)

[0x43] = 9200 Sidewall Wash Lights (RGB+W)

[0x43] = 9200 Cove Wash Light (RGB+W)

[0x43] = 9250 Over-Wing Exit Wash Lights (RGB+WW)

<Serial #> = 20 ASCII bytes denoting LRU Serial Number (Stored in LRU volatile memory) <Hardware Rev> = 20 ASCII bytes denoting LRU Hardware Rev (Stored in LRU non-volatile memory)

<Firmware Rev> = 20 ASCII bytes denoting LRU Firmware Rev Number (Stored in LRU non-volatile memory)

<B Scene Rev> = 20 ASCII bytes denoting LRU aircraft Scenes P/N and Rev Number (Stored in LRU non-volatile memory)

<User Scene Rev> = 20 ASCII bytes denoting LRU User Scenes P/N and Rev Number (Stored in LRU non-volatile memory)

<Cal Flag> = 1 byte indicating that the washlight is calibrated

0x30 = Washlight is not calibrated

0x31 = Washlight is calibrated

SCENE DOWNLOAD OPERATION

[00134] The Scene Download operation is used to update the locally stored scenes on the lighting LRUs. The ACP controls when the Scene Download Operation is initiated. The ACP can use the RS485 line to help store the scene information into each washlight in the system. The ACP first sends a SCENE DOWNLOAD REQUEST message to all washlights in the system. This instructs the washlights to allow protected EEPROM space to be altered. The ACP can then transmit the SCENE CONTENT message for each scene. The scene content message contains the scenes information one scene at a time.

[00135] Once all the new scenes have been transmitted, the ACP can poll each washlight with a SCENE QUERY REQUEST message. The Scene query message can ask the washlight if it has received all the scenes. The washlight replies with a SCENE QUERY REPLY message notifying the ACP it has received/not received all the information. If the washlight has received the information, it should commit all the scene information to nonvolatile EEPROM. If the washlight responds that it has not received all the information, the ACP should retransmit the SCENE CONTENT message again to all the washlights and resume re-querying the washlights. [00136] All SCENE QUERY REQUEST messages should be processed and acknowledged by the Lighting LRUs within 50ms.

Protocol - SCENE DOWNLOAD REQUEST

Specifications

Source Device: ACP

Destination Device: Lighting LRUs

1) The lighting assemblies should ignore BIT/BITE messages while downloading scenes, or addressing is taking place.

2) All other scene download commands should be ignored unless the scene

download request is transmitted.

3) The scene download request may be a broadcast message. Every lighting LRU receives this message.

Protocol

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x30] - The destination mode selection byte

0x30 = Broadcast Message

<DEST> = [0x30] - The Destination Address.

<DEST MODE> = 0x30:

<DEST> = [0x30] - Don't Care <CMD> = 0x50

<DATA> = <User Scene Rev><Total Scenes Num><Empty>

<User Scene Rev> = 20 ASCII bytes denoting LRU User Scenes P/N and Rev Number (Stored in LRU non-volatile memory)

<Total Scenes Num> = [0x31-0x40] - The total number of scenes to be updated from 1 (0x31) to 16 (0x40).

<Empty> = 0x30 Protocol - SCENE CONTENT MESSAGE

Specifications

Source Device: ACP

Destination Device: Lighting LRUs

The scene content message may be a broadcast message. Every lighting LRU should receive this message.

Protocol

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x30] - The destination mode selection byte

0x30 = Broadcast Message

<DEST> = [0x30] - The Destination Address.

<DEST MODE> = 0x30: <DEST> = [0x30] - Don't Care

<CMD> = 0x51

<DATA> = S1,R1,R2,G1,G2,B1,B2,W1,W2,E1,E2,A1,A2,T1 ,T2

SI = [0x31-45] - Scene Selection byte. Denotes LRU stored scene information

0x30 offset + 4 bit scene number. 16 scenes max.

Rx - The Red intensity value is 12 bits wide and split into 2 bytes, Rl and R2. Rl = 0x40 offset + Most Significant 6 of 12 bits (RED)

R2 = 0x40 offset + Least Significant 6 of 12 bits (RED)

Gx - The Green intensity value is 12 bits wide and split into 2 bytes, Gl and G2. Gl = 0x40 offset + Most Significant 6 of 12 bits (GREEN)

G2 = 0x40 offset + Least Significant 6 of 12 bits (GREEN)

Bx = The Blue intensity value is 12 bits wide and split into 2 bytes, Bl and B2.

Bl = 0x40 offset + Most Significant 6 of 12 bits (BLUE)

B2 = 0x40 offset + Least Significant 6 of 12 bits (BLUE)

Wx = The White intensity value (RGB+W Washlights) is 12 bits wide and split into 2 bytes, Wl and W2

Wl = 0x40 offset + Most Significant 6 of 12 bits (WHITE)

W2 = 0x40 offset + Least Significant 6 of 12 bits (WHITE)

Ex = The White intensity value (W+A Washlights) is 12 bits wide and split into 2 bytes, El and E2

El = 0x40 offset + Most Significant 6 of 12 bits (WHITE)

E2 = 0x40 offset + Least Significant 6 of 12 bits (WHITE)

Ax = The Amber intensity value is 12 bits wide and split into 2 bytes, Al and A2

Al = 0x40 offset + Most Significant 6 of 12 bits (AMBER)

A2 = 0x40 offset + Least Significant 6 of 12 bits (AMBER) Tx - The scene transition time represents the number of seconds the scene will be transitioning. It is a 12 bit wide value and split into 2 bytes, Tl and T2.

Tl = 0x40 offset + Most Significant 6 of 12 bits

T2 = 0x40 offset + Least Significant 6 of 12 bits

Protocol - SCENE QUERY REQUEST

Specifications

Source Device: ACP

Destination Device: Lighting LRUs

1) After receiving the Scene Query Request message, lighting assemblies may resume normal operation

2) The ACP can poll each LRU by setting the <DEST MODE> = 0x32 and

<DEST> to the destination address of the lighting LRU currently being polled.

3) Each lighting LRU should be queried.

Protocol

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = [0x21 - OxFF] 0x20 offset + address, MAX possible LRUs = 222 <CMD> = 0x52

Protocol - SCENE QUERY REPLY

Specifications

Source Device: Addressed Lighting LRU

Destination Device: ACP

1) The ACP should receive a Scene Query Reply message within 50ms of sending the Scene Query Request message.

2) If a lighting LRU does not respond to the Scene Query Request, the ACP should alert the operator to the problem.

3) The ACP should compare the information returned in the Scene Query Reply Message to its internal database, in order to ascertain that the correct information is stored in the lighting assembly. Any discrepancy in returned information should alert the operator to the problem.

Protocol:

CMD SET DESCRIPTION

<ACK SOT> = [0x06] - Start of Transmission Character for Ack messages.

<EOT> = [0x04] - End of Transmission Character

Scene Query Reply Message:

<CMD> = [0x5F] - This command is the acknowledgement message from the washlight.

<DATA> = <Address><B Scene Rev><User Scene Rev>

<Address> = [0x21 - OxFF] - The address of the queried washlight 0x20 offset + address value, MAX possible LRUs = 222

<B Scene Rev> = 20 ASCII bytes denoting LRU aircraft Scenes P/N and Rev Number (Stored in LRU non-volatile memory)

<User Scene Rev> = 20 ASCII bytes denoting LRU User Scenes P/N and Rev Number (Stored in LRU non-volatile memory)

SCENE CONFIGURATION DATABASE

[00137] The Scene configuration database is the file which stores the information on custom lighting scenes. This database may be generated externally using a Cabin Lighting Designer program. The database comprises, e.g., the 16 scene content messages separated by ASCII carriage return line feeds.

Database File Format:

<S0T><SCENE1><CR><LF><SCENE2>& lt;CR><LF><SCENE3><CR><L F><SCENE4><CR><LF>

<SCENE5><CR><LF><SCENE6><CR>&l t;LF><SCENE7><CR><LF><SCENE8>< CR><LF>

<SCENE9><CR><LF><SCENE10><CR>& lt;LF><SCENE11><CR><LF><SCENE1 2><CR><LF>

<SCENE13><CR><LF><SCENE14><CR> <LF><SCENE15><CR><LF><SCENE 16><CR><LF>

<XSUM>

Command <DEST <XOR

Format <SOT> MODE> <DEST> <CMD> <DATA> CHECKSUM> <EOT>

Bytes 1 1 1 1 16 2 1 0x30- 0x20- ASCII XO

Data 0x01 0x32 OxFF CMD DATA XSUM 0x04

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x30] - The destination mode selection byte

0x30 = Broadcast Message

<DEST> = [0x30] - The Destination Address.

<DEST MODE> = 0x30:

<DEST> = [0x30] - Don't Care

<CMD> = 0x51

<DATA> = S1,R1,R2,G1,G2,B1,B2,W1,W2,E1,E2,A1,A2,T1,T2

SI = [0x30-3F] - Scene Selection byte. Denotes LRU stored scene information

0x30 offset + 4 bit scene number. 16 scenes max.

Rx - The Red intensity value is 12 bits wide and split into 2 bytes, Rl and R2. Rl = 0x40 offset + Most Significant 6 of 12 bits (RED)

R2 = 0x40 offset + Least Significant 6 of 12 bits (RED)

Gx - The Green intensity value is 12 bits wide and split into 2 bytes, Gl and G2. Gl 0x40 offset + Most Significant 6 of 12 bits (GREEN)

G2 = 0x40 offset + Least Significant 6 of 12 bits (GREEN)

Bx = The Blue intensity value is 12 bits wide and split into 2 bytes, Bl and B2.

Bl = 0x40 offset + Most Significant 6 of 12 bits (BLUE)

B2 = 0x40 offset + Least Significant 6 of 12 bits (BLUE)

Wx = The White intensity value (RGB+W Washlights) is 12 bits wide and split into bytes, Wl and W2

Wl = 0x40 offset + Most Significant 6 of 12 bits (WHITE) W2 = 0x40 offset + Least Significant 6 of 12 bits (WHITE)

Ex = The White intensity value (W+A Washlights) is 12 bits wide and split into 2 bytes, El and E2

El = 0x40 offset + Most Significant 6 of 12 bits (WHITE)

E2 = 0x40 offset + Least Significant 6 of 12 bits (WHITE)

Ax = The Amber intensity value is 12 bits wide and split into 2 bytes, Al and A2

Al = 0x40 offset + Most Significant 6 of 12 bits (AMBER)

A2 = 0x40 offset + Least Significant 6 of 12 bits (AMBER)

Tx - The scene transition time represents the number of seconds the scene is transitioning. It is a 12 bit wide value and split into 2 bytes, Tl and T2.

Tl = 0x40 offset + Most Significant 6 of 12 bits

T2 = 0x40 offset + Least Significant 6 of 12 bits

LIGHTING LOPA CONFIGURATION DATABASE

[00138] The lighting LOPA configuration database helps to configure the exact light layout on the aircraft. It can contain the descriptions for each lighting LRU, station location as well as firmware/hardware and database revision information. The database file format may comprise multiple device types () separated by an ASCII carriage return and line feed. The ACP can check the validity of the database with the XSUM calculation at the end of the file.

Database File Format:

<SOT><DEVICE 1 ><CR><LF><DEVICE2><CR><LF>& lt;DEVICE3><CR><LF>< DEVICE4><CR><LF>

<DEVICE5><CR><LF><DEVICE6><CR> <LF><DEVICE7><CR><LF>.. <DEV ICEX><CR><LF>

<XSUM>

<SOT> = 0x01 <CR> = ASCII Carriage Return

<LF> = ASCII Line Feed

<XSUM> = 2 byte XOR XSUM. The XSUM is identical to the communication protocol

<DEVICEX> = <Device Type><Device Address><Comm PortxSTA

LOC><Device Description>

SYSTEM POWER-UP

[00139] Upon system power up, each LRU can wait for 30 seconds to receive a Scene Selection Message. If none is received within that time period, the LRU should

automatically transition to 100% White light or some other default setting.

[00140] Although the above has been described for use as lighting within an aircraft the invention is not limited and can apply to other applications as well. The term "aircraft" as used herein is to be understood as a proxy for any passenger vehicle or any illuminated area. Similarly, the term LED or light-emitting diode is to be understood as a proxy for any illumination source that can be controllable in a manner similar to that described herein.

[00141] The system or systems may be implemented on any general purpose computer or computers and the components may be implemented as dedicated applications or in client- server architectures, including a web-based architecture. Any of the computers may comprise a processor, a memory for storing program data and executing it, a permanent storage such as a disk drive, a communications port for handling communications with external devices, and user interface devices, including a display, keyboard, mouse, etc. When software modules are involved, these software modules may be stored as program instructions executable on the processor on media such as tape, CD-ROM, etc., where this media can be read by the computer, stored in the memory, and executed by the processor.

[00142] For the purposes of promoting an understanding of the principles of the invention, reference has been made to the preferred embodiments illustrated in the drawings, and specific language has been used to describe these embodiments. However, no limitation of the scope of the invention is intended by this specific language, and the invention should be construed to encompass all embodiments that would normally occur to one of ordinary skill in the art.

[00143] The present invention may be described in terms of functional block components and various processing steps. Such functional blocks may be realized by any number of hardware and/or software components configured to perform the specified functions. For example, the present invention may employ various integrated circuit components, e.g., memory elements, processing elements, logic elements, look-up tables, and the like, which may carry out a variety of functions under the control of one or more microprocessors or other control devices. Similarly, where the elements of the present invention are

implemented using software programming or software elements the invention may be implemented with any programming or scripting language such as C, C++, Java, assembler, or the like, with the various algorithms being implemented with any combination of data structures, objects, processes, routines or other programming elements. Furthermore, the present invention could employ any number of conventional techniques for electronics configuration, signal processing and/or control, data processing and the like. The word mechanism is used broadly and is not limited to mechanical or physical embodiments, but can include software routines in conjunction with processors, etc.

[00144] The particular implementations shown and described herein are illustrative examples of the invention and are not intended to otherwise limit the scope of the invention in any way. For the sake of brevity, conventional electronics, control systems, software development and other functional aspects of the systems (and components of the individual operating components of the systems) may not be described in detail. Furthermore, the connecting lines, or connectors shown in the various figures presented are intended to represent exemplary functional relationships and/or physical or logical couplings between the various elements. It should be noted that many alternative or additional functional relationships, physical connections or logical connections may be present in a practical device. Moreover, no item or component is essential to the practice of the invention unless the element is specifically described as "essential" or "critical".

[00145] The use of the terms "a" and "an" and "the" and similar referents in the context of describing the invention (especially in the context of the following claims) are to be construed to cover both the singular and the plural. Furthermore, recitation of ranges of values herein are merely intended to serve as a shorthand method of referring individually to each separate value falling within the range, unless otherwise indicated herein, and each separate value is incorporated into the specification as if it were individually recited herein. Finally, the steps of all methods described herein can be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context.

[00146] Numerous modifications and adaptations will be readily apparent to those skilled in this art without departing from the spirit and scope of the present invention.

TABLE OF REFERENCE CHARACTERS

10 aircraft lighting system

20 regional lighting

30 aircraft lighting system controller

40 attendant control panel (ACP) intelligent lighting module group power supply

filter

module group controller module (master module) slave module

power plug assembly

terminating connector

LED group

LED / illumination source element

APPENDIX

This appendix describes exemplary requirements for one embodiment of an LED lighting system. This embodiment should not be construed as limiting, as other requirements with different characteristics may be also be specified for other embodiments.

In an exemplary embodiment, the LED lighting system may be used to illuminate the interior cabin of an aircraft. The system may logically be split into two main parts, the lighting assemblies and the Attendant Control Panel (ACP). The ACP is the main interface point for cabin attendants and maintenance personnel. It allows input from users to execute the various cabin lighting scenarios inside the aircraft cabin as well as configure address and view BIT information from its LCD touch screen interface.

The LED Lighting system comprises the following items:

1) Sidewall Lighting

2) Over-wing Exit Lighting

3) Ceiling Lighting (Part of the Ceiling LRU Assembly)

4) Bin Lighting (Part of the Ceiling LRU Assembly)

5) Direct Lighting

6) Cove Lighting

7) COS Lighting

All Lighting LRU's may maintain their scene information locally in the LRU. The ACP may be responsible for commanding the Lighting system to the specific scene that has been selected by the cabin crew. Lighting assemblies may have the capability to receive messages from the ACP via RS485. The Lighting assemblies may be individually addressable enabling the ACP to individually communicate with each lighting assembly, or to communicate with a group of lighting assemblies. Lighting Assemblies may also have the capability of being BIT tested to detect if the assembly is still communicating with the system. BIT information from the lighting system may then be viewed on the ACP.

All Lighting LRU's may have the capability to have 16 pre-programmed scenes and 16 re- programmable scenes. The pre-programmed scenes and the re-programmable scenes may be altered onboard the aircraft by the ACP without the need to re-work the LRU's/devices on a bench. In addition, a scene generator tool may be embedded as part of the cabin lighting system configuration module with the configuration database generator. The Lighting scenarios may be static; and transition at a variable rate may not exceed five minutes from one scene to another.

PHYSICAL LAYER REQUIREMENTS

Communication Method: RS485 Multi-drop Bus (2-wire + shield, STP)

RS485 Signals: RS485A(-), RS485B(+) and RS485 Shield

RS485 Transceivers Load: 1/8 Load, Max possible LRU's = 255 (Physical Limit)

Baud Rate: 57600 bps

Baud Rate Tolerance: ±185 bps

Data Bits: 8

Parity: None

Stop Bits 1

Flow Control: None

Duplex: Half-Duplex

Terminating Resistor: Not Provided. The LRUs have no means of terminating the

RS485 bus.

Token Signals: Token-In, Token-Out and Token-Ref

Token Electrical Characteristics:

PHYSICAL INTERFACES - CONNECTOR PINOUTS

Communications Signals :

RS485+

RS485-

RS485 Shield

Token Sig In/Out

Token Ref

ACP Port Assignments

See FIG. ID for a logical diagram of port assignments.

ACP PROTOCOL REQUIREMENTS

The ACP is the controlling focus of the LED cabin lighting system. The protocol requirements are the timing and transmission guidelines the ACP must follow for the lighting system to operate correctly.

1) Each scene change initiated at the ACP shall result in a notification message being broadcast to the lighting system. This message will be repeated 3 times, with each message spaced 50ms apart.

2) The ACP shall ensure that each consecutive message sent to the lighting system will be no less than 50 milli-seconds apart. 3) The ACP shall periodically re-broadcast the current scene selection at intervals of 10 seconds. This is the heartbeat message.

4) All responses to the ACP from the lighting LRU's will occur within 50 milliseconds.

5) The CRC-8 calculation will begin and include the <SOT> byte and continue till <CRC-8> bytes.

6) Any message with an unknown <CMD> will be discarded.

7) Any message with fields containing illegal or unused values for the specific <CMD> will be discarded.

8) When an LRU has its Input Token Signal active, all messages besides an Address Assignment Message will be discarded.

GENERAL CABIN LIGHTING COMMUNICATIONS PROTOCOL

Each Lighting LRU in the airplane incorporates an individual and unique address. This address helps to identify the location of the lighting LRU in the aircraft. Using a Lighting LOP A, an individual could determine the exact position of the light in the aircraft. The SCENE SELECTION message allows the ACP to select a lighting scene for a specific LRU, a Zone of Lights or the entire aircraft. The scene selection message allows the ACP to select either the preloaded predefined lighting scenes or the customer specific lighting scenes.

SCENE SELECTION

Specifications

Source Device: ACP

Destination Device: Lighting LRU's

Notes

• The lighting assemblies will ignore any scene selection messages that select a scene that is not programmed. • Upon system power up, each LRU will wait for 30 seconds to receive a Scene Selection Message. If none is received within that time period, the LRU will automatically transition to 30% White light.

• Receipt of a Scene Selection Message will cancel/terminate any BIT/BITE mode that may be in progress.

• The Lighting assemblies will ignore this message while downloading scenes, or

addressing is taking place.

• This message will act as the heartbeat message and should be repeated every 10 seconds under normal operation

Protocol - Scene Selection Message

CMP SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x30 - 0x32] - The destination mode selection byte

0x30 = Broadcast Message

0x31 = Group/Zone Message

0x32 = Address Message

<DEST> = [0x20 - OxFF] - The Destination Address.

<DEST MODE> = 0x30:

<DEST> = [0x30] - Don't Care <DEST MODE> = 0x31 :

<DEST> = [0x31 - OxFF] - The zone selection

<DEST MODE> = 0x32:

<DEST> = [0x21 - OxFF] 0x20 offset + address, MAX possible LRU's = 222

<CMD> = 0x20

<DATA> = <SCENE> = Scene Selection byte. Denotes LRU stored scene information.

The ACP can select either predefined scenes or customer specific scenes by altering the first nibble of this byte.

Predefined Scenes: 0x30 offset + 4 bit scene number. 16 scenes max

Customer Specific Scenes: OxCO offset + 4 bit scene number. 16 scenes max.

Example:

A broadcast scene command message may be transmitted over a port of the ACP to a plurality of lighting LRU's of different addresses and group numbers.

A broadcast with Dest Mode = 0x30 may reach all lighting LRU's regardless of address and group number.

A broadcast with Dest Mode = 0x31 may reach only lighting LRU's with the specified Dest Group (e.g., Group 32 and all addresses within Group 32 when Dest=0x32)

A broadcast with Dest Mode = 0x32 may reach only lighting LRU's with the specified Dest Address (e.g., Address 22 when Dest=0x22)

ADDRESSING OPERATION:

Each lighting LRU in the aircraft incorporates an individual unique address. This address helps to identify the location of the lighting LRU in the aircraft. Using a Lighting LOP A, an individual could determine the exact position of the light in the aircraft. Addressing each light makes the system capable of handling multiple zones of lighting, and also allows the systems to do BIT/BITE testing to locate faulty LRU's.

The ACP controls addressing of the lights. The ACP will use the Token Line in addition to the RS485 line to help address the lights. Each light LRU has an RS485 transceiver, Token- In and Token-Out Lines.

The token lines are used to identify, which light is currently being addressed. If a lights Token-In line is active, then the light is currently being addressed and any Address

Assignment Messages are intended solely for that LRU. If the light receives the address assignment message it will acknowledge the receipt of an address with an Address

Response Message. This signifies that addressing is complete for the LRU and it is time to move on to the next LRU. Next, the ACP will release the token which will allow the next light in the column to be addressed. The light that was just addressed will now become the new bus master. The bus master will set its Token-Out line active so that the next sequential light can be addressed. It will once again, go through the steps of addressing the next device. Once the last device in the bus is addressed it will return that the addressing operation is complete. The ACP will then Zone the lights by using the Address Zone Assignment Message. The ACP will need to communicate to each individual lighting assembly. Each lighting assembly will then reply with a Address Zone Response Message indicating the lighting assembly has been Zoned.

Protocol - Address Assignment Message

Specifications

Source Device: ACP

Destination Device: Lighting LRU's Notes

• Addressing messages are only processed by lighting assemblies whose Token-In line is active

• ACP must assert its Token-Out line active before it begins sending the first address assignment message

• The lighting assemblies must be readdressed any time an LRU is replaced on board the aircraft

• The Token Lines are considered active when these signals have the voltage potential of the Token Ref Line (GND).

• If the ACP finds that the Addressing fails or is incomplete, the ACP will send out the Release Token CMD

• Addressing operation should be repeated 3X incase of failure.

Protocol:

CMD SET DESCRIPTION

<SOT> = [0x01] - Start of Transmission Character

<EOT> = [0x04] - End of Transmission Character

Address Assignment Message:

<DEST MODE> = [0x30] - The destination mode selection byte

0x30 = Broadcast Message

<DEST> = [0x30] - The Destination Address.

<DEST MODE> = 0x30:

<DEST> = [0x30] - Don't Care

<CMD> = [0x10] - This command sets the LRU's address.

<DATA> = <Address><Last LRU> <Address> = [0x21 - OxFF] 0x20 offset + address, MAX possible LRU's = 222

<Last LRU> = The address of the last LRU in the column.

[0x21 - OxFF] 0x20 offset + address, MAX possible LRU's = 222

Protocol - Address Response Message

Specifications

Source Device: Addressed Lighting LRU

Destination Device: ACP

Notes

• The ACP should exit "Addressing Mode" after sending an Address Assignment

Message without receiving an Address Response Message within 50 milli-seconds

• The ACP should compare the information returned in the Address Response Message to its internal database, in order to ascertain that the correct light type is at the address in question. It may also verify the serial number, hardware version number, and firmware version number. Any discrepancy in returned information should stop the addressing mode of the ACP, and alert the operator to the problem.

Protocol:

CMD SET DESCRIPTION

<ACK SOT> = [0x06] - Start of Transmission Character

<EOT> = [0x04] - End of Transmission Character

Address Response Message:

<CMD> = [Ox IF] - This command is the acknowledgement message from the LRU.

<DATA> = <Address><Component ID><LRU P/N><Firmware Rev><Serial #><Spare> <Address> = [0x21 - OxFF] - The newly assigned address of the LRU

0x20 offset + address value, MAX possible LRU's = 222

<Component ID> = [0x41-0x47] - The LRU type.

[0x41] = 9500; 9150 Direct Lights (W + A)

[0x42] = 9600; 9150 Bin Lights (W + A)

[0x43] = 9750; 9150 COS Light (W+A)

[0x44] = 9600; 9200 Ceiling Lights (RGB+W)

[0x45] = 9650; 9200 Sidewall Lights (RGB+W)

[0x46] = 9550; 9200 Cove Light (RGB+W)

[0x47] = 9700; 9250 Over-Wing Exit Lights (RGB+WW)

<LRU P/N> = 20 ASCII bytes denoting LRU part number and Rev (Stored in LRU nonvolatile memory). Leading spaces

<Firmware Rev> = 20 ASCII bytes denoting LRU Firmware Rev Number (Stored in LRU non- volatile memory). Leading spaces.

<Serial #> = 20 ASCII bytes denoting LRU Serial Number (Stored in LRU non-volatile memory). Leading spaces.

<Spare> = 0x30

Protocol - Address Zone Assignment Message

Specifications

Source Device: ACP

Destination Device: Lighting LRU's

Notes

• The Token is not used when zoning the lighting assemblies. • The lighting assemblies must be reassigned any time an LRU is replaced on board the aircraft

• If the ACP must communicate with each individual light and indicate their zone with this message

• If the Lighting assembly does not respond to the ACP, The ACP should retry 3 times before alerting the operator to the failure.

Protocol:

CMD SET DESCRIPTION

<SOT> = [0x01] - Start of Transmission Character

<EOT> = [0x04] - End of Transmission Character

Address Zone Assignment Message:

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Discrete or Individual Lighting Assembly

<DEST> = [0x21 -OxFF] - The Destination Address.

<DEST MODE> = 0x32:

<DEST> = [0x21 - OxFF] 0x20 offset + address, MAX possible LRU's = 222

<CMD> = [0x12] - This command sets the LRU's Zone.

<DATA> = <Group/Zone>

<Group/Zone> = [0x31 -OxFF] - Group/Zone Assignment

Protocol - Address Zone Response Message

Specifications Source Device: Addressed Lighting LRU

Destination Device: ACP

Notes

• The ACP should retry at a minimum of 3 times to communicate with the lighting

Assembly.

• The ACP should compare the information returned in the Address Zone Response Message to its internal database, in order to ascertain that the correct light type is at the address in question.

• Address Zone Response message should be received within 50ms.

Protocol:

CMD SET DESCRIPTION

<ACK SOT> = [0x06] - Start of Transmission Character

<EOT> = [0x04] - End of Transmission Character

Address Zone Response Message:

<CMD> = [Ox IE] - This command is the acknowledgement message from the LRU. <DATA> = <Address><Component ID><LRU P/N><Firmware Rev><Serial

#><Group/ Zone>

<Address> = [0x21 - OxFF] - The newly assigned address of the LRU

0x20 offset + address value, MAX possible LRU's = 222

<Component ID> = [0x41-0x47] - The LRU type.

[0x41] = 9500; 9150 Direct Lights (W + A)

[0x42] = 9600; 9150 Bin Lights (W + A) [0x43] = 9750; 9150 COS Light (W+A)

[0x44] = 9600; 9200 Ceiling Lights (RGB+W)

[0x45] = 9650; 9200 Sidewall Lights (RGB+W)

[0x46] = 9550; 9200 Cove Light (RGB+W)

[0x47] = 9700; 9250 Over-Wing Exit Lights (RGB+WW)

<LRU P/N> = 20 ASCII bytes denoting LRU part number and Rev (Stored in LRU nonvolatile memory). Leading spaces

<Firmware Rev> = 20 ASCII bytes denoting LRU Firmware Rev Number (Stored in LRU non-volatile memory). Leading spaces.

<Serial #> = 20 ASCII bytes denoting LRU Serial Number (Stored in LRU non-volatile memory). Leading spaces.

<Group/Zone> = [0x30-0xFF] - Group/Zone Assignment

Protocol - Release Token Command

Specifications

Source Device: ACP

Destination Device: Lighting LRU's

Notes

• <Addressing Complete> = 0x31 when all lights have been addressed.

• This message should only be used in the case addressing has failed.

• This message will act as a RESET message letting all lights in the system know that addressing has failed and should be aborted if in mid-operation.

Protocol: Format MODE>

Bytes 1 1 1 1 1 2 1

0x30- 0x20-

Data 0x01 0x32 OxFF CMD DATA CRC-8 0x04

CMD SET DESCRIPTION

<SOT> = [0x01] - Start of Transmission Character

<EOT> = [0x04] - End of Transmission Character

Release Token Command:

<DEST MODE> = [0x30] - The destination mode selection byte

0x30 = Broadcast Message

<DEST> = [0x30] - The Destination Address.

<DEST MODE> = 0x30:

<DEST> = [0x30] - Don't Care

<CMD> = [0x11] - This command tells the LRU's to release the token

<DATA> = <Addressing Complete>

<Addressing Complete> = 1 byte indicating that addressing is complete

[0x30] = Addressing is not complete

[0x31] = Addressing is complete.

BIT BITE OPERATION

Each LRU Lighting assembly in the aircraft incorporates an address. This address helps to identify the location of the lighting LRU in the aircraft. Using a Lighting LOPA, an

individual could determine the exact position of the light in the aircraft. Addressing each light makes the system capable of handling multiple zones of lighting, and also allows the systems to do BITE testing to locate faulty LRU's.

The ACP controls when BIT/BITE is initiated. The ACP will use the RS485 line to poll each lighting assembly in the system to determine if the lighting assembly is still active. In addition to polling each LRU, the ACP will send a lamp test message that will set the light intensity and colors to a specific level which will provide visual lamp test functionality.

All BIT/BITE requests shall be processed and acknowledged from the lighting LRU's within 50 milli-seconds.

Protocol - BIT/BITE REQUEST MESSAGE

Specifications

Source Device: ACP

Destination Device: Lighting LRU's

Notes

• Receipt of a Scene Selection Message will cancel/terminate any BIT/BITE mode that may be in progress

• The lighting assemblies will ignore BIT/BITE messages while downloading scenes, or addressing is taking place.

• The ACP shall poll each LRU by setting the <DEST MODE> = 0x32 and <DEST> to the destination address of the lighting LRU currently being polled.

Protocol

CMP SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character <DEST MODE> = [0x30 - 0x32] - The destination mode selection byte

0x30 = Broadcast Message

0x31 = Group/Zone Message

0x32 = Address Message

<DEST> = [0x30 - OxFF] - The Destination Address.

<DEST MODE> = 0x30:

<DEST> = [0x30] - - Don't Care

<DEST MODE> = 0x31 :

<DEST> = [0x31 - OxFF] - The zone selection

<DEST MODE> = 0x32:

<DEST> = [0x21 - OxFF] 0x20 offset + address value, MAX possible LRU's = 222

<CMD> = 0x30

Protocol - BIT/BITE ACK MESSAGE

Specifications

Source Device: Addressed Lighting LRU

Destination Device: ACP

Notes

• If the <DEST MODE> = 0x32 of the BIT/BITE Request message, the LRU will

respond with the BIT/BITE ACK message immediately upon receipt of the BIT/BITE Request message, if the <DEST> of the request matches the address of the lighting assembly.

• The ACP should receive a BIT/BIT ACK message within 50ms of sending the IT/BITE request message. • If the <DEST MODE> = 0x30 of the BIT/BITE Request message, the lighting assemblies will each respond with the BIT/BITE ACK message after delaying for an interval of 50 milliseconds. *Note: The LRU address will be used as a seed value to determine the length of time each LRU will wait before transmitting its BIT/BITE ACK message.

• If the <DEST MODE> = 0x31 of the BIT/BITE Request message, the lighting

assemblies will each respond with the BIT/BITE ACK message after delaying for an interval of 50 milliseconds. *Note: The LRU address will be used as a seed value to determine the length of time each LRU will wait before transmitting its BIT/BITE ACK message.

• The ACP should compare the information returned in the BIT/BITE ACK Message to its internal database, in order to ascertain that the information in the lighting assembly is correct. Any discrepancy in returned information should alert the operator to the problem.

Protocol:

CMD SET DESCRIPTION

<ACK SOT> = [0x06] - Start of Transmission Character for ACK messages

<EOT> = [0x04] - End of Transmission Character

BIT/BITE Response Message:

<CMD> = [0x3F] - This command is the acknowledgement message from the LRU. <DATA> = <Address><Component ID><LRU P/N><Firmware Rev><Serial

#><Spare>

<Address> = [0x21 - OxFF] - The newly assigned address of the LRU

0x20 offset + address value, MAX possible LRU's = 222 <Component ID> = [0x41-0x47] - The LRU type.

[0x41] = 9500; 9150 Direct Lights (W + A)

[0x42] = 9600; 9150 Bin Lights (W + A)

[0x43] = 9750; 9150 COS Light (W+A)

[0x44] = 9600; 9200 Ceiling Lights (RGB+W)

[0x45] = 9650; 9200 Sidewall Lights (RGB+W)

[0x46] = 9550; 9200 Cove Light (RGB+W)

[0x47] = 9700; 9250 Over-Wing Exit Lights (RGB+WW)

<LRU P/N> = 20 ASCII bytes denoting LRU part number and Rev (Stored in LRU nonvolatile memory). Leading spaces

<Firmware Rev> = 20 ASCII bytes denoting LRU Firmware Rev Number (Stored in LRU non-volatile memory). Leading spaces.

<Serial #> = 20 ASCII bytes denoting LRU Serial Number (Stored in LRU non-volatile memory). Leading spaces.

<Spare> = 0x30

Protocol - BIT/BITE LAMP TEST MESSAGE

Specifications

Source Device: ACP

Destination Device: Lighting LRU's

Notes

• Receipt of a Scene Selection Message will cancel/terminate any BIT/BITE mode that may be in progress • The lighting assemblies will ignore BIT/BITE messages while downloading scenes, or addressing is taking place.

• The Lamp Test will set all LEDs on the RGB+W 9200 LRU's to a 20% intensity level

• The Lamp Test will set all LEDs on the W+A 9150 LRU's to a 60% intensity level

• Lamp Test illumination values are stored in firmware and cannot be reprogrammed

• An LRU with a temp sensor failure will default to a 0% illumination level and will not respond to lamp test messages

Protocol

CMP SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x30 - 0x32] - The destination mode selection byte

0x30 = Broadcast Message

0x31 = Group/Zone Message

0x32 = Address Message

<DEST> = [0x30 - OxFF] - The Destination Address.

<DEST MODE> = 0x30:

<DEST> = [0x30] - Don't Care

<DEST MODE> = 0x31 :

<DEST> = [0x31 - OxFF] - The zone selection <DEST MODE> = 0x32:

<DEST> = [0x21 - OxFF] 0x20 offset + address value, MAX possible LRU's = 222

<CMD> = 0x31

SCENE DOWNLOAD OPERATION

The Scene Download operation is used to update the locally stored scenes on the lighting LRU's. The ACP controls when the Scene Download Operation is initiated. The ACP will use the RS485 line to store the scene information into each light in the system. The ACP will first send a SCENE DOWNLOAD REQUEST message to all lights in the system. This will signify the lights to allow protected EEPROM space to be altered. The ACP will then transmit the SCENE CONTENT message for each scene. The scene content message contains the scenes information one scene at a time.

Once all the new scenes have been transmitted, the ACP will poll each light with SCENE QUERY REQUEST message. The Scene query message will ask the light if it has received all the scenes. The light will reply with a SCENE QUERY REPLY message notifying the ACP it has received/not received all the information. If the light has received the information it will commit all the scene information to non-volatile EEPROM. If the light responds that it has not received all the information, the ACP will retransmit the SCENE CONTENT message again to all the lights and resume re-querying the lights.

All SCENE QUERY REQUEST messages shall be processed and acknowledged by the Lighting LRU's within 50 milli-seconds.

Protocol - SCENE DOWNLOAD REQUEST

Specifications

Source Device: ACP

Destination Device: Lighting LRU's Notes

• The lighting assemblies will ignore BIT/BITE messages while downloading scenes, or addressing is taking place.

• All other scene download commands will be ignored unless the scene download request is transmitted.

• The scene download request is a broadcast message. Every lighting LRU shall receive this message.

• Scene P/Ns are for all scenes and each scene does not have its own P/N.

Protocol

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x30] - The destination mode selection byte

0x30 = Broadcast Message

<DEST> = [0x30] - The Destination Address.

<DEST MODE> = 0x30:

<DEST> = [0x30] - Don't Care

<CMD> = 0x50 - Predefined Scenes

0x60 - Custom User Scenes

<DATA> = <Total Scenes Num><Spare>

<Total Scenes Num> = [0x30-0x3F] - The total number of scenes to be updated from 1 (0x30) to 16 (0x3F). <Spare> = 0x30

Protocol - SCENE CONTENT MESSAGE

Specifications

Source Device: ACP

Destination Device: Lighting LRU's

Notes

• The scene content message is a broadcast message. Every lighting LRU shall receive this message.

• The Non- Volatile Memory can only be rewritten 1000 times.

• Scenes can be sent in any order, however new scene definitions will start with scene 0x30 and be contiguous.

Protocol

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x30] - The destination mode selection byte

0x30 = Broadcast Message

0x31 = Group/Zone Message

0x32 = Address Message

<DEST> = [0x30] - The Destination Address. <DEST MODE> = 0x30:

<DEST> = = [0x30] - Don't Care

<DEST MODE> = = 0x31 :

<DEST> = = [0x31 - OxFF] - The zone selection

<DEST MODE> = = 0x32:

<DEST> = [0x21 - OxFF] 0x20 offset + address value, MAX possible LRU's = 222

<CMD> = 0x51 - Predefined Scenes

0x61 - Custom User Scenes

<DATA> = S 1 Component ID,C 1 ,11 ,T1 ,T2

SI = Scene Selection byte. Denotes LRU stored scene information

Predefined Scene: 0x30 offset + 4 bit scene number. 16 scenes max

Custom User Scene: OxCO offset + 4 bit scene number. 16 scenes max.

<Component ID> = [0x41-0x47] - The LRU type.

[0x41] = 9500; 9150 Direct Lights (W + A)

[0x42] = 9600; 9150 Bin Lights (W + A)

[0x43] = 9750; 9150 COS Light (W+A)

[0x44] = 9600; 9200 Ceiling Lights (RGB+W)

[0x45] = 9650; 9200 Sidewall Lights (RGB+W)

[0x46] = 9550; 9200 Cove Light (RGB+W)

[0x47] = 9700; 9250 Over-Wing Exit Lights (RGB+WW)

CI - Color Selection Byte. Denotes the color of the scene from the color pallet available.

Components which consist of W+A LED's (Component ID's 0x41-0x43) shall have a color pallet limited to 8 Colors.

0x40 offset + 6 bit color, 8 colors MAX.

Components which consist of RGB+W LED's (Component ID's 0x44-0x47) shall have a color pallet limited to 32 Colors. 0x40 offset + 6 bit color, 32 colors MAX.

II - [0x30-0x33] - Intensity Selection Byte. Denotes the intensity of the scene.

[0x30] = OFF

[0x31] = Low

[0x32] = Medium

[0x33] = High

Tx - The scene transition time represents the number of seconds the scene will be

transitioning. It is a 12 bit wide value and split into 2 bytes, Tl and T2.

Tl = 0x40 offset + Most Significant 6 of 12 bits

T2 = 0x40 offset + Least Significant 6 of 12 bits

Protocol - SCENE QUERY REQUEST

Specifications

Source Device: ACP

Destination Device: Lighting LRU's

Notes

• After receiving the Scene Query Request message lighting assemblies will resume

normal operation

• The ACP shall poll each LRU by setting the <DEST MODE> = 0x32 and <DEST> to

the destination address of the lighting LRU currently being polled.

• Each lighting LRU must be queried.

Protocol

Command

Format <SOT> < D EST MODE> < DEST> <CM D > <CRC-8> < EOT>

Bytes 1 1 1 1 2 1 0x20-

Data 0x01 0x30-0x32 OxFF CMD CRC-8 0x04

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = [0x21 - OxFF] 0x20 offset + address, MAX possible LRU's = 222

<CMD> = 0x52

Protocol - SCENE QUERY REPLY

Specifications

Source Device: Addressed Lighting LRU

Destination Device: ACP

Notes

• The ACP should receive a Scene Query Reply message within 50ms of sending the

Scene Query Request message.

• If a lighting LRU does not respond to the Scene Query Request, the ACP should alert

the operator to the problem.

• The ACP should compare the information returned in the Scene Query Reply Message to its internal database, in order to ascertain that the correct information is stored in the lighting assembly. Any discrepancy in returned information should alert the operator to the problem.

Protocol:

Command <ACK <CMD> < DATA> <CRC-8> < EOT> Format SOT>

Bytes 1 1 22 2 1

Data 0x06 CMD DATA CRC-8 0x04

CMD SET DESCRIPTION

<ACK SOT> = [0x06] - Start of Transmission Character for Ack messages.

<EOT> = [0x04] - End of Transmission Character

Scene Query Reply Message:

<CMD> = [0x5F] - This command is the acknowledgement message from the LRU <DATA> = <Address><Component ID><LRU P/N><Firmware Rev><Serial

#><Download Status>

<Address> = [0x21 - OxFF] - The newly assigned address of the LRU

0x20 offset + address value, MAX possible LRU's = 222

<Component ID> = [0x41-0x47] - The LRU type.

[0x41] = 9500; 9150 Direct Lights (W + A)

[0x42] = 9600; 9150 Bin Lights (W + A)

[0x43] = 9750; 9150 COS Light (W+A)

[0x44] = 9600; 9200 Ceiling Lights (RGB+W)

[0x45] = 9650; 9200 Sidewall Lights (RGB+W)

[0x46] = 9550; 9200 Cove Light (RGB+W)

[0x47] = 9700; 9250 Over-Wing Exit Lights (RGB+WW)

<LRU P/N> = 20 ASCII bytes denoting LRU part number and Rev (Stored in LRU nonvolatile memory). Leading spaces

<Firmware Rev> = 20 ASCII bytes denoting LRU Firmware Rev Number (Stored in LRU non- volatile memory). Leading spaces.

<Serial #> = 20 ASCII bytes denoting LRU Serial Number (Stored in LRU non-volatile memory). Leading spaces. <Download Status> = Indicates if all the scenes were received.

0x30 = One or more scenes may be missing. ACP retransmission of all scenes is required. 0x31 = All scenes have been received.

Protocol - SCENE CONTENT QUERY REQUEST

Specifications

Source Device: ACP

Destination Device: Lighting LRU's

Notes

• The Scene Content Query Request message is used to query the lighting unit to

determine the scene settings of a particular scene.

• The ACP can poll each LRU by setting the <DEST MODE> = 0x32 and <DEST> to the destination address of the lighting LRU currently being polled.

Protocol

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message <DEST> = The Destination Address.

<DEST> = [0x21 - OxFF] 0x20 offset + address, MAX possible LRU's = 222

<CMD> = 0x53

<DATA> = S1

SI = Scene Selection byte. Denotes LRU stored scene information

Predefined Scene: 0x30 offset + 4 bit scene number. 16 scenes max

Custom User Scene: OxCO offset + 4 bit scene number. 16 scenes max.

Protocol - SCENE CONTENT QUERY REPLY

Specifications

Source Device: Addressed Lighting LRU

Destination Device: ACP

Notes

• The ACP should receive a Scene Content Query Reply message within 50ms of sending the Scene Content Query Request message.

• If a lighting LRU does not respond to the Scene Content Query Request, the ACP

should alert the operator to the problem.

• The ACP should compare the information returned in the Scene Content Query Reply Message to its internal database, in order to ascertain that the correct information is stored in the lighting assembly. Any discrepancy in returned information should alert the operator to the problem.

• If the ACP queries for a scene which is currently not enabled then the lighting assembly will respond with a 0x7F in the scene selection byte.

Protocol:

Command

Format <ACK <CM D > < DATA> <CRC-8> < EOT> SOT>

Bytes 1 1 22 2 1

Data 0x06 CMD DATA CRC-8 0x04

CMD SET DESCRIPTION

<ACK SOT> = [0x06] - Start of Transmission Character for Ack messages.

<EOT> = [0x04] - End of Transmission Character

Scene Content Query Reply Message:

<CMD> = [0x5E] - This command is the acknowledgement message from the LRU <DATA> = <Address>,S 1.Component ID,C 1 ,11 ,T1 ,T2

<Address> = [0x21 - OxFF] - The newly assigned address of the LRU

0x20 offset + address value, MAX possible LRU's = 222

SI = Scene Selection byte. Denotes LRU stored scene information

Predefined Scene: 0x30 offset + 4 bit scene number. 16 scenes max

Custom User Scene: OxCO offset + 4 bit scene number. 16 scenes max.

*Note: Scenes which are not enabled will return a value of 0x55 for the scene selection byte.

<Component ID> = [0x41-0x47] - The LRU type.

[0x41] = 9500; 9150 Direct Lights (W + A)

[0x42] = 9600; 9150 Bin Lights (W + A)

[0x43] = 9750; 9150 COS Light (W+A)

[0x44] = 9600; 9200 Ceiling Lights (RGB+W)

[0x45] = 9650; 9200 Sidewall Lights (RGB+W)

[0x46] = 9550; 9200 Cove Light (RGB+W)

[0x47] = 9700; 9250 Over-Wing Exit Lights (RGB+WW)

CI - Color Selection Byte. Denotes the color of the scene from the color pallet available. Components which consist of W+A LED's (Component ID's 0x41-0x43) shall have a color pallet limited to 8 Colors.

0x40 offset + 6 bit color, 8 colors MAX.

Components which consist of RGB+W LED's (Component ID's 0x44-0x47) shall have a color pallet limited to 32 Colors.

0x40 offset + 6 bit color, 32 colors MAX.

II - [0x30-0x33] - Intensity Selection Byte. Denotes the intensity of the scene.

[0x30] = OFF

[0x31] = Low

[0x32] = Med

[0x33] = High

Tx - The scene transition time represents the number of seconds the scene will be transitioning. It is a 12 bit wide value and split into 2 bytes, Tl and T2.

Tl = 0x40 offset + Most Significant 6 of 12 bits

T2 = 0x40 offset + Least Significant 6 of 12 bits

SCENE CONFIGURATION DATABASE (FOR REFERENCE ONLY)

The Scene configuration database is the file which stores the information on custom lighting scenes. This database is generated externally using the scene generator program. The database comprises the 16 scene content messages separated by ASCII carriage return line feeds.

The file includes scene information for the following LRUID's in order: 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, and Cove Light 1.

Database File Format: <SOT><Scene Rev> <Total

Scenes><SCENEl><CR><LF><SCENE2>&l t;CR><LF><SCENE3><CR><LF

SCENE4><CR><LF>

<SCENE5><CR><LF><SCENE6><CR>&l t;LF><SCENE7><CR><LF><SCENE8>< CR>< LF>

<SCE E9xCRxLFxSCE E 1 OxCRxLFxSCENE 11 xCRxLFxSCENE 12xCR

><LF>

<SCENE 13><CR><LF><SCENE 14xCRxLF><SCENE 15xCRxLFxSCENE 16><C RxLF>

<SCENElxCRxLFxSCENE2xCRxLFxSCENE3xCRxLFxSCENE4xCRx LF>

<SCENE5xCRxLFxSCENE6xCRxLFxSCENE7xCRxLFxSCENE8xCRx LF>

<SCENE9xCRxLFxSCENE 1 OxCRxLFxSCENE 11 xCRxLFxSCENE 12xCR

><LF>

<SCENE 13><CR><LF><SCENE 14xCRxLF><SCENE 15xCRxLFxSCENE 16><C RxLF>

<SCENElxCRxLFxSCENE2xCRxLFxSCENE3xCRxLFxSCENE4xCRx LF>

<SCENE5xCRxLFxSCENE6xCRxLFxSCENE7xCRxLFxSCENE8xCRx LF>

<SCENE9xCRxLFxSCENE 1 OxCRxLFxSCENE 11 xCRxLFxSCENE 12xCR

><LF>

<SCENE 13><CR><LF><SCENE 14xCRxLF><SCENE 15xCRxLFxSCENE 16><C RxLF>

<SCENElxCRxLFxSCENE2xCRxLFxSCENE3xCRxLFxSCENE4xCRx LF>

<SCENE5xCRxLFxSCENE6xCRxLFxSCENE7xCRxLFxSCENE8xCRx LF>

<SCENE9xCRxLFxSCENE 1 OxCRxLFxSCENE 11 xCRxLFxSCENE 12xCR

><LF>

<SCENE 13xCRxLFxSCENE 14xCRxLF><SCENE 15xCRxLFxSCENE 16><C R><LF>

<SCENE1><CR><LF><SCENE2><CR>&l t;LF><SCENE3><CR><LF><SCENE4>< CR>< LF>

<SCENE5><CR><LF><SCENE6><CR>&l t;LF><SCENE7><CR><LF><SCENE8>< CR>< LF>

<SCE E9xCRxLFxSCE E 1 OxCRxLFxSCENE 11 xCRxLFxSCENE 12xCR

><LF>

<SCENE 13><CR><LF><SCENE 14xCRxLF><SCENE 15xCRxLFxSCENE 16><C RxLF>

<SCENElxCRxLFxSCENE2xCRxLFxSCENE3xCRxLFxSCENE4xCRx LF>

<SCENE5xCRxLFxSCENE6xCRxLFxSCENE7xCRxLFxSCENE8xCRx LF>

<SCENE9xCRxLFxSCENE 1 OxCRxLFxSCENE 11 xCRxLFxSCENE 12xCR

><LF>

<SCENE 13xCRxLFxSCENE 14xCRxLF><SCENE 15xCRxLFxSCENE 16><C RxLF>

<SCENElxCRxLFxSCENE2xCRxLFxSCENE3xCRxLFxSCENE4xCRx LF>

<SCENE5xCRxLFxSCENE6xCRxLFxSCENE7xCRxLFxSCENE8xCRx LF>

<SCENE9xCRxLFxSCENE 1 OxCRxLFxSCENE 11 xCRxLFxSCENE 12xCR

><LF>

<SCENE 13xCRxLFxSCENE 14xCRxLF><SCENE 15xCRxLFxSCENE 16><C RxLF>

<SCENElxCRxLFxSCENE2xCRxLFxSCENE3xCRxLFxSCENE4xCRx LF>

<SCENE5xCRxLFxSCENE6xCRxLFxSCENE7xCRxLFxSCENE8xCRx LF>

<SCENE9xCRxLFxSCENE 1 OxCRxLFxSCENE 11 xCRxLFxSCENE 12xCR

><LF>

<SCENE 13><CR><LF><SCENE 14xCRxLF><SCENE 15xCRxLFxSCENE 16><C R><LF>

<CRC-8>

Name Bytes Description

<SOT> 1 Start of Transmit: 0x01

<CR> 1 ASCII Carriage Return

<LF> 1 ASCII Line Feed

<CRC-8> 2 CRC-8 calculation. The CRC-8 is identical to the communication protocol

<Scene Rev> 20 ASCII bytes denoting LRU Scenes P/N and Rev Number (Stored in LRU

non-volatile memory)

<Total Scenes> 1 [0x30-0x3F] - The total number of scenes to be updated from 1 (0x30) to 16

(0x3F).

<SCENEX> =

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x30] - The destination mode selection byte

0x30 = Broadcast Message

0x31 = Group/Zone Message

0x32 = Address Message

<DEST> = [0x30] - The Destination Address. <DEST MODE> = 0x30:

<DEST> = [0x30] - - Don't Care

<DEST MODE> = 0x31 :

<DEST> = [0x31 - OxFF] - The zone selection

<DEST MODE> = 0x32:

<DEST> = [0x21 - OxFF] 0x20 offset + address value, MAX possible LRU's = 222

<CMD> = 0x51 - Predefined Scenes

0x61 - Custom User Scenes

<DATA> = S 1.Component ID,C 1 ,11 ,T1 ,T2

SI = Scene Selection byte. Denotes LRU stored scene information

Predefined Scene: 0x30 offset + 4 bit scene number. 16 scenes max

Custom User Scene: OxCO offset + 4 bit scene number. 16 scenes max.

<Component ID> = [0x41-0x47] - The LRU type.

[0x41] = 9500; 9150 Direct Lights (W + A)

[0x42] = 9600; 9150 Bin Lights (W + A)

[0x43] = 9750; 9150 COS Light (W+A)

[0x44] = 9600; 9200 Ceiling Lights (RGB+W)

[0x45] = 9650; 9200 Sidewall Lights (RGB+W)

[0x46] = 9550; 9200 Cove Light (RGB+W)

[0x47] = 9700; 9250 Over-Wing Exit Lights (RGB+WW)

CI - Color Selection Byte. Denotes the color of the scene from the color pallet available.

Components which consist of W+A LED's (Component ID's 0x41-0x43) shall have a color pallet limited to 8 Colors.

0x40 offset + 6 bit color, 8 colors MAX.

Components which consist of RGB+W LED's (Component ID's 0x44-0x47) shall have a color pallet limited to 32 Colors. 0x40 offset + 6 bit color, 32 colors MAX.

II - [0x30-0x33] - Intensity Selection Byte. Denotes the intensity of the scene.

[0x30] = OFF

[0x31] = Low

[0x32] = Med

[0x33] = High

Tx - The scene transition time represents the number of seconds the scene will be transitioning. It is a 12 bit wide value and split into 2 bytes, Tl and T2.

Tl = 0x40 offset + Most Significant 6 of 12 bits

T2 = 0x40 offset + Least Significant 6 of 12 bits

LIGHTING LOPA CONFIGURATION DATABASE (FOR REFERENCE ONLY)

The Lighting LOPA configuration database helps to configure the exact light layout on the aircraft. It contains the descriptions for each lighting LRU, station location as well as firmware/hardware and database revision information. The database file format consists of multiple LRU types () separated by an ASCII carriage return and line feed. The ACP can check the validity of the database with the CRC-8 calculation at the end of the file.

Database File Format:

<SOT><DEVICE 1 ><CR><LF><DEVICE2><CR><LF>& lt;DEVICE3><CR><LF><DEVIC E4><CR><LF>

<DEVICE5><CR><LF><DEVICE6><CR> <LF><DEVICE7><CR><LF> ... <DEVICEX>

<CR><LF>

<CRC-8>

<SOT> = 0x01 <CR> = ASCII Carriage Return

<LF> = ASCII Line Feed

<CRC-8> = 2 byte CRC-8 calculation. The CRC-8 is identical to the communication protocol

<DEVICEX> = <LRU TypexDevice Address><Group/Zone><Comm PortxSTA LOCxLRU Description>

Name Bytes Description

<LRU Type> 1 The LRU Type

[0x41] = 9500; 9150 Direct Lights (W + A)

[0x42] = 9600; 9150 Bin Lights (W + A)

[0x43] = 9750; 9150 COS Light (W+A)

[0x44] = 9600; 9200 Ceiling Lights (RGB+W)

[0x45] = 9650; 9200 Sidewall Lights (RGB+W)

[0x46] = 9550; 9200 Cove Light (RGB+W)

[0x47] = 9700; 9250 Over-Wing Exit Lights (RGB+WW)

<LRU Address> 1 The LRU Address

[0x21-0xFF]

<Group/Zone> 1 The LRU Zone assignment

[0x31-0xFF]

<Comm Port> 1 The Comm port this LRU is on

[0x01] = Comm Port 1

[0x02] = Comm Port 2

[0x03] = Comm Port 3

[0x04] = Comm Port 4

[0x05] = Comm Port 5

<STA LOO 5 The ASCII String Description of the Station location with leading zeros <Dev Description> 40 The ASCII String Description of the LRU with leading spaces

MISC OPERATIONS

CRC-8 Calculation:

The cyclic redundancy check is a CRC-8 calculation that is split into the ASCII

representation of the value. So if the value = 0xA3, the CRC-8 values in the message protocol would be 0x41 and 0x33.

Decompression Signal:

Specifications

Source Device: ACP

Destination Device: Lighting LRU's

Notes

• All lighting assemblies will go to bright white on the receipt of a

decompression signal message.

• When a scene selection message is received the lighting assemblies will exit decompression mode.

• After a Decompression signal message is received, the lighting assemblies cannot be timed out and will remain on bright white

Protocol Bytes 1 1 1 1 2 1

0x30- 0x20-

Data 0x01 0x32 OxFF CMD CRC-8 0x04

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x30] - The destination mode selection byte

0x30 = Broadcast Message

<DEST> = [0x30] - The Destination Address.

<DEST MODE> = 0x30:

<DEST> = [0x30] - Don't Care

<CMD> = 0x80 - Decompression

Loss of Communications:

A lighting LRU is considered to have lost communication providing it has not received 3 heartbeats. Each heartbeat message shall be every 10 seconds, therefore after 30 seconds it is assumed the light has lost communications and it will default to approx 30% White intensity. Once communication is re-established the LRU will go to the state it is being commanded too.

System Power-up:

Upon system power up, each LRU will wait for 30 seconds to receive a Scene Selection Message. If none is received within that time period, the LRU will automatically transition to approx 30% White intensity. Once communication is re-established the LRU will go to the state it is being commanded too.

*See Lighting Control Plan for further reference Firmware / Hardware Distinction The following states are programmed in firmware, cannot be reprogrammable and are part of the Op-Code.

Firmware

-Decompression

-No Comm - Cold Start

-No Comm - Operation

-Lamp Test

The Following states are reprogrammable and stored in non-volatile Memory.

Software

-Predefined Scenes 1-16

-Custom Scenes 1-16

ATP PROTOCOL

Each LRU consists of one or more, smaller device segments. The smaller device segments are all working together to give the impression that the LRU is a single unit operating as one. An LRU has 2 communications busses, the RS485 bus and an I2C bus. The RS485 bus is used to communicate to device outside the realm of the LRU such as the ACP and ATP equipment. The I2C bus is used to communicate from device to device within an LRU. All ATP mode commands will not be accepted unless the Enter ATP mode command is issued first.

CMD SET TABLE

CMP Value Description

Enter ATP Mode OxEO Allows the LRU to enter ATP mode

Exit ATP Mode OxFF Exits the ATP mode

Write Slave Device Num OxEl Sets the number of slave devices a master must communicate with Read Slave Devices Num 0xE2 Reads the number of slave devices a master can communicate with

Device Num Response 0xE3 The response back from the master of the slave devices

Write Component ID 0xE4 Writes the Component ID into flash

Read Component ID 0xE5 Reads the Component ID out of flash

Component ID Response 0xE6 The LRU response to setting/reading the

component ID

Write LRU P/N 0xE7 Writes the LRU P/N into flash

Read LRU P/N 0xE8 Reads the LRU P/N out of flash

LRU P/N Response 0xE9 The LRU response to setting/reading the LRU

ID

Write Firmware Rev OxEA Writes the Firmware Rev into flash

Read Firmware Rev OxEB Reads the Firmware Rev out of flash

Firmware Rev Response OxEC The LRU response to setting/reading the

Firmware Rev

Write Serial Number OxFO Writes the Serial # into flash

Read Serial Number OxFl Reads the Serial # out of flash

Serial Number Response 0xF2 The LRU response to setting/reading the Serial

#

Write LED Board Size 0xF3 Writes the LED Board Size into flash

Read LED Board Size 0xF4 Reads the LED Board Size out of flash

LED Board Response 0xF5 The LRU response to setting/reading the LED

Board Size

BITE Read 0xF6 Reads the BITE information in the LRU

BITE Response 0xF7 The LRU response to a BITE request.

Clear BITE 0xF8 Clears the BITE memory.

Calibration Command 0xF9 Calibration Command to set Dot-Correction

Scene Pallet Command OxFA Sets the RGBW or WA coordinates of the color pallet. ENTER ATP MODE COMMAND:

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte 0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = OxEO *** Enter Maintenance Mode Command

<DATA> = 0xFF,0xAA,0x55,0x20 *** Maintenance Mode Password

EXIT ATP MODE COMMAND: Notes:

1) At the exit of ATP Mode, all data should be stored into NVROM

CMP SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = 0xFF *** Exit Maintenance Mode Command

WRITE SLAVE DEVICE NUM COMMAND:

Notes

1) Only the device with its master/slave resistor network set as a master should accept this command

2) The master should respond with a slave device num response command

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character <DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = OxEl

<DATA> = 1 byte, 0x30-0x34

0x30 = No Slave devices

0x31 = 1 Slave Device

0x32 = 2 Slave Devices

0x33 = 3 Slave Devices

0x34 = 4 Slave Devices

READ SLAVE DEVICE NUM COMMAND: Notes

1) Only the device with its master/slave resistor network set as a master should respond to this command

2) The master should respond with a slave device num response command

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character <DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = 0xE2

SLAVE DEVICE NUM RESPONSE COMMAND:

Notes

1) Only the device with its master/slave resistor network set as a master should transmit this message

CMD SET DESCRIPTION

<SOT> 0x06 - Start of Transmission Character

<EOT> 0x04 - End of Transmission Character

<CMD> = 0xE3

<DATA> = 1 byte, 0x30-0x34

0x30 = No Slave devices

0x31 = 1 Slave Device

0x32 = 2 Slave Devices

0x33 = 3 Slave Devices

0x34 = 4 Slave Devices Notes

1) All devices (Master and Slave) will read this message. The master will be the only light to respond

2) The master device should poll the slave devices and report on their Component ID, in the component ID response message

3) Master must receive write slave device num command before this message is sent.

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = 0xE4

<DATA> = 1 byte, [0x41-0x47] - The Component ID.

[0x41] = 9500; 9150 Direct Lights (W + A)

[0x42] = 9600; 9150 Bin Lights (W + A)

[0x43] = 9750; 9150 COS Light (W+A)

[0x44] = 9600; 9200 Ceiling Lights (RGB+W)

[0x45] = 9650; 9200 Sidewall Lights (RGB+W)

[0x46] = 9550; 9200 Cove Light (RGB+W) [0x47] = 9700; 9250 Over- Wing Exit Lights (RGB+WW)

READ COMPONENT ID COMMAND:

Notes

1) All devices (Master and Slave) will read this message. Only the master will respond

2) The master device should poll the slave devices and report on their Component ID, in the component ID response message

3) Master must receive write slave device num command before this message is sent.

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = 0xE5 COMPONENT ID RESPONSE COMMAND:

Notes

All devices (Master and Slave) will read this message. Only the master will respond

CMD SET DESCRIPTION

<SOT> = 0x06 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<CMD> = 0xE6

<DATA> = 5 bytes, M,Sl,S2,S3,S4

Ml = Master Component ID

51 = Slave Device 1 Component ID. Unused slaves will respond with 0x30

52 = Slave Device 2 Component ID. Unused slaves will respond with 0x30

53 = Slave Device 3 Component ID. Unused slaves will respond with 0x30

54 = Slave Device 4 Component ID. Unused slaves will respond with 0x30

[0x41-0x47] - The Component ID.

[0x41] = 9500; 9150 Direct Lights (W + A)

[0x42] = 9600; 9150 Bin Lights (W + A)

[0x43] = 9750; 9150 COS Light (W+A)

[0x44] = 9600; 9200 Ceiling Lights (RGB+W)

[0x45] = 9650; 9200 Sidewall Lights (RGB+W)

[0x46] = 9550; 9200 Cove Light (RGB+W)

[0x47] = 9700; 9250 Over-Wing Exit Lights (RGB+WW) WRITE LRU P/N COMMAND:

Notes

1) Only the device with its master/slave resistor network set as a master should accept this command

2) The master should respond with a LRU P/N response command

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = 0xE7

<DATA> = <LRU P/N> = 20 ASCII bytes denoting LRU part number and Rev (Stored in LRU non- volatile memory). Leading spaces

NOTES

1) Only the device with its master/slave resistor network set as a master should accept this command

2) The master should respond with a LRU P/N response command Format MODE>

Bytes 1 1 1 1 2 1

0x30- 0x20-

Data 0x01 0x32 OxFF CMD CRC-8 0x04

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = 0xE8

LRU P/N RESPONSE COMMAND:

Notes

1) Only the device with its master/slave resistor network set as a master should transmit this message

CMD SET DESCRIPTION

<SOT> = 0x06 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character <CMD> = 0xE9

<DATA> = <LRU P/N> = 20 ASCII bytes denoting LRU part number and Rev (Stored in LRU non- volatile memory). Leading spaces

WRITE FIRMWARE REV COMMAND:

Notes

1) Only the device with its master/slave resistor network set as a master should accept this command

2) The master should respond with a Firmware Rev response command

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = OxEA

<DATA> = <Firmware Rev> = 20 ASCII bytes denoting the firmware Rev. (Stored in LRU non- volatile memory). Leading spaces READ FIRMWARE REV COMMAND: Notes

1) Only the device with its master/slave resistor network set as a master should accept this command

2) The master should respond with a Firmware Rev response command

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = OxEB

FIRMWARE REV RESPONSE COMMAND:

Notes

1) Only the device with its master/slave resistor network set as a master should transmit this message Command

Format <SOT> <CMD> <DATA> <CRC-8> < EOT>

Bytes 1 1 1 2 1

Data 0x06 CMD DATA CRC-8 0x04

CMD SET DESCRIPTION

<SOT> = 0x06 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<CMD> = OxEC

<DATA> = <LRU P/N> = 20 ASCII bytes denoting LRU part number and Rev (Stored in LRU non- volatile memory). Leading spaces

WRITE SERIAL NUM COMMAND:

Notes

1) Each Device will receive their Serial Number

2) The addressed device will respond with a Serial Number response

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte 0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = OxFO

<DATA> = <Device><Serial #>

<Device> = 1 byte, indicating the device

0x30 = Master

0x31 = Slave 1

0x32 = Slave 2

0x33 = Slave 3

0x34 = Slave 4

<Serial #> = 20 ASCII bytes denoting LRU Serial Number (Stored in LRU non-volatile memory). Leading spaces.

READ SERIAL NUMBER COMMAND:

Notes

1) The addressed device will respond with a Serial Number response

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message <DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD>

<DATA> = <Device>

<Device> = 1 byte, indicating the device

0x30 = Master

0x31 = Slave 1

0x32 = Slave 2

0x33 = Slave 3

0x34 = Slave 4

SERIAL NUMBER RESPONSE COMMAND:

Notes

1) The addressed device will respond with a Serial Number response

CMD SET DESCRIPTION

<SOT> = 0x06 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<CMD> = 0xF2

<DATA> = <Serial #> = 20 ASCII bytes denoting the Serial # (Stored in LRU nonvolatile memory). Leading spaces WRITE LED BOARD COMMAND:

Notes

1) Each Device will receive their LED Board

2) The addressed device will respond with the LED Board response

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = 0xF3

<DATA> = <Device><Board #>

<Device> = 1 byte, indicating the device

0x30 = Master

0x31 = Slave 1

0x32 = Slave 2

0x33 = Slave 3

0x34 = Slave 4

<Board #> = 1 byte, indicating the LED Board Size

0x30 = 13" W+A 0x31 = 15" W+A

0x32 = 20" W+A

0x40 = 13" RGB+W

0x41 = 14" RGB+W

0x42 = 15" RGB+W

0x43 = 20" RGB+W

0x44 = 25" RGB+W

READ LED BOARD COMMAND:

Each Device will receive their LED Board

The addressed device will respond with the LED Board response

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = 0xF4

<DATA> = <Device>

<Device> = 1 byte, indicating the device 0x30 = Master

0x31 = Slave 1

0x32 = Slave 2

0x33 = Slave 3

0x34 = Slave 4

LED BOARD RESPONSE COMMAND:

Notes

1) The addressed device will respond with the LED Board response

CMD SET DESCRIPTION

<SOT> = 0x06 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<CMD> = 0xF5

<DATA> = <Board #> = 1 byte, indicating the LED Board Size

0x30 = 13" W+A

0x31 = 15" W+A

0x32 = 20" W+A

0x40 = 13" RGB+W

0x41 = 14" RGB+W

0x42 = 15" RGB+W

0x43 = 20" RGB+W

0x44 = 25" RGB+W READ BITE COMMAND:

Notes

1) Each Device will receive the BITE command

2) The addressed device will respond with the BITE response

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte 0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = 0xF6

<DATA> = <Device>

<Device> = 1 byte, indicating the device

0x30 Master

0x31 Slave 1

0x32 Slave 2

0x33 Slave 3

0x34 Slave 4 BITE RESPONSE COMMAND:

Notes

• The addressed device will respond with the LED Board response

CMD SET DESCRIPTION

<SOT> = 0x06 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<CMD> = 0xF7

<DATA> = <Error > = 4 byte, indicating the BITE errors WDT Count byte

0x00 = No WDT Resets

0x01 - OxFF The count of WDT Resets

Temperature Bounds Failure byte

0x30 = Failed

0x31 = Pass

ROM CRC Check byte

0x30 = Failed

0x31 = Pass

RAM Check byte

0x30 = Failed

0x31 = Pass CLEAR BITE COMMAND:

Notes

1) Each Device will receive the clear BITE command

2) The addressed device will respond clear the BITE messages.

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = 0xF8

<DATA> = <Device>

<Device> = 1 byte, indicating the device

0x30 = Master

0x31 = Slave 1

0x32 = Slave 2

0x33 = Slave 3

0x34 = Slave 4

CALIBRATION COMMAND:

Notes 1) Once the device receives a Calibration Command it will shut off all other driver outputs other then the one selected.

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = 0xF9

<DATA> = <Command><String #>

<Command> = [0x30-0x32] Dot Correction Command

0x30 = Select LED String - This will turn on the ports for the LED String selected on MAX

0x31 = Increase LED Current

0x32 = Decrease LED Current

0x33 = SET Dot Correction Registers.

<String #> = [0x30 - 0x4F] - The LED string selected

RGB+W LEDs

0x30 String 1 = Driver 0 (UX) port 0

0x3F String 16 = Driver 0 (UX) port 15

0x40 String 17 = Driver 1 (UX) port 0

0x4F String 32 = Driver 1 (UX) port 15 W+A LEDs

0x30 = W String 1 = Driver 0 (UX) port 0,1 and 2

0x31 = W String 2 = Driver 0 (UX) port 3,4 and 5

...etc

0x4E = A String 1 = Driver 0 (UX) port 15

0x4F = A String 2 = Driver 1 (UX) port 15

COLOR PALLET COMMAND:

Notes

1) All colors in the pallet should be set , If a color is not set then the light will not save the data to eeprom, and act like an un-calibrated light.

CMD SET DESCRIPTION

<SOT> = 0x01 - Start of Transmission Character

<EOT> = 0x04 - End of Transmission Character

<DEST MODE> = [0x32] - The destination mode selection byte

0x32 = Address Message

<DEST> = The Destination Address.

<DEST> = Ox 1 F * * * Maintenance Mode Address

<CMD> = OxFA

<DATA> = <Command><Color #><Color>

<Command> = The Command byte 0x30 = Select Color Pallet Color (RGBW,WA) Variables

0x31 = Set Color Pallet Color Variables.

<Color #> = The color pallet number

<Color> = 9200 Devices

R - 2 bytes, 0x40 + 6 bit MSB Red Color.

0x40 + 6 bit LSB Red Color.

G - 2 bytes, 0x40 + 6 bit MSB Green Color

0x40 + 6 bit LSB Green Color

B - 2 bytes, 0x40 + 6 bit MSB Blue Color

0x40 + 6 bit LSB Blue Color

W - 2 bytes, 0x40 + 6 bit MSB White Color

0x40 + 6 bit LSB White Color

9150 Devices

W - 2 bytes, 0x40 + 6 bit MSB White Color

0x40 + 6 bit LSB White Color

A - 2 bytes, 0x40 + 6 bit MSB Amber Color

0x40 + 6 bit LSB Amber Color

I2C MASTER SLAVE COMMUNICATIONS PROTOCOL

Each LRU consists of one or more, smaller device segments. The smaller device segments are all working together to give the impression that the LRU is a single unit operating as one. An LRU has 2 communications busses, the RS485 bus and an I2C bus. The RS485 bus is used to communicate to device outside the realm of the LRU such as the ACP and ATP equipment. The I2C bus is used to communicate from device to device within an LRU

Of the devices inside the LRU, one is deemed a master and the remaining devices are slaves. The distinction between master and a slave devices are made by an external resistor divider circuit on each device which is installed at production. The master device is the only device which can communicate via the RS485 bus and which can initiate communication on the I2C bus. All devices inside an LRU, masters and slaves are capable of listening to the RS485 bus.

***A11 12C read operations require a write operation stating the information that needs to be requested on the read.

PROTOCOL FORMAT

CMD SET TABLE

CMD Value Description

Address Write 0x01 Sets the LRU address into the slave devices

Address Read 0x02 Reads the LRU address from the addressed slave device

Group/Zone Write 0x03 Sets the LRU group/Zone into the slave device

Group/Zone Read 0x04 Reads the LRU Group/Zone from the addressed slave device

Component ID Read 0x05 Reads the Component IDs from the addressed slave device

Serial # Read 0x06 Reads the Serial # of the addressed slave device

Firmware Rev Read 0x07 Reads the Firmware Rev of the addresses slave device

Scene Complete Query 0x11 Queries the slave devices to see if they have received all their scenes Scene Content Data Write 0x12 Writes scene content data for each scene into slave devices

Scene Content Data Read 0x13 Reads scene content data for each scene from the addressed slave device

Bit Error Query 0x21 Queries the slave devices for their Bit error codes

SLAVE DEVICE ADDRESS

Slave Device Num Address Voltage

1 OxXX XV

2 OxXX XV

3 OxXX XV

Address Write Cmd

Notes

• Sets the LRU address into the slave devices

• Used after the ACP addresses the LRU to address all slave devices

CMD Set Description

CMD 0x01

Data [0x21 - OxFF] 0x20 offset + address value, MAX possible LRU's = 222

Address Read Cmd Bytes 1 5 1 2

7 - Bit Address +

Data R/W Bit 0- 100 CMD Checksum

Notes

• Reads the LRU address from the addressed slave device

• Used after the ACP requests BIT, the master should check that all the slaves have the same address

CMD Set Description

CMD 0x02

Slave Device Response

1 byte, [0x21 - OxFF] 0x20 offset + address value, MAX possible LRU's =

222

Group/Zone Write Cmd

Notes

• Sets the LRU group/zone into the slave devices

• Used after the ACP sets the group/Zone of the LRU

CMD Set Description

CMD 0x03

Data [0x31 - OxFF] - The zone selection

Group/Zone Read Cmd Command Msg

Format Address Length CMD Checksum

Bytes 1 1 1 2

7 - Bit Address +

Data R/W Bit 5 CMD Checksum

Notes

• Reads the LRU group/zone from the addressed slave device

• Used after the ACP requests BIT, the master should check that all the slaves have the same group/zone

CMD Set Description

CMD 0x04

Slave Device Response

byte, [0x31 - OxFF] - The zone selection

Component ID Read Cmd

Notes

• Reads the Component ID from the addressed slave device

• Used after the ACP requests BIT, the master should check that all the slaves have the same Component ID

CMD Set Description

CMD 0x05 Slave Device Response

1 byte, [0x41-0x47] - The Component ID.

[0x41] = 9500; 9150 Direct Lights (W + A)

[0x42] = 9600; 9150 Bin Lights (W + A)

[0x43] = 9750; 9150 COS Light (W+A)

[0x44] = 9600; 9200 Ceiling Lights (RGB+W)

[0x45] = 9650; 9200 Sidewall Lights (RGB+W)

[0x46] = 9550; 9200 Cove Light (RGB+W)

[0x47] = 9700; 9250 Over-Wing Exit Lights (RGB+WW)

Firmware Rev Read Cmd

Notes

• Reads the Firmware Rev from the addressed slave devices

• Used after the ACP requests BIT, the master should check that all the slaves have the same Firmware Rev

CMD Set Description

CMD 0x07

Slave Device Response

20 ASCII bytes denoting LRU Firmware Rev Number (Stored in LRU non-volatile memory). Leading spaces.

Scene Complete Query Cmd Bytes 1 1 1 2

7 - Bit Address +

Data R/W Bit 5 CMD Checksum

Notes

• Query's the slave devices to see if all the slaves have received their scenes during scene reprogramming

• Used after the ACP requests a scene content query

CMD Set Description

CMD 0x11

Slave Device Response

1 byte, 0x31 = All scenes received

0x30 = Scene content incomplete

Scene Content Data Write Cmd

Notes

• Sets the LRU scene content data into the slave devices

• Used after the ACP sends each scenes content.

CMD Set Description

CMD 0x12

DATA> <Address>,S 1 Component ID,C 1 ,11 ,T1 ,T2 <Address> = [0x21 - OxFF] - The newly assigned address of the LRU 0x20 offset + address value, MAX possible LRU's = 222

SI = Scene Selection byte. Denotes LRU stored scene information

Predefined Scene: 0x30 offset + 4 bit scene number. 16 scenes max

Custom User Scene: OxCO offset + 4 bit scene number. 16 scenes max.

*Note: Scenes which are not enabled will return a value of 0x55 for the scene selection byte.

<Component ID> = [0x41-0x47] - The LRU type.

[0x41] = 9500; 9150 Direct Lights (W + A)

[0x42] = 9600; 9150 Bin Lights (W + A)

[0x43] = 9750; 9150 COS Light (W+A)

[0x44] = 9600; 9200 Ceiling Lights (RGB+W)

[0x45] = 9650; 9200 Sidewall Lights (RGB+W)

[0x46] = 9550; 9200 Cove Light (RGB+W)

[0x47] = 9700; 9250 Over-Wing Exit Lights (RGB+WW)

CI - Color Selection Byte. Denotes the color of the scene from the color pallet available.

Components which consist of W+A LED's (Component ID's 0x41-0x43) shall have a color pallet limited to 8 Colors.

0x40 offset + 6 bit color, 8 colors MAX.

Components which consist of RGB+W LED's (Component ID's 0x44-0x47) shall have a color pallet limited to 32 Colors.

0x40 offset + 6 bit color, 32 colors MAX.

II - [0x30-0x33] - Intensity Selection Byte. Denotes the intensity of the scene.

[0x30] = OFF

[0x31] = Low

[0x32] = Med

[0x33] = High Tx - The scene transition time represents the number of seconds the scene transitioning. It is a 12 bit wide value and split into 2 bytes, Tl and T2.

Tl = 0x40 offset + Most Significant 6 of 12 bits

T2 = 0x40 offset + L east Significant 6 of 12 bits

Scene Complete Data Read Cmd

Notes

• Query's the slave devices to see if each scene on the slave devices matches the scenes of the master device.

• Used after the ACP requests a scene content query request

CMD Set Description

CMD 0x13

Data SI = Scene Selection byte. Denotes LRU stored scene information

Predefined Scene: 0x30 offset + 4 bit scene number. 16 scenes max

Custom User Scene: OxCO offset + 4 bit scene number. 16 scenes max.

Slave Device Response

S1,C1,I1,T1,T2

SI = Scene Selection byte. Denotes LRU stored scene information

Predefined Scene: 0x30 offset + 4 bit scene number. 16 scenes max

Custom User Scene: OxCO offset + 4 bit scene number. 16 scenes max. *Note: Scenes which are not enabled will return a value of 0x55 for the scene selection byte.

CI - Color Selection Byte. Denotes the color of the scene from the color pallet available.

Components which consist of W+A LED's (Component ID's 0x41-0x43) shall have a color pallet limited to 8 Colors.

0x40 offset + 6 bit color, 8 colors MAX.

Components which consist of RGB+W LED's (Component ID's 0x44-0x47) shall have a color pallet limited to 32 Colors.

0x40 offset + 6 bit color, 32 colors MAX.

II - [0x30-0x33] - Intensity Selection Byte. Denotes the intensity of the scene.

[0x30] = OFF

[0x31] = Low

[0x32] = Med

[0x33] = High

Tx - The scene transition time represents the number of seconds the scene will be transitioning. It is a 12 bit wide value and split into 2 bytes, Tl and T2.

Tl = 0x40 offset + Most Significant 6 of 12 bits

T2 = 0x40 offset + Least Significant 6 of 12 bits

BIT Error Query Cmd

Notes

• Query's the slave devices for their recorded BIT errors. • Used after the ACP requests a BIT request of the LRU

CMP Set Description

CMD 0x21

Slave Device Response

4 bytes,

WDT Count byte

0x00 = No WDT Resets

0x01 - OxFF The count of WDT Resets

Temperature Bounds Failure byte

0x30 = Failed

0x31 = Pass

ROM CRC Check byte

0x30 = Failed

0x31 = Pass

RAM Check byte

0x30 = Failed

0x31 = Pass




 
Previous Patent: CONCURRENT STIMULATION EFFECT DETECTION

Next Patent: DUMP TRAILER