This thesis addresses the process of making a testing device of an automotive decorative lamp. The device has 5 functions: dimming with pulse-width modulation, monitoring of a LED driver communication, animation testing, thermal derating test and flashing of settings and device address. All components of the device must comply with automotive standards.
Main component of the device is microcontroller STM Discovery STM32F429I with integrated touchscreen, through which user controls the devices functions. The controller communicates with lamp through UART - CAN converter TJA1051. The device has 4-pin connector, a pin for CAN high, pin for CAN low, pin for thermistor and the last pin for ground. Test machine is packed in a robust, industrial grade case. Software was created in CubeIDE program, which is a product of the same manufacturer as the microcontroller and thus already includes plenty of resources for it. Program includes a concept of real time operating system (RTOS) for better structure and clarity of code. Software is written as a state machine, where one screen represents one state and at the same time one task of real time operating system.
The result of this thesis is a device, which is capable of all the above-described functions. It is easy to use. Temperature measurement included in thermal derating test is precise enough. The machine is primarily used to test prototypes of car lamps.
|