NL2028035B1 - Bicycle sharing system update method - Google Patents

Bicycle sharing system update method Download PDF

Info

Publication number
NL2028035B1
NL2028035B1 NL2028035A NL2028035A NL2028035B1 NL 2028035 B1 NL2028035 B1 NL 2028035B1 NL 2028035 A NL2028035 A NL 2028035A NL 2028035 A NL2028035 A NL 2028035A NL 2028035 B1 NL2028035 B1 NL 2028035B1
Authority
NL
Netherlands
Prior art keywords
control unit
bicycle
update
firmware
firmware update
Prior art date
Application number
NL2028035A
Other languages
Dutch (nl)
Other versions
NL2028035A (en
Inventor
Jonan Midas Carlier Ties
Original Assignee
Vanmoof Bv
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vanmoof Bv filed Critical Vanmoof Bv
Publication of NL2028035A publication Critical patent/NL2028035A/en
Application granted granted Critical
Publication of NL2028035B1 publication Critical patent/NL2028035B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62MRIDER PROPULSION OF WHEELED VEHICLES OR SLEDGES; POWERED PROPULSION OF SLEDGES OR SINGLE-TRACK CYCLES; TRANSMISSIONS SPECIALLY ADAPTED FOR SUCH VEHICLES
    • B62M6/00Rider propulsion of wheeled vehicles with additional source of power, e.g. combustion engine or electric motor
    • B62M6/40Rider propelled cycles with auxiliary electric motor
    • B62M6/45Control or actuating devices therefor

Abstract

De onderhavige uitvinding betreft een werkwijze voor het door een hoofdbesturingeenheid van een rijwiel, omvat— tende een verwerkingeenheid en een geheugen, updaten van 5 firmware van een rijwieldeelsysteemaanstuureenheid van het rijwiel, zoals een motoraanstuureenheid aansturende een aandrijfmotor, een batterijaanstuureenheid en/of een scha— kelbesturingeenheid van een schakelinrichting schakelende een rijwielversnelling, onder toepassing van een verzender— 10 ontvanger, zoals een Bluetootheenheid, de werkwijze omvat— tende stappen voor: — het ontvangen van een bestand met tenminste een firmwareupdate ten behoeve van een respectief tenminste ene deelsysteemaanstuureenheid, 15 — het overbrengen van de tenminste ene firmwareupdate naar een schaduwgeheugenruimte van de respectieve deelsys— teemaanstuureenheid, — het door een opstartimagemanager van de deelsys— teemaanstuureenheid checken van de aanwezigheid van een 20 firmware update in de schaduwgeheugenruimte, en — het door de opstartimagemanager vervangen van de actuele firmware in een applicatiegeheugenruimte door de firmware update. 25 ***vkvkThe present invention relates to a method for a bicycle main control unit, comprising a processing unit and a memory, to update firmware of a bicycle part system control unit of the bicycle, such as a motor control unit controlling a driving motor, a battery control unit and/or a switch. a shifter control unit shifting a bicycle gear, using a sender-receiver, such as a Bluetooth unit, the method comprising steps of: - receiving a file containing at least one firmware update for a respective at least one subsystem control unit, - transferring the at least one firmware update to a shadow memory space of the respective subsystem controller, — checking by a boot image manager of the subsystem controller for the presence of a firmware update in the shadow storage space, and magemanager replace the current firmware in an application memory space with the firmware update. 25 ***vkvk

Description

Rijwieldeelsysteemupdatewerkwijze De onderhavige uitvinding betreft een rijwieldeelsys- teemupdatewerkwijze voor het door een hoofdbesturingeenheid van een rijwiel, omvattende een verwerkingeenheid en een geheugen, updaten van firmware van een rijwieldeelsys- teemaanstuureenheid van het rijwiel, zoals een motor- aanstuureenheid aansturende een aandrijfmotor, een batte- rijaanstuureenheid en/of een schakelbesturingeenheid van een schakelinrichting schakelende een rijwielversnelling, onder toepassing van een verzenderontvanger, zoals een Bluetootheenheid. Voorts betreft de onderhavige uitvinding een updatebare rijwieldeelsysteemaanstuureenheidvoor een deelsysteem van een rijwiel, zoals een motoraanstuureenheid aansturende een aandrijfmotor, een batterijaanstuureenheid en/of een schakelbesturingeenheid van een schakelinrichting schakelende een rijwielversnelling.Bicycle Part System Update Method The present invention relates to a bicycle part system update method for a bicycle main controller unit, comprising a processing unit and a memory, to update firmware of a bicycle part system controller unit, such as a motor controller unit driving a driving motor, a battery controller unit and/or a shift control unit of a shifting device shifting a bicycle gear, using a transceiver such as a Bluetooth unit. Further, the present invention relates to an updateable bicycle part system control unit for a bicycle part system, such as a motor control unit driving a driving motor, a battery driving unit and/or a shift control unit of a shifting device shifting a bicycle gear.

De onderhavige uitvinder is actief in het gebied van het elektrische rijwiel. Hierbij ontwikkelt de uitvinder rijwielen met deelsystemen. Een dergelijk deelsysteem ver- schaft een functionaliteit aan het elektrische rijwiel waardoor het elektrische rijwiel beter voldoet aan gebruik- wensen van de gebruiker daarvan. Doordat de gebruikwensen van de gebruikers zich ontwikkelen en het rijwiel steeds verder wordt verbeterd ontstond het inzicht dat de hardware van een rijwiel langer meegaat dan de ontwikkeling van de verbeteringen in het licht van de gebruikerwensen. In het geval dat bijvoorbeeld een hoofdbesturingeenheid van het rijwiel in het kader van onderhoud of een defect werd ver- vangen kwam het voor dat een bestaande rijwieldeelsys- teemaanstuureenheid van het rijwiel diende te worden aange- past op de nieuwere software van de vervangende hoofdbe- sturingeenheid. Een dergelijke update van de firmware van de deelsysteemaanstuureenheid was mogelijk middels fysieke koppeling daarvan aan een programmeerapparaat. Een derge- lijke firmware update kost derhalve veel tijd en is alleen mogelijk op een onderhoudlocatie van het rijwiel, althans met daartoe speciaal geschikte apparatuur.The present inventor is active in the field of the electric bicycle. The inventor develops bicycles with subsystems. Such a subsystem provides a functionality to the electric bicycle, so that the electric bicycle better meets the user's wishes for use. Because the user wishes of the users are developing and the bicycle is being further improved, the insight has emerged that the hardware of a bicycle lasts longer than the development of improvements in the light of the user's wishes. In case, for example, a main control unit of the bicycle was replaced in the context of maintenance or a defect, it happened that an existing bicycle part system control unit of the bicycle had to be adapted to the newer software of the replacement main control unit. . Such an update of the subsystem controller firmware was possible by physically coupling it to a programming device. Such a firmware update therefore takes a lot of time and is only possible at a maintenance location of the bicycle, at least with equipment specially suitable for that purpose.

Teneinde een dergelijk nadeel te ondervangen ver- schaft de onderhavige uitvinding een rijwieldeelsysteemup- datewerkwijze voor het door een hoofdbesturingeenheid van een rijwiel, omvattende een verwerkingeenheid en een geheu- gen, updaten van firmware van een rijwieldeelsys- teemaanstuureenheid van het rijwiel, zoals een motor- aanstuureenheid aansturende een aandrijfmotor, een batte- rijaanstuureenheid en/of een schakelbesturingeenheid van een schakelinrichting schakelende een rijwielversnelling, onder toepassing van een verzenderontvanger, zoals een Bluetootheenheid, de werkwijze omvattende stappen voor: — het ontvangen van een bestand met tenminste een firmwareupdate ten behoeve van een respectief tenminste ene deelsysteemaanstuureenheid, — het overbrengen van de tenminste ene firmwareupdate naar een geheugen, zoals een schaduwgeheugenruimte van de respectieve deelsysteemaanstuureenheid, — het door een opstartimagemanager van de deelsys- teemaanstuureenheid checken van de aanwezigheid van een firmware update in het geheugen, zoals in de schaduwgeheu- genruimte, en — het door de opstartimagemanager vervangen van de actuele firmware in een applicatiegeheugenruimte door de firmware update.In order to overcome such a drawback, the present invention provides a bicycle part system updating method for a bicycle main control unit, comprising a processing unit and a memory, to update firmware of a bicycle part system control unit, such as a motor controller. control unit controlling a drive motor, a battery control unit and/or a shift control unit of a shifting device shifting a bicycle gear, using a sender receiver, such as a Bluetooth unit, the method comprising the steps of: - receiving a file containing at least one firmware update for the purpose of a respective at least one subsystem controller, — transferring the at least one firmware update to a memory, such as a shadow memory space of the respective subsystem controller, — checking the presence by a boot image manager of the subsystem controller result of a firmware update in memory, such as in the shadow memory space, and — the boot image manager replacing the current firmware in an application memory space with the firmware update.

Een belangrijk voordeel van deze werkwijze volgens de onderhavige uitvinding is dat hiermee de mogelijkheid is verschaft om een dergelijk deelsysteem te voorzien van een update waarmee kan worden voldaan aan bijvoorbeeld nieuwe gebruikerwensen. Daarmee verschaft onderhavige uitvinding mogelijkheid om een deelsysteemaanstuureenheid ook te voor- zien van extra functionaliteit indien de hoofdbesturingeen- heid wordt voorzien van een update. Hiermee is het mogelijk om bestaande rijwielen te voorzien van een dergelijke up- date daar waar dit volgens de stand van de techniek niet mogelijk was, namelijk middels een update die bijvoorbeeld uitvoerbaar is door een gebruiker van een rijwiel vanaf een communicatieapparaat van de gebruiker. Daar waar de vroe- gere update in geval van reparatie uit noodzaak omslachtig werd uitgevoerd verschaft de onderhavige uitvinding der- halve als voordeel dat elke denkbare update uitvoerbaar is zonder vereisten van fysieke aanwezigheid of fysieke koppe- ling van een connector van een dergelijke deelsys- teemaanstuureenheid op een onderhoudlocatie aan de compu- ter.An important advantage of this method according to the present invention is that it provides the option of providing such a subsystem with an update with which, for example, new user wishes can be met. Thereby, the present invention provides the possibility to also provide a subsystem control unit with extra functionality if the main control unit is provided with an update. It is hereby possible to provide existing bicycles with such an update where this was not possible according to the prior art, namely by means of an update which can for instance be performed by a user of a bicycle from a communication device of the user. Where the previous update was performed cumbersomely in case of repair out of necessity, the present invention therefore provides the advantage that every conceivable update can be performed without requirements of physical presence or physical coupling of a connector of such a subsystem control unit. at a service location on the computer.

Volgens een eerste voorkeuruitvoeringvorm omvat de werkwijze stappen voor het door de hoofdbesturingeenheid via de verzenderontvanger communiceren met een applicatie die functioneert op een aan het rijwiel externe communica- tie-inrichting voor aan deze applicatie verschaffen van ac- tuele firmware informatie. Hiermee is de mogelijkheid ver- schaft dat de gebruiker middels een dergelijke applicatie enige communicatie-inrichting, zoals een smartphone, tablet of pc de firmware update overzendt naar het rijwiel. Hier- mee is voorts de mogelijkheid verschaft dat de gebruiker van het rijwiel die een dergelijke applicatie geïnstalleerd heeft op het relevante apparaat kan worden voorzien van een dergelijke firmware update vanaf een daartoe geschikt de server via bijvoorbeeld het internet. De applicatie die hierbij wordt gebruikt is de applicatie die op op zichzelf bekende wijze wordt gebruikt voor communicatie met het rij- wiel ten behoeve van het bedienen van velerlei functies, zoals aanschakelen van het rijwiel, bedienen van lichten,According to a first preferred embodiment, the method comprises steps for the main control unit to communicate via the transceiver with an application functioning on a communication device external to the bicycle for providing this application with current firmware information. This provides the possibility that the user transmits the firmware update to the bicycle by means of such an application any communication device, such as a smartphone, tablet or PC. This further provides the possibility that the user of the bicycle who has installed such an application on the relevant device can be provided with such a firmware update from a suitable server via, for example, the internet. The application that is used here is the application that is used in a manner known per se for communication with the bicycle for the purpose of operating many functions, such as switching on the bicycle, operating lights,

of het instellen van instellingen. Een dergelijke applica- tie wordt volgens de onderhavige voorkeuruitvoeringvorm bijvoorbeeld verder voorzien van een functie voor het ont- vangen van de updates volgens de onderhavige uitvinding.or setting settings. For example, according to the present preferred embodiment, such an application is further provided with a function for receiving the updates according to the present invention.

Volgens een verdere voorkeuruitvoeringvorm omvat de werkwijze stappen voor het door de hoofdbesturingeenheid van het rijwiel via de verzenderontvanger vanaf de applica- tie de applicatie ontvangen van informatie met betrekking tot de beschikbaarheid van tenminste een respectieve firm- ware update.According to a further preferred embodiment, the method comprises the steps of the main control unit of the bicycle via the sender receiver from the application to the application receiving information regarding the availability of at least one respective firmware update.

Verdere bevoorkeurde werkwijze omvattende stappen voor het brengen van de hoofdbesturingeenheid van het rij- wiel in een updatetoestand of updatemodus.Further preferred method comprising steps for putting the main control unit of the bicycle in an update state or update mode.

Verdere bevoorkeurde werkwijze omvattende stappen voor het aanhouden van de updatemodus en het beëindigen van de updatemodus na beëindigen van alle respectieve firmware update in de respectieve deelsysteemaanstuureenheid, bij voorkeur door het brengen van de hoofdbesturingeenheid van het rijwiel in een normale werkingtoestand of werkingmodus.Further preferred method comprising steps of maintaining the update mode and terminating the update mode after terminating all respective firmware updates in the respective subsystem control unit, preferably by bringing the main control unit of the bicycle into a normal operating state or operating mode.

Verdere bevoorkeurde werkwijze omvattende stappen voor het controleren van een laadniveau van de batterij en het slechts brengen in de updatetoestand of updatemodus in- dien het laadniveau hoger is dan een vooraf bepaalde drem- pelwaarde. Hiermee wordt op voordelige wijze voorkomen dat het systeem stroomloos raakt gedurende het uitvoeren van de update waardoor het systeem disfunctioneel kan raken.A further preferred method comprising the steps of checking a charge level of the battery and entering the update state or update mode only if the charge level is above a predetermined threshold value. This advantageously prevents the system from becoming de-energized during the execution of the update, which could cause the system to become dysfunctional.

Verdere bevoorkeurde werkwijze omvattende stappen voor het controleren van een CRC van de firmwareupdate in de schaduwgeheugenruimte hiermee. Hiermee is op voordelige wijze een controle uit te voeren met betrekking tot de cor- rectheid van de data, zoals ten behoeve van uitsluiten van incorrectheden zoals veroorzaakt door datatransport.Further preferred method comprising steps for checking a CRC of the firmware update in the shadow memory space therewith. In this way, it is advantageous to carry out a check with regard to the correctness of the data, such as for the purpose of excluding inaccuracies such as caused by data transport.

Verdere bevoorkeurde werkwijze waarbij het bestand van de firmware update de vorm heeft van een container- bestand of binair bestand met een koptitel.Another preferred method wherein the firmware update file is in the form of a container file or binary file with a header.

Verdere bevoorkeurde werkwijze omvattende stappen voor het ontleden van een respectieve koptitel van de firm- 5 ware update.Further preferred method comprising steps for parsing a respective header of the firmware update.

Verdere bevoorkeurde werkwijze omvattende stappen voor het controleren van de update op de aanwezigheid van een applicatiesleutel.Further preferred method comprising steps for checking the update for the presence of an application key.

Een verder aspect volgens de onderhavige uitvinding betreft een rijwieldeelsysteemaanstuureenheid voor een deelsysteem van een rijwiel, zoals een motoraanstuureenheid aansturende een aandrijfmotor, een batterijaanstuureenheid en/of een schakelbesturingeenheid van een schakelinrichting schakelende een rijwielversnelling, omvattende: — een interface met de hoofdbesturingeenheid, — een verwerkingeenheid, — een geheugen omvattende: — een opstartimagemanager, — een applicatiegeheugenruimte voor een actuele firmware, - een schaduwgeheugenruimte voor tijdelijke op- slag van een firmwareupdate.Middels een dergelijke eenheid is het mogelijk om een werkwijze of maatregelen daarvan volgens het voorgaande aspect uit te voeren. Een voordeel van een dergelijke eenheid volgens dit aspect is dat een schaduwgeheugenruimte wordt toegepast van in hoofdzaak een- zelfde volume als de applicatiegeheugenruimte waardoor de update vanaf de hoofdbesturingeenheid van het rijwiel uit- voerbaar is met een betrouwbaarheid en een veiligheid die in hoofdzaak gelijk is aan een rechtstreekse update vanaf een computerapparaat in een onderhoudwerkplaats. De moge- lijkheid is verschaft om een updatebestand is een geheel te rangschikken ‘naast’ een werkzame applicatie van de firmware. Hierdoor is de mogelijkheid verschaft deze appli- catie volledig te controleren voorafgaande aan het over- brengen daarvan naar de applicatiegeheugenruimte die recht- streeks adresseerbaar is tijdens uitvoeren van de applica- tie.A further aspect according to the present invention relates to a bicycle part system control unit for a bicycle part system, such as a motor control unit driving a driving motor, a battery driving unit and/or a shift control unit of a shifting device shifting a bicycle gear, comprising: - an interface with the main control unit, - a processing unit , — a memory comprising: — a boot image manager, — an application memory space for a current firmware, - a shadow memory space for temporary storage of a firmware update. By means of such a unit it is possible to perform a method or measures thereof according to the foregoing aspect . An advantage of such a unit according to this aspect is that a shadow memory space is applied of substantially the same volume as the application memory space, whereby the update from the main control unit of the bicycle can be performed with a reliability and a security substantially equal to a direct update from a computing device in a maintenance workshop. The possibility is provided to arrange an update file as a whole 'next to' an active application of the firmware. This provides the ability to fully check this application before transferring it to the application memory space which is directly addressable during execution of the application.

Een verder aspect volgens de onderhavige uitvinding verschaft een computerprogrammaproduct omvattende computer- programmacode die wanneer uitgevoerd op een verwerkingseen- heid, zoals een rijwieldeelsysteemaanstuureenheid volgens de onderhavige uitvinding of een voorkeuruitvoeringvorm, de verwerkingseenheid configureert tot het uitvoeren van een werkwijze volgens de onderhavige uitvinding of een voor- keuruitvoeringvorm.A further aspect of the present invention provides a computer program product comprising computer program code which, when executed on a processing unit, such as a bicycle part system controller of the present invention or a preferred embodiment, configures the processing unit to perform a method of the present invention or a - inspection form.

Een verder aspect volgens de onderhavige uitvinding verschaft een computerprogrammaproduct omvattende computer- programmacode omvattende een firmwareupdate voor een rij- wieldeelsysteemaanstuureenheid, zoals volgens de onderha- vige uitvinding of een voorkeuruitvoeringvorm, voor over- brengen daarvan via een werkwijze voor updaten daarvan, zo- als volgens de onderhavige uitvinding of een voorkeuruit- voeringvorm.A further aspect of the present invention provides a computer program product comprising computer program code comprising a firmware update for a bicycle part system controller, such as according to the present invention or a preferred embodiment, for transmission thereof via an updating method thereof, such as according to the present invention or a preferred embodiment.

Verdere voordelen, kenmerken en details van de onder- havige uitvinding zullen in het navolgende in groter detail worden beschreven aan de hand van een of meerdere voor- keursuitvoeringsvormen onder verwijzing naar de aangehechte figuren. Soortgelijke doch niet noodzakelijkerwijs iden- tieke onderdelen van verschillende voorkeursuitvoerings- vormen zijn aangeduid met dezelfde verwijzingscijfers.Further advantages, features and details of the present invention will be described in greater detail below with reference to one or more preferred embodiments with reference to the attached figures. Similar but not necessarily identical parts of various preferred embodiments are designated by the same reference numerals.

Fig. 1 betreft een schematische weergave van een hoofdbesturingeenheid en respectieve rijwieldeelsys- teemaanstuureenheden volgens een voorkeuruitvoeringvorm volgens de onderhavige uitvinding.fig. 1 is a schematic representation of a main control unit and respective bicycle part system control units according to a preferred embodiment of the present invention.

Fig. 2 betreft een schematische weergave van dergelijke componenten ten behoeve van een update.fig. 2 is a schematic representation of such components for the purpose of an update.

Fig. 3 betreft een schematische weergave van een ge- heugenruimte volgens een voorkeuruitvoeringvorm volgens de onderhavige uitvinding.fig. 3 is a schematic representation of a memory space according to a preferred embodiment of the present invention.

Fig. 4 betreft een schematische weergave van een werkwijze volgens een voorkeuruitvoeringvorm volgens de on- derhavige uitvinding.fig. 4 is a schematic representation of a method according to a preferred embodiment of the present invention.

Fig. 5 betreft een schematische weergave van een rij- wiel met componenten waarvan enkele toepassing vinden vol- gens een voorkeuruitvoeringsvorm volgens de onderhavige uitvinding.fig. 5 is a schematic representation of a bicycle with components some of which find use in accordance with a preferred embodiment of the present invention.

Fig. 6 betreft een schematisch weergave van operatio- nele toestanden van een rijwiel waarop de uitvinding toe- pasbaar is alsmede omvattende een operationele toestand be- treffende een werkwijze volgens de onderhavige uitvinding.fig. 6 is a schematic representation of operational states of a bicycle to which the invention is applicable as well as including an operational state of a method according to the present invention.

Een eerste voorkeursuitvoeringsvorm (Fig. 1) volgens de onderhavige uitvinding betreft componenten 1 van een rijwiel volgens de onderhavige uitvinding alsmede componen- ten waarmee deze communiceren. De rijwielhoofdbesturingeen- heid 2 stuurt van het rijwiel vele functies aan en is in communicatie met een applicatie 8 (app) die wordt uitge- voerd op de communicatie-inrichting 8‘. De communicatiein- richting dient voor enerzijds verkrijgen of downloaden van de firmwareupdate vanaf een server 9 en anderzijds communi- ceren met de bluetoothmodule 6 van het rijwiel voor over- brengen van de softwareupdate naar de rijwielhoofdbe- sturingeenheid 2. De server 9 is van bijvoorbeeld de fabri- kant of een geschikte serviceprovider voor distribueren van de firmwareupdate.A first preferred embodiment (Fig. 1) according to the present invention relates to components 1 of a bicycle according to the present invention as well as components with which these communicate. The bicycle main control unit 2 controls many functions of the bicycle and is in communication with an application 8 (app) which is executed on the communication device 8'. The communication device serves on the one hand to obtain or download the firmware update from a server 9 and on the other hand to communicate with the bluetooth module 6 of the bicycle for transferring the software update to the bicycle main control unit 2. The server 9 is of, for example, the manufacturer or an appropriate service provider to distribute the firmware update.

9 van de gebruiker, zoals de smartphone. Voorts stuurt de rijwielhoofdbesturingeenheid de bovengenoemde en in Fig. 1 getoonde motoraanstuureenheid 4, de schakelbe- sturingeenheid 5, de batterijaanstuureenheid 3 aan, alsmede de geluidaansturing 7, en communiceert de rijwielhoofdbe- sturingeenheid met de Bluetoothmodule 6. De communicatie met de communicatieinrichting.9 of the user, such as the smartphone. Furthermore, the main bicycle control unit controls the above and in FIG. 1, the motor control unit 4, the shift control unit 5, the battery control unit 3, as well as the sound control unit 7, and the bicycle main control unit communicates with the Bluetooth module 6. The communication with the communication device.

Fig. 2 toont relevante componenten volgens een alter- natieve uitvoering. Hierin is de centrale eenheid twee de hoofdbesturingeenheid van het rijwiel. Deze ontvangt de firmwareupdate vanaf de Bluetoothmodule 6 via de modbusver- binding. De hoofdbesturingeenheid verzorgt de firmware up- date via de respectieve leiding van de modbus naar de res- pectieve deelsystemen van het rijwiel, in deze uitvoering de Electronische versnellingschakeling 5 (E-shifter), de motoraansturing 4 (Motor controller) en de batterij- aanstuureenheid 3 (BMS).fig. 2 shows relevant components according to an alternative embodiment. Herein, the central unit two is the main control unit of the bicycle. It receives the firmware update from the Bluetooth module 6 via the modbus connection. The main control unit takes care of the firmware update via the respective line from the modbus to the respective subsystems of the bicycle, in this version the Electronic gear shift 5 (E-shifter), the motor control 4 (Motor controller) and the battery control unit 3 (BMS).

Fig. 3 toont een voorkeuruitvoeringvorm van een ge- heugen 10 van een deelsysteemaanstuureenheid 10. Deze omvat de opstartlader 11 (bootloader), een applicatiegeheugen 12 voor opslaan van de applicatie die wordt uitgevoerd, een schaduwgeheugenruimte voor opslaan van een schaduwapplica- tie, zoals een backup of een firmwareupdate als in het bo- venstaande aangeduid, een EE-varsbuffer 14 en een EE-scha- duwbuffer 15.fig. 3 shows a preferred embodiment of a memory 10 of a subsystem controller 10. It includes the boot loader 11 (boot loader), an application memory 12 for storing the application being executed, a shadow memory space for storing a shadow application, such as a backup or a firmware update as noted above, an EE vars buffer 14 and an EE shadow buffer 15.

Fig. 4 betreft een stroomschema van een voorkeuruit- voeringvorm volgens de onderhavige uitvinding. De werkwijze begint in stap 20. In stap 21 worden perifere onderdelen ge initialiseerd. In stap 22 wordt gecontroleerd of het be- stand in de koptitel een applicatiesleutel kent. Indien dit het geval is wordt in stap 23 een timer gestart voor de mo- gelijkheid tot vertragen van het beginnen van de applica- tie. In dat geval kan een gebruiker handmatig de opstart- lader beginnen.fig. 4 is a flow chart of a preferred embodiment of the present invention. The process starts in step 20. In step 21 peripherals are initialized. In step 22, it is checked whether the file in the header has an application key. If so, in step 23 a timer is started for the possibility of delaying the start of the application. In that case, a user can manually start the boot loader.

In stap 24 wordt gecontroleerd of het bestand van de update in het schaduwgeheugen begint met een applicatie- sleutel. Indien dit het geval is wordt in stap 31 gecontroleerd of de CRC van het bestand in 5 het schaduwge- heugen in orde is. Indien dit het geval is wordt in stap 32 gecontroleerd of het bestand in het schaduwgeheugen eindigt met een vooraf bepaalde waarde, zoals OxF4. Indien dit in orde is wordt vervolgd in stap 33 waarbij de waarde van de CRC van de applicatie in de applicatiegeheugenruimte wordt gecontroleerd of die OK is. Indien dit niet het geval is wordt in stap 35 de applicatie in de applicatiegeheugen- ruimte gewist.In step 24 it is checked whether the update file in the shadow memory starts with an application key. If so, it is checked in step 31 whether the CRC of the file in the shadow memory is OK. If so, it is checked in step 32 whether the file in the shadow memory ends with a predetermined value, such as 0xF4. If this is OK, it proceeds to step 33 in which the value of the application's CRC in the application memory space is checked to see if it is OK. If not, in step 35, the application in the application memory space is deleted.

In stap 34 wordt gecontroleerd of de CRC van de ap- plicatie ongelijk is aan de CRC van het bestand in de scha- duwgeheugenruimte. Indien dit het geval is wordt de appli- catie in de applicatiegeheugenruimte gewist in stap 35. Vervolgens wordt in stap 36 de inhoud van het bestand in de schaduwgeheugenruimte gekopieerd naar de applicatiegeheu- genruimte. Vervolgens wordt in stap 37 de schaduwgeheugen- ruimte gewist.In step 34, it is checked whether the CRC of the application is not the same as the CRC of the file in the shadow memory space. If so, the application in the application memory space is deleted in step 35. Next, in step 36, the contents of the file in the shadow memory space are copied to the application memory space. Then, in step 37, the shadow memory space is cleared.

Indien in stap 24 is bepaald dat het schaduwgeheugen niet begint met een applicatiesleutel wordt in stap 25 re- guliere operatie gestart met een check op verloop van een timer. Indien dit niet het geva is wordt in stap 28 een shellproces uitgevoerd. Indien in stap 25 wel de bepaling is gerealiseerd, wordt de timer in stap 26 verwijderd. In stap 27 wordt de CRC van de applicatie gecheckt. Indien deze niet OK is wordt vervolgd met he shellproces in stap 28 en indien deze wel OK is wordt vervolgd in stap 29 met de bepaling of de applicatieversie eindigt met een vooraf bepaalde waarde, zoals OxF4. Indien dit niet het geval is wordt vervolgd in stap 28. In dien de bepaling van stap 29 OK is wordt vervolgd in stap 30 waarbij in stap 30 de ap- plicatie wordt gestart ten behoeve functioneren van het rijwieldeelsysteem.If it is determined in step 24 that the shadow memory does not start with an application key, in step 25 regular operation is started with a check for expiration of a timer. If not, a shell process is performed in step 28. If the determination has been made in step 25, the timer is removed in step 26. In step 27, the CRC of the application is checked. If it is not OK, the shell process is continued in step 28 and if it is OK, it is continued in step 29 with the determination whether the application version ends with a predetermined value, such as 0xF4. If this is not the case, it is continued in step 28. If the determination of step 29 is OK, it is continued in step 30, wherein in step 30 the application is started for the functioning of the bicycle part system.

In Fig. 5 is een rijwielsysteem 50 volgens een voorkeuruitvoeringvorm getoond met een rijwielhoofdbe- sturingeenheid in een cassette 51. Van belang voor de on- derhavige uitvinding zijn met name de motoraanstuureenheid 4, de schakelbesturingeenheid 5, de batterijaanstuureenheidIn fig. 5, a bicycle system 50 according to a preferred embodiment is shown with a bicycle main control unit in a cassette 51. Particularly important for the present invention are the motor control unit 4, the shift control unit 5, the battery control unit

3. Voor het overige kent het rijwielsysteem een componenten groep 53 en 53'die evenals de motoraanstuureenheid 4 in de cassette 51 zijn gerangschikt. Tevens kent het systeem een componentengroep 54 die buiten de cassette zijn gerang- schikt, alsmede een aandrijfmotor 53 en een voorlicht 52.3. For the rest, the bicycle system has a group of components 53 and 53 which, like the motor control unit 4, are arranged in the cassette 51 . The system also has a group of components 54 which are arranged outside the cassette, as well as a drive motor 53 and a front light 52.

Tevens is in deze figuur de mobiele telefoon en de op af- stand daarvan gerangschikte server 9 getoond. Volgens een uitvoeringvorm als deze worden de de motoraanstuureenheid 4, de schakelbesturingeenheid 5, de batterijaanstuureenheid 3 voorzien van een update middels een werkwijze volgens deze uitvinding. Voorts is voorzien dat verdere deelsys- temen worden toegevoegd aan het rijwiel die gebruik maken van op zichzelf staande firmware die voorzienbaar is van een update.Also shown in this figure is the mobile telephone and its remote server 9 . According to an embodiment like this, the motor control unit 4, the shift control unit 5, the battery control unit 3 are updated by a method according to the present invention. It is further envisaged that further sub-systems are added to the bicycle that use standalone firmware that can be provided with an update.

In Fig. 6 zijn operationele toestanden van het rij- wiel getoond. Hierbij is van belang dat naast een trans- porttoestand, een volvtoestand in geval van ontvreemding of een alarmtoestand, een vermogenspaartoestand en een rust- toestand, tevens een OTA toestand of modus is ingericht. Deze houdt in dat het rijwielsysteem is geschikt gemaakt voor uitvoeren van de werkwijze volgens de onderhavige toe- stand. Daarmee wordt voorkomen dat de werkwijze wordt on- derbroken waardoor deelsystemen of een deelsysteemaanstuur- eenheid daarvan disfunctioneel wordt door een onderbreking van een updateproces, zoals door een bedienhandeling van een gebruiker of berijder. Hiermee is aangetoond hoe het uitvoeren van een werkwijze volgens de uitvinding apart is geconcipieerd van overige operationele toestanden van het rijwiel of een hoofdbesturingeenheid daarvan.In fig. 6, operational states of the bicycle are shown. It is important here that in addition to a transport state, a full state in the event of theft or an alarm state, a power saving state and a rest state, an OTA state or mode is also set up. This means that the bicycle system has been made suitable for carrying out the method according to the present state. This prevents the method from being interrupted causing subsystems or a subsystem control unit thereof to become dysfunctional due to an interruption of an update process, such as by an operating action of a user or rider. This shows how carrying out a method according to the invention is designed separately from other operational states of the bicycle or a main control unit thereof.

In het voorgaande is de verzenderontvanger aangeduid als een Bluetootheenheid, maar evenzeer is voorzien dat de verzenderontvanger op alternatieve wijze geschikt is voor communicatie met een mobiel telefonienetwerk of een wifi netwerk ten behoeve van het ontvangen van een firmware- update.In the foregoing, the transceiver has been referred to as a Bluetooth unit, but it is equally provided that the transceiver is alternatively suitable for communication with a mobile telephone network or a WiFi network for the purpose of receiving a firmware update.

In het voorgaande is de onderhavige uitvinding be- schreven aan de hand van enkele voorkeursuitvoeringsvormen. Verschillende aspecten van verschillende uitvoeringen wor- den beschreven geacht in combinatie met elkaar waarbij alle combinaties die bij lezing door een vakman van het vakge- bied op basis van dit document door een vakman binnen het begrip van de uitvinding vallen beschouwd worden te zijn meegelezen. Deze voorkeursuitvoeringsvormen zijn niet be- perkend voor de beschermingsomvang van dit document. De ge- vraagde rechten worden bepaald in de aangehechte conclu- sies.In the foregoing, the present invention has been described with reference to some preferred embodiments. Various aspects of different embodiments are deemed to be described in conjunction with one another with all combinations considered to be within the scope of the invention upon reading by a person skilled in the art based on this document being read by a person skilled in the art. These preferred embodiments do not limit the scope of this document. The rights claimed are defined in the appended claims.

* kh kk* kh kk

Claims (13)

CONCLUSIESCONCLUSIONS 1. Werkwijze voor het door een hoofdbesturingeenheid van een rijwiel, omvattende een verwerkingeenheid en een geheugen, updaten van firmware van een rijwieldeelsys- teemaanstuureenheid van het rijwiel, zoals een motor- aanstuureenheid aansturende een aandrijfmotor, een batte- rijaanstuureenheid en/of een schakelbesturingeenheid van een schakelinrichting schakelende een rijwielversnelling, onder toepassing van een verzenderontvanger, zoals een Bluetootheenheid, de werkwijze omvattende stappen voor: — het ontvangen van een bestand met tenminste een firmwareupdate ten behoeve van een respectief tenminste ene deelsysteemaanstuureenheid, — het overbrengen van de tenminste ene firmwareupdate naar een geheugen, zoals een schaduwgeheugenruimte van de respectieve deelsysteemaanstuureenheid, — het door een opstartimagemanager van de deelsys- teemaanstuureenheid checken van de aanwezigheid van een firmware update in het geheugen, zoals in de schaduwgeheu- genruimte, en — het door de opstartimagemanager vervangen van de actuele firmware in een applicatiegeheugenruimte door de firmwareupdate.A method for a bicycle main control unit, comprising a processing unit and a memory, to update firmware of a bicycle part system control unit of the bicycle, such as a motor control unit driving a drive motor, a battery control unit and/or a shift control unit of a shifting device shifting a bicycle gear, using a sender receiver, such as a Bluetooth unit, the method comprising the steps of: - receiving a file containing at least one firmware update for a respective at least one subsystem control unit, - transferring the at least one firmware update to a memory, such as a shadow memory space of the respective subsystem controller, — checking by a boot image manager of the subsystem controller for the presence of a firmware update in memory, such as in the shadow memory space, and anager replace the current firmware in an application memory space with the firmware update. 2. Werkwijze volgens conclusie 1 omvattende stappen voor het door de hoofdbesturingeenheid via de verzenderont- vanger communiceren met een applicatie die functioneert op een aan het rijwiel externe communicatie-inrichting voor aan deze applicatie verschaffen van actuele firmware infor- matie.A method according to claim 1, comprising the steps of the main control unit communicating through the sender receiver with an application operating on a communication device external to the bicycle for providing this application with current firmware information. 3. Werkwijze volgens conclusie 2 omvattende stappen voor het via de verzenderontvanger ontvangen van de applicatie van informatie met betrekking tot de beschik- baarheid van tenminste een respectieve firmware update.A method according to claim 2 comprising the steps of receiving via the sender receiver from the application information regarding the availability of at least one respective firmware update. 4. Werkwijze volgens één of meer van de voorgaande conclusies omvattende een stappen voor het brengen van de hoofdbesturingeenheid van het rijwiel in een updatetoestand of updatemodus.Method according to one or more of the preceding claims, comprising a step for bringing the main control unit of the bicycle into an update state or update mode. 5. Werkwijze volgens conclusie 4 omvattende stappen voor het aanhouden van de updatemodus en het beëindigen van de updatemodus na beëindigen van alle respectieve firmware update in de respectieve deelsysteemaanstuureenheid, bij voorkeur door het brengen van de hoofdbesturingeenheid van het rijwiel in een normale werkingtoestand of werkingmodus.A method according to claim 4, comprising the steps of maintaining the update mode and terminating the update mode after terminating all respective firmware updates in the respective subsystem control unit, preferably by bringing the main control unit of the bicycle into a normal operating state or operating mode. 6. Werkwijze volgens conclusie 4 of 5 omvattende stappen voor het controleren van een laadniveau van de bat- terij en het slechts brengen in de updatetoestand of upda- temodus indien het laadniveau hoger is dan een vooraf be- paalde drempelwaarde.A method according to claim 4 or 5, comprising the steps of checking a battery charge level and entering the update state or update mode only if the charge level is higher than a predetermined threshold value. 7. Werkwijze volgens één of meer van de voorgaande conclusies omvattende stappen voor het controleren van een CRC van de firmwareupdate in de schaduwgeheugenruimteMethod according to one or more of the preceding claims, comprising the steps of checking a CRC of the firmware update in the shadow memory space 8. Werkwijze volgens één of meer van de voorgaande conclusies waarbij het bestand van de firmware update de vorm heeft van een containerbestand of binair bestand met een koptitel.Method according to one or more of the preceding claims, wherein the firmware update file is in the form of a container file or binary file with a header. 9. Werkwijze volgens één of meer van de voorgaande conclusies omvattende stappen voor het ontleden van een respectieve koptitel van de firmware update.Method according to one or more of the preceding claims, comprising steps of parsing a respective header of the firmware update. 10. Werkwijze volgens een of meer van de voorgaande conclusies omvattende stappen voor het controleren van de update op de aanwezigheid van een applicatiesleutel.Method according to one or more of the preceding claims, comprising steps for checking the update for the presence of an application key. 11. Rijwieldeelsysteemaanstuureenheid voor een deel- systeem van een rijwiel, zoals een motoraanstuureenheid aansturende een aandrijfmotor, een batterijaanstuureenheid en/of een schakelbesturingeenheid van een schakelinrichting schakelende een rijwielversnelling, omvattende: — een interface met de hoofdbesturingeenheid, - een verwerkingeenheid, — een geheugen omvattende: — een opstartimagemanager, - een applicatiegeheugenruimte voor een actuele firmware, —- een opslaggeheugen, zoals omvattende tenminste een schaduwgeheugenruimte voor tijdelijke opslag van een firmware update.A bicycle subsystem controller for a bicycle subsystem, such as a motor controller controlling a driving motor, a battery driving unit and/or a shift control unit of a shifting device shifting a bicycle gear, comprising: — an interface with the main control unit, — a processing unit, — a memory comprising : — a boot image manager, - an application memory space for a current firmware, —- a storage memory, such as comprising at least a shadow memory space for temporary storage of a firmware update. 12. Computerprogrammaproduct omvattende computerpro- grammacode die wanneer uitgevoerd op een verwerkingseen- heid, zoals een rijwieldeelsysteemaanstuureenheid volgens conclusie 11, de verwerkingseenheid configureert tot het uitvoeren van een werkwijze volgens een of meer van de con- clusies 1-10.A computer program product comprising computer program code which, when executed on a processing unit, such as a bicycle part system controller according to claim 11, configures the processing unit to perform a method according to one or more of claims 1-10. 13. Computerprogrammaproduct omvattende computerpro- grammacode omvattende een firmwareupdate voor een rijwiel- deelsysteemaanstuureenheid, zoals volgens conclusie 11, voor overbrengen daarvan via een werkwijze voor updaten daarvan, zoals volgens een of meer van de conclusies 1-10. kkkA computer program product comprising computer program code comprising a firmware update for a bicycle part system controller, as claimed in claim 11, for transmission thereof via an updating method thereof, as claimed in any one of claims 1-10. kkk
NL2028035A 2020-04-21 2021-04-21 Bicycle sharing system update method NL2028035B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
NL2025391 2020-04-21

Publications (2)

Publication Number Publication Date
NL2028035A NL2028035A (en) 2021-10-27
NL2028035B1 true NL2028035B1 (en) 2022-06-16

Family

ID=77911045

Family Applications (1)

Application Number Title Priority Date Filing Date
NL2028035A NL2028035B1 (en) 2020-04-21 2021-04-21 Bicycle sharing system update method

Country Status (2)

Country Link
NL (1) NL2028035B1 (en)
WO (1) WO2021215921A2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090019435A1 (en) * 2007-07-12 2009-01-15 Sauer-Danfoss Inc. System and method for over the air programming
ITUB20152302A1 (en) * 2015-07-20 2017-01-20 Campagnolo Srl Electronic bicycle system
CN109857443A (en) * 2019-01-25 2019-06-07 深圳市泰比特科技有限公司 A kind of upgrade method and system of shared motor bicycle whole-control system

Also Published As

Publication number Publication date
WO2021215921A2 (en) 2021-10-28
WO2021215921A9 (en) 2022-06-23
NL2028035A (en) 2021-10-27
WO2021215921A3 (en) 2022-02-24

Similar Documents

Publication Publication Date Title
US8539471B2 (en) Updating firmware of an electronic device
CN112099829B (en) Vehicle upgrade control method and system, OTA background and vehicle
US9772838B2 (en) Firmware update discovery and distribution
US9235404B2 (en) Firmware update system
CN103688268B (en) Vehicle unit and the method for operating vehicle unit
CN108027741A (en) Document handling method, device, terminal and storage medium based on patch upgrading
US20140007067A1 (en) RESOURCE DATa STRUCTURES FOR FIRMWARE UPDATES
CN105453037A (en) Maintaining known dependencies for updates
WO2008007922A1 (en) Program upgrade system and method for ota-capable mobile terminal
CN102118640A (en) Digital television as well as software upgrading method and system thereof
CN104185836A (en) Method and system for verifying proper operation of computing device after system change
US20130042097A1 (en) Method of updating boot image for fast booting and image forming apparatus for performing the method
CN110633091A (en) Electronic module and software wireless upgrading method thereof
CN109343876A (en) A kind of method of firmware update, system, device, equipment and storage medium
CN108920171A (en) Firmware update and device, electronic equipment
NL2028035B1 (en) Bicycle sharing system update method
CN103365684B (en) Updating method and multi-domain embedded system
WO2019159715A1 (en) Vehicle control device and program update system
JP5800685B2 (en) Information processing apparatus and server, control method, program, and recording medium
CN103477327B (en) Software operability service
WO2023141502A1 (en) Technologies for over-the-air updates for telematics systems
CN113721959A (en) Information processing method and device and electronic equipment
CN112306537A (en) Processing method for upgrading equipment system
CN111142915B (en) Updating method, device and equipment
KR20130085832A (en) System and method for firmware update of smart key

Legal Events

Date Code Title Description
PD Change of ownership

Owner name: MA MICRO LIMITED; GB

Free format text: DETAILS ASSIGNMENT: CHANGE OF OWNER(S), ASSIGNMENT; FORMER OWNER NAME: VANMOOF B.V.

Effective date: 20240207