Design Requirements

Following on from the previous post, here I set out the design requirements. Initially, I'm going to use a technique out of the Agile software development process of defining functionality through a set of User Stories; A user story is the smallest unit of work in an agile framework. It's an end goal, not a feature, expressed from the (software) user's perspective. The purpose of a user story is to articulate how a piece of work will deliver a particular value back to the customer.

Note that the user story is, by definition, a small piece of work. What is meant by small is open to interpretation, but it is meant to be something that's relatively quick to implement and has an identifiable end-to-end value to the user. What I will do here is use the technique to slice & dice the problem, creating an overall view of the system and identifying the individual strands of functionality that need implementing to create the whole, whether they be hardware or software.

Now, some will say, "why bother, its obvious whats needed", and that may be true for this is a simple system, but the technique works for much more complex problems. So, lets get started...

Our first attempt at a user story might be:

As a user I want to view the charging voltage and current on a graph by time

As stories go this is rather ambitious, in fact in Agile terms its probably an Epic, a story too big to be assessed, but lets break it down. Firstly, in bold, I've identified who needs or owns this story - 'user'. That user has a specific action in mind to 'view' some values 'voltage', 'current'&'time' through some medium 'graph'. Note we've said nothing about how this is done, nor anything about the physical processes, storage, timeliness, etc. These will be fleshed out later should it be necessary to do so.

Let's start breaking this epic down into smaller stories. Here are a few obvious ones (as I said above, this isn't a hugely complex problem, but it has its nuances):

  1. As a user I want to measure the battery terminal voltage at 1 sec intervals.
  2. As a user I want to measure the charge current from the charger at 1 sec intervals.
  3. As a user I want to record the time each measurement is taken.
  4. As a user I want the tuple {time, voltage, current} to be stored for later processing.

What I've done here is broken the bigger requirement into much smaller items and added some restrictive parameters to control the scope of the story, the idea being to minimise the complexity and maximise delivery of a functional element. It can be argued that stories 3 and 4 as written pose problems; in Agile terms they don't in themselves deliver business value as they are dependencies of stories 1 and 2 which themselves could be argued as not having any business value without stories 3 and 4.

In the end we would probably end up with:

  1. As a user I want to measure the battery terminal voltage at 1 sec intervals and store the tuple (time, voltage) on a PC for later processing.
  2. As a user I want to measure the charge current from the charger at 1 sec intervals and store the tuple (time, current) on a PC for later processing.

Why do these make better stories? Well, apart from the business value, another Agile tenet is that you start with the simplest, dirtiest, quickest solution and then write stories to extend, rationalise & refactor the solution, adding testable value at each step. It's fairly clear that adding the current measurement in story 2 is an extension of story 1 with some added front end hardware and some added software.

So lets start looking at story 1. What is the simplest solution we can come up with? The next article will do just that.

Comments

1. On Monday, April 13 2020, 05:21 by ex-gooserider

Nothing 'wrong' w/ 1 second intervals, but it seems excessively fine-grained. I would think the purpose would be served by 1 or even 10 minute intervals... One second intervals over a 12 hour cycle is a LOT of data - not easy to 'eyeball' it w/o graphing, and would fill the data recorder quickly.

Perhaps the ideal might be to say sample the data at 1 second intervals, but log only if the either the voltage or current value has changed by some amount. This would capture rapid changes, but not overload the user w/ data from the 'dull and boring' times (i.e. much of the CV stage)
It would still allow graphing w/o much hassle based on the time stamps.

2. On Friday, January 27 2023, 17:35 by google

It's nearly impossible to find well-informed people in this particular topic, however, you seem like you know what you're talking about!
Thanks

3. On Monday, January 30 2023, 10:34 by Personalised Mugs

Ober- und Unterseite 100% Baumwolle Waffelpique.
Auf besonderen Wunsch кann dіe Rückseite ⅾes Herzens
mіt einem Muster - Baumwollstoff deiner Wahl versehen ԝerden. Das Kissen hat еin Maß von ca.

4. On Saturday, February 4 2023, 17:07 by Personalised Gifts for Dog Lovers

Εin einzigartiges Geschenk für еinen besonderen Menschen: Ɗie Kette von The M Jewelers aus 10 Karat Gelbgold kommt mіt dem Anfangsbuchstaben ihrer besten Freundin, Mutter οder Partnerin іn spezieller gotischer Schriftart.

5. On Tuesday, February 14 2023, 16:52 by Personalisierte Weihnachtsgeschenke

Personalisierte Geschenke Ϝür Opa Jährlich zu Weihnachten, zu ihrem Geburtstag սnd zum Muttertag
stellt sіch erneut diе Frage: Was schenke ich meiner
Mama?

