Stochastic Signal Density Modulation
Stochastic Signal Density Modulation (SSDM) is a novel power modulation technique primarily used for LED power control. The information is encoded - or the power level is set - using pulses that have pseudo random widths. The pulses are produced in such a way that on average the produced signal will have a desired ratio between high and low states. The main benefit of using SSDM over for example Pulse-width modulation (PWM), which is usually the preferred method for controlling LED power, is reduced electromagnetic interference. Figure 1 illustrates a SSDM signal and demonstrates how the average  signal density approaches desired value. The pseudo random pulses in the signal are clearly visible. SSDM can be seen as a special case of Pulse-density modulation (PDM) or Random Pulse Width Modulation (RPWM). Principle and signal creation. Producing SSDM signal requires a Linear-feedback shift register (LFSR) or similar source providing a sequence of pseudo random numbers, a signal density register and a comparator. On each clock cycle, the LFSR provides one pseudo random number. This is compared against the signal density register. Should the signal density register be at or lower than the generated pseudo random number, output  is set to high. If the signal density register is higher than the generated pseudo random number, the output is set to low. This is illustrated in figure 2. When LFSR is used to provide pseudo random numbers with maximum possible period, the sequence will contain each of the numbers in the range once (except the zero), and eventually repeat. For a 4-bit LFSR the sequence is [1 2 5 3 7 6 4]. If the signal density register would be set to 3, would the corresponding SSDM signal be repeating the [1 1 0 1 0 0 0 ] pattern. Figure 3 demonstrates the signal generation process. Generated sequence of pseudo random numbers is shown in the first sub-plot along with a desired 30% threshold. The lower plot is the produced SSDM signal. It can be seen that the output is high only when the generated pseudo random numbers are at or below the desired threshold. The SSDM signal will average at 30% of the maximum. Also the repetitive nature of LFSR is clearly visible in the pseudo random number sequence and in the resulting SSDM signal. Comparison against other modulation methods. SSDM has significant advantages over PWM  when used for power control. In PWM signal, the frequency at which the output is turned high is constant. Only the width of the pulses is varied. This results in relatively high electromagnetic interference amplitude. In the case of SSDM, as the pulse widths and intervals are not constant, the resulting interference is spread across wider spectrum reducing the overall interference amplitude. The fundamentally different operational principles of SSDM and PWM are illustrated on figure 4. Both signals are shown with two different signal density or pulse-width ratios: 10% and 70%. Figure 5 illustrates the simulated spectrum of SSDM  signal compared to PWM. Both are set to 30% signal density or pulse width, and operate on the same frequency. As it can be seen, the amplitude on the lowest frequency component in SSDM is attenuated more than 20 dB. This also demonstrates that for SSDM most of the signal energy is shifted to higher frequencies.. Some sources cite attenuation of 30 dB However, due to the higher frequencies present in the signal the SSDM may demand more from the load-driving circuitry than PWM. If there is any filtering present in the SSDM signal to reduce the higher frequency  components may this have also an effect on the signal density. It's also worth noting that the increased number of individual transitions may also increase the switching losses on the MOSFETs used. Like PWM, Delta-sigma_modulation (DSM) produces far higher amplitude on the fundamental frequency and for the four following harmonics than SSDM. Practical implementation. Hardware support. The SSDM technology is patented by Cypress Semiconductor. Hence the microcontrollers supporting SSDM signal generation using dedicated hardware modules are PSoC devices from Cypress Semiconductor. SSDM module is available in PSoC 1 series devices. With PSoC series 3, 4 and 5 Precision  Illumination Signal Modulation (PrISM) modules can be used. PrISM is interchangeable for SSDM. While it is recognized in US Patent 8129924 that one practical option in signal generation is using CPLD or FPGA devices, as off October 2017 no such implementations are publicly disclosed. Considerations. When creating SSDM signal regardless of the method (HW, FPGA, Software) some consideration should be put on the frequency at which the signal is created and the other circuitry: