The Intertwined Relationship of the Sunroof and the Sunshade Motor: From Pushing One Button to Movement

First, you push the button from your roof console. One second later, the sunshade moves back, the window opens up and some light penetrates the interior of your car. Everything appears very easy. Yet, what happens one second later is much more complex and involves many technologies that all work together.

As someone who works with vehicles, parts and product design, knowing sunroof and sunshade motor integration technology can help you to diagnose problems, determine specifications and ask more informed questions from the supplier. Therefore, let me walk you through the process of pushing that button.

Layer One: The Actual Mechanical Hardware

The first layer consists of a small electric motor with reduction gearing. In a regular sunroof design, an electric motor installed at the frame is responsible for pulling the cables that move the glass window. This is true of a sunshade, too, which moves along its tracks.

Panoramic roofs involve more components to be moved. According to a BMW service document, the panoram roof is equipped with two glass windows and a two-part sliding visor that are operated by two DC motors with reduction gearing – one motor for two windows, another for the visor. This is a usual practice – two drives for two components.

The contrary example is given by Hyundai patent. This sunroof structure features only one electric motor, which drives both the sunshade and the glass. This approach aims to reduce the cost of manufacturing and the vehicle’s weight. However, having fewer motors implies more complex mechanism.

Layer Two: Sensing or How the System Knows Where Things Are

A motor without feedback does not know what it’s doing. It can rotate, but it won’t know if the blind is opened, partially opened or stuck. That’s why the motors use position sensors, mostly hall sensors.

One of the services describes a connector pinout of the motor for hall sensors, which provides information about speed and direction. The position is monitored by pulse counting. A new chipset by Melexis designed for windows lifting, seat and sunroof mechanisms consists of smart motor driver IC and dual hall sensor with speed outputs, mentioning that current sensing allows the anti-pinch function in sunshade motor integration technology.

There are two types of signals important for our system: position (where is it?) and load (how much the motor works?).

Layer Three: Controller with Its Logic of Safety

The next layer of electronic component responsible for determining the course of actions is presented by the supplier’s sunroof module as a stand-alone controller capable of driving up to two motors with the microcontroller, dual full bridge DC motor driver controllers, CAN-FD and LIN interfaces and software based on AUTOSAR. Hall effect sensor positions the controller and provides for diagnostic, thermal and anti-pinch functions.

Safety Logic requires special consideration.

  • Anti-pinch. When the control unit senses an unforeseen increase in load or slowdown during closure, it pauses and backs out. This will protect fingers, hands, and objects. This isn’t an additional feature; it’s an integral element of the design and must not be turned off or overridden.
  • Stall protection. According to one manufacturer’s instructions, the rule is that if a panel stops for 350 milliseconds during operation when a command is active and there is no obstruction detected, the motor will be shut down to avoid overheating.
  • Thermal protection. The same manual explains the algorithm for preventing the damage of the control unit and motor due to excess switching.

All these features make the sunroof work strangely, like not working at all. And most often, it just tries to protect itself.

Fourth Layer: The Network

However, the controller does not operate in isolation. Rather, it communicates with the rest of the car through a LIN bus, which is a cheap and low-speed networking technology designed for body-electronics applications. A patent for a sunroof control system mentions the use of LIN technology for body electronics communications because of the small amount of traffic and moderate speed needs.

In a described body-control system, the body control module serves as the LIN master and sunroof and sunshade control modules serve as slaves. The master module enables or disables the system’s operation, and sends vehicle information and controls the movement. What is interesting, is that the motor/controller assembly includes the electronics, motor, Hall sensors, and the shade/glass units are made as one assembly.

This is an efficient way to save costs in sunshade motor integration technology: one part number, but two functions, controlled by software and configuration.

Layer Five: Coordination, the Difficult Layer

This is where integration really comes into play. The glass and the shade use the same opening. In case the two parts are operated independently, they can end up in collision or with some empty space.

In the example discussed above, the controllers of sunroof and sunshade use the same LIN bus but communicate with each other only via the body control module which controls their dependency. Another architectural approach, as it is shown in a patent for sunroof controller, involves one controller which measures the position of both motors and prevents position conflicts between the two elements; in case of coincident position, it opens or closes both parts.

According to the BMW documentation, from the user perspective, on the panorama system, the sliding visor opens completely prior to the glass sliding process. The way of interaction may vary; however, its essence is always the same: defining the process sequence, keeping an eye on positions and making sure that no part moves into another one.

Problems with Integration

Due to the large number of factors, problems can be quite hard to comprehend. Here are examples of such problems that I would expect, generalized.

  • Position shift. The controller can stop knowing where the shade is, in case of power loss during travel or out-of-sync sensor counters. Re-learning process should be performed, but each manufacture uses its own way – therefore, according to service documentation.
  • Faulty sensors. A fault of the Hall signal will make the controller unaware of the current position and direction of the movement of the blind, which means that it either won’t work at all or stop prematurely.
  • Overload caused by friction. Dirty railings, frayed wires or tight seals increase the load on the motor, which can trigger anti-pinch or stall protection.
  • Network issues. In case the LIN master does not send a signal or the signals get corrupted, the modules might not respond to the commands. In one car, the documentation even mentions an emergency mode in case of a LIN bus failure, where certain features like one touch and anti-trap are deactivated. It’s always good to remember that all of those features rely on proper communication.
  • Synchronization issues. Following a repair or a replacement of the modules, calibration of glass and shade might be necessary.

I’m listing general behavior, the processes can vary drastically.

Design Trade-offs

  • Brushed motor or brushless motor. While brushed motors are cheap, simple and common, a patent for three-phase brushless motor is developed for use in sun roof applications; it uses Hall effect sensors, vibration dampeners and cable driven mechanism. Brushless motors have advantages of providing smoother operation and long life, albeit having complex electronic circuitry.
  • One motor or two motors. Using one motor saves weight and costs, but requires more complex mechanism. Using two motors allows independent control but increases weight and wiring.
  • Distributed control or centralized control. A separate module is formed for each pair of motor and controller and they are easy to use in different vehicles. Centralized control with two motors can provide good coordination but all the risks reside in one box.

What Is New

There are two aspects that should be followed in modern sunshade motor integration technology. The first one is security: now materials of the suppliers focus on the functional security and cyber security of sunroof modules due to the level of integration of such small systems into the vehicle network. The second one is the shade: there is a patent regarding digital sunroofs, where the suggestion of using the display-layer glass or electrochromic glass instead of mechanical shading is given, with the note that exclusion of the motors, rollers and other construction elements could provide larger panoramic roof.

Questions to a Supplier of This System

The questions that I would ask a supplier in case of working with such system could include:

  • How position tracking is implemented and how recovery from the power outage works?
  • How anti-pinch functionality is validated and works under the temperature extremes?
  • What network interfaces module uses and what consequences of the failure of communication are?
  • How glass and shade interaction is implemented and who is responsible for this logic?
  • What diagnostics are available to the service technicians?
  • What are the arrangements regarding the cybersecurity and software updates?

Closing Thoughts

The technology of incorporating the sunroof and sunshade motor integration technology is one that seems small but involves all the branches of electronics in cars; from mechanics, sensing, motor operation, safety, networking, to the software. Good systems make it look easy precisely because everything is working well.

My recommendation: If you have any problems with such a system in a car, follow the signal of the button pressed. Look at the switch, the network message, the controller, the motor, and the sensors respectively.

If you belong to the automotive business and need help in automating quotations, parts queries, and follow-ups with customers, then I invite you to check what Aura Flow Tech offers.

Scroll to Top