6. On Tuesday, February 14 2023, 17:09 by CustomVogue Personalized Gifts

Personalized gifts are really particular іn every sense օf the word.
Eᴠen with tһe gift tag оr favor labels, personalized
gifts ⅽan carry ɑcross уour message of love ɑnd thoughtfulness
far better thɑn the tags hooked ᥙp.

7. On Tuesday, February 14 2023, 20:01 by Ottimovogue.Com

I regali personalizzati sono un’ottima impressione ԁi Natale in far accorgersi lе pеrsone particolarmente apprezzate е ѕoprattutto
durante vibrare l’idea ɗi aver regalato alcune
cose ɗi unico, perché contraddistinto dalla monogramma о.

8. On Wednesday, February 15 2023, 23:30 by https://customchic.co.uk/Collections/personalised-pillow

Yesterday, while I was at work, my sister stole my iphone and tested
to see if it can survive a forty foot drop, just so she can be a youtube
sensation. My iPad is now destroyed and she has 83 views.
I know this is totally off topic but I had to share it with someone!

9. On Thursday, February 16 2023, 16:17 by CustomVogue Personalized Gifts

The last word Deal On Personalized Gifts The bottom contains ɑ message you could write just for һer,
printed in one of four colors. Thіs merchandise іs one trendy personalized present that may get a ton օf
ᥙse!

10. On Thursday, February 16 2023, 21:47 by Dietollmode personalisierte geschenke

Deг Vatertag іst füг Männer еin gerne gefeierter Tag Zeitpunkt.

Mache deinem Vater, Partner ߋder Freund еine Freude fernab mit personalisierten T-Shirts ᥙnd Tassen.

11. On Thursday, February 23 2023, 04:53 by customchic.co.uk

Please let me know if you're looking for a writer for your weblog.
You have some really great articles and I think I would be a good asset.

If you ever want to take some of the load off, I'd really
like to write some material for your blog in exchange for a link back to mine.
Please blast me an e-mail if interested. Many thanks!

12. On Friday, February 24 2023, 21:36 by Christie

Good post. I learn something totally new and challenging on websites I stumbleupon every day.
It will always be interesting to read through content
from other writers and use a little something from their sites.

13. On Saturday, February 25 2023, 00:24 by customvogue personalized Gifts

Like we mentioned earlier tһan, іf you aгe close ѡith the couple (suppose: marriage ceremony ɡet together standing), be happy to pick out one
thing somewhat different tһat you know tһey will love.

14. On Saturday, February 25 2023, 19:25 by Dietollemode

Sone individuell personalisierte Decke ist doϲh viel besser alѕ die 0815 Dinger Konfektionslösung.
Denn mіt unserer Decke kannst du mit deinem Schatz knuddeln, beі
alledem еr vielleicht niϲht parat stehen sollte.

15. On Saturday, February 25 2023, 21:07 by Customvogue personalized Gifts

Τhese customized Valentine’s gifts аll have a romantic aspect tо tһem,
аnd you can also make tһem more meaningful Ƅy personalizing thеm.

16. On Wednesday, March 1 2023, 20:26 by Vive-lamode France

Eh oui, Esther est en seconde.

17. On Saturday, March 4 2023, 04:40 by Vive-lamode Cadeaux personnalisés

Cadeaux Personnalisés Ρour Leѕ Amoureux Ꭰes Chats2014
· 2015 · 2016 · 2017 · ᒪes premiers classements officiels Ԁes
meilleures ventes ɗe disques en France datent dе
1968 quɑnd lе "hit-parade national" est lancé pаr ⅼe Centre.

18. On Sunday, January 21 2024, 06:55 by googletest

Excellent post. I used to be checking continuously this weblog and I'm inspired!

Extremely useful information specifically the remaining section :
) I take care of such info a lot. I used to be looking for this certain information for a long time.
Thanks and good luck.

19. On Sunday, April 27 2025, 18:23 by wax rigs

Admiring the persistence you put into your site and detailed information you present.
It's great to come across a blog every once in a while that isn't the same unwanted rehashed
material. Excellent read! I've bookmarked your site and I'm adding your RSS feeds to my Google account.

20. On Monday, May 5 2025, 11:51 by 小網

Hello my friend! I want to say that this article is amazing,
great written and come with approximately all significant infos.

I'd like to look more posts like this .

21. On Thursday, May 8 2025, 20:34 by site

Добро пожаловать на наш веб-сайт!
Здесь вы найдете все, что нужно
для успешного управления вашими финансами.

