Chapter 13: Sensors Flashcards
What is the function of sensors?
They serve to inform the mechatronic system about their environment, enabling them to make decisions and respond appropriately to stimulus. they provide info about the physical world to microcontrollers and other circuit elements.
What is the primary purpose of a sensor?
To produce a measurable electrical signal correlated to the quantity of the measurand
Sensors are a category of transducer, what does this mean?
Transducers are devices that transforms energy from one form into another, eg. a force transducer translates a mechanical force to an electrical signal
Actuators are also transducers, for example a solenoid, what is its purpose?
Many actuators serve to translate electrical energy into mechanical energy
What must first be known before connecting a sensor to a microcontroller?
What microcontrollers accept as inputs, making sure the sensor translates the quantity of interest into one of the appropriate input types. microcontrollers are very limited on what inputs they accept
Fundamentally, what are the only two things a microcontroller can measure?
Voltage and time
Do microcontrollers accept digital or analogue inputs?
Practically all accept digital inputs, most have an analogue-digital converter on the chip, so in theory most can do both.
How do microcontrollers read voltage?
They read voltages that are above and below threshold levels that indicate logic levels on (1) and off (0)
How do microcontrollers time external events?
They make use of a clock source, most have a clock source within them, or can use an external source
Fundamentally, the job of a sensor is to translate a single physical parameter into what?
A digital voltage, analogue voltage, or a voltage signal whose variations in time encode its output
Why is it important that the sensor takes a single physical parameter?
A key characteristic of a good sensor is that they are insensitive to physical parameters, other than the one of interest
How must the sensor be connected electrically?
In such a way that the final result is a change in the sensor’s interface electronics output voltage
A popular sensor is a thermistor, what do they do?
Their resistance changes as a function of temperature
When a thermistor is in equilibrium with an environment, what will its resistance reflect?
The temperature
What do you need to do to measure the resistance directly from the thermistor on the microcontroller?
Need to translate the signal from the sensor into a voltage or time-varying signal in order for the microcontroller to accept it.
What is it that you need to connect to the thermistor in order to translate the signal to a voltage or time-varying signal?
Interface electronics
What is interface electronics?
This is a circuit that will perform the necessary translation between the thermistor and microcontroller
What is one of the simplest ways of making this translation?
Creating a voltage divider circuit, thermistor on the high side (connected to a 5 volt power supply), the output of the voltage divider is then a analogue voltage that varies as the resistance of the thermistor varies. this is easy for a micro-controller with adc to read and interpret
What is adc?
analogue to digital converter
Measuring acceleration is typically more challenging than measuring temp with a thermistor, what is a more simple way of measuring the acceleration?
Simple mass attached to a spring
How can we determine the acceleration from a mass on a spring?
A force can be applied to a mass by subjecting it to an acceleration, we can determine the acceleration by measuring the displacement of the mass.
What equations are required to calculate this?
f=ma and f=kx
Name a simple, inexpensive method of sensing the displacement of the mass?
Attach the mass directly to the wiper of a potentiometer, this would result in a device whose resistance changes with acceleration
What is a potentiometer?
A potentiometer is a three terminal resistor with a sliding or rotating contact that forms an adjustable voltage divider