Editor's Choice


8- and 16-bit MCUs drive many systems in modern vehicles

9 November 2016 Editor's Choice DSP, Micros & Memory

Throughout a modern vehicle there is a requirement for using small 8- or 16-bit microcontrollers in many applications, from position sensors to controlling the windscreen wipers. For example, the need for angular position sensing becomes increasingly important as this capability is needed for applications such as brushless DC motor control, pedal positioning control, steering angle sensing control and rotary switches in the human-machine interfaces.

The angular position sensor control system analyses the data received from sensors and determines the appropriate angular rotation. Four primary sensing technologies used to measure the angular position in automotive applications are optical sensors, potentiometers, magneto-resistive sensors and Hall-effect sensors.

Angular position sensor control system.
Angular position sensor control system.

Vision systems too are expanding in the vehicle to provide a safer driving experience. Whether it’s rear camera vision, parking assistance, side object detection or lane departure warning, the information from the vision sources is processed and presented to the driver on displays, via audible tones or a combination of both. In a rear camera vision system, the cameras serve as sensors monitoring the driving conditions and the inputs are processed and provided to the driver for viewing.

Camera vision system.
Camera vision system.

The CAN and LIN buses are also an area where microcontrollers can help. The CAN bus can be made deterministic and fault-tolerant, and transfers data at speeds up to 1 Mbps. For example, Microchip has a line of products for embedded CAN applications, including standalone controllers, transceivers, and 8- and 16-bit microcontrollers and digital signal controllers with integrated CAN controllers. LIN can be implemented on any PIC microcontroller with a USART interface. The company also has a robust physical layer interface, data link layer implementation, LIN compliant drivers and various development aids including a LIN reference design.

How microcontrollers can be used to implement the LIN bus.
How microcontrollers can be used to implement the LIN bus.

Such microcontrollers can also be used for providing an electronic compass that can be combined with the auto dimming of the rear view mirrors to increase driving safety. The compass system determines the direction in which the car is heading as it senses the absolute position and the change in direction of the car using the earth’s magnetic field as a reference. The direction can be displayed using a low-end segmented LCD integrated with the auto dimming rear view mirror or with the vehicle’s onboard navigation display. The sensor technology used is commonly either magneto-resistive or inductive sensors.

However, the instrument cluster is becoming the focal point for displaying critical information along with the status of various systems within the car. In low-end cluster designs for emerging markets, a combination of gauges and segmented LCDs are used to communicate speed, tachometer, fuel level, oil pressure, battery voltage and engine temperature to the driver. Here again, microcontrollers such as the PIC range can help.

The designer can choose a microcontroller with sufficient performance to support zero position detect for stepper motor controlled gauges without compromising the need for high performance, real-time control and low power consumption. Zero position detect is used to determine the default start-up position and to calibrate the stepper motors. On-chip PWMs can be used for microstepping the stepper motors. The integrated PWM modules allow for easy implementation of the microstepping algorithm to simplify the design.

A microcontroller can also be used as part of an LED ambient module to control an integrated RGB LED, enabling colour and brightness control. With this design, interior ambient lighting is no longer monotonic. Adjustable multicolour LEDs can provide passengers with a more personalised ambient lighting experience. The small size of LEDs also makes implementing lighting in small spaces easier.

Smart actuators are actuators that use microcontrollers to perform intelligent tasks. They are being used more and more in the automotive engine environment to enhance fuel efficiency, improve reliability and reduce cost. They can be found in applications such as turbocharger waste gates and EGR valves.

Keyless entry

There are two types of keyless entry systems: passive and remote. Remote keyless entry enables the locking and unlocking of the car doors without having to insert a key into the door lock of the car. By depressing the button on the key fob, an encoded ultra high frequency (UHF) signal is transmitted to the receiver module in the car. The receiver module authenticates the signal. Upon positive recognition, it instructs the ECU to toggle the lock.

Passive keyless entry lets the user unlock a car door without pressing any buttons. The module inside the door initiates communication by sending out a signal between fixed time intervals to search for the paired key fob. When close, the key fob sends back an acknowledgment signal. Upon positive authentication by the receiver block, it signals the car door to be unlocked.

Passive keyless entry set up.
Passive keyless entry set up.

A low frequency transmission signal needs to be generated by the module in the car door. This can be achieved using the internal PWM module available on several small microcontrollers such as Microchip’s PIC12, PIC16 and PIC18. To perform the filtering and decryption on the receiver end, standalone and integrated analog front end devices are available in small 8- or 16-pin packages to conserve space on the key fob.

For UHF communications between the fob and the receiver module in the door, Microchip can provide transmitters that allow the user to perform frequency or amplitude shift keying modulation to generate the transmissions. Corresponding receivers are available to perform the filtering and decryption of the wireless data.

