TWI865995B - Electric bicycle control method and system, and related device - Google Patents
Electric bicycle control method and system, and related device Download PDFInfo
- Publication number
- TWI865995B TWI865995B TW111148628A TW111148628A TWI865995B TW I865995 B TWI865995 B TW I865995B TW 111148628 A TW111148628 A TW 111148628A TW 111148628 A TW111148628 A TW 111148628A TW I865995 B TWI865995 B TW I865995B
- Authority
- TW
- Taiwan
- Prior art keywords
- electric bicycle
- state
- unit
- controller
- target user
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 230000006870 function Effects 0.000 claims description 50
- 238000004590 computer program Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 description 39
- 238000004891 communication Methods 0.000 description 33
- 238000010586 diagram Methods 0.000 description 13
- 238000001514 detection method Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 238000013459 approach Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000001351 cycling effect Effects 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Lock And Its Accessories (AREA)
Abstract
Description
本申請涉及移動車輛領域,尤其涉及一種電動自行車之狀態控制方法、控制系統與相關設備。 This application relates to the field of mobile vehicles, and in particular to a state control method, control system and related equipment for an electric bicycle.
為防止發生電動自行車丟失與其他用戶擅自使用電動自行車等安全隱患情況,需要為電動自行車上鎖。目前,電動自行車加裝機械鎖或者電子鎖從而控制電動自行車自動處於解鎖或閉鎖狀態,由於需要於車架上多加車鎖,會佔用電動自行車之空間與花費更多成本,並且均需要手動進行操作,無法實現目標使用者接近電動自行車,電動自行車自動解鎖或閉鎖。 In order to prevent electric bicycles from being lost or other users from using them without permission, electric bicycles need to be locked. Currently, electric bicycles are equipped with mechanical locks or electronic locks to automatically unlock or lock the electric bicycles. Since an extra lock is required on the frame, it takes up space on the electric bicycle and costs more. Moreover, it needs to be operated manually, and it is impossible to achieve the goal of the electric bicycle automatically unlocking or locking when the target user approaches the electric bicycle.
鑒於以上內容,有必要提供一種電動自行車之狀態控制方法、控制系統與相關設備,使電動自行車不需要安裝電子鎖或實體鎖就可實現電動自行車自動解鎖或閉鎖,可減少電動自行車上器件之數量,有效控制電動自行車重量。 In view of the above, it is necessary to provide a state control method, control system and related equipment for an electric bicycle, so that the electric bicycle can be automatically unlocked or locked without installing an electronic lock or a physical lock, which can reduce the number of components on the electric bicycle and effectively control the weight of the electric bicycle.
本申請第一方面提供一種電動自行車之狀態控制方法,包括:獲取目標使用者之位置資訊;根據所述位置資訊生成狀態切換指令; 根據所述狀態切換指令控制所述電動自行車從解鎖狀態切換至閉鎖狀態或從閉鎖狀態切換至解鎖狀態。 The first aspect of the present application provides a state control method for an electric bicycle, comprising: obtaining location information of a target user; generating a state switching instruction according to the location information; and controlling the electric bicycle to switch from an unlocked state to a locked state or from a locked state to an unlocked state according to the state switching instruction.
如此,獲取目標使用者之位置資訊,根據位置資訊生成狀態切換指令,再根據狀態切換指令控制電動自行車之從解鎖狀態切換至閉鎖狀態,或者從閉鎖狀態切換至解鎖狀態。電動自行車根據目標使用者之位置資訊就可自動解鎖,方便目標使用者使用電動自行車,根據位置資訊自動閉鎖,可防止電動自行車發送安全隱患。同時,不需要安裝電子鎖或實體鎖,可減少電動自行車上器件之數量,有效控制電動自行車重量。 In this way, the location information of the target user is obtained, a state switching instruction is generated based on the location information, and then the electric bicycle is controlled to switch from an unlocked state to a locked state, or from a locked state to an unlocked state, based on the state switching instruction. The electric bicycle can be automatically unlocked based on the location information of the target user, making it convenient for the target user to use the electric bicycle. Automatically locking based on the location information can prevent the electric bicycle from sending safety hazards. At the same time, there is no need to install an electronic lock or a physical lock, which can reduce the number of components on the electric bicycle and effectively control the weight of the electric bicycle.
作為第一方面之一種可選之實施方式,獲取所述電動自行車之超寬頻單元發送之目標使用者之位置資訊。 As an optional implementation of the first aspect, the location information of the target user sent by the ultra-wideband unit of the electric bicycle is obtained.
如此,利用電動自行車之超寬頻單元獲取之目標使用者資訊,不容易受到障礙物之干擾,使得定位更準確。 In this way, the target user information obtained by the ultra-wideband unit of the electric bicycle is not easily interfered by obstacles, making the positioning more accurate.
作為第一方面之一種可選之實施方式,所述位置資訊包括所述目標使用者與所述電動自行車之距離,所述根據所述位置資訊生成狀態切換指令包括:當所述距離於預設範圍內時,生成所述解鎖指令;當所述距離於預設範圍外時,生成所述閉鎖指令。 As an optional implementation of the first aspect, the location information includes the distance between the target user and the electric bicycle, and the state switching instruction generated according to the location information includes: when the distance is within a preset range, generating the unlock instruction; when the distance is outside the preset range, generating the lock instruction.
作為第一方面之一種可選之實施方式,所述根據所述狀態切換指令控制所述電動自行車從解鎖狀態切換至閉鎖狀態包括:根據所述閉鎖指令控制所述電動自行車之功能控制單元處於待機或關閉狀態,以控制電動自行車從解鎖切換至閉鎖狀態。 As an optional implementation of the first aspect, controlling the electric bicycle to switch from an unlocked state to a locked state according to the state switching instruction includes: controlling the function control unit of the electric bicycle to be in a standby or closed state according to the locking instruction to control the electric bicycle to switch from an unlocked state to a locked state.
如此,當目標使用者與電動自行車之距離於預設範圍外,且 目標使用者相對於電動自行車之方向於預設範圍外時,生成閉鎖指令,控制功能控制單元處於關閉或待機狀態,從而使電動自行車從解鎖切換至閉鎖狀態。電動自行車無感閉鎖,防止電動自行車丟失與其他用戶使用,降低安全隱患。 In this way, when the distance between the target user and the electric bicycle is outside the preset range, and the direction of the target user relative to the electric bicycle is outside the preset range, a lock command is generated, and the control function control unit is in a closed or standby state, thereby switching the electric bicycle from unlocking to locking. The electric bicycle is locked without feeling, preventing the electric bicycle from being lost and used by other users, reducing safety hazards.
作為第一方面之一種可選之實施方式,根據所述狀態切換指令控制所述電動自行車從閉鎖狀態切換至解鎖狀態包括:根據所述解鎖指令控制所述電動自行車之功能控制單元處於喚醒狀態,以使所述電動自行車從閉鎖切換至解鎖狀態。如此,當目標使用者與電動自行車之距離於預設範圍內,且目標使用者相對於電動自行車之方向於預設範圍內時,生成解鎖指令,控制功能控制單元處於喚醒狀態,從而使電動自行車從閉鎖切換至解鎖狀態。無感解鎖電動自行車,方便用戶使用。 As an optional implementation of the first aspect, controlling the electric bicycle to switch from a locked state to an unlocked state according to the state switching instruction includes: controlling the function control unit of the electric bicycle to be in a wake-up state according to the unlocking instruction, so that the electric bicycle switches from a locked state to an unlocked state. In this way, when the distance between the target user and the electric bicycle is within a preset range, and the direction of the target user relative to the electric bicycle is within a preset range, an unlocking instruction is generated, and the function control unit is controlled to be in a wake-up state, so that the electric bicycle switches from a locked state to an unlocked state. Unlocking the electric bicycle without feeling is convenient for users.
作為第一方面之一種可選之實施方式,所述獲取目標使用者之位置資訊之前還包括:獲取所述電動自行車之低功耗藍牙單元發送之使用者之身份資訊,根據所述身份資訊認證使用者是否為所述目標使用者。 As an optional implementation of the first aspect, the step of obtaining the location information of the target user also includes: obtaining the identity information of the user sent by the low-power Bluetooth unit of the electric bicycle, and verifying whether the user is the target user based on the identity information.
如此,獲取低功耗藍牙單元發送之使用者之身份資訊,根據身份資訊認證使用者為目標使用者,可確保及時獲得位置資訊之同時,不會因為需要超寬頻單元隨時處於被喚醒狀態,導致耗電而影響用戶體驗。 In this way, the user's identity information sent by the low-power Bluetooth unit is obtained, and the user is authenticated as the target user based on the identity information, which ensures that the location information is obtained in a timely manner without affecting the user experience by consuming power due to the need for the ultra-wideband unit to be awakened at all times.
本申請第二方面提供一種電動自行車之控制系統,所述控制系統包括控制器,所述控制器用於獲取目標使用者之位置資訊;根據所述位置資訊生成狀態切換指令;根據所述狀態切換指令控制所述電動自行車 從解鎖狀態切換至閉鎖狀態或從閉鎖狀態切換至解鎖狀態。 The second aspect of the present application provides a control system for an electric bicycle, the control system comprising a controller, the controller being used to obtain location information of a target user; generate a state switching instruction based on the location information; and control the electric bicycle to switch from an unlocked state to a locked state or from a locked state to an unlocked state based on the state switching instruction.
如此,控制器獲取目標使用者之位置資訊,根據位置資訊生成狀態切換指令,再根據狀態切換指令控制電動自行車之從解鎖狀態切換至閉鎖狀態,或者從閉鎖狀態切換至解鎖狀態。定位電動自行車根據目標使用者之位置資訊就可自動解鎖,方便目標使用者使用電動自行車,根據位置資訊自動閉鎖,可防止電動自行車發送安全隱患。同時,不需要安裝電子鎖或實體鎖,可減少電動自行車上器件之數量,有效控制電動自行車重量。 In this way, the controller obtains the location information of the target user, generates a state switching instruction based on the location information, and then controls the electric bicycle to switch from an unlocked state to a locked state, or from a locked state to an unlocked state according to the state switching instruction. The positioning electric bicycle can automatically unlock according to the location information of the target user, making it convenient for the target user to use the electric bicycle. Automatically locking according to the location information can prevent the electric bicycle from sending safety hazards. At the same time, there is no need to install an electronic lock or a physical lock, which can reduce the number of components on the electric bicycle and effectively control the weight of the electric bicycle.
作為第二方面之一種可選之實施方式,所述控制器還用於獲取所述電動自行車之超寬頻單元發送之目標使用者之位置資訊。 As an optional implementation of the second aspect, the controller is also used to obtain the location information of the target user sent by the ultra-wideband unit of the electric bicycle.
如此,利用電動自行車之超寬頻單元獲取之目標使用者資訊,不容易受到障礙物之干擾,使得定位更準確。 In this way, the target user information obtained by the ultra-wideband unit of the electric bicycle is not easily interfered by obstacles, making the positioning more accurate.
作為第二方面之一種可選之實施方式,所述位置資訊包括所述目標使用者與所述電動自行車之距離,所述控制器還用於當所述距離於預設範圍內時,生成所述解鎖指令;當所述距離於預設範圍外時,生成所述閉鎖指令。 As an optional implementation of the second aspect, the location information includes the distance between the target user and the electric bicycle, and the controller is further used to generate the unlocking instruction when the distance is within a preset range; and to generate the locking instruction when the distance is outside the preset range.
作為第二方面之一種可選之實施方式,所述控制器還用於根據所述閉鎖指令控制所述電動自行車之功能控制單元處於待機或關閉狀態,以控制電動自行車從解鎖切換至閉鎖狀態;或根據所述解鎖指令控制所述電動自行車之功能控制單元處於喚醒狀態,以使所述電動自行車從閉鎖切換至解鎖狀態。 As an optional implementation of the second aspect, the controller is also used to control the function control unit of the electric bicycle to be in a standby or off state according to the locking instruction to control the electric bicycle to switch from an unlocked state to a locked state; or to control the function control unit of the electric bicycle to be in an awakening state according to the unlocking instruction to switch the electric bicycle from a locked state to an unlocked state.
如此,當目標使用者與電動自行車之距離於預設範圍外,且 目標使用者相對於電動自行車之方向於預設範圍外時,控制器生成閉鎖指令,控制功能控制單元處於關閉或待機狀態,從而使電動自行車從解鎖切換至閉鎖狀態。電動自行車無感閉鎖,防止電動自行車丟失與其他用戶使用,降低安全隱患。同時,當目標使用者與電動自行車之距離於預設範圍內,且目標使用者相對於電動自行車之方向於預設範圍內時,控制器生成解鎖指令,控制功能控制單元處於喚醒狀態,從而使電動自行車從閉鎖切換至解鎖狀態。無感解鎖電動自行車,方便用戶使用。 In this way, when the distance between the target user and the electric bicycle is outside the preset range, and the direction of the target user relative to the electric bicycle is outside the preset range, the controller generates a lock command, and the control function control unit is in a closed or standby state, thereby switching the electric bicycle from unlocked to locked state. The electric bicycle is non-sensingly locked to prevent the electric bicycle from being lost and used by other users, reducing safety hazards. At the same time, when the distance between the target user and the electric bicycle is within the preset range, and the direction of the target user relative to the electric bicycle is within the preset range, the controller generates an unlock command, and the control function control unit is in a wake-up state, thereby switching the electric bicycle from locked to unlocked state. Non-sensing unlocking of electric bicycles is convenient for users.
作為第二方面之一種可選之實施方式,所述控制器還用於獲取所述電動自行車之低功耗藍牙單元發送之使用者之身份資訊,根據所述身份資訊認證使用者是否為所述目標使用者。 As an optional implementation of the second aspect, the controller is also used to obtain the user's identity information sent by the low-power Bluetooth unit of the electric bicycle, and authenticate whether the user is the target user based on the identity information.
如此,控制器獲取低功耗藍牙單元發送之使用者之身份資訊,根據身份資訊認證使用者為目標使用者,可確保及時獲得位置資訊之同時,不會因為需要超寬頻單元隨時處於被喚醒狀態,導致耗電而影響用戶體驗。 In this way, the controller obtains the user's identity information sent by the low-power Bluetooth unit and authenticates the user as the target user based on the identity information, ensuring that the location information is obtained in a timely manner without affecting the user experience by consuming power due to the need for the ultra-wideband unit to be awakened at all times.
作為第二方面之一種可選之實施方式,所述控制系統還包括碼表顯示器,所述碼表顯示器用於接收所述位置資訊,並發送所述位置資訊給所述控制器,所述碼表顯示器與/或控制器安裝於所述電動自行車之車把上。 As an optional implementation of the second aspect, the control system further includes a cycle meter display, which is used to receive the position information and send the position information to the controller, and the cycle meter display and/or the controller are mounted on the handlebar of the electric bicycle.
如此,將控制器與/或碼表顯示器安裝於車把手上,車把手之障礙物較少,接收位置資訊時,不容易受到障礙物之干擾。可得到更精準之目標使用者之位置資訊。 In this way, the controller and/or the computer display are installed on the handlebars. There are fewer obstacles on the handlebars, and when receiving location information, it is not easy to be interfered by obstacles. More accurate location information of the target user can be obtained.
本申請第三方面提供一種電子設備,所述電子設備包括處理 器與記憶體,所述記憶體中存儲有電腦程式,所述電腦程式被所述處理器執行時,實現上述之狀態控制方法。 The third aspect of the present application provides an electronic device, the electronic device comprising a processor and a memory, the memory storing a computer program, and when the computer program is executed by the processor, the above-mentioned state control method is implemented.
本申請第四方面提供一種電腦可讀存儲介質,其上存儲有電腦程式,所述電腦程式被處理器執行時實現上述之狀態控制方法。 The fourth aspect of this application provides a computer-readable storage medium on which a computer program is stored, and the computer program implements the above-mentioned state control method when executed by a processor.
本申請之電動自行車之狀態控制方法、控制系統、電子設備與電腦可讀存儲介質,獲取目標使用者之位置資訊,根據位置資訊生成狀態切換指令,再根據狀態切換指令控制電動自行車之從解鎖狀態切換至閉鎖狀態,或者從閉鎖狀態切換至解鎖狀態。定位電動自行車根據目標使用者之位置資訊就可自動解鎖,方便目標使用者使用電動自行車,根據位置資訊自動閉鎖,可防止電動自行車發送安全隱患。同時,不需要安裝電子鎖或實體鎖,可減少電動自行車上器件之數量,有效控制電動自行車重量。 The state control method, control system, electronic device and computer-readable storage medium of the electric bicycle of this application obtain the location information of the target user, generate a state switching instruction based on the location information, and then control the electric bicycle to switch from an unlocked state to a locked state, or from a locked state to an unlocked state according to the state switching instruction. The positioning electric bicycle can be automatically unlocked according to the location information of the target user, which is convenient for the target user to use the electric bicycle. It can be automatically locked according to the location information to prevent the electric bicycle from sending safety hazards. At the same time, there is no need to install an electronic lock or a physical lock, which can reduce the number of devices on the electric bicycle and effectively control the weight of the electric bicycle.
1:支援超寬頻之裝置 1: Support ultra-wideband devices
2:控制器 2: Controller
3:碼表顯示器 3: Cycling computer display
4:動力控制單元 4: Power control unit
10:中央處理單元 10: Central processing unit
20:超寬頻單元 20:Ultra-wideband unit
30:功能控制單元 30: Function control unit
31:輸入單元 31: Input unit
32:通訊單元 32: Communication unit
33:存儲單元 33: Storage unit
40:低功耗藍牙單元 40: Low power Bluetooth unit
100:控制系統 100: Control system
101:記憶體 101:Memory
102:處理器 102: Processor
1000:電子設備 1000: Electronic equipment
S101-S103:步驟 S101-S103: Steps
圖1是本申請實施方式之電子設備之一應用場景示意;圖2是本申請實施方式之電動自行車之狀態控制方法之流程示意圖;圖3是本申請實施方式之電動自行車之控制系統之一結構示意圖;圖4為本申請實施方式之電動自行車之控制系統之另一結構示意圖;圖5為本申請實施方式之電動自行車之控制系統之另一應用場景示意圖;圖6為本申請實施方式之電動自行車之控制系統之另一應用 場景示意圖;圖7為本申請實施方式之電動自行車之控制系統之另一結構示意圖;圖8為本申請實施方式之電動自行車之控制系統之另一應用場景示意圖;圖9為本申請實施方式之電動自行車之控制系統之另一應用場景示意圖;圖10為本申請實施方式之電子設備之結構示意圖。 FIG. 1 is a schematic diagram of an application scenario of an electronic device according to an embodiment of the present application; FIG. 2 is a schematic diagram of a flow chart of a state control method of an electric bicycle according to an embodiment of the present application; FIG. 3 is a schematic diagram of a structure of a control system of an electric bicycle according to an embodiment of the present application; FIG. 4 is a schematic diagram of another structure of a control system of an electric bicycle according to an embodiment of the present application; FIG. 5 is a schematic diagram of another application scenario of a control system of an electric bicycle according to an embodiment of the present application; FIG. 6 is Another application scenario diagram of the control system of the electric bicycle of the implementation method of this application Figure 7 is another structural schematic diagram of the control system of the electric bicycle of the implementation method of this application; Figure 8 is another application scenario diagram of the control system of the electric bicycle of the implementation method of this application; Figure 9 is another application scenario diagram of the control system of the electric bicycle of the implementation method of this application; Figure 10 is a structural schematic diagram of the electronic device of the implementation method of this application.
為使本申請之目的、技術方案與優點更加清楚,下面結合附圖與具體實施方式對本申請進行詳細描述。需要說明之是,於不衝突之情況下,本申請之實施方式及實施方式中之特徵可相互組合。 In order to make the purpose, technical solutions and advantages of this application clearer, the following describes this application in detail with the attached drawings and specific implementation methods. It should be noted that the implementation methods of this application and the features in the implementation methods can be combined with each other without conflict.
於下面之描述中闡述了很多具體細節以便於充分理解本申請,所描述之實施方式僅是本申請一部分實施方式,而不是全部之實施方式。基於本申請中之實施方式,本領域普通技術人員於沒有做出創造性勞動前提下所獲得之所有其他實施方式,均屬於本申請保護之範圍。 In the following description, many specific details are explained to facilitate a full understanding of this application. The implementation methods described are only part of the implementation methods of this application, not all of the implementation methods. Based on the implementation methods in this application, all other implementation methods obtained by ordinary technicians in this field without creative labor are within the scope of protection of this application.
除非另有定義,本文所使用之所有之技術與科學術語與屬於本申請之技術領域之技術人員通常理解之含義相同。本文中於本申請之說明書中所使用之術語僅是為描述具體之實施方式之目不是旨在於限制本申請。 Unless otherwise defined, all technical and scientific terms used herein have the same meanings as those commonly understood by technicians in the technical field of this application. The terms used in this application specification are only for the purpose of describing specific implementation methods and are not intended to limit this application.
為準確地對本申請中之技術內容進行敘述,以及為準確地理解本申請,於對具體實施方式進行說明之前先對本說明書中所使用之術語 給出如下之解釋說明或定義。 In order to accurately describe the technical content of this application and to accurately understand this application, the following explanations or definitions are given for the terms used in this specification before describing the specific implementation methods.
超寬頻(Ultra-Wideband,UWB),是一種以脈衝無線電為基礎之安全測距與定位技術,可利用飛時測距(Time of flight,ToF)安全精確地計算支援超寬頻裝置之間之相對位置。具體地,當多個UWB裝置接近彼此時,它們會利用ToF測量計算通訊來回時間,因此,一個裝置可立刻並持續計算另一個裝置之相對位置,更新率為每秒100次,便能即使監控雙方裝置之即時位置。UWB使用3.1GHz到10.6GHz之頻譜,頻道頻寬高500MHz,脈衝短至2奈秒(ns)。 Ultra-Wideband (UWB) is a secure ranging and positioning technology based on pulsed radio. It can use time of flight (ToF) to safely and accurately calculate the relative position between UWB-enabled devices. Specifically, when multiple UWB devices are close to each other, they use ToF measurements to calculate the round-trip time of communication. Therefore, one device can immediately and continuously calculate the relative position of another device, with an update rate of 100 times per second, so that the real-time position of both devices can be monitored immediately. UWB uses a spectrum of 3.1GHz to 10.6GHz, with a channel bandwidth of up to 500MHz and a pulse as short as 2 nanoseconds (ns).
電動自行車控制器,用於供用戶進行操作從而控制電動自行車實現相應之功能。例如,用戶可藉由電動自行車控制器控制電動自行車之輔助動力大小、調整車燈之照明模式、變速器之檔位元與切換電動自行車上顯示終端之介面等。顯示終端可包括數位顯示器與手機等。本申請後續將電動自行車控制器簡稱為控制器。 The electric bicycle controller is used for users to operate and control the electric bicycle to achieve corresponding functions. For example, users can use the electric bicycle controller to control the auxiliary power of the electric bicycle, adjust the lighting mode of the headlights, the gear position of the gearshift, and switch the interface of the display terminal on the electric bicycle. The display terminal may include a digital display and a mobile phone. This application will refer to the electric bicycle controller as the controller.
碼表顯示器,用於顯示電動自行車與使用者之資訊,以及使用者所輸入之操作訊號。碼表顯示器可由使用者根據需要選配至電動自行車上。 The speedometer display is used to display information about the electric bicycle and the user, as well as the operation signals input by the user. The speedometer display can be optionally installed on the electric bicycle by the user as needed.
下麵先對相關技術之情況做簡要說明。 Below is a brief description of the relevant technologies.
為防止發生電動自行車丟失與其他用戶擅自使用電動自行車等安全隱患情況,需要為電動自行車上鎖。目前,電動自行車加裝機械鎖後,利用實體鑰匙開啟或關閉機械鎖,從而使電動自行車處於上鎖或解鎖狀態。又或者於電動自行車上加裝電子鎖,利用藍牙(Bluetoot)無線通訊技術連接到有解鎖電子鎖之應用程式(Application,APP)之手機,利用 APP開啟或關閉電子鎖,亦可利用近場通訊技術製備安裝有虛擬鑰匙之裝置,該裝置觸碰電子鎖後,電子鎖開啟或關閉,從而使電動自行車處於解鎖或解鎖狀態。然,利用手機之APP開啟或關閉電子鎖,由於藍牙訊號容易受到干擾,以及手機接收到電子鎖之定位資訊之精準度較差,不容易及時精準地開啟或關閉電子鎖。利用近場通訊技術開啟或關閉電子鎖,需要將安裝虛擬鑰匙之裝置與電子鎖直接觸碰。三種目前解鎖或閉鎖電動自行車之方式均需要於車架上多加車鎖,會佔用電動自行車之空間與花費更多成本,並且均需要手動進行操作,無法實現目標使用者接近電動自行車,電動自行車自動解鎖或閉鎖。 In order to prevent electric bicycles from being lost or other users from using them without permission, electric bicycles need to be locked. Currently, electric bicycles are equipped with mechanical locks, which are opened or closed with a physical key, thereby locking or unlocking the electric bicycle. Alternatively, an electronic lock can be installed on an electric bicycle, and the Bluetooth wireless communication technology can be used to connect to a mobile phone with an application (APP) for unlocking the electronic lock, and the electronic lock can be opened or closed using the APP. Alternatively, a device with a virtual key can be prepared and installed using near field communication technology, and when the device touches the electronic lock, the electronic lock is opened or closed, thereby making the electric bicycle unlocked or unlocked. However, it is not easy to open or close the electronic lock accurately in a timely manner when using the mobile phone APP to open or close the electronic lock, because the Bluetooth signal is easily interfered with, and the accuracy of the positioning information of the electronic lock received by the mobile phone is relatively poor. To open or close the electronic lock using near field communication technology, the device with the virtual key installed needs to be in direct contact with the electronic lock. The three current methods of unlocking or locking an electric bicycle all require an additional lock on the frame, which takes up space on the electric bicycle and costs more. They also all require manual operation, and cannot achieve the goal of the electric bicycle automatically unlocking or locking when the user approaches the electric bicycle.
為此,本申請提供一種電動自行車之狀態控制方法、控制系統、電子設備與儲存介質,電動自行車不需要安裝電子鎖或實體鎖就可實現電動自行車自動解鎖或閉鎖,可減少電動自行車上器件之數量,有效控制電動自行車重量。 To this end, this application provides a state control method, control system, electronic equipment and storage medium for an electric bicycle, which can realize automatic unlocking or locking of the electric bicycle without installing an electronic lock or a physical lock, thereby reducing the number of components on the electric bicycle and effectively controlling the weight of the electric bicycle.
請參閱圖1,圖1為本申請實施方式中之電子設備之一應用場景示意圖,電子設備可為控制器2,電動自行車上安裝有超寬頻單元,超寬頻單元可集成於控制器2或碼表顯示器3中,當目標使用者攜帶支援超寬頻之裝置1靠近電動自行車時,電動自行車之超寬頻單元可持續計算得到目標使用者之位置資訊,並將目標使用者之位置資訊發送給控制器2,控制器2根據位置資訊控制電動自行車從解鎖狀態切換至閉鎖狀態或從閉鎖狀態切換至解鎖狀態。
Please refer to FIG. 1, which is a schematic diagram of an application scenario of an electronic device in the embodiment of the present application. The electronic device may be a
請參閱圖2,圖2為本申請實施方式中之電動自行車之狀態控制方法之流程示意圖,所述方法可應用於電子設備中,所述電動自行車之 狀態控制方法可包括: Please refer to Figure 2, which is a schematic diagram of the process of the state control method of the electric bicycle in the implementation method of this application. The method can be applied to electronic equipment. The state control method of the electric bicycle may include:
步驟S101:獲取目標使用者之位置資訊;電子設備以圖1示出之控制器2為例進行舉例說明,目標使用者是指擁有電動自行車使用權並攜帶支援定位的裝置,例如支援超寬頻之裝置1之使用者,電動自行車上安裝有控制器2與可接收目標使用者之位置資訊之定位單元,定位單元可包括Wi-Fi(Wireless Fidelity,Wi-Fi)單元、低功耗藍牙(Bluetooth Low Energy,BLE)單元與近場通訊(Near Field Communication,NFC)單元與超寬頻單元。目標使用者攜帶支援超寬頻之裝置1靠近電動自行車時,電動自行車之定位單元可持續計算得到目標使用者之位置資訊。並將位置資訊發送給控制器2。支援超寬頻之裝置1可包括智慧手機、穿戴式裝置、鑰匙、標籤與門鎖。
Step S101: Obtain the location information of the target user; the electronic device is illustrated by the
目標使用者攜帶支援超寬頻之裝置1靠近電動自行車時,電動自行車之定位單元可持續計算得到目標使用者之位置資訊。並將位置資訊發送給控制器2。
When the target user brings the ultra-wideband-
步驟S102:根據位置資訊生成狀態切換指令;狀態切換指令包括解鎖指令與閉鎖指令,解鎖指令是指將電動自行車從閉鎖狀態切換到解鎖狀態,閉鎖指令是指將電動自行車從解鎖狀態切換到閉鎖狀態。電動自行車解鎖狀態是指電動自行車之各單元處於被喚醒狀態,各單元可及時回應使用者之操作。電動自行之車閉鎖狀態是指電動自行車之各單元處於待機或關閉之狀態,亦即是使用者對各單元進行操作時,需要等待各單元被喚醒,無法及時回應用戶之操作。電動自行車之各單元包括電動自行車本身之單元,例如電池、動力控制單元、變速
器、電動機與電動機之電流感測器等,還包括與電動自行車藉由實體有線連接或無線連接之單元,例如控制器2、數位顯示器、手機與車燈等。
Step S102: Generate a state switching instruction based on the location information; the state switching instruction includes an unlock instruction and a lock instruction, the unlock instruction refers to switching the electric bicycle from a locked state to an unlocked state, and the lock instruction refers to switching the electric bicycle from an unlocked state to a locked state. The unlocked state of the electric bicycle means that each unit of the electric bicycle is in an awakened state, and each unit can respond to the user's operation in time. The locked state of the electric bicycle means that each unit of the electric bicycle is in a standby or closed state, that is, when the user operates each unit, it is necessary to wait for each unit to be awakened and cannot respond to the user's operation in time. The various units of the electric bicycle include the units of the electric bicycle itself, such as the battery, power control unit, gearshift, motor and electric current sensor of the motor, etc., and also include the units connected to the electric bicycle by physical wired connection or wireless connection, such as the
控制器2利用定位單元獲取到目標使用者之位置資訊後,根據位置資訊生成將電動自行車解鎖狀態切換到閉鎖狀態指令,或者將閉鎖狀態切換到解鎖狀態之指令。
After the
步驟S103:根據狀態切換指令控制電動自行車從解鎖狀態切換至閉鎖狀態或從閉鎖狀態切換至解鎖狀態。 Step S103: Control the electric bicycle to switch from an unlocked state to a locked state or from a locked state to an unlocked state according to the state switching instruction.
控制器2將解鎖指令發送給電動自行車之各單元,各單元從待機或關閉狀態切換成喚醒狀態,從而使電動自行車從閉鎖切換至解鎖狀態。將閉鎖指令發送給電動自行車之各單元後,各單元從喚醒狀態切換成待機或關閉狀態,從而使電動自行車從解鎖切換至閉鎖狀態。
The
於一個應用場景中,電動自行車處於閉鎖狀態,目標使用者攜帶支援超寬頻之裝置1靠近安裝有定位單元之電動自行車,定位單元將獲得之位置資訊發送給控制器2,控制器2根據位置資訊生成解鎖指令,解鎖指令發送給電動自行車之功能控制單元,使各單元處於被喚醒狀態,從而控制電動自行車解鎖。
In an application scenario, the electric bicycle is in a locked state. The target user brings the ultra-wideband-supported
於一個應用場景中,電動自行車處於解鎖狀態,目標使用者攜帶支援超寬頻之裝置1遠離安裝有定位單元之電動自行車,定位單元將獲得之位置資訊發送給控制器2,控制器2根據位置資訊生成閉鎖指令,閉鎖指令發送給電動自行車之功能控制單元,使各單元處於被待機或關閉狀態,從而控制電動自行車閉鎖。
In an application scenario, the electric bicycle is in an unlocked state. The target user carries the ultra-wideband-supported
可理解地,定位單元計算得到目標使用者之位置資訊後,將
位置資訊發送給控制器2,控制器2根據位置資訊生成狀態切換指令,再根據狀態切換指令控制電動自行車從解鎖切換至閉鎖狀態,或從閉鎖切換至解鎖狀態。電動自行車根據目標使用者之位置資訊就可自動解鎖,方便目標使用者使用電動自行車,根據位置資訊自動閉鎖,可防止電動自行車丟失。同時,不需要安裝電子鎖或實體鎖,可減少電動自行車上器件之數量,有效控制電動自行車重量。
Understandably, after the positioning unit calculates the location information of the target user, it sends the location information to the
如此,獲取目標使用者之位置資訊,根據位置資訊生成狀態切換指令,再根據狀態切換指令控制電動自行車之從解鎖狀態切換至閉鎖狀態,或者從閉鎖狀態切換至解鎖狀態。定位電動自行車根據目標使用者之位置資訊就可自動解鎖,方便目標使用者使用電動自行車,根據位置資訊自動閉鎖,可防止電動自行車發送安全隱患。同時,不需要安裝電子鎖或實體鎖,可減少電動自行車上器件之數量,有效控制電動自行車重量。 In this way, the location information of the target user is obtained, a state switching instruction is generated based on the location information, and then the electric bicycle is controlled to switch from an unlocked state to a locked state, or from a locked state to an unlocked state according to the state switching instruction. The positioning electric bicycle can be automatically unlocked according to the location information of the target user, which is convenient for the target user to use the electric bicycle. Automatic locking according to the location information can prevent the electric bicycle from sending safety hazards. At the same time, there is no need to install an electronic lock or a physical lock, which can reduce the number of components on the electric bicycle and effectively control the weight of the electric bicycle.
作為一種可選之實施方式,定位單元可為超寬頻單元。目標使用者攜帶支援超寬頻之裝置1靠近電動自行車時,電動自行車之超寬頻單元可持續計算得到目標使用者之位置資訊,並將位置資訊發送給控制器2。
As an optional implementation, the positioning unit can be an ultra-wideband unit. When the target user carries the ultra-wideband-enabled
可理解地,利用Wi-Fi單元、低功耗藍牙單元與近場通訊單元接收訊號強度指示(Received Signal Strength Indication,RSSI),以確定訊號強度進而計算多個裝置之間之距離與位置之方式,容易受到未授權之遠端用戶之中繼攻擊,導致計算不精準。而利用超寬頻單元定位目標使用者之位置資訊,能夠偵測發射ToF之裝置是否為鄰近之裝置,以防止中繼攻擊,因而可更精準地計算裝置之間之距離與位置。同時,由於RSSI定位單 元容易受到障礙物之影響導致接收之訊號強度衰減,並且對多路徑(Multipath)敏感,容易導致降低定位精準度。由於超寬頻之高頻寬與短脈衝之特性,利用超寬頻單元定位可於多路徑之情況下保持低遲延(<10ms)與高效能,同時超寬頻單元之ToF測量方式不容易受到障礙物之干擾,使得定位更準確。由於超寬頻使用3.1GHz到10.6GHz之頻譜,離其他單元使用之2.4GHz頻段較遠,使得超寬頻可與Wi-Fi(Wireless Fidelity,Wi-Fi)單元、藍牙(Bluetoot)單元與近場通訊(Near Field Communication,NFC)單元配合使用時,不易受到干擾。 Understandably, the method of using the received signal strength indication (RSSI) of Wi-Fi units, low-power Bluetooth units, and near-field communication units to determine the signal strength and then calculate the distance and position between multiple devices is susceptible to relay attacks from unauthorized remote users, resulting in inaccurate calculations. However, using the ultra-wideband unit to locate the location information of the target user can detect whether the device emitting ToF is a neighboring device to prevent relay attacks, thereby more accurately calculating the distance and position between devices. At the same time, since the RSSI positioning unit is easily affected by obstacles, resulting in attenuation of the received signal strength, and is sensitive to multipath, it is easy to reduce the positioning accuracy. Due to the high bandwidth and short pulse characteristics of UWB, positioning using UWB units can maintain low latency (<10ms) and high performance in multi-path situations. At the same time, the ToF measurement method of UWB units is not easily interfered by obstacles, making positioning more accurate. Because UWB uses the 3.1GHz to 10.6GHz spectrum, it is far away from the 2.4GHz band used by other units, making UWB less susceptible to interference when used in conjunction with Wi-Fi (Wireless Fidelity, Wi-Fi) units, Bluetooth (Bluetooth) units, and Near Field Communication (Near Field Communication, NFC) units.
如此,利用電動自行車之超寬頻單元獲取之目標使用者資訊,不容易受到障礙物之干擾,使得定位更準確。 In this way, the target user information obtained by the ultra-wideband unit of the electric bicycle is not easily interfered by obstacles, making the positioning more accurate.
作為一種可選之實施方式,位置資訊包括目標使用者與電動自行車之距離與/或目標使用者相對於電動自行車之方向。 As an optional implementation, the location information includes the distance between the target user and the electric bicycle and/or the direction of the target user relative to the electric bicycle.
超寬頻單元可測量以超寬頻單元為中心之360°之任意方向,同時可測量以超寬頻單元為起點之1cm至10m之範圍。超寬頻單元之測量精度可達到1cm左右。開發人員可根據需要設置檢測目標使用者之範圍。亦即是說,當目標使用者進入該預設範圍時,會被電動自行車上之超寬頻單元檢測到。 The UWB unit can measure any direction of 360° with the UWB unit as the center, and can also measure the range of 1cm to 10m with the UWB unit as the starting point. The measurement accuracy of the UWB unit can reach about 1cm. Developers can set the range of target user detection as needed. In other words, when the target user enters the preset range, he will be detected by the UWB unit on the electric bicycle.
作為一種可選之實施方式,步驟S102還可包括: As an optional implementation method, step S102 may also include:
步驟S201:當距離於預設範圍內時,生成解鎖指令;當位置資訊體現目標使用者與電動自行車上之超寬頻單元之間之距離於預設範圍內,例如1m、1.2m與1.5m。與/或位置資訊還體現目標使用者位於電動自行車之方向亦於預設範圍內時,例如預設超寬頻單元
之某一方向為基線,繞該基線順時針或逆時針旋轉0°~160°或0°~180°。控制器2根據該位置資訊生成解鎖指令。
Step S201: When the distance is within the preset range, an unlock command is generated; when the location information shows that the distance between the target user and the ultra-wideband unit on the electric bicycle is within the preset range, such as 1m, 1.2m and 1.5m. And/or the location information also shows that the direction of the target user on the electric bicycle is also within the preset range, such as a certain direction of the ultra-wideband unit is preset as a baseline, and the base line is rotated clockwise or counterclockwise by 0°~160° or 0°~180°. The
功能控制單元是指能實現電動自行車上各種功能之單元,亦即是步驟S102之各單元。 The function control unit refers to the unit that can realize various functions on the electric bicycle, that is, the units in step S102.
步驟S202:根據解鎖指令控制電動自行車之功能控制單元處於喚醒狀態,以使電動自行車從閉鎖切換至解鎖狀態。 Step S202: Control the function control unit of the electric bicycle to be in an awake state according to the unlocking instruction, so that the electric bicycle switches from the locked state to the unlocked state.
例如,將解鎖指令發送給電池、動力控制單元、變速器、電動機、電動機之電流感測器、控制器2、數位顯示器、手機與車燈,使該等功能控制單元處於喚醒狀態。
For example, the unlocking command is sent to the battery, power control unit, transmission, motor, electric current sensor of the motor,
於一個應用場景中,控制器2將產生之解鎖指令發送給控制器2之子單元,集成控制器2之子單元被喚醒,集成控制器2之子單元包括輸入單元、存儲單元與通訊單元。因此,當目標使用者進入預設範圍後,可直接對控制器2進行操作,以實現相應之電動自行車功能。
In an application scenario, the
於一個應用場景中,控制器2將產生之解鎖指令發送給動力控制單元,動力控制單元被喚醒後,動力控制單元控制電動機與電動機之相關之電流感測器亦被喚醒。因此,當目標使用者進入預設範圍後,可直接驅動電動自行車向前行駛。
In an application scenario, the
可理解地,當目標使用者與電動自行車之距離於預設範圍內,與/或目標使用者相對於電動自行車之方向於預設範圍內時,控制器2生成解鎖指令,控制功能控制單元處於喚醒狀態,從而使電動自行車從閉鎖切換至解鎖狀態。無感解鎖電動自行車,方便用戶使用。
Understandably, when the distance between the target user and the electric bicycle is within a preset range, and/or the direction of the target user relative to the electric bicycle is within a preset range, the
如此,當目標使用者與電動自行車之距離於預設範圍內,與/
或目標使用者相對於電動自行車之方向於預設範圍內時,控制器2生成解鎖指令,控制功能控制單元處於喚醒狀態,從而使電動自行車從閉鎖切換至解鎖狀態。無感解鎖電動自行車,方便用戶使用。
Thus, when the distance between the target user and the electric bicycle is within a preset range, and/or the direction of the target user relative to the electric bicycle is within a preset range, the
作為一種可選之實施方式,步驟S102還可包括: As an optional implementation method, step S102 may also include:
步驟S301:當方向與距離於預設範圍外時,生成閉鎖指令;當位置資訊體現目標使用者與電動自行車上之超寬頻單元之間之距離於預設範圍外,例如1m、1.2m與1.5m之外。與/或位置資訊還體現目標使用者位於電動自行車之方向亦於預設範圍內外,例如預設超寬頻單元之某一方向為基線,繞該基線順時針或逆時針旋轉0°~160°或0°~180°之外時。控制器2根據該位置資訊生成閉鎖指令。
Step S301: When the direction and distance are outside the preset range, a lock command is generated; when the location information shows that the distance between the target user and the ultra-wideband unit on the electric bicycle is outside the preset range, such as 1m, 1.2m and 1.5m. And/or the location information also shows that the direction of the target user on the electric bicycle is also inside or outside the preset range, such as when a certain direction of the preset ultra-wideband unit is rotated clockwise or counterclockwise around the baseline by 0°~160° or 0°~180°. The
步驟S302:根據閉鎖指令控制電動自行車之功能控制單元處於待機或關閉狀態,以控制電動自行車從解鎖切換至閉鎖狀態。 Step S302: Control the function control unit of the electric bicycle to be in a standby or closed state according to the locking command to control the electric bicycle to switch from the unlocking state to the locking state.
例如,將閉鎖指令發送給電池、動力控制單元、變速器、電動機、電動機之電流感測器、控制器2、數位顯示器、手機與車燈,使該等功能控制單元處於待機或關閉狀態。
For example, a lock command is sent to the battery, power control unit, transmission, motor, electric current sensor of the motor,
於一個示例中,控制器2將產生之閉鎖指令發送給控制器2之子單元,集成控制器2之子單元被處於待機或關閉狀態,集成控制器2之子單元包括輸入單元、存儲單元與通訊單元。因此,當目標使用者位於預設範圍外,控制器2無法回應其他用戶之操作,從而控制電動自行車處於閉鎖狀態。
In one example, the
於一個示例中,控制器2將產生之解鎖指令發送給動力控制單元,動力控制單元被處於待機或關閉狀態,動力控制單元控制電動機與
電動機之相關之電流感測器亦處於待機或關閉狀態。因此,當目標使用者處於預設範圍外時,其他用戶無法直接驅動電動自行車向前行駛,從而控制電動自行車處於閉鎖狀態。
In one example, the
可理解地,當目標使用者與電動自行車之距離於預設範圍外,且目標使用者相對於電動自行車之方向於預設範圍外時,控制器2生成閉鎖指令,控制功能控制單元處於關閉或待機狀態,從而使電動自行車從解鎖切換至閉鎖狀態。電動自行車無感閉鎖,防止電動自行車丟失與其他用戶使用,降低安全隱患。
Understandably, when the distance between the target user and the electric bicycle is outside the preset range, and the direction of the target user relative to the electric bicycle is outside the preset range, the
如此,當目標使用者與電動自行車之距離於預設範圍外,且目標使用者相對於電動自行車之方向於預設範圍外時,控制器2生成閉鎖指令,控制功能控制單元處於關閉或待機狀態,從而使電動自行車從解鎖切換至閉鎖狀態。電動自行車無感閉鎖,防止電動自行車丟失與其他用戶使用,降低安全隱患。
In this way, when the distance between the target user and the electric bicycle is outside the preset range, and the direction of the target user relative to the electric bicycle is outside the preset range, the
作為一種可選之實施方式,步驟S101之前可包括: As an optional implementation method, the step before step S101 may include:
步驟S401:獲取電動自行車之低功耗藍牙單元發送之使用者之身份資訊,根據身份資訊認證使用者為目標使用者。 Step S401: Obtain the user's identity information sent by the low-power Bluetooth unit of the electric bicycle, and authenticate the user as the target user based on the identity information.
使用者需要攜帶支援超寬頻之裝置,才能使電動自行車於解鎖與閉鎖狀態之間進行切換。每個支援超寬頻之裝置均有對應之攜帶者,因此,獲取支援超寬頻裝置之身份資訊,就可確定攜帶者是否為目標使用者。身份資訊包括支援超寬頻裝置與電動自行車之設備資訊與生成之密碼等。電動自行車上可安裝有低功耗藍牙單元,用於認證使用者身份,可將低功耗藍牙單元集成至控制器2。
The user needs to carry a device that supports ultra-wideband in order to switch the electric bicycle between unlocked and locked states. Each device that supports ultra-wideband has a corresponding carrier, so by obtaining the identity information of the device that supports ultra-wideband, it can be determined whether the carrier is the target user. The identity information includes the device information of the ultra-wideband device and the electric bicycle and the generated password. The electric bicycle can be equipped with a low-power Bluetooth unit for authenticating the user's identity, and the low-power Bluetooth unit can be integrated into the
例如,控制器2與支援超寬頻之裝置1進行身份認證之方式可包括:首先,控制器2與支援超寬頻之裝置1均安裝低功耗藍牙單元,建立起藍牙連接,當控制器2發現支援超寬頻之裝置1進入藍牙廣播範圍時,與支援超寬頻之裝置1交換身份資訊,並綁定支援超寬頻之裝置1之身份資訊,以完成控制器2與支援超寬頻之裝置1進行身份認證。當該支援超寬頻之裝置1再次進入藍牙廣播之範圍時,控制器2不需要再與支援超寬頻之裝置1綁定身份,可直接確認該支援超寬頻之裝置1之使用者為目標使用者。
For example, the method of identity authentication between the
於認證使用者為目標使用者後,控制器2喚醒電動自行車上之超寬頻單元,以使超寬頻單元計算目標使用者之位置資訊。
After authenticating the user as the target user, the
可理解地,控制器2利用超寬頻單元結合低功耗藍牙單元,可實現對電動自行車之目標使用者之身份認證後,自動測量目標使用者之位置資訊。由於低功耗藍牙是一種低用電技術,可延長電池壽命,需要時才喚醒超寬頻單元,可確保及時獲得位置資訊之同時,不會因為需要超寬頻單元隨時處於被喚醒狀態,導致耗電而影響用戶體驗。
Understandably, the
請參閱圖3,本申請還提供一種電動自行車之控制系統100,控制系統100包括控制器2,控制器2包括中央處理單元10。中央處理單元10可是微中央處理單元(Microcontroller Unit,MCU)或者中央處理器(Central Process Unit,CPU)。中央處理單元10用於獲取目標使用者之位置資訊,於一種可選之實施方式中,用於獲取電動自行車之超寬頻單元發送之目標使用者之位置資訊。並根據位置資訊生成狀態切換指令,根據狀態切換指令控制電動自行車從解鎖狀態切換至閉鎖狀態或從閉鎖狀態切換至
解鎖狀態。中央處理單元10還用於當距離於預設範圍內時,生成解鎖指令,根據解鎖指令控制電動自行車之功能控制單元處於喚醒狀態,以使電動自行車從閉鎖切換至解鎖狀態。當距離於預設範圍外時,生成閉鎖指令,根據閉鎖指令控制電動自行車之功能控制單元處於待機或關閉狀態,以控制電動自行車從解鎖切換至閉鎖狀態。中央處理單元10還用於獲取電動自行車之低功耗藍牙單元發送之使用者之身份資訊,根據身份資訊認證使用者是否為目標使用者。
Please refer to FIG. 3 . The present application further provides a
亦即是說,控制器2之中央處理單元10用於實現本申請之電動自行車之狀態控制方法之部分或全部步驟,具體內容見電動自行車之狀態控制方法之論述,此處不再贅述。同時,中央處理單元10還可回應使用者操作訊號生成對應之功能控制指令,以實現電動自行車上之多種功能。
That is to say, the
請參閱圖4,於一種可選之實施方式中,控制器2還包括定位單元,定位單元可選擇超寬頻單元20,超寬頻單元20與中央處理單元10電連接。超寬頻單元20可包括超寬頻晶片與天線之集成裝置。超寬頻單元20還可包括射頻積體電路(RFIC),其中,超寬頻晶片與具有射頻功能之模組可集成RFIC,例如,超寬頻晶片與WiFi無線模組或藍牙(Bluetoot)模組可集成一顆RFIC。
Please refer to Figure 4. In an optional implementation, the
超寬頻單元20用於利用ToF測量計算出目標使用者之位置資訊,並將位置資訊發送給中央處理單元10。
The
於一種可選之實施方式中,控制器2還包括低功耗藍牙單元40,低功耗藍牙單元40與中央處理單元10電連接。低功耗藍牙單元40用於獲取使用者之身份資訊,並將身份資訊發送給中央處理單元10,以使中
央處理單元10與目標使用者攜帶之支援超寬頻之裝置1認證身份。
In an optional implementation, the
於一種可選之實施方式中,控制器2還包括電動自行車之功能控制單元30之一些單元,例如輸入單元31、通訊單元32與存儲單元33。通訊單元32與中央處理單元10電連接,通訊單元32可為無線通訊模組,例如,無線通訊模組可是藍牙(Bluetoot)模組、紫峰(ZigBee Technology)模組、超低功耗無線傳輸模組(advanced network tools,ANT+)、無線超寬頻脈衝模組(Ultra Wide Band,UWB)以及近場通訊模組(Near Field Communication,NFC)。通訊單元32還可為串列匯流排系統(ControLLerArea Net-work Bus,CANBus),用實體電線將控制器2之介面與電動自行車上其他功能器件之介面連接,其他功能器件,功能器件例如顯示終端或動力控制單元。通訊單元32用於接收與發送中央處理單元10之訊號,並將該訊號發送至控制器2外部之其他功能器件,同時,通訊單元32亦用於接收與發送控其他功能器件之訊號至中央處理單元10。
In an optional implementation, the
輸入單元31與中央處理單元10電連接。輸入單元31可包括物理按鍵與/或觸控面板,按鍵包括電阻式、電容式、電磁式或光學式等。使用者可藉由對物理按鍵與/或觸控面板之虛擬按鍵進行操作,實現調整電動自行車輔助動力大小之功能與有關電動自行車之其他功能,其他功能包括調整電動自行車之輔助動力、調節車燈之照明模式、切換顯示終端之介面與調整變速器之檔位等。顯示終端可為手機或碼表顯示器。
The
存儲單元33與中央處理單元10電連接,存儲單元33可為隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)或電可擦可程式設計唯讀記憶體(Flash EEPROM Memory,
Flash)等。存儲單元33裡存放有關電動自行車之相關資訊,例如設備資訊等,以供中央處理單元10讀取。
The
作為一種可選之實施方式,請參閱圖5,控制器2安裝於車把手上,可安裝於左邊之車把手或右邊之車把手上。控制器2中之超寬頻單元20之檢測範圍為繞基線逆時針旋轉0°~180°,以及距離控制器2中之超寬頻單元20,0~1m。於一個應用場景中,目標使用者靠近電動自行車,電動自行車上之控制器2之中央處理單元10根據超寬頻單元20發送之位置資訊,判定目標使用者位於檢測範圍內時,控制器2之中央處理單元10發出解鎖指令發送給控制器2內之功能控制單元30,例如輸入單元31、通訊單元32與存儲單元33,與控制器2外之其他功能控制單元30,例如動力控制單元、車燈等,控制輸入單元31、通訊單元32、存儲單元33、動力控制單元與車燈處於喚醒狀態。請參閱圖6,控制器2之中央處理單元10發出解鎖指令經由實體電線發送給動力控制單元4,動力控制單元4被喚醒後,動力控制單元4控制電動機與電動機之相關之電流感測器處於喚醒狀態。
As an optional implementation, please refer to FIG. 5 , the
目標使用者遠離電動自行車,電動自行車上之控制器2之中央處理單元10根據超寬頻單元20發送之位置資訊,判定目標使用者位於檢測範圍外時,控制器2之中央處理單元10發出閉鎖指令發送給控制器2內之功能控制單元30,例如輸入單元31、通訊單元32與存儲單元33,與控制器2外之其他功能控制單元30,例如動力控制單元4、車燈等,控制輸入單元31、通訊單元32、存儲單元33、動力控制單元4與車燈處於待機或關閉狀態。當控制器2之中央處理單元10發出閉鎖指令經由實體電線發送給動力控制單元4後,動力控制單元4控制電動機與電動機之相關之電
流感測器處於待機或關閉狀態。
When the target user moves away from the electric bicycle, the
作為一種可選之實施方式,請參閱圖7,控制系統100還包括碼表顯示器3,超寬頻單元20集成於碼表顯示器3內,碼表顯示器3安裝於左車把手與右車把手之中央。中央處理單元10、功能控制單元30之子單元輸入單元31、通訊單元32與存儲單元33集成於控制器2內。碼表顯示器3中之超寬頻單元20與控制器2之中央處理單元10電連接。
As an optional implementation, please refer to FIG. 7 , the
作為一種可選之實施方式,請參閱圖8,於一個應用場景中,碼表顯示器3中之超寬頻單元20之檢測範圍為繞基線逆時針旋轉0°~160°,以及距離碼表顯示器3中之超寬頻單元20,0~1.2m。目標使用者靠近電動自行車,電動自行車上之控制器2之中央處理單元10根據碼表顯示器3之超寬頻單元20發送之位置資訊,判定使用者位於檢測範圍內時,控制器2之中央處理單元10發出解鎖指令發送給控制器2內之功能控制單元30,例如輸入單元31、通訊單元32與存儲單元33,與控制器2外之其他功能控制單元30,例如動力控制單元4、車燈等,控制輸入單元31、通訊單元32、存儲單元33、動力控制單元4與車燈處於喚醒狀態。請參閱圖9,碼表顯示器3之超寬頻單元20將位置資訊經由實體電線發送給控制器2之中央處理單元10,中央處理單元10發出解鎖指令經由實體電線發送給動力控制單元4後,動力控制單元4被喚醒後,動力控制單元4控制電動機與電動機之相關之電流感測器處於喚醒狀態。
As an optional implementation, please refer to FIG. 8 . In an application scenario, the detection range of the
目標使用者遠離電動自行車,電動自行車上之控制器2之中央處理單元10根據碼表顯示器3之超寬頻單元20發送之位置資訊,判定使用者位於檢測範圍外時,控制器2之中央處理單元10發出解鎖指令發送
給控制器2內之功能控制單元30,例如輸入單元31、通訊單元32與存儲單元33,與控制器2外之其他功能控制單元30,例如動力控制單元4、車燈等,控制輸入單元31、通訊單元32、存儲單元33、動力控制單元4與車燈處於關閉或待機狀態。其中,碼表顯示器3之超寬頻單元20將位置資訊經由實體電線發送給控制器2之中央處理單元10,控制器2之中央處理單元10發出解鎖指令經由實體電線發送給動力控制單元4後,動力控制單元4被喚醒後,動力控制單元4控制電動機與電動機之相關之電流感測器處於喚醒狀態。
When the target user moves away from the electric bicycle, the
可理解地,將超寬頻單元20整合至控制器2或碼表顯示器3中,並將控制器2與/或碼表顯示器3安裝於車把手上,車把手之障礙物較少,接收支援超寬頻裝置發送之訊號時,不容易受到障礙物之干擾。超寬頻單元20可計算得到更精準之目標使用者之位置資訊。
Understandably, the
請參閱圖10所示,為本申請實施方式提供之電子設備1000之一種結構示意圖。於一個實施方式中,電子設備1000包括記憶體101及至少一個處理器102。本領域技術人員應該瞭解,圖10示出之電子設備1000之結構並不構成本申請實施方式之限定,電子設備1000還可包括比圖示更多或更少之其他硬體或者軟體,或者不同之部件佈置。
Please refer to FIG. 10 , which is a schematic diagram of a structure of an
作為一種可選之實施方式,電子設備1000包括一種能夠按照事先設定或存儲之指令,自動進行數值計算與/或資訊處理之終端,其硬體包括但不限於微處理器、專用積體電路、可程式設計閘陣列、數文書處理器及嵌入式設備等。作為一種可選之實施方式,記憶體101用於存儲程式碼與各種資料。記憶體101可包括唯讀記憶體(Read-Only Memory,ROM)、
隨機記憶體(Random Access Memory,RAM)、可程式設計唯讀記憶體(Programmable Read-Only Memory,PROM)、可抹除可程式設計唯讀記憶體(Erasable Programmable Read-Only Memory,EPROM)、一次可程式設計唯讀記憶體(One-time Programmable Read-Only Memory,OTPROM)、電子抹除式可複寫唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、唯讀光碟(Compact Disc Read-Only Memory,CD-ROM)或其他光碟記憶體、磁碟記憶體、磁帶記憶體、或者能夠用於攜帶或存儲資料之電腦可讀之任何其他介質。
As an optional implementation, the
作為一種可選之實施方式,至少一個處理器102可包括積體電路,例如可包括單個封裝之積體電路,亦可包括多個相同功能或不同功能封裝之積體電路,包括微處理器、數文書處理晶片、圖形處理器及各種控制晶片之組合等。至少一個處理器102是電子設備之控制核心(Control Unit),藉由運行或執行存儲於記憶體101內之程式或者模組,以及調用存儲於記憶體101內之資料,以執行電子設備1000之各種功能與處理資料。上述以軟體功能模組之形式實現之集成之單元,可存儲於一個電腦可讀取存儲介質中。上述軟體功能模組存儲於一個存儲介質中,包括複數指令用以使得一台電腦設備(可是個人電腦,終端,或者網路設備等)或處理器(processor)執行本申請各個實施方式方法之部分。記憶體101中存儲有程式碼,且至少一個處理器102可調用記憶體101中存儲之程式碼以執行相關之功能。於本申請之一個實施方式中,記憶體101存儲多個指令,多個指令被至少一個處理器102所執行以實現上述電動自行車之狀態控制方法。具體地,至少一個處理器102對上述指令之具體實現方法可參考圖1對應
實施方式中相關步驟之描述,於此不贅述。
As an optional implementation, at least one
本申請實施方式還提供了一種電腦可讀存儲介質。其中,電腦可讀存儲介質中存儲有電腦程式,電腦程式於計算設備上運行時,使得計算設備可執行前述實施方式提供之狀態控制方法。 The implementation method of this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program runs on a computing device, the computing device can execute the state control method provided by the aforementioned implementation method.
本領域普通技術人員可意識到,結合本文中所公開之實施方式描述之各示例之單元及演算法步驟,能夠以電子硬體、或者電腦軟體與電子硬體之結合來實現。該等功能究竟以硬體還是軟體方式來執行,取決於技術方案之特定應用與設計約束條件。專業技術人員可對每個特定之應用以使用不同方法來實現所描述之功能,然該種實現不應認為超出本申請之範圍。所屬領域之技術人員可清楚地瞭解到,為描述之方便與簡潔,上述描述之系統、裝置與單元之具體工作過程,可參考前述方法實施方式中之對應過程,於此不再贅述。於本申請所提供之幾個實施方式中,應該理解到,所揭露之系統、裝置與方法,可藉由其它之方式實現。例如,以上所描述之裝置實施方式僅僅是示意性例如,單元之劃分,僅僅為一種邏輯功能劃分,實際實現時可有另外之劃分方式,例如多個單元或元件可結合或者可集成到另一個系統,或一些特徵可忽略,或不執行。另一點,所顯示或討論之相互之間之耦合或直接耦合或通訊連接可是藉由一些介面,裝置或單元之間接耦合或通訊連接,可是電性,機械或其它之形式。作為分離部件說明之單元可是或者亦可不是物理上分開作為單元顯示之部件可是或者亦可不是物理單元,即可位於一個地方,或者亦可分佈到多個網路單元上。可根據實際之需要選擇其中之部分或者全部單元來實現本實施方式方案之目的。另外,於本申請各個實施方式中之各功能單元可集成於一個 處理單元中,亦可是各個單元單獨物理存於,亦可兩個或兩個以上單元集成於一個單元中注意,上述僅為本申請之較佳實施方式及所運用之技術原理。本領域技術人員會理解,本申請不限於這裡之特定實施方式,對本領域技術人員來說能夠進行各種明顯之變化、重新調整與替代而不會脫離本申請之保護範圍。因此,雖藉由以上實施方式對本申請進行了較為詳細之說明,然本申請不僅僅限於以上實施方式,於不脫離本申請之構思之情況下,還可包括更多其他等效實施方式,均屬於本申請之保護範疇。 A person of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the implementation methods disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether such functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. A person of ordinary skill in the art will clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the aforementioned method implementation methods, and will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may be physically present separately, or two or more units may be integrated into one unit. Note that the above are only the preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that this application is not limited to the specific implementation methods here, and that they can make various obvious changes, readjustments and substitutions without departing from the scope of protection of this application. Therefore, although this application is described in more detail through the above implementation methods, this application is not limited to the above implementation methods, but may also include more other equivalent implementation methods without departing from the concept of this application, all of which are within the scope of protection of this application.
S101-S103:步驟 S101-S103: Steps
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW111148628A TWI865995B (en) | 2022-12-16 | 2022-12-16 | Electric bicycle control method and system, and related device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW111148628A TWI865995B (en) | 2022-12-16 | 2022-12-16 | Electric bicycle control method and system, and related device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202426334A TW202426334A (en) | 2024-07-01 |
| TWI865995B true TWI865995B (en) | 2024-12-11 |
Family
ID=92929010
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW111148628A TWI865995B (en) | 2022-12-16 | 2022-12-16 | Electric bicycle control method and system, and related device |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI865995B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN205632870U (en) * | 2016-04-21 | 2016-10-12 | 广东大冶摩托车技术有限公司 | Electric bicycle integral type hand (hold) |
| CN106926918A (en) * | 2017-04-12 | 2017-07-07 | 上海量明科技发展有限公司 | Bicycle locking method, system and bicycle |
| WO2017182556A1 (en) * | 2016-04-21 | 2017-10-26 | Hella Kgaa Hueck & Co. | A system and a method for immobilization of vehicles |
| EP3453599A1 (en) * | 2017-09-07 | 2019-03-13 | Microprogram Information Co., Ltd. | Smart handlebar of rental bicycle |
| CN110905312B (en) * | 2018-09-18 | 2021-04-13 | 睿能创意公司 | Carrier and control, unlocking and locking method thereof |
| CN114501363A (en) * | 2016-10-12 | 2022-05-13 | 株式会社电装 | Passive entry/passive start system and method for a vehicle |
-
2022
- 2022-12-16 TW TW111148628A patent/TWI865995B/en active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN205632870U (en) * | 2016-04-21 | 2016-10-12 | 广东大冶摩托车技术有限公司 | Electric bicycle integral type hand (hold) |
| WO2017182556A1 (en) * | 2016-04-21 | 2017-10-26 | Hella Kgaa Hueck & Co. | A system and a method for immobilization of vehicles |
| CN114501363A (en) * | 2016-10-12 | 2022-05-13 | 株式会社电装 | Passive entry/passive start system and method for a vehicle |
| CN106926918A (en) * | 2017-04-12 | 2017-07-07 | 上海量明科技发展有限公司 | Bicycle locking method, system and bicycle |
| EP3453599A1 (en) * | 2017-09-07 | 2019-03-13 | Microprogram Information Co., Ltd. | Smart handlebar of rental bicycle |
| CN110905312B (en) * | 2018-09-18 | 2021-04-13 | 睿能创意公司 | Carrier and control, unlocking and locking method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202426334A (en) | 2024-07-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12260691B2 (en) | Method and system for managing door access using beacon signal | |
| US11373468B2 (en) | Method and system for managing door access using beacon signal | |
| US9858735B2 (en) | User proximity detection for activating vehicle convenience functions | |
| CN105764032B (en) | A kind of vehicle position tracing system and positioning and tracing method | |
| US20200156591A1 (en) | Car sharing system and car sharing program | |
| KR20220066846A (en) | Motor vehicle, electronic vehicle radio key and system for passive access to motor vehicle, and method therefor | |
| US9870663B2 (en) | Authentication of a user provided with a mobile device by a vehicle | |
| CN117395603A (en) | Multiband identification and ranging | |
| CN104875716A (en) | Method for automatically controlling safety lock and smart terminal | |
| JP7116761B2 (en) | Vehicle control system, vehicle control method, and vehicle control server | |
| TWI865995B (en) | Electric bicycle control method and system, and related device | |
| US12337916B2 (en) | Method of controlling state of electric assist bicycle, control system, and electronic device | |
| JP2024165572A (en) | Position determination device, position determination method | |
| WO2025214009A1 (en) | Control method and apparatus for access control door lock | |
| JP2021025807A (en) | Ranging system, ranging method and computer program | |
| KR102220998B1 (en) | Electronic device and method thereof | |
| KR102694707B1 (en) | Apparatus for controlling vehicle and method thereof | |
| TWI706369B (en) | Vehicle management method and vehicle management system | |
| JP2023179251A (en) | Electronic key system, lock control device | |
| JP2020088436A (en) | Position determination system and position determination system control method | |
| CN120711372A (en) | A vehicle intelligent entry and exit control method and device | |
| CN120963602A (en) | Methods for determining the unlocking method and vehicle | |
| CN119854931A (en) | Bluetooth positioning method, system, storage medium and electronic equipment | |
| JP2024062062A (en) | Control device, program, and control system | |
| KR20200126305A (en) | A smart key and method for controlling the smart key |