- •What is Mechatronics?
- •1.4 The Development of the Automobile as a Mechatronic System
- •Vehicles. (Adapted from Modern Control Systems, 9th ed., r. C. Dorf and r. H. Bishop, Prentice-Hall, 2001. Used with permission.)
- •1.5 What is Mechatronics? And What’s Next?
- •Information technology (systems theory, automation, software engineering, artificial intelligence).
- •Figure 2.2 Mechanical process and information processing develop towards mechatronic systems
- •2.2 Functions of Mechatronic Systems
- •Improvement of Operating Properties
- •Table 2.2 Properties of Conventional and Mechatronic Design Systems
- •2.3 Ways of Integration
- •Figure 2.4 Ways of integration within mechatronic systems.
- •2.4 Information Processing Systems (Basic Architecture and hw/sw Trade-offs)
- •Figure 2.5 Advanced intelligent automatic system with multi-control levels, knowledge base, inference mechanisms, and interfaces.
- •2.5 Concurrent Design Procedure for Mechatronic Systems
- •• An Automotive Example
- •• Software Design
- •3.2 Input Signals of a Mechatronic System
- •3.3 Output Signals of a Mechatronic System
- •3.4 Signal Conditioning
- •3.5 Microprocessor Control
- •3.6 Microprocessor Numerical Control
- •3.7 Microprocessor Input–Output Control
- •Input and Output Transmission
- •3.8 Software Control
- •4.4 Microprocessors and Microcontrollers
- •4.5 Programmable Logic Controllers
- •5.2 Microactuators
- •5.3 Microsensors
- •5.4 Nanomachines
- •6.2 Nano-, Micro-, and Mini-Scale Electromechanical Systems and Mechatronic Curriculum
- •6.3 Mechatronics and Modern Engineering
- •Integrated multidisciplinary features approach quickly, as documented in Fig. 6.2. The mechatronic paradigm, which integrates electrical, mechanical, and computer engineering, takes place.
- •6.4 Design of Mechatronic Systems
- •6.5 Mechatronic System Components
- •6.7 Mechatronic Curriculum
- •Integrating electromagnetics, electromechanics, power electronics, iCs, and control;
- •6.8 Introductory Mechatronic Course
- •6.9 Books in Mechatronics
- •6.10 Mechatronic Curriculum Developments
- •Introduction to Mechatronics,
- •7.3 Rigid Body Models
4.4 Microprocessors and Microcontrollers
There is no strict border between microprocessors and microcontrollers because certain chips can access external code and/or data memory (microprocessor mode) and are equipped with particular peripheral components.
Some microcontrollers have an internal RC oscillator and do not need an external component. How-ever, an external quartz or ceramic resonator or RC network is frequently connected to the built-in, active element of the clock generator. Clock frequency varies from 32 kHz (extra low power) up to 75 MHz. Another auxiliary circuit generates the reset signal for an appropriate period after a supply is turned on. Watchdog circuits generate chip reset when a periodic retriggering signal does not come in time due to a program problem. There are several modes of consumption reduction activated by program instructions.
Complexity and structure of the interrupt system (total number of sources and their priority level selection), settings of level/edge sensitivity of external sources and events in internal (i.e., peripheral) sources, and handling of simultaneous interrupt events appear as some of the most important criteria of microcontroller taxonomy.
Although 16- and 32-bit microcontrollers are engaged in special, demanding applications (servo-unit control), most applications employ 8-bit chips. Some microcontrollers can internally operate with a 16-bit or even 32-bit data only in fixed-point range—microcontrollers are not provided with floating point unit (FPU). New microcontroller families are built on RISC (Reduced Instruction Set) core executing due to pipelining one instruction per few clock cycles or even per each cycle.
One can find further differences in addressing modes, number of direct accessible registers, and type of code memory (ranging from 1 to 128 KB) that are important from the view of firmware development. Flash memory enables quick and even in-system programming (ISP) using 3–5 wires, whereas classical EPROM makes chips more expensive due to windowed ceramic packaging. Some microcontrollers have built-in boot and debug capability to load code from a PC into the flash memory using UART (Universal Asynchronous Receiver/Transmitter) and RS-232C serial line. OTP (One Time Programmable) EPROM or ROM appear effective for large production series. Data EEPROM (from 64 B to 4 KB) for calibration constants, parameter tables, status storage, and passwords that can be written by firmware stand beside the standard SRAM (from 32 B to 4 KB).
The range of peripheral components is very wide. Every chip has bidirectional I/O (input/output) pins associated in 8-bit ports, but they often have an alternate function. Certain chips can set an input decision level (TTL, MOS, or Schmitt trigger) and pull-up or pull-down current sources. Output drivers vary in open collector or tri-state circuitry and maximal currents.
At least one 8-bit timer/counter (usually provided with a prescaler) counts either external events (optional pulses from an incremental position sensor) or internal clocks, to measure time intervals, and periodically generates an interrupt or variable baud rate for serial communication. General purpose 16-bit counters and appropriate registers form either capture units to store the time of input transients or compare units that generate output transients as a stepper motor drive status or PWM (pulse width modulation) signal. A real-time counter (RTC) represents a special kind of counter that runs even in sleep mode. One or two asynchronous and optionally synchronous serial interfaces (UART/USART) communicate with a master computer while other serial interfaces like SPI, CAN, and I2C control other specific chips employed in the device or system.
Almost every microcontroller family has members that are provided with an A/D converter and a multiplexer of single-ended inputs. Input range is usually unipolar and equal to supply voltage or rarely to the on-chip voltage reference. The conversion time is given by the successive approximation principle of ADC, and the effective number of bits (ENOB) usually does not reach the nominal resolution 8, 10, or 12 bits.
There are other special interface circuits, such as field programmable gate array (FPGA), that can be configured as an arbitrary digital circuit.
Microcontroller firmware is usually programmed in an assembly language or in C language. Many software tools, including chip simulators, are available on websites of chip manufacturers or third-party companies free of charge. A professional integrated development environment and debugging hardware (in-circuit emulator) is more expensive (thousands of dollars). However, smart use of an inexpensive ROM simulator in a microprocessor system or a step-by-step development cycle using an ISP programmer of flash microcontroller can develop fairly complex applications.
