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:

Service excellence with attention to detail
Deman Manufacturing Editor's Choice
The vision of industry pioneers Hugo de Bruyn and Charles Hauman led to the birth of Deman Manufacturing, a company that sets new standards for innovation and performance within the industry.

Read more...
What is an RF connector?
Spectrum Concepts Editor's Choice Interconnection
If you look across the broader electromagnetic spectrum, the selection of the 3 kHz to 300 GHz frequency range for RF signals is a result of a balance between propagation characteristics, data transmission requirements, regulatory allocations, and the compatibility of electronic components and devices.

Read more...
Make your small asset tracker last longer
Altron Arrow Editor's Choice Power Electronics / Power Management
This design solution reviews a typical asset tracking solution, and shows how the MAX3864x nanopower buck converter family, with its high efficiency and small size, enables longer battery life in small portables.

Read more...
The power of Matter
Editor's Choice Telecoms, Datacoms, Wireless, IoT
Matter offers a reliable, secure, seamless way to interconnect devices from different manufacturers, allowing a new level of interoperability to be enjoyed.

Read more...
Transmitting power to remote places
Altron Arrow Editor's Choice Power Electronics / Power Management
The new single-pair power over Ethernet (SPoE) allows for power and data to be transmitted over longer distances of up to 1000 metres.

Read more...
AI is revolutionising electronics manufacturing
Editor's Choice News
Artificial intelligence is transforming the electronics manufacturing industry by providing new ways to optimise production processes, reduce costs, and improve product quality.

Read more...
Designing and manufacturing robust enclosures for extreme environments
Editor's Choice Manufacturing / Production Technology, Hardware & Services
The lifecycle of robust edge devices starts with design, and all aspects, including electronic components, packaging, shipping, installation, and servicing needs to be considered at the design stage to ensure that an edge device can operate in the environment it is intended for.

Read more...
Reducing solder paste spatter during reflow
Techmet Editor's Choice Manufacturing / Production Technology, Hardware & Services
Splash is a problem that solder paste will inevitably encounter during the welding process, and distinguishing between spatter and solder ball is the first step in solving the problem.

Read more...
Products of the year 2023
Editor's Choice News
A summary of products and technologies from 2023 that are currently shaping the electronic engineering industry.

Read more...
The dream of Edge AI
Altron Arrow Editor's Choice AI & ML
AI technology carries a great promise – the idea that machines can make decisions based on the world around them, processing information like a human might. But the promise of AI is currently only being fulfilled by big machines.

Read more...