Мы предлагаем широкий спектр финансовых продуктов, которые помогут
вам достичь ваших целей и
обеспечить стабильность в будущем.
В нашем ассортименте есть разнообразные банковские продукты, инвестиции, страхование,
кредиты и многое другое. Мы постоянно обновляем нашу базу
данных, чтобы вы всегда были в курсе последних
тенденций и инноваций на финансовом рынке.
Наши специалисты помогут вам выбрать наиболее подходящий продукт, учитывая ваши
индивидуальные потребности и предпочтения.
Мы предоставляем консультации и
рекомендации, чтобы вы могли принять обоснованное решение и избежать возможных рисков.
Не упустите возможность воспользоваться нашими услугами и откройте для себя мир
финансовых возможностей! Посетите наш сайт, ознакомьтесь с каталогом продуктов и
начните свой путь к финансовой стабильности
прямо сейчас!
Деньга в Красногорске

22. On Tuesday, May 13 2025, 02:25 by Leeds escorts

This website truly has all the information and
facts I wanted concerning this subject and didn't know who to ask.

23. On Friday, May 23 2025, 12:52 by view site

constantly i used to read smaller content that as well clear their motive, and that is also happening with this piece of
writing which I am reading at this time.

24. On Sunday, May 25 2025, 01:24 by Pornhub and Sex Do You Know the Facts

I got this web site from my friend who told me on the topic of this site and now this time I am
visiting this web page and reading very informative posts at this time.

25. On Monday, May 26 2025, 10:38 by check my reference

Marvelous, what a website it is! This web site presents
helpful facts to us, keep it up.

26. On Friday, June 13 2025, 23:03 by English language courses in Malta for international students

Hey There. I discovered your weblog the use of msn. That is a very
neatly written article. I will be sure to bookmark it and come back to read extra of your helpful information.
Thanks for the post. I'll certainly return.

⭐ MALTAENG.COM
— Enroll in English classes at the leading language school in Malta at unbeatable
prices — Elevate your English abilities.

English language courses in Malta for international students
— Learn English language in Malta — the country where it's spoken.

http://russianvillager.org/__media_... — English
practice in Malta, english schools

27. On Tuesday, December 9 2025, 15:58 by Mckenzie Beuse

<B> Facebook Chat Assistant – $30/hr ! Do you use Facebook? Are you looking for a job you can do online? Hundreds of businesses are currently hiring new Facebook Chat Assistants to chat with their customers on Facebook. There are a lot of positions available for people from all countries and because of the high demand for new workers, entry level jobs are paying $30/hr. If that sounds like something you’re interested in, read on for the full job spec here : http://chat-assistant.advertising4y... </B>

28. On Tuesday, February 24 2026, 12:35 by Olin Delancy

<B> Premium PLR for Founders Who Build to Scale ! Curated digital assets and AI-driven tools for entrepreneurs who demand excellence. Brand-ready digital assets built to launch fast and sell beautifully. Premium eBooks built to rebrand, package and sell. Across 500+ niches and growing. Premium Courses -> Launch-ready courses designed to be rebranded and sold as your own signature digital program. Templates & Frameworks->Professional business templates, systems and frameworks designed to save time and sell faster. Royalty Free Graphic Design->Tens of thousands of design assets you can use for content, products, clients or resale bundles. Royalty Free Music->High-quality audio samples, background music and tracks ready for reels, ads and videos. Royalty Free Art->Digital artwork, wall prints and creative assets designed for downloads, decor and niche stores. Educational Content->Learning packs, activities and resource for all ages. Ideal for teachers, parents and kids brands. A.I Automation->AI-powered tools, templates and workflows to help you create faster, sell smarter and scale easier. Social Media->Content kids engineered to boost visibility, build trust and convert attention into income. T-Shirt & Mugs Designs->Print-ready designed built for POD stores. Perfect for mugs, tees and trending merch niches. Kids Products->Fun, sellable kids content including colouring, quizzes and activity packs ready to brand and profit from. Website Templates->Plug and play website templates that help you launch premium pages in minutes, not weeks. Premium Canva Assets->High-end Canva templates and assets designed to elevate your brand and sell like a pro. Systeme Templates->Done-for-you Systeme funnels, pages and templates built for conversion, speed and simplicity. Notion Templates->Beautiful, organised Notion templates designed for productivity, business and digital planners. Vintage Comic Collections->High value vintage comic book collections all in one place. Vintage Poster Collections->High value vintage poster collections filled with nostalgia. Professional Guides->Professionally curated guides and mini courses perfect for reselling and many more. You can find more info here : http://unlimited-ai-tools.advertisi... </B>

29. On Tuesday, February 24 2026, 14:43 by Weston Karnish

<B> Instant access to millions of digital products you can brand and sell as your own

Add a comment

HTML code is displayed as text and web addresses are automatically converted.

They posted on the same topic

Trackback URL : https://kisolutionz.co.uk/blog/index.php?trackback/17

This post's comments feed