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:

Designing with PCIe
Spectrum Concepts Editor's Choice Interconnection
PCI Express has become the backbone of modern high-performance systems with each new generation promising higher bandwidth, but that performance comes with a cost.

Read more...
Understanding two key tools for cleaner serial data
Altron Arrow Editor's Choice Analogue, Mixed Signal, LSI
Understanding how pre-emphasis and equalisation works, and when to use one over the other, is critical when designing reliable high-speed systems.

Read more...
Connected without limits: An engineering perspective on Altron Arrow’s wireless ecosystem
Altron Arrow Editor's Choice Design Automation
Wireless connectivity is no longer a supporting technology, but rather, a core design consideration that underpins modern electronic systems across industries.

Read more...
Telemetry powering South Africa’s industry
Interlynx-SA Editor's Choice
As South Africa’s economy evolves, industries are under increasing pressure to improve operational efficiency and cut costs. Telemetry is becoming a vital component of industrial strategy, allowing companies to harness real-time data to optimise processes and reduce waste.

Read more...
From the editor's desk: How electronics and AI are transforming the battlefield
Technews Publishing Editor's Choice
The current war in Iran has highlighted one critical observation: electronic engineers are shaping the future of defence and in modern warfare, superiority is no longer measured in firepower, but rather in processing power.

Read more...
Engineering in a world that cannot assume connectivity
Technews Publishing Editor's Choice News
Across industrial automation, networking, and defence systems, engineers are rediscovering the importance of resilience and autonomy in an increasingly connected world.

Read more...
Designing IoT devices for deterministic LPWAN environments
Editor's Choice Telecoms, Datacoms, Wireless, IoT
Built on Ultra Narrow Band communication technology, the Sigfox network focuses on low power, wide area M2M connectivity rather than maximising data throughput.

Read more...
Driving excellence in electronics manufacturing
Jemstech Editor's Choice Manufacturing / Production Technology, Hardware & Services
Jemstech’s reputation for disciplined execution and client-focused service has earned it strong loyalty from companies operating in demanding industries.

Read more...
In sync with the line
Testerion Editor's Choice Manufacturing / Production Technology, Hardware & Services
In modern SMT lines, stencil printing must meet two requirements at the same time: it has to ensure a reproducible solder paste volume, while adhering to the specified line cycle time.

Read more...
Resilient navigation in warfare: The role of non-GNSS
Etion Create Editor's Choice
Alternative navigation methods are essential for maintaining operational capability when satellite signals are unreliable or unavailable.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved