Skip to main content

Criteria For Selecting A Microcontroller

Criteria For Selecting A Microcontroller

Microcontroller for a product can be a daunting task. Not only there are a number of technical features to consider, but there are also business case issues such as cost and lead times that can cripple a project. At the start of a project, there is a great temptation to jump in and start selecting a microcontroller before the details of the system have been hashed out. This is, of course, a bad idea. Before any thought is given to the microcontroller, the hardware and software engineers should work out the high levels of the system, block diagram, and How to chart them, and only then is there enough information to start making a rational decision on microcontroller selection. When that point is reached, there are 10 easy steps that can be followed to ensure the right choice is made.

(1) Make a list of required hardware interfaces

Using the general hardware block diagram, make a list of all the external interfaces that the microcontroller will need to support. There are two available types of interfaces that need to be listed. The first is communication interfaces. These are peripherals such as USB, 12C, SPI, UART, and so on. Make a special note if the application requires a USB or some form of Ethernet. These interfaces significantly affect how much program space the microcontroller will need to support. The second type of interface is digital inputs and outputs, analog to digital inputs, PWMs, etc. These two interface types will dictate the number of pins that will be required by the microcontroller. figure 1 shows a generic example of a block diagram with the i/o requirements listed.

(2) Examine the software architecture

The software architecture and requirements can greatly affect the selection of a microcontroller. How heavy or how light the processing requirements will determine whether you go with an 80 MHz DSP or an 8 MHz 8051. Just like with ' the hardware, make notes of any requirements that will be important. For example, do any of the algorithms require floating point mathematics? Are there any high-frequency control loops or sensors? Estimate how long and how often each task will need to run. Get an order of magnitude to feel how much processing power will be needed. The 'amount of computing power required will be one of the biggest requirements for the architecture and frequency of the microcontroller.

(3) Select the architecture

Using the information from steps 1 and 2 an engineer should be able to start getting an idea of the architecture that will be needed. Can the application get by with eight-bit architectures? How about 16 bits? Does it require a 32-bit ARM core? Between the application and the required software algorithms, these questions will start to converge on a solution. Don’t forget to keep in mind possible future requirements and feature creep. Just because you could currently get by with an 8-bit microcontroller doesn’t mean. you shouldn’t consider a 16-bit microcontroller for future features or even for ease of use. Don’t forget that microcontroller selection can be an iterative process. You may select a 16-bit part in this step but then in a later step find that a 32-bit ARM part works better. This step is simply to start getting an engineer to look in the right direction.

Popular posts from this blog

Limitations of Terzaghi Theory

Limitations of Terzaghi Theory The value of the coefficient of consolidation has been assumed to be constant.  The distance d of the drainage path cannot be measured accurately in the field. The thickness of the deposit is generally variable, and an average value has to be estimated.  There is sometimes difficulty 1n locating the drainage face, and sometimes thin previous seams that can act as good drainage faces are missed in the boring operations. The equation is based on the assumption that the consolidation is one-dimensional. In the field, the consolidation is generally 3-dimensional. The lateral drainage may have a significant effect on the time rate of consolidation. The initial consolidation and secondary consolidation have been neglected. Sometimes these form an important part of the total consolidation. In actual practice, the pressure distribution may be far from linear or uniform.

Streamer Theory of Breakdown in Gases

Streamer Theory of Breakdown in Gases According to the Townsend theory firstly, current growth occurs as a result of the ionization process only. But in practice, breakdown voltages were found to depend on the gas pressure and the geometry of the gap. Second chances time lags of the order of 10-5 s, but practically it was observed to occur at a very short time of 10-8 s. Also, the Townsend mechanism predicts a very diffused form of discharge, that actually discharges were found to be filamentary and irregular. Townsend's mechanism failed to explain all these observed phenomena and as a result, The Streamer theory was proposed. The theory predicts the development of a spark discharge directly from a single avalanche in which the space charge developed by the avalanche itself is said to transform the avalanche into a plasma steamer. In Fig 1.7, a single electron starting at the cathode by ionization builds up an avalanche that crosses the gap. The electrons in the a

Price Guard Wire Method

Price Guard Wire Method Some form of  Price Guard Wire Method  is generally used to eliminate the errors caused by leakage currents over insulation. Fig. 3.14 illustrates the operation of This Method. In fig 3.14(a), a high resistance mounted on a piece of insulating material is measured by the ammeter voltmeter method. The micro-ammeter measures the sum of the current through the resistor (IR) and the current through the leakage path around the resistor. The measured value of resistance computed from the readings indicated on the voltmeter and the microammeter, will not be a true value but will be in error.   Figure 3.14 Application of  guard  circuit for measurement of high resistance In fig, 3.14 (b), the  guard  terminal has been added to the resistance terminal block. The  guard  terminal surrounds the resistance terminal entirely and is connected to the battery side of the micro-ammeter. The leakage current IL now