Search for question
Question

Q1

(a)

(b)

A modern embedded processor is used in the engine management unit for a

hybrid petrol/electric car - requiring precise measurement of engine emissions

in real time. Discuss whether single precision or double precision floating point

arithmetic is most appropriate for the software running on this processor. [4]

(c)

(d)

State the range of allowable values for the exponent and fraction of IEEE-754

single precision floating point numbers.

[3]

(e)

Obtain the IEEE single precision representation for the number -15.62510

showing your working at each point of the analysis.

[7]

Explain the key differences between the IEEE-754 numbers Ox7f800000 and

0x7fc00000.

[3]

The code of figure Q1 is executed on a Freescale Kenetis Microcontroller.

Assume that the function delayms (int n) creates a delay of n ms.

i)

ii)

iii)

Describe the purpose and action of the line PTB->PDDR = 0x080000

noting the pin on which it acts.

[4]

Why is the bitwise operation '=' not needed when acting upon the

registers PCOR and PSOR?

[2]

}

What changes would be necessary in this program so that the output

would be observed on port B, pin 3?

[2]

#include

void delayms (int n);

int main (void) {

SIM->SCGC5=

PORTB->PCR [19]

PTB->PDDR = 0x080000;"

while (1) 1

PTB-PCOR= 0x080000;

delayms (500)

PTB-PSOR = 6x080000;

delayms (500);

Fig: 1


Most Viewed Questions Of Embedded System

5. A ferromagnetic core with a constant relative permeability of 1500 is shown in the following figure. The core depth is 9 cm, and all dimensions are as shown in the figure.The air gap length on the leftmost column of the core is 0.5 cm. Because of the fringing effect, the effective area of the air gaps is 4 percent larger than its physical size. If there are400 turns in the coil wrapped around the center leg of the core, - Draw the magnetic equivalent circuit of the system. ) Find 4, l2, l3, l4, l5, l6, and l7 in meters. ) Find cross-sectional areas in each section of the core in m² and name them as A1, A2,A3, A4, A5, As, A, , as well as Aag for the air gap considering the fringing effects. d) Find all reluctances in the equivalent circuit. Calculate equivalent reluctance seen from the coil. Calculate the inductance of the coil. (


3. Using PSPICE (or alternate) Build a CMOS inverter as in the figure. Set up a DC sweep simulation that sweeps Vin from 0 to 5 V in 0.05 V increments. Run the simulation. If everything was set up correctly,the voltage transfer characteristic (VTC) should be plotted.


1) What is Abstraction? What is the difference between Abstractions and mislead or alter important information? What is complexity and how do we deal with it. Please provide examples.


For 27th when it is 10:30 AM LT (Clock time),answer the following questions. 1. What is the geographical position (coordinates) of KC? (Points 3) 2. What is the difference of the Local Time (LT) from Greenwich Mean Time (GMT) in hours for KC? 3. Calculate LSTM for KC. 4. Calculate Equation of Time (EoT). 5. Calculate time correction factor. 6. Calculate local solar time. 7. Calculate hour angle for this time.


Design an air core inductor with an inductance value of 84 nH. Use a copper wire of 0.050 inch diameter wound on a core diameter or0.100 inch. Determine the number of turns required assuming a tight spaced winding.


An AM modulation process uses a carrier frequency of 100kHz. Suppose that the modulated signal is used to modulate a 200kHz carrier. Find the frequencies of the demodulation process that can be used to recover the original signal.


0. Using the inductor from Problem 8, determine the self resonant frequency of the inductor and comment on the maximum frequency in which the inductor may be used in a tuned circuit application.


Model a chip resistor (size 0603) with a resistance of 50S in ADS.Consider an application in which 502 impedance must be maintained with +10%. Create a linear analysis and determine the maximum usable frequency of the chip resistor.


On Figure P4a, you have a Common Emitter (CE) NPN BJT amplifier. Notice (unlike the circuits that we have studied in class) the absence of a source resistor R sig and load resistor R,. If we know how this L·amplifier behaves without Rsig and R, we can infer its behaviors if Rsig and R, were to be added. You are to design the amplifier circuit on Figure P4a, i.e., find appropriate values for RB,, RB,, Rc,and R.Such that the voltage gain of the ampliifier You are to design the amplifier circuit on Figure P4a, i.e., find appropriate values for RB,, RB,, Rc,and RE, such that the voltage gain of the amplifier \left|\boldsymbol{A}_{\boldsymbol{v}}\right|=\left|\frac{\boldsymbol{v}_{\boldsymbol{p a t}}}{\boldsymbol{v}_{\boldsymbol{s} \boldsymbol{q}_{g}}}\right| \geq \mathbf{2} \mathbf{V} / \mathbf{v}


Design an AC/DC power supply to meet a set of specifications given below: Specifications: The output load current is 100 mA while the output voltage is to remain V out =12 V and produce an output with a ripple of not more than 3%. Use cut-in voltage for VD1,VD2, VD3, VD4 as 0.7 V. Design Approach: The circuit configuration to be designed followed was discussed in class.A diode bridge circuit with an RC filter and a Zener diode will be in parallel with the output load are used. Choices: An AC input voltage with an rms value of Vin = 110 V at 60 Hz is available. A Zener diode with a Zener voltage of Vzo= 12 V and a Zener resistance of r 2 that can operate over a current range of 10 <Iz< 100 mA is available.Also, chose your own transformer (you should specify the number if turns in the primary and secondary coils of the transformer). a) Show the complete circuit of the AC/DC converter and label all components b) Calculate all relevant parameters in the AC/DC power supply. Show all calculations of the relevant parameters (R, C, Np, Ns, Vs, Rin, VDI, VD2, VD3, VD4, Iz, IL, Vr, IDavg, IDpeak, PIV...)