Two wheels

It is not just in cars that microcontrollers find application. Scooters, motorcycles and mopeds commonly use an engine ignition system based on the capacitive discharge method. This uses the energy transferred from the magneto to a storage capacitor. When released, a high voltage pulse goes via a step-up transformer to a spark plug that ignites the fuel mixture inside the cylinder. The user can monitor the speed of the engine to calculate the accurate timing for the spark, which increases engine efficiency, saves energy and reduces emissions.

Microcontrollers enable a broad array of on-chip peripherals that provide the system designer with flexible options for addressing the requirements of such a system. For example, the speed of the engine can be monitored electronically with a microcontroller that also provides accurate timing for the spark. The ignition spark can be made to occur anytime for a particular engine speed, allowing ignition angle customisation for different engine designs that support the requirements of improved fuel efficiency and reduced emissions.

Windscreen wipers

Wiper controller systems provide a good example of how microcontrollers can be used. The system controls the windshield wiper motor and the washer fluid pump, and can deliver further intelligence using LIN to interact with the rain sensor and stalk switch. The bidirectional communications via a LIN gateway enable better system control and diagnostics capability.

Wiper control system.
Wiper control system.

The PIC16 and PIC18 microcontrollers have on-chip peripherals for providing more intelligence in the wiper systems. As the wiper systems move beyond dumb motors moving the wiper blades, the requirements for increased intelligence and connectivity must be addressed by the system designer.

Because of the small footprints, the micro-controller can be integrated directly into the motor housing without compromising functionality, while also supporting a path to allow system weight reduction. With on-chip peripherals to support LIN protocols, the designer can choose the appropriate microcontroller and LIN transceiver that matches the overall system requirements.

Conclusion

The spread of applications is both wide and increasing in today’s vehicles. As car manufacturers move to add more intelligence and connectivity into their products, this use will continue to grow. The flexibility of the 8- and 16-bit microcontrollers shown here allows them to be adapted for many present and future automotive features.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

From the editor's desk: Is the current AI really what we want?
Technews Publishing Editor's Choice
The companies that develop LLMs need to change direction and concentrate on freeing up our time, not so that we can have more time to do the tasks we don’t want to do in the first place, but rather to allow us more time to do what we love.

Read more...
When it comes to long-term reliability of RF amplifier ICs, focus first on die junction temperature
Altron Arrow Editor's Choice Telecoms, Datacoms, Wireless, IoT
When considering the long-term reliability of integrated circuits, a common misconception is that high package or die thermal resistance is problematic. However, high or low thermal resistance, by itself, tells an incomplete story.

Read more...
ICs vs modules: Understanding the technical trade-offs for IoT applications
NuVision Electronics Editor's Choice DSP, Micros & Memory
As the IoT continues to transform industries, design decisions around wireless connectivity components become increasingly complex with engineers often facing the dilemma of choosing between ICs and wireless modules for their IoT applications.

Read more...
Why bis means business for LTE Cat 1 IoT connections
NuVision Electronics Editor's Choice Telecoms, Datacoms, Wireless, IoT
Tomaž Petaros, product manager IoT EMEA at Quectel Wireless Solutions explains why the market for Cat 1bis IoT connections is getting busy.

Read more...
Interview with Brian Aziz, vice president of global sales, Iridium
Editor's Choice
ridium is the leading satellite IoT player. Their network consists of 66 active low Earth orbit satellites covering every inch of the globe and are used for IoT and emergency services worldwide.

Read more...
Accelerating AI adoption in MCU manufacturing
Editor's Choice AI & ML
To gain the value of ML functionality, designers of MCU-based devices have to adopt a new development method and accept a new type of probabilistic rather than deterministic output.

Read more...
Altron Arrow: Empowering innovation with STMicroelectronics AI processors
Altron Arrow Editor's Choice AI & ML
ST’s AI processors are not only smarter and faster, but also incredibly efficient, enabling a new wave of intelligent solutions across multiple industries.

Read more...
The superpower driving the future of low carbon electricity
Editor's Choice
Modularity is a superpower. The advantage lies in smaller units that can be built, tested, refined, adapted, improved repetitively, allowing many experimentation and learning iterations.

Read more...
Eskom’s evolution sparks hope
Editor's Choice
Eskom’s evolution has sparked hope that a large corporation can change and learn to think outside the grid.

Read more...
Potential risks of plasma treatment on PCBs
MyKay Tronics Editor's Choice
Plasma treatment involves exposing PCBs to an ionised gas, known as plasma, but despite many advantages, several risks must be managed to ensure safe and effective plasma application in EMS.

Read more...