Informatica – M Physical computing – Cyclus 4
2. Stappentellers en activity-trackers
2.2 Sensoren in stappentellers
Voorbeelden van sensoren in smartwatch:
GPS-sensor locatie bepalen
Hartslag-sensor
Sensor om armbeweging te detecteren als er ook activity tracker is geïntegreerd
gaat vaak om versnellingssensor, eventueel gecombineerd met gyroscoop
2.3 Nauwkeurigheid van stappentellers
Activity tracker maakt gebruik van data die wordt verkregen vanuit sensoren bv.
versnellingsmeter lastig om activiteit te bepalen, omdat:
Niet eenvoudig om op basis van deze data onderscheid te maken in activiteiten
zoals bv. lopen, stofzuigen, gitaar spelen etc.
Ieder mens beweegt net weer even anders, terwijl horloge bedoeld is voor grote
groep mensen
Praktijk: Arduino
1. Inleiding – bouw een waterpas
Op GY-521 zitten 2 type sensoren:
Versnellingssensor
Gyroscoop
2. Gyroscoop
Toevoeging van gyroscoop aan telefoon heeft 2 voordelen:
Bewegingen van telefoon kunnen preciezer worden gemeten
Mogelijk om draaiing te meten als je om eigen as draait, terwijl je rechtop staat
Gyroscoop maakt het mogelijk om te bepalen onder welke hoek een
object staat samen met versnellingssensor krijg je dan 6 waarden:
Versnellingsmeter:
Versnelling van voor naar achteren
Versnelling van links naar rechts
Versnelling van boven naar beneden
Door meetgegevens van die 3 sensoren te combineren, krijg je
beeld van richting waarin versnelling plaatsvindt
Gyroscoop:
Roll = rotatie om horizontale as van voor naar achteren
Pitch = rotatie om horizontale as van links naar recht
Yaw = rotatie om verticale as
3. Combineren van versnellingssensor en gyroscoop
Bepalen in wat voor stand voorwerp zich bevindt tov zwaartekracht waarden van 3
versnellingssensoren gebruiken nemen ook trillingen waar, deze ruis kunnen
meetresultaten verstoren
Nadeel van gyroscoop is drift ontstaat omdat gyroscoop geen continue waarde meet,
maar werkt met eindig aantal snel na elkaar genomen waarden door deze benadering
ontstaan fouten
Als gegevens van gyroscoop sneller veranderen dan snelheid waarmee waarden gemeten
worden, zullen fouten niet worden gedetecteerd wordt drift genoemd, omdat grootte
van fout toeneemt in tijd
Resultaat hiervan is dat sensormeting niet terugkeert naar 0 in rustposities
1
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller SmitJoël. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $4.58. You're not tied to anything after your purchase.