TWI744601B - Controlling system for electric bicycle and method thereof - Google Patents

Controlling system for electric bicycle and method thereof Download PDF

Info

Publication number
TWI744601B
TWI744601B TW108105193A TW108105193A TWI744601B TW I744601 B TWI744601 B TW I744601B TW 108105193 A TW108105193 A TW 108105193A TW 108105193 A TW108105193 A TW 108105193A TW I744601 B TWI744601 B TW I744601B
Authority
TW
Taiwan
Prior art keywords
port
signal
area network
console
universal serial
Prior art date
Application number
TW108105193A
Other languages
Chinese (zh)
Other versions
TW202012241A (en
Inventor
莊侑頲
Original Assignee
凱納股份有限公司
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 凱納股份有限公司 filed Critical 凱納股份有限公司
Priority to US16/439,687 priority Critical patent/US11258629B2/en
Priority to EP19191547.9A priority patent/EP3627332B1/en
Publication of TW202012241A publication Critical patent/TW202012241A/en
Application granted granted Critical
Publication of TWI744601B publication Critical patent/TWI744601B/en

Links

Images

Abstract

A controlling system for an electric bicycle is proposed. The controlling system for an electric bicycle includes a dongle module and a console. The dongle module includes a first connecting port, a dongle and a second connecting port. The first connecting port is connected to a controlling end. A USB signal is transmitted between the controlling end and the dongle. One end of the dongle is coupled to the first connecting port. The dongle is configured to convert the USB signal into a CAN signal. The second connecting port is coupled to another end of the dongle. A console port of the console is detachably connected to the second connecting port and coupled to a CAN bus. The CAN signal is transmitted to the CAN bus via the second connecting port and the console port. Therefore, the controlling system for the electric bicycle of the present disclosure can reduce the hardware complexity of the console by signal conversion of the dongle and ensure that a controlling method of the controlling system may be still performed when the console is damaged.

Description

電動自行車之控制系統及其方法 Control system and method of electric bicycle

本發明是關於一種電動自行車之控制系統及其方法,特別是關於一種方便檢測的電動自行車之控制系統及其方法。 The present invention relates to a control system and method of an electric bicycle, in particular to a control system and method of an electric bicycle that is convenient for detection.

在現代電動自行車之應用上已使用越來越多的電動元件,而這些電動元件均連結至控制台(Console),並統一由控制台對控制端進行溝通。一般控制台裝設於電動自行車上,且其內部設有信號轉換之電路,以實現不同形式的信號傳輸,例如:通用序列匯流排信號(USB signal)與控制器區域網路信號(CAN signal)之信號轉換。然而,當控制台損壞時,檢測者往往需要拆拔及更換控制台,甚至須牽動與其連接之訊號線,相當麻煩且耗時。此外,當控制台損壞時,檢測者無法得知電動元件之電壓信號,而且無法開關電動元件,因此必須要重新安裝好的控制台,才能執行後續電動元件的檢測,工序較多而不便。另外,由於控制台須設置信號轉換之電路,其具有一定之硬體複雜度與體積空間,若每台電動自行車均配置 此類控制台,其成本相對較高。由此可知,目前市場上缺乏一種低硬體複雜度之控制台且可提高電動元件之擴充性並實現免拆拔檢測之電動自行車之控制系統及其方法,故相關業者均在尋求其解決之道。 More and more electric components have been used in the application of modern electric bicycles, and these electric components are all connected to the console, and the console communicates with the control end uniformly. Generally, the console is installed on the electric bicycle, and there is a signal conversion circuit inside it to realize different forms of signal transmission, such as: universal serial bus signal (USB signal) and controller area network signal (CAN signal) The signal conversion. However, when the console is damaged, the inspector often needs to remove and replace the console, and even has to pull the signal line connected to it, which is troublesome and time-consuming. In addition, when the console is damaged, the inspector cannot know the voltage signal of the electric component, and cannot switch the electric component. Therefore, the console must be reinstalled before the subsequent electric component inspection can be performed, which requires many procedures and inconvenience. In addition, since the console must be equipped with a signal conversion circuit, it has a certain degree of hardware complexity and volume. If each electric bicycle is equipped with such a console, the cost is relatively high. It can be seen that there is currently a lack of a control system and method for electric bicycles with low hardware complexity that can improve the expandability of electric components and realize free-disassembly detection. Therefore, relevant industries are seeking solutions. road.

因此,本發明之目的在於提供一種電動自行車之控制系統及其方法,其利用伺服器鑰內通用序列匯流排信號與控制器區域網路信號之相互轉換,不但可使控制台之硬體複雜度降低及體積縮小,還可提高控制器區域網路之擴充性並實現免拆拔檢測。此外,當控制台損壞時,系統仍可使用伺服器鑰繼續檢測,相當便利,且針對需要更新的電動元件可透過伺服器鑰與控制器區域網路提供即時的版本更新。 Therefore, the object of the present invention is to provide an electric bicycle control system and method, which utilizes the mutual conversion between the universal serial bus signal in the server key and the controller area network signal, which not only makes the hardware complexity of the console The reduction and size reduction can also improve the scalability of the controller area network and realize the non-disassembly detection. In addition, when the control panel is damaged, the system can still use the server key to continue the detection, which is very convenient, and for the electric components that need to be updated, real-time version updates can be provided through the server key and the controller local area network.

依據本發明的結構態樣之一實施方式提供一種電動自行車之控制系統,其用以連結電動自行車之控制器區域網路與控制端並控制複數個電動元件,此些電動元件訊號連接控制器區域網路。電動自行車之控制系統包含伺服器鑰模組與控制台,其中伺服器鑰模組包含第一連接埠、伺服器鑰及第二連接埠。第一連接埠連接控制端,且控制端傳送一通用序列匯流排信號。伺服器鑰之一端耦接第一連接埠,伺服器鑰將通用序列匯流排信號轉換成一控制器區域網路信號。第二連接埠耦接伺服器鑰之另一端。控制台包含一控制台連接埠,此控制台連接埠可拆卸地連 接第二連接埠並耦接控制器區域網路。控制器區域網路信號透過第二連接埠與控制台連接埠傳輸至控制器區域網路。 According to an embodiment of the structural aspect of the present invention, an electric bicycle control system is provided, which is used to connect the controller area network and the control terminal of the electric bicycle and control a plurality of electric components, and these electric components are connected to the controller area by signals network. The control system of the electric bicycle includes a server key module and a control panel. The server key module includes a first connection port, a server key and a second connection port. The first connection port is connected to the control terminal, and the control terminal transmits a universal serial bus signal. One end of the server key is coupled to the first port, and the server key converts the universal serial bus signal into a controller area network signal. The second port is coupled to the other end of the server key. The console includes a console port. The console port is detachably connected to the second port and coupled to the controller area network. The controller area network signal is transmitted to the controller area network through the second port and the console port.

藉此,本發明的電動自行車之控制系統利用伺服器鑰內通用序列匯流排信號與控制器區域網路信號之相互轉換,既可使控制台之硬體複雜度降低及體積縮小,亦可提高控制器區域網路之擴充性並實現免拆拔檢測。 As a result, the control system of the electric bicycle of the present invention utilizes the mutual conversion between the universal serial bus signal in the server key and the controller area network signal, which can reduce the hardware complexity and size of the console, and also improve The expandability of the controller local area network and the realization of non-disassembly detection.

前述實施方式之其他實施例如下:前述第一連接埠可為一通用序列匯流排連接埠,第二連接埠為一A型通用序列匯流排連接埠或一C型通用序列匯流排連接埠,控制台連接埠對應第二連接埠。 Other examples of the foregoing embodiment are as follows: the first port may be a universal serial bus port, and the second port may be an A-type universal serial bus port or a C-type universal serial bus port, which controls One port corresponds to the second port.

前述實施方式之其他實施例如下:當前述第二連接埠為A型通用序列匯流排連接埠時,第二連接埠具有九個引腳,其中二個引腳耦接控制器區域網路。當前述第二連接埠為C型通用序列匯流排連接埠時,第二連接埠具有二十四個引腳,其中二個引腳耦接控制器區域網路。 Other examples of the foregoing embodiment are as follows: when the foregoing second port is an A-type universal serial bus port, the second port has nine pins, two of which are coupled to the controller area network. When the aforementioned second port is a C-type universal serial bus port, the second port has twenty-four pins, two of which are coupled to the controller area network.

前述實施方式之其他實施例如下:前述伺服器鑰可包含一通用序列匯流排處理單元、一伺服器鑰處理器及一控制器區域網路處理單元,其中通用序列匯流排處理單元連接第一連接埠,通用序列匯流排處理單元將通用序列匯流排信號轉換成一酬載信號。伺服器鑰處理器連接通用序列匯流排處理單元,伺服器鑰處理器將酬載信號轉換成一控制器區域網路前置信號。控制器區域網路處理單元 連接伺服器鑰處理器,控制器區域網路處理單元將控制器區域網路前置信號轉換成控制器區域網路信號。 Other examples of the foregoing embodiment are as follows: the foregoing server key may include a universal serial bus processing unit, a server key processor, and a controller area network processing unit, wherein the universal serial bus processing unit is connected to the first connection Port, the universal serial bus processing unit converts the universal serial bus signal into a payload signal. The server key processor is connected to the universal serial bus processing unit, and the server key processor converts the payload signal into a controller area network pre-signal. The controller area network processing unit is connected to the server key processor, and the controller area network processing unit converts the controller area network pre-signal into the controller area network signal.

前述實施方式之其他實施例如下:前述伺服器鑰可包含一電源控制單元及一電源監控單元,其中電源控制單元連接伺服器鑰處理器並輸出一電源控制信號,電源監控單元則連接伺服器鑰處理器並接收各電動元件之一電壓信號。再者,控制台可包含一電源開關控制器及一控制台電源單元,其中電源開關控制器,經由第二連接埠與控制台連接埠耦接電源控制單元,電源開關控制器依據電源控制信號開啟或關閉各電動元件。控制台電源單元經由第二連接埠與控制台連接埠耦接電源監控單元,控制台電源單元接收各電動元件之電壓信號。 Other examples of the foregoing embodiment are as follows: the foregoing server key may include a power control unit and a power monitoring unit, wherein the power control unit is connected to the server key processor and outputs a power control signal, and the power monitoring unit is connected to the server key The processor also receives the voltage signal of one of the electrical components. Furthermore, the console may include a power switch controller and a console power supply unit, wherein the power switch controller is coupled to the power control unit via the second port and the console port, and the power switch controller is turned on according to the power control signal Or turn off the electrical components. The console power supply unit is coupled to the power monitoring unit via the second connection port and the console connection port, and the console power supply unit receives the voltage signals of the electrical components.

依據本發明的方法態樣之一實施方式提供一種電動自行車之控制方法,其用以令控制端控制電動自行車之複數個電動元件。電動自行車之控制方法包含一信號轉換步驟及一信號傳輸控制步驟,其中信號轉換步驟係驅動一伺服器鑰模組將來自控制端之一通用序列匯流排信號轉換成一控制器區域網路信號。通用序列匯流排信號透過伺服器鑰模組之一第一連接埠傳輸至一伺服器鑰,伺服器鑰將通用序列匯流排信號轉換成控制器區域網路信號。此外,信號傳輸控制步驟係驅動一控制台將控制器區域網路信號透過伺服器鑰模組之一第二連接埠與控制台之一控制台連接埠傳輸至一控制器區域網路,藉以控制訊號連接控制器區域網路之電動元件。 According to an embodiment of the method aspect of the present invention, there is provided a control method of an electric bicycle, which is used to allow a control terminal to control a plurality of electric components of the electric bicycle. The control method of the electric bicycle includes a signal conversion step and a signal transmission control step. The signal conversion step drives a server key module to convert a universal serial bus signal from the control terminal into a controller area network signal. The universal serial bus signal is transmitted to a server key through a first port of the server key module, and the server key converts the universal serial bus signal into a controller area network signal. In addition, the signal transmission control step is to drive a console to transmit the controller area network signal to a controller area network through a second port of the server key module and a console port of the console, thereby controlling The signal is connected to the electrical components of the controller's local area network.

藉此,本發明的電動自行車之控制方法在控制台損壞時仍可藉由伺服器鑰提供電源給電動元件並繼續檢測,維修者不用更換控制台及拆拔線做檢測,相當便利。另外,針對需要更新的電動元件可透過伺服器鑰與控制器區域網路提供即時的版本更新,不必擔心有電動元件會因未更新而導致連結失效的問題。 Thereby, the control method of the electric bicycle of the present invention can still provide power to the electric components through the server key and continue testing when the console is damaged, and the repairer does not need to replace the console and disconnect the cables for testing, which is quite convenient. In addition, for electrical components that need to be updated, real-time version updates can be provided through the server key and controller LAN, so there is no need to worry about the problem that electrical components will fail due to unupdated links.

前述實施方式之其他實施例如下:前述第一連接埠可為一通用序列匯流排連接埠,第二連接埠為一A型通用序列匯流排連接埠或一C型通用序列匯流排連接埠。控制台連接埠對應第二連接埠。 Other examples of the foregoing embodiment are as follows: the first port may be a universal serial bus port, and the second port may be an A-type universal serial bus port or a C-type universal serial bus port. The console port corresponds to the second port.

前述實施方式之其他實施例如下:當前述第二連接埠為A型通用序列匯流排連接埠時,第二連接埠具有九個引腳,其中二個引腳耦接控制器區域網路。當前述第二連接埠為C型通用序列匯流排連接埠時,第二連接埠具有二十四個引腳,其中二個引腳耦接控制器區域網路。 Other examples of the foregoing embodiment are as follows: when the foregoing second port is an A-type universal serial bus port, the second port has nine pins, two of which are coupled to the controller area network. When the aforementioned second port is a C-type universal serial bus port, the second port has twenty-four pins, two of which are coupled to the controller area network.

前述實施方式之其他實施例如下:前述電動自行車之控制方法可包含一電源開關步驟與一電源監控步驟,其中電源開關步驟係驅動伺服器鑰之一電源控制單元輸出一電源控制信號,然後驅動控制台之一電源開關控制器依據電源控制信號開啟或關閉各電動元件。電源監控步驟係驅動伺服器鑰之一電源監控單元與控制台之一控制台電源單元接收各電動元件之電壓信號,藉以令控制端監控此些電動元件。 Other examples of the foregoing embodiment are as follows: the foregoing electric bicycle control method may include a power switch step and a power monitoring step, wherein the power switch step is to drive a power control unit of the servo key to output a power control signal, and then drive control A power switch controller of the station turns on or off each electric component according to the power control signal. The power supply monitoring step is to drive a power monitoring unit of the server key and a console power supply unit of the console to receive the voltage signals of the electrical components, so that the control terminal can monitor the electrical components.

前述實施方式之其他實施例如下:前述電動自行車之控制方法可包含一元件確認步驟與一版本更新步驟,其中元件確認步驟係透過伺服器鑰模組、控制台及控制器區域網路使控制端確認各電動元件是否存在。而版本更新步驟係使控制端傳送對應存在之電動元件之一更新資訊,並將更新資訊轉換成通用序列匯流排信號而傳送至伺服器鑰模組,然後伺服器鑰模組輸出對應更新資訊之控制器區域網路信號至控制台,並經由控制器區域網路傳送至電動元件。 Other examples of the foregoing embodiment are as follows: the foregoing electric bicycle control method may include a component confirmation step and a version update step, wherein the component confirmation step is to enable the control terminal through the server key module, the control panel, and the controller area network. Confirm whether each electrical component exists. The version update step is to make the control terminal send update information corresponding to one of the existing electrical components, convert the update information into a universal serial bus signal and send it to the server key module, and then the server key module outputs the corresponding update information The controller area network signal is sent to the control panel and sent to the electrical components via the controller area network.

100、100a‧‧‧電動自行車之控制系統 100, 100a‧‧‧Electric bicycle control system

110‧‧‧控制器區域網路 110‧‧‧Controller Area Network

120‧‧‧控制端 120‧‧‧Control terminal

130‧‧‧電動元件 130‧‧‧Electrical components

1301‧‧‧顯示器 1301‧‧‧Display

1302‧‧‧電池 1302‧‧‧Battery

1303‧‧‧驅動器 1303‧‧‧Drive

330‧‧‧控制器區域網路收發器 330‧‧‧Controller Area Network Transceiver

340‧‧‧控制台處理器 340‧‧‧Console processor

400、400a、400b、400c‧‧‧電動自行車之控制方法 400, 400a, 400b, 400c‧‧‧Control method of electric bicycle

S12、S21‧‧‧信號轉換步驟 S12, S21‧‧‧Signal conversion steps

1304‧‧‧馬達 1304‧‧‧Motor

1305‧‧‧光源 1305‧‧‧Light source

1306‧‧‧鎖 1306‧‧‧Lock

1307‧‧‧感測器 1307‧‧‧Sensor

1308‧‧‧防鎖死煞車系統 1308‧‧‧Anti-lock brake system

1309‧‧‧變速系統 1309‧‧‧Transmission System

1310‧‧‧連網模組 1310‧‧‧Networking Module

1311‧‧‧胎壓偵測器 1311‧‧‧Tire Pressure Detector

200、200a‧‧‧伺服器鑰模組 200, 200a‧‧‧Server key module

210‧‧‧第一連接埠 210‧‧‧First port

220、220a‧‧‧伺服器鑰 220, 220a‧‧‧Server key

221‧‧‧通用序列匯流排處理單元 221‧‧‧Universal Serial Bus Processing Unit

222‧‧‧伺服器鑰處理器 222‧‧‧Server Key Processor

223‧‧‧控制器區域網路處理單元 223‧‧‧Controller Area Network Processing Unit

224‧‧‧電源控制單元 224‧‧‧Power Control Unit

225‧‧‧電源監控單元 225‧‧‧Power Monitoring Unit

226‧‧‧儲存單元 226‧‧‧Storage Unit

227‧‧‧伺服器鑰電源單元 227‧‧‧Server key power supply unit

230‧‧‧第二連接埠 230‧‧‧Second port

300、300a‧‧‧控制台 300, 300a‧‧‧Console

302‧‧‧控制台連接埠 302‧‧‧Console port

310‧‧‧電源開關控制器 310‧‧‧Power Switch Controller

320‧‧‧控制台電源單元 320‧‧‧Console power supply unit

S14、S22‧‧‧信號傳輸控制步驟 S14, S22‧‧‧Signal transmission control steps

S23‧‧‧電源開關步驟 S23‧‧‧Power switch steps

S24‧‧‧電源監控步驟 S24‧‧‧Power monitoring procedure

S25‧‧‧元件確認步驟 S25‧‧‧Component confirmation steps

S26‧‧‧版本更新步驟 S26‧‧‧Version update steps

S31、S32、S33、S34、S35、S36、S37、S41、S42、S43、S44、S45、S46、S47、S48‧‧‧步驟 S31, S32, S33, S34, S35, S36, S37, S41, S42, S43, S44, S45, S46, S47, S48‧‧‧Step

CANH、CANL‧‧‧訊號線 CANH, CANL‧‧‧signal line

Power(5VDC)、Data+、Data-、Ground、Transmit-、Transmit+、Receive-、Receive+、A1、A2、A3、A4、A5、A6、A7、A8、A9、A10、A11、A12、B1、B2、B3、B4、B5、B6、B7、B8、B9、B10、B11、B12‧‧‧引腳 Power(5VDC), Data+, Data-, Ground, Transmit-, Transmit+, Receive-, Receive+, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, B1, B2 B3, B4, B5, B6, B7, B8, B9, B10, B11, B12‧‧‧Pin

第1圖係繪示本發明第一實施例之電動自行車之控制系統的示意圖;第2圖係繪示第1圖的伺服器鑰、控制台及控制器區域網路之方塊示意圖;第3圖係繪示本發明第二實施例之電動自行車之控制系統的示意圖;第4圖係繪示第3圖的第二連接埠為一A型通用序列匯流排連接埠之介面示意圖;第5圖係繪示第3圖的第二連接埠為一C型通用序列匯流排連接埠之介面示意圖;第6圖係繪示本發明第三實施例之電動自行車之控制方法的流程示意圖; 第7圖係繪示本發明第四實施例之電動自行車之控制方法的流程示意圖;第8圖係繪示本發明第五實施例之電動自行車之控制方法的流程示意圖;以及第9圖係繪示本發明第六實施例之電動自行車之控制方法的流程示意圖。 Fig. 1 is a schematic diagram of the control system of an electric bicycle according to the first embodiment of the present invention; Fig. 2 is a block diagram of the server key, console and controller area network of Fig. 1; Fig. 3 It is a schematic diagram showing the control system of an electric bicycle according to the second embodiment of the present invention; FIG. 4 is a schematic diagram showing that the second port in FIG. 3 is an A-type universal serial bus port; FIG. 5 is The second port shown in Figure 3 is a schematic diagram of the interface of a C-type universal serial bus port; Figure 6 is a schematic diagram showing the flow of the control method of the electric bicycle according to the third embodiment of the present invention; Figure 7 is A schematic flow chart of the control method of an electric bicycle according to the fourth embodiment of the present invention is shown; Fig. 8 is a schematic flow chart of the control method of an electric bicycle according to the fifth embodiment of the present invention; The schematic flow chart of the control method of the electric bicycle of the six embodiments.

以下將參照圖式說明本發明之複數個實施例。為明確說明起見,許多實務上的細節將在以下敘述中一併說明。然而,應瞭解到,這些實務上的細節不應用以限制本發明。也就是說,在本發明部分實施例中,這些實務上的細節是非必要的。此外,為簡化圖式起見,一些習知慣用的結構與元件在圖式中將以簡單示意的方式繪示之;並且重複之元件將可能使用相同的編號表示之。 Hereinafter, a plurality of embodiments of the present invention will be described with reference to the drawings. For the sake of clarity, many practical details will be explained in the following description. However, it should be understood that these practical details should not be used to limit the present invention. That is to say, in some embodiments of the present invention, these practical details are unnecessary. In addition, for the sake of simplification of the drawings, some conventionally used structures and elements will be drawn in a simple schematic manner in the drawings; and repeated elements may be represented by the same number.

此外,本文中當某一元件(或單元或模組等)「連接」或「耦接」於另一元件,可指所述元件是直接連接或直接耦接於另一元件,亦可指某一元件是間接連接或間接耦接於另一元件,意即,有其他元件介於所述元件及另一元件之間。而當有明示某一元件是「直接連接」或「直接耦接」於另一元件時,才表示沒有其他元件介於所述元件及另一元件之間。而第一、第二、第三等用語只是用來描述不同元件,而對元件本身並無限制,因此,第一元件亦可改稱為第二元件。且本文中之元件/單元/模組之 組合非此領域中之一般周知、常規或習知之組合,不能以元件/單元/模組本身是否為習知,來判定其組合關係是否容易被技術領域中之通常知識者輕易完成。 In addition, when an element (or unit or module, etc.) is "connected" or "coupled" to another element in this document, it can mean that the element is directly connected or directly coupled to another element, and it can also refer to a certain element. An element is indirectly connected or indirectly coupled to another element, that is, there is another element between the element and another element. When it is clearly stated that a certain element is "directly connected" or "directly coupled" to another element, it means that there is no other element between the element and another element. The terms “first, second, third, etc.” are only used to describe different elements, without limiting the elements themselves. Therefore, the first element can also be referred to as the second element. Moreover, the combination of components/units/modules in this article is not a combination of general knowledge, conventional or conventional in this field, and it cannot be judged whether the combination relationship is easy to be affected by the technical field based on whether the component/unit/module itself is a conventional one. It is easily done by the knowledgeable in the ordinary.

請一併參閱第1圖與第2圖,第1圖係繪示本發明第一實施例之電動自行車之控制系統100的示意圖;以及第2圖係繪示第1圖的伺服器鑰220、控制台300及控制器區域網路110之方塊示意圖。如圖所示,電動自行車之控制系統100用以連結電動自行車之控制器區域網路110(Controller Area Network bus;CAN bus)與控制端120並控制複數個電動元件130,此些電動元件130訊號連接控制器區域網路110,控制器區域網路110由二條訊號線CANH、CANL組成。電動自行車之控制系統100包含伺服器鑰模組200與控制台300。 Please refer to Fig. 1 and Fig. 2. Fig. 1 is a schematic diagram of the control system 100 for an electric bicycle according to the first embodiment of the present invention; and Fig. 2 is a diagram showing the server key 220 of Fig. 1. The block diagram of the control panel 300 and the controller area network 110. As shown in the figure, the electric bicycle control system 100 is used to connect the controller area network bus (CAN bus) of the electric bicycle 110 and the control terminal 120 and control a plurality of electric components 130, these electric components 130 signal Connected to the controller area network 110, the controller area network 110 is composed of two signal lines CANH and CANL. The control system 100 of the electric bicycle includes a server key module 200 and a console 300.

伺服器鑰模組200包含第一連接埠210、伺服器鑰220及第二連接埠230。第一連接埠210連接控制端120,且控制端120傳送一通用序列匯流排信號(USB signal)。伺服器鑰220之一端耦接第一連接埠210,伺服器鑰220將通用序列匯流排信號轉換成一控制器區域網路信號(CAN signal)。第二連接埠230耦接伺服器鑰220之另一端。詳細地說,控制端120可以是電腦或行動裝置,電動元件130包含顯示器1301、電池1302、驅動器1303、馬達1304、光源1305、鎖1306、感測器1307、防鎖死煞車系統1308(Anti-lock Braking System;ABS)、變速系統1309(Shifter)、連網模組 1310(Internet Of Things;IOT)及胎壓偵測器1311(Tire Pressure Monitoring System;TPMS)。第一連接埠210為一通用序列匯流排連接埠(USB port),第二連接埠230為一A型通用序列匯流排連接埠(USB 3.0 Type-A port)或一C型通用序列匯流排連接埠(USB 3.0 Type-C port)。控制台連接埠302對應第二連接埠230;也就是說,控制台連接埠302與第二連接埠230為相同種類的連接埠。再者,伺服器鑰220包含通用序列匯流排處理單元221、伺服器鑰處理器222及控制器區域網路處理單元223,其中通用序列匯流排處理單元221連接第一連接埠210,通用序列匯流排處理單元221將通用序列匯流排信號轉換成一酬載信號。伺服器鑰處理器222連接通用序列匯流排處理單元221,伺服器鑰處理器222將酬載信號轉換成一控制器區域網路前置信號。控制器區域網路處理單元223連接伺服器鑰處理器222,控制器區域網路處理單元223將控制器區域網路前置信號轉換成控制器區域網路信號。 The server key module 200 includes a first connection port 210, a server key 220 and a second connection port 230. The first connection port 210 is connected to the control terminal 120, and the control terminal 120 transmits a universal serial bus signal (USB signal). One end of the server key 220 is coupled to the first connection port 210, and the server key 220 converts the universal serial bus signal into a CAN signal. The second connection port 230 is coupled to the other end of the server key 220. In detail, the control terminal 120 can be a computer or a mobile device. The electric component 130 includes a display 1301, a battery 1302, a driver 1303, a motor 1304, a light source 1305, a lock 1306, a sensor 1307, and an anti-lock braking system 1308 (Anti- lock Braking System; ABS), shifting system 1309 (Shifter), networking module 1310 (Internet Of Things; IOT) and tire pressure detector 1311 (Tire Pressure Monitoring System; TPMS). The first port 210 is a universal serial bus port (USB port), and the second port 230 is a type A universal serial bus port (USB 3.0 Type-A port) or a type C universal serial bus connection Port (USB 3.0 Type-C port). The console port 302 corresponds to the second port 230; that is, the console port 302 and the second port 230 are the same type of ports. Furthermore, the server key 220 includes a universal serial bus processing unit 221, a server key processor 222, and a controller area network processing unit 223. The universal serial bus processing unit 221 is connected to the first port 210, and the universal serial bus The row processing unit 221 converts the universal serial bus signal into a payload signal. The server key processor 222 is connected to the universal serial bus processing unit 221, and the server key processor 222 converts the payload signal into a controller area network pre-signal. The controller area network processing unit 223 is connected to the server key processor 222, and the controller area network processing unit 223 converts the controller area network pre-signal into the controller area network signal.

控制台300包含一控制台連接埠302,此控制台連接埠302可拆卸地連接第二連接埠230並耦接控制器區域網路110。控制器區域網路信號透過第二連接埠230與控制台連接埠302傳輸至控制器區域網路110。藉此,本發明的電動自行車之控制系統100透過伺服器鑰220內通用序列匯流排信號(USB signal)與控制器區域網路信號(CAN signal)之相互轉換,不但可使控制台300之硬體複雜度降 低及體積縮小,還可提高控制器區域網路110之擴充性並實現免拆拔檢測。 The console 300 includes a console port 302, the console port 302 is detachably connected to the second port 230 and coupled to the controller area network 110. The controller area network signal is transmitted to the controller area network 110 through the second port 230 and the console port 302. Thereby, the control system 100 of the electric bicycle of the present invention can convert between the USB signal and the CAN signal of the controller area network in the server key 220, which can not only make the console 300 hard The complexity of the body is reduced and the volume is reduced, and the scalability of the controller area network 110 can be improved and the disassembly-free detection can be realized.

請一併參閱第3至5圖,第3圖係繪示本發明第二實施例之電動自行車之控制系統100a的示意圖;第4圖係繪示第3圖的第二連接埠230為一A型通用序列匯流排連接埠之介面示意圖;以及第5圖係繪示第3圖的第二連接埠230為一C型通用序列匯流排連接埠之介面示意圖。如圖所示,電動自行車之控制系統100a用以連結電動自行車之控制器區域網路110與控制端120。電動自行車之控制系統100a包含伺服器鑰模組200a與控制台300a。 Please refer to FIGS. 3 to 5 together. FIG. 3 is a schematic diagram showing the control system 100a of an electric bicycle according to the second embodiment of the present invention; FIG. 4 is a diagram showing that the second connection port 230 in FIG. 3 is A A schematic diagram of the interface of a C-type universal serial bus port; and FIG. 5 is a schematic diagram showing the interface of a C-type universal serial bus port as the second port 230 in FIG. 3. As shown in the figure, the control system 100a of the electric bicycle is used to connect the controller area network 110 and the control terminal 120 of the electric bicycle. The control system 100a of the electric bicycle includes a server key module 200a and a console 300a.

伺服器鑰模組200a包含第一連接埠210、伺服器鑰220a及第二連接埠230。伺服器鑰220a包含通用序列匯流排處理單元221、伺服器鑰處理器222、控制器區域網路處理單元223、電源控制單元224、電源監控單元225、儲存單元226及伺服器鑰電源單元227。配合參閱第2圖,在第3圖的實施例中,第一連接埠210、第二連接埠230、伺服器鑰模組200a之通用序列匯流排處理單元221、伺服器鑰處理器222及控制器區域網路處理單元223分別與第2圖之第一連接埠210、第二連接埠230、伺服器鑰模組200之通用序列匯流排處理單元221、伺服器鑰處理器222及控制器區域網路處理單元223相同,不再贅述。特別的是,第3圖之伺服器鑰模組200a更包含電源控制單元224、電源監控單元225、儲存單元226及伺服器鑰電源單元227,其中電源控制單元224連接伺服器鑰處理器222並輸出一電源 控制信號,且電源控制單元224將控制器區域網路前置信號轉換成電源控制信號,並經由第二連接埠230將電源控制信號傳送至控制台300a。電源監控單元225連接伺服器鑰處理器222並接收各電動元件130之一電壓信號,且電源監控單元225將電壓信號轉換成控制器區域網路前置信號而傳送至伺服器鑰處理器222。儲存單元226連接伺服器鑰處理器222並儲存各類信號。伺服器鑰電源單元227連接儲存單元226,伺服器鑰電源單元227用以管控通用序列匯流排處理單元221、伺服器鑰處理器222、控制器區域網路處理單元223、電源控制單元224、電源監控單元225、儲存單元226的電源,令其運作正常。此外,表一顯示本發明的電動自行車之控制系統100a所需使用之八種訊號線以及其與通用序列匯流排連接埠之八種引腳的相對關係。當第二連接埠230為A型通用序列匯流排連接埠時,第二連接埠230具有九個引腳Power(5VDC)、Data+、Data-、Ground、Transmit-、Transmit+、Ground、Receive-、Receive+,其中二個引腳Transmit-、Transmit+分別耦接控制器區域網路110的二個訊號線CANL、CANH,如第4圖以及表一之第1、2欄所示。由於九個引腳中有二個Ground,所以此九個引腳可區分為八種引腳。另外,當第二連接埠230為C型通用序列匯流排連接埠時,第二連接埠230具有二十四個引腳A1(GND)、A2(TX1+)、A3(TX1-)、A4(VBUS)、A5(CC1)、A6(D+)、A7(D-)、A8(SBU1)、A9(VBUS)、A10(RX2-)、 A11(RX2+)、A12(GND)、B1(GND)、B2(TX2+)、B3(TX2-)、B4(VBUS)、B5(CC2)、B6(D+)、B7(D-)、B8(SBU2)、B9(VBUS)、B10(RX1-)、B11(RX1+)、B12(GND),其中二個引腳TX1/2+、TX1/2-分別耦接控制器區域網路110的二個訊號線CANL、CANH,如第5圖以及表一之第1、3欄所示。前述之訊號線均可雙向傳輸訊號。 The server key module 200a includes a first connection port 210, a server key 220a, and a second connection port 230. The server key 220a includes a universal serial bus processing unit 221, a server key processor 222, a controller area network processing unit 223, a power control unit 224, a power monitoring unit 225, a storage unit 226, and a server key power supply unit 227. With reference to Figure 2, in the embodiment of Figure 3, the first connection port 210, the second connection port 230, the universal serial bus processing unit 221 of the server key module 200a, the server key processor 222 and the control The server area network processing unit 223 is respectively connected to the first port 210, the second port 230, the universal serial bus processing unit 221 of the server key module 200, the server key processor 222, and the controller area of FIG. 2 The network processing unit 223 is the same and will not be repeated here. In particular, the server key module 200a of Figure 3 further includes a power control unit 224, a power monitoring unit 225, a storage unit 226, and a server key power supply unit 227. The power control unit 224 is connected to the server key processor 222 and A power control signal is output, and the power control unit 224 converts the controller area network front signal into a power control signal, and transmits the power control signal to the console 300a through the second connection port 230. The power monitoring unit 225 is connected to the server key processor 222 and receives a voltage signal of each electric component 130, and the power monitoring unit 225 converts the voltage signal into a controller area network pre-signal and transmits it to the server key processor 222. The storage unit 226 is connected to the server key processor 222 and stores various signals. The server key power supply unit 227 is connected to the storage unit 226. The server key power supply unit 227 is used to control the universal serial bus processing unit 221, the server key processor 222, the controller area network processing unit 223, the power control unit 224, and the power supply. The power supply of the monitoring unit 225 and the storage unit 226 allows them to operate normally. In addition, Table 1 shows the eight types of signal lines required by the control system 100a of the electric bicycle of the present invention and their relative relationships with the eight types of pins of the universal serial bus port. When the second port 230 is a type A universal serial bus port, the second port 230 has nine pins Power (5VDC), Data+, Data-, Ground, Transmit-, Transmit+, Ground, Receive-, Receive+ , The two pins Transmit- and Transmit+ are respectively coupled to the two signal lines CANL and CANH of the controller area network 110, as shown in Figure 4 and columns 1 and 2 of Table 1. Since there are two Ground among the nine pins, the nine pins can be divided into eight kinds of pins. In addition, when the second port 230 is a C-type universal serial bus port, the second port 230 has twenty-four pins A1 (GND), A2 (TX1+), A3 (TX1-), A4 (VBUS ), A5(CC1), A6(D+), A7(D-), A8(SBU1), A9(VBUS), A10(RX2-), A11(RX2+), A12(GND), B1(GND), B2 (TX2+), B3(TX2-), B4(VBUS), B5(CC2), B6(D+), B7(D-), B8(SBU2), B9(VBUS), B10(RX1-), B11(RX1+ ), B12 (GND), where two pins TX1/2+ and TX1/2- are respectively coupled to the two signal lines CANL and CANH of the controller area network 110, as shown in Figure 5 and No. 1 in Table 1. Shown in column 3. The aforementioned signal lines can transmit signals in both directions.

Figure 108105193-A0101-12-0012-1
Figure 108105193-A0101-12-0012-1

控制台300a包含控制台連接埠302、電源開關控制器310、控制台電源單元320、控制器區域網路收發器330及控制台處理器340。其中控制台連接埠302連接電源開關控制器310、控制台電源單元320及控制器區域網路收發器330。電源開關控制器310經由第二連接埠230與控制台連接埠302耦接電源控制單元224,電源開關控制器310依據電源控制信號開啟或關閉各電動元件130。控制台電 源單元320經由第二連接埠230與控制台連接埠302耦接電源監控單元225,控制台電源單元320接收各電動元件130之電壓信號。再者,控制器區域網路收發器330經由第二連接埠230與控制台連接埠302耦接控制器區域網路處理單元223,且控制器區域網路收發器330係透過控制器區域網路110的二條訊號線CANL、CANH連接控制器區域網路處理單元223及各電動元件130。控制台處理器340連接控制器區域網路收發器330,藉以產生所需之控制器區域網路信號。藉此,電動自行車之控制系統100a利用伺服器鑰220a內通用序列匯流排信號與控制器區域網路信號之相互轉換,不但可使控制台300a之硬體複雜度降低及體積縮小,還可提高控制器區域網路110之擴充性並實現免拆拔檢測。此外,當控制台300a損壞時,系統仍可使用伺服器鑰220a繼續檢測,兼具實用性與便利性。 The console 300a includes a console connection port 302, a power switch controller 310, a console power supply unit 320, a controller area network transceiver 330, and a console processor 340. The console port 302 is connected to the power switch controller 310, the console power unit 320, and the controller area network transceiver 330. The power switch controller 310 is coupled to the power control unit 224 via the second connection port 230 and the console port 302, and the power switch controller 310 turns on or off each electric component 130 according to the power control signal. The console power supply unit 320 is coupled to the power monitoring unit 225 via the second connection port 230 and the console connection port 302, and the console power supply unit 320 receives the voltage signal of each electric component 130. Furthermore, the controller area network transceiver 330 is coupled to the controller area network processing unit 223 via the second port 230 and the console port 302, and the controller area network transceiver 330 is connected through the controller area network The two signal lines CANL and CANH of 110 are connected to the controller area network processing unit 223 and the electrical components 130. The console processor 340 is connected to the controller area network transceiver 330 to generate the required controller area network signal. As a result, the electric bicycle control system 100a utilizes the mutual conversion between the universal serial bus signal in the server key 220a and the controller area network signal, which not only reduces the hardware complexity and size of the console 300a, but also improves The expandability of the controller area network 110 and the realization of non-disassembly detection. In addition, when the console 300a is damaged, the system can still use the server key 220a to continue the detection, which has both practicality and convenience.

請一併參閱第2、3及6圖,第6圖係繪示本發明第三實施例之電動自行車之控制方法400的流程示意圖。電動自行車之控制方法400用以令一控制端120控制一電動自行車之複數個電動元件130。電動自行車之控制方法400可應用於前述電動自行車之控制系統100、100a並包含信號轉換步驟S12與信號傳輸控制步驟S14,其中信號轉換步驟S12係驅動一伺服器鑰模組200、200a將來自控制端120之一通用序列匯流排信號轉換成一控制器區域網路信號。此通用序列匯流排信號透過伺服器鑰模組200、200a之第一連接埠210傳輸至一伺服器鑰220、220a,伺 服器鑰220、220a將通用序列匯流排信號轉換成控制器區域網路信號。再者,信號傳輸控制步驟S14係驅動一控制台300、300a將控制器區域網路信號透過伺服器鑰模組200、200a之第二連接埠230與控制台300、300a之控制台連接埠302傳輸至控制器區域網路110,藉以控制訊號連接控制器區域網路110之電動元件130。藉此,本發明之電動自行車之控制方法400透過伺服器鑰220、220a內通用序列匯流排信號與控制器區域網路信號之相互轉換,可有效且方便地控制電動元件130,並提高控制器區域網路110之擴充性及實現免拆拔檢測。 Please refer to FIGS. 2, 3, and 6 together. FIG. 6 is a schematic flowchart of a control method 400 of an electric bicycle according to a third embodiment of the present invention. The control method 400 of an electric bicycle is used to allow a control terminal 120 to control a plurality of electric components 130 of an electric bicycle. The electric bicycle control method 400 can be applied to the aforementioned electric bicycle control systems 100, 100a and includes a signal conversion step S12 and a signal transmission control step S14. The signal conversion step S12 drives a servo key module 200, 200a to control A universal serial bus signal of the terminal 120 is converted into a controller area network signal. The universal serial bus signal is transmitted to a server key 220, 220a through the first port 210 of the server key module 200, 200a, and the server key 220, 220a converts the universal serial bus signal into a controller area network Signal. Furthermore, the signal transmission control step S14 is to drive a console 300, 300a to transmit the controller area network signal through the second port 230 of the server key module 200, 200a and the console port 302 of the console 300, 300a It is transmitted to the controller area network 110, whereby the control signal is connected to the electric component 130 of the controller area network 110. Thereby, the electric bicycle control method 400 of the present invention can effectively and conveniently control the electric component 130 through the mutual conversion between the universal serial bus signal in the server keys 220 and 220a and the controller area network signal, and improve the controller The scalability of the local area network 110 and the realization of unplug-free detection.

請一併參閱第3及7圖,第7圖係繪示本發明第四實施例之電動自行車之控制方法400a的流程示意圖。電動自行車之控制方法400a可應用於前述電動自行車之控制系統100a並包含信號轉換步驟S21、信號傳輸控制步驟S22、電源開關步驟S23、電源監控步驟S24、元件確認步驟S25以及版本更新步驟S26。 Please refer to FIGS. 3 and 7 together. FIG. 7 is a flowchart of a control method 400a of an electric bicycle according to a fourth embodiment of the present invention. The electric bicycle control method 400a can be applied to the aforementioned electric bicycle control system 100a and includes a signal conversion step S21, a signal transmission control step S22, a power switch step S23, a power monitoring step S24, a component confirmation step S25, and a version update step S26.

配合參閱第6圖,在第7圖的實施例中,信號轉換步驟S21、信號傳輸控制步驟S22分別與第6圖之信號轉換步驟S12、信號傳輸控制步驟S14相同,不再贅述。特別的是,第7圖之電動自行車之控制方法400a更包含電源開關步驟S23、電源監控步驟S24、元件確認步驟S25以及版本更新步驟S26。其中電源開關步驟S23係驅動伺服器鑰220a之電源控制單元224輸出電源控制信號,然後驅動控制台300a之電源開關控制器310依據電源控制信號開啟或 關閉各電動元件130。電源監控步驟S24係驅動伺服器鑰220a之電源監控單元225與控制台300a之控制台電源單元320接收各電動元件130之電壓信號,藉以令控制端120監控電動元件130。此外,元件確認步驟S25係透過伺服器鑰模組200a、控制台300a及控制器區域網路110使控制端120確認各電動元件130是否存在。版本更新步驟S26係使控制端120傳送對應存在之電動元件130之一更新資訊,並將更新資訊轉換成通用序列匯流排信號而傳送至伺服器鑰模組200a,然後伺服器鑰模組200a輸出對應更新資訊之控制器區域網路信號至控制台300a,並經由控制器區域網路110傳送至電動元件130。藉此,本發明的電動自行車之控制方法400a既可提高控制器區域網路110之擴充性,亦可避免習知技術中控制台無法與新增之電動元件130溝通的問題。當控制台300a損壞時,系統仍可藉由伺服器鑰220a提供電源給電動元件130並繼續檢測,維修者不用更換控制台300a及拆拔線做檢測,相當便利。另外,針對需要更新的電動元件130可透過伺服器鑰220a與控制器區域網路110提供即時的版本更新,不必擔心有電動元件130會因未更新而導致連結失效的問題。 With reference to Fig. 6, in the embodiment of Fig. 7, the signal conversion step S21 and the signal transmission control step S22 are respectively the same as the signal conversion step S12 and the signal transmission control step S14 in Fig. 6, and will not be repeated. In particular, the electric bicycle control method 400a of FIG. 7 further includes a power switch step S23, a power monitoring step S24, a component confirmation step S25, and a version update step S26. The power switch step S23 is to drive the power control unit 224 of the server key 220a to output a power control signal, and then drive the power switch controller 310 of the console 300a to turn on or off the electric components 130 according to the power control signal. The power monitoring step S24 is to drive the power monitoring unit 225 of the server key 220a and the console power supply unit 320 of the console 300a to receive the voltage signal of each electric component 130, so that the control terminal 120 monitors the electric component 130. In addition, the component confirmation step S25 is to enable the control terminal 120 to confirm whether each electrical component 130 exists through the server key module 200a, the console 300a, and the controller area network 110. The version update step S26 is to make the control terminal 120 send update information corresponding to one of the existing electrical components 130, and convert the update information into a universal serial bus signal and send it to the server key module 200a, and then the server key module 200a outputs The controller area network signal corresponding to the updated information is sent to the control panel 300a and sent to the electric component 130 via the controller area network 110. In this way, the control method 400a of the electric bicycle of the present invention can not only improve the scalability of the controller area network 110, but also avoid the problem that the console cannot communicate with the newly added electric component 130 in the prior art. When the console 300a is damaged, the system can still provide power to the electric component 130 through the server key 220a and continue to test. The repairer does not need to replace the console 300a and remove the cable for testing, which is very convenient. In addition, for the electric components 130 that need to be updated, real-time version updates can be provided through the server key 220a and the controller area network 110, so there is no need to worry about the problem that the electric components 130 will fail due to the failure of the update.

請一併參閱第3、7及8圖,第8圖係繪示本發明第五實施例之電動自行車之控制方法400b的流程示意圖。電動自行車之控制方法400b可應用於前述電動自行車之控制系統100a並包含步驟S31、S32、S33、S34、S35、S36、S37。步驟S31為系統開始作動。步驟S32係 尋找整車設定,亦即尋找各電動元件130及控制台300a之設定。步驟S33係透過電源控制單元224開啟電動元件130。步驟S34係透過電源監控單元225得到系統電壓。步驟S35係確認系統電壓是否正確。若是則執行步驟S36;若否則執行步驟S37。步驟S36係控制端120顯示系統電壓正確。步驟S37係控制端120顯示系統電壓錯誤。藉此,本發明的電動自行車之控制方法400b可透過步驟S31~S37開啟或關閉各電動元件130,並利用控制端120監控系統電壓。 Please refer to FIGS. 3, 7 and 8 together. FIG. 8 is a flowchart of a control method 400b of an electric bicycle according to a fifth embodiment of the present invention. The electric bicycle control method 400b can be applied to the aforementioned electric bicycle control system 100a and includes steps S31, S32, S33, S34, S35, S36, and S37. Step S31 is when the system starts to operate. Step S32 is to search for the settings of the entire vehicle, that is, to search for the settings of the electrical components 130 and the console 300a. Step S33 is to turn on the electric element 130 through the power control unit 224. Step S34 is to obtain the system voltage through the power monitoring unit 225. Step S35 is to confirm whether the system voltage is correct. If yes, go to step S36; if not, go to step S37. In step S36, the control terminal 120 displays that the system voltage is correct. In step S37, the control terminal 120 displays the system voltage error. Thereby, the control method 400b of the electric bicycle of the present invention can turn on or off each electric component 130 through steps S31 to S37, and use the control terminal 120 to monitor the system voltage.

請一併參閱第3、7及9圖,第9圖係繪示本發明第六實施例之電動自行車之控制方法400c的流程示意圖。電動自行車之控制方法400c可應用於前述電動自行車之控制系統100a並包含步驟S41、S42、S43、S44、S45、S46、S47、S48。步驟S41為系統開始作動。步驟S42係尋找整車設定,亦即尋找各電動元件130及控制台300a之設定。步驟S43係比對電動元件130之軟體版本。步驟S44係確認欲更新之電動元件130是否存在。若是則執行步驟S45~S47;若否則執行步驟S48。步驟S45係控制端120由伺服器取得電動元件130之最新軟體。步驟S46係透過控制器區域網路110更新電動元件130。步驟S47係控制端120顯示更新成功。步驟S48係控制端120顯示無法更新。藉此,本發明的電動自行車之控制方法400c可透過步驟S41~S48提高控制器區域網路110之擴充性,並提供電動元件130之即時版本更新。 Please refer to FIGS. 3, 7 and 9 together. FIG. 9 is a schematic flowchart of a control method 400c of an electric bicycle according to a sixth embodiment of the present invention. The electric bicycle control method 400c can be applied to the aforementioned electric bicycle control system 100a and includes steps S41, S42, S43, S44, S45, S46, S47, and S48. Step S41 is when the system starts to operate. Step S42 is to search for the settings of the entire vehicle, that is, to search for the settings of the electrical components 130 and the console 300a. Step S43 is to compare the software version of the electrical component 130. Step S44 is to confirm whether the electric component 130 to be updated exists. If yes, execute steps S45~S47; if otherwise, execute step S48. In step S45, the control terminal 120 obtains the latest software of the electric component 130 from the server. Step S46 is to update the electric component 130 through the controller area network 110. In step S47, the control terminal 120 displays that the update is successful. Step S48 is that the control terminal 120 displays that it cannot be updated. Thereby, the control method 400c of the electric bicycle of the present invention can improve the expandability of the controller area network 110 through steps S41 to S48, and provide real-time version update of the electric component 130.

由上述實施方式可知,本發明具有下列優點:其一,利用伺服器鑰內通用序列匯流排信號與控制器區域網路信號之相互轉換,不但可使控制台之硬體複雜度降低及體積縮小,還可提高控制器區域網路之擴充性並實現免拆拔檢測。其二,當控制台損壞時,系統仍可藉由伺服器鑰提供電源給電動元件並繼續檢測,維修者不用更換控制台及拆拔線做檢測,相當便利。其三,針對需要更新的電動元件可透過伺服器鑰與控制器區域網路提供即時的版本更新,不必擔心有電動元件會因未更新而導致連結失效的問題。 It can be seen from the above implementations that the present invention has the following advantages: First, the use of the universal serial bus signal in the server key and the controller area network signal to convert between each other, not only can reduce the hardware complexity and size of the console , It can also improve the expandability of the controller area network and realize the non-disassembly detection. Second, when the console is damaged, the system can still provide power to the electrical components through the server key and continue testing. The repairer does not need to replace the console and disconnect cables for testing, which is very convenient. Third, for the electrical components that need to be updated, real-time version updates can be provided through the server key and the controller local area network. There is no need to worry about the problem that electrical components will fail due to unupdated links.

雖然本發明已以實施方式揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Anyone who is familiar with the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection of the present invention The scope shall be subject to the definition of the attached patent application scope.

100a‧‧‧電動自行車之控制系統 100a‧‧‧Electric bicycle control system

110‧‧‧控制器區域網路 110‧‧‧Controller Area Network

120‧‧‧控制端 120‧‧‧Control terminal

200a‧‧‧伺服器鑰模組 200a‧‧‧Server Key Module

300a‧‧‧控制台 300a‧‧‧Console

302‧‧‧控制台連接埠 302‧‧‧Console port

310‧‧‧電源開關控制器 310‧‧‧Power Switch Controller

320‧‧‧控制台電源單元 320‧‧‧Console power supply unit

210‧‧‧第一連接埠 210‧‧‧First port

220a‧‧‧伺服器鑰 220a‧‧‧Server Key

221‧‧‧通用序列匯流排處理單元 221‧‧‧Universal Serial Bus Processing Unit

222‧‧‧伺服器鑰處理器 222‧‧‧Server Key Processor

223‧‧‧控制器區域網路處理單元 223‧‧‧Controller Area Network Processing Unit

224‧‧‧電源控制單元 224‧‧‧Power Control Unit

225‧‧‧電源監控單元 225‧‧‧Power Monitoring Unit

226‧‧‧儲存單元 226‧‧‧Storage Unit

227‧‧‧伺服器鑰電源單元 227‧‧‧Server key power supply unit

230‧‧‧第二連接埠 230‧‧‧Second port

330‧‧‧控制器區域網路收發器 330‧‧‧Controller Area Network Transceiver

340‧‧‧控制台處理器 340‧‧‧Console processor

CANH、CANL‧‧‧訊號線 CANH, CANL‧‧‧signal line

Claims (7)

一種電動自行車之控制系統,用以連結一電動自行車之一控制器區域網路與一控制端並控制複數電動元件,該些電動元件訊號連接該控制器區域網路,該電動自行車之控制系統包含:一伺服器鑰模組,包含:一第一連接埠,連接該控制端,該控制端傳送一通用序列匯流排信號;一伺服器鑰,其一端耦接該第一連接埠,該伺服器鑰將該通用序列匯流排信號轉換成一控制器區域網路信號,該伺服器鑰包含:一通用序列匯流排處理單元,連接該第一連接埠,該通用序列匯流排處理單元將該通用序列匯流排信號轉換成一酬載信號;一伺服器鑰處理器,連接該通用序列匯流排處理單元,該伺服器鑰處理器將該酬載信號轉換成一控制器區域網路前置信號;一控制器區域網路處理單元,連接該伺服器鑰處理器,該控制器區域網路處理單元將該控制器區域網路前置信號轉換成該控制器區域網路信號; 一電源控制單元,連接該伺服器鑰處理器並輸出一電源控制信號;及一電源監控單元,連接該伺服器鑰處理器並接收各該電動元件之一電壓信號;及一第二連接埠,耦接該伺服器鑰之另一端;以及一控制台,包含:一控制台連接埠,該控制台連接埠可拆卸地連接該第二連接埠並耦接該控制器區域網路;一電源開關控制器,經由該第二連接埠與該控制台連接埠耦接該電源控制單元,該電源開關控制器依據該電源控制信號開啟或關閉各該電動元件;及一控制台電源單元,經由該第二連接埠與該控制台連接埠耦接該電源監控單元,該控制台電源單元接收各該電動元件之該電壓信號;其中,該控制器區域網路信號透過該第二連接埠與該控制台連接埠傳輸至該控制器區域網路。 An electric bicycle control system for connecting a controller area network of an electric bicycle and a control terminal and controlling a plurality of electric components. The electric component signals are connected to the controller area network. The electric bicycle control system includes : A server key module, including: a first connection port connected to the control terminal, the control terminal transmitting a universal serial bus signal; a server key, one end of which is coupled to the first connection port, the server The key converts the universal serial bus signal into a controller area network signal, the server key includes: a universal serial bus processing unit connected to the first port, the universal serial bus processing unit converges the universal serial The row signal is converted into a payload signal; a server key processor is connected to the universal serial bus processing unit, and the server key processor converts the payload signal into a controller area network pre-signal; a controller area The network processing unit is connected to the server key processor, and the controller area network processing unit converts the controller area network pre-signal into the controller area network signal; A power control unit connected to the server key processor and outputting a power control signal; and a power monitoring unit connected to the server key processor and receiving a voltage signal of each of the electric components; and a second connection port, Coupled to the other end of the server key; and a console, including: a console port, the console port is detachably connected to the second port and coupled to the controller area network; a power switch The controller is coupled to the power control unit via the second connection port and the console port, the power switch controller turns on or off each of the electric components according to the power control signal; and a console power supply unit, through the first Two ports and the console port are coupled to the power monitoring unit, and the console power unit receives the voltage signal of each of the electrical components; wherein, the controller area network signal passes through the second port and the console The port is transmitted to the local area network of the controller. 如申請專利範圍第1項所述之電動自行車之控制系統,其中該第一連接埠為一通用序列匯流排連接埠,該第二連接埠為一A型通用序列匯流排連接埠或一C 型通用序列匯流排連接埠,該控制台連接埠對應該第二連接埠。 For the electric bicycle control system described in item 1 of the scope of patent application, the first port is a universal serial bus port, and the second port is an A-type universal serial bus port or a C Type universal serial bus port, the console port corresponds to the second port. 如申請專利範圍第2項所述之電動自行車之控制系統,其中,當該第二連接埠為該A型通用序列匯流排連接埠時,該第二連接埠具有九引腳,其中二該引腳耦接該控制器區域網路;及當該第二連接埠為該C型通用序列匯流排連接埠時,該第二連接埠具有二十四引腳,其中二該引腳耦接該控制器區域網路。 For example, the electric bicycle control system described in item 2 of the scope of patent application, wherein, when the second port is the A-type universal serial bus port, the second port has nine pins, two of which are Pin is coupled to the controller area network; and when the second port is the C-type universal serial bus port, the second port has twenty-four pins, two of which are coupled to the control Local area network. 一種電動自行車之控制方法,用以令一控制端控制一電動自行車之複數電動元件,該電動自行車之控制方法包含以下步驟:一信號轉換步驟,係驅動一伺服器鑰模組將來自該控制端之一通用序列匯流排信號轉換成一控制器區域網路信號,該通用序列匯流排信號透過該伺服器鑰模組之一第一連接埠傳輸至一伺服器鑰,該伺服器鑰將該通用序列匯流排信號轉換成該控制器區域網路信號;一信號傳輸控制步驟,係驅動一控制台將該控制器區域網路信號透過該伺服器鑰模組之一第二連接埠與該控制 台之一控制台連接埠傳輸至一控制器區域網路,藉以控制訊號連接該控制器區域網路之該些電動元件;一電源開關步驟,係驅動該伺服器鑰之一電源控制單元輸出一電源控制信號,然後驅動該控制台電源開關控制器依據該電源控制信號開啟或關閉各該電動元件;以及一電源監控步驟,係驅動該伺服器鑰之一電源監控單元與該控制台之一控制台電源單元接收各該電動元件之該電壓信號,藉以令該控制端監控該些電動元件。 A control method of an electric bicycle is used to allow a control terminal to control a plurality of electric components of an electric bicycle. The control method of the electric bicycle includes the following steps: a signal conversion step is to drive a servo key module from the control terminal A universal serial bus signal is converted into a controller area network signal, the universal serial bus signal is transmitted to a server key through a first port of the server key module, and the server key is the universal serial The bus signal is converted into the controller area network signal; a signal transmission control step is to drive a console to pass the controller area network signal through a second port of the server key module and the control One of the console ports of the station is transmitted to a controller area network, whereby the control signal is connected to the electrical components of the controller area network; a power switch step is to drive a power control unit of the server key to output a Power control signal, and then drive the console power switch controller to turn on or off each of the electric components according to the power control signal; and a power monitoring step, which drives a power monitoring unit of the server key and a control of the console The power supply unit receives the voltage signal of each electric component, so that the control terminal monitors the electric components. 如申請專利範圍第4項所述之電動自行車之控制方法,其中該第一連接埠為一通用序列匯流排連接埠,該第二連接埠為一A型通用序列匯流排連接埠或一C型通用序列匯流排連接埠,該控制台連接埠對應該第二連接埠。 For example, the control method of electric bicycle described in item 4 of the scope of patent application, wherein the first connection port is a universal serial bus connection port, and the second connection port is an A type universal serial bus connection port or a C type Universal serial bus port, the console port corresponds to the second port. 如申請專利範圍第5項所述之電動自行車之控制方法,其中,當該第二連接埠為該A型通用序列匯流排連接埠時,該第二連接埠具有九引腳,其中二該引腳耦接該控制器區域網路;及 當該第二連接埠為該C型通用序列匯流排連接埠時,該第二連接埠具有二十四引腳,其中二該引腳耦接該控制器區域網路。 For example, the control method of electric bicycle described in item 5 of the scope of patent application, wherein, when the second connection port is the A-type universal serial bus connection port, the second connection port has nine pins, two of which are The pin is coupled to the controller local area network; and When the second connection port is the C-type universal serial bus connection port, the second connection port has twenty-four pins, and two of the pins are coupled to the controller area network. 如申請專利範圍第4項所述之電動自行車之控制方法,更包含:一元件確認步驟,係透過該伺服器鑰模組、該控制台及該控制器區域網路使該控制端確認各該電動元件是否存在;及一版本更新步驟,係使該控制端傳送對應存在之一該電動元件之一更新資訊,並將該更新資訊轉換成該通用序列匯流排信號而傳送至該伺服器鑰模組,然後該伺服器鑰模組輸出對應該更新資訊之該控制器區域網路信號至該控制台,並經由該控制器區域網路傳送至該一電動元件。 For example, the control method of the electric bicycle described in item 4 of the scope of patent application further includes: a component confirmation step, through the server key module, the control panel, and the controller area network to make the control terminal confirm each of the Whether the electrical component exists; and a version update step is to make the control terminal send update information corresponding to one of the electrical components, and convert the update information into the universal serial bus signal and send it to the server key module Then, the server key module outputs the controller area network signal corresponding to the update information to the control panel, and transmits it to the electric component via the controller area network.
TW108105193A 2018-09-18 2019-02-15 Controlling system for electric bicycle and method thereof TWI744601B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US16/439,687 US11258629B2 (en) 2018-09-18 2019-06-12 Controlling system for electric bicycle and method thereof
EP19191547.9A EP3627332B1 (en) 2018-09-18 2019-08-13 Controlling system for electric bicycle and method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201862732582P 2018-09-18 2018-09-18
US62/732,582 2018-09-18

Publications (2)

Publication Number Publication Date
TW202012241A TW202012241A (en) 2020-04-01
TWI744601B true TWI744601B (en) 2021-11-01

Family

ID=71130520

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108105193A TWI744601B (en) 2018-09-18 2019-02-15 Controlling system for electric bicycle and method thereof

Country Status (1)

Country Link
TW (1) TWI744601B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI440571B (en) * 2009-12-04 2014-06-11 Kwang Yang Motor Co Communication interface conversion device
CN105573807A (en) * 2015-12-31 2016-05-11 清华大学苏州汽车研究院(吴江) ECU online program upgrading system and method based on CAN bus
CN108137124A (en) * 2015-08-26 2018-06-08 博洛斯股份公司 Control device, computer and communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI440571B (en) * 2009-12-04 2014-06-11 Kwang Yang Motor Co Communication interface conversion device
CN108137124A (en) * 2015-08-26 2018-06-08 博洛斯股份公司 Control device, computer and communication system
CN105573807A (en) * 2015-12-31 2016-05-11 清华大学苏州汽车研究院(吴江) ECU online program upgrading system and method based on CAN bus

Also Published As

Publication number Publication date
TW202012241A (en) 2020-04-01

Similar Documents

Publication Publication Date Title
CN105122221B (en) Modularization docking station for enclosing mobile device
CN107111588A (en) The data transfer of PCIe protocol is used via USB port
WO2012088913A1 (en) Power protocol management method and device, and power system applying the same
CN112732608A (en) Circuit device, electronic apparatus, and moving object
TWI744601B (en) Controlling system for electric bicycle and method thereof
CN103842214B (en) Vehicle data initialization system and output establishing method thereof
US20150161075A1 (en) I2c router system
WO2024021905A1 (en) Split type full liquid crystal combination instrument, information display method, and vehicle
US11258629B2 (en) Controlling system for electric bicycle and method thereof
US20090024875A1 (en) Serial advanced technology attachment device and method testing the same
US9009371B1 (en) Full-duplex communications device
US9509421B2 (en) Differential signal transmission circuit, disk array controller, and differential signal transmission cable
US8154880B1 (en) Method and apparatus for active line interface isolation
US8954623B2 (en) Universal Serial Bus devices supporting super speed and non-super speed connections for communication with a host device and methods using the same
US20180309877A1 (en) Network telephone device, external connection card and communication method therefor
KR102067128B1 (en) Health monitoring device and large area display including the same
KR20080046774A (en) Abnormality diagnosis apparatus for most
CN102479129B (en) Detecting device for states of peripheral components
US20130326287A1 (en) Programmable logic controller
CN117082107B (en) Communication debugging equipment and communication debugging method
CN104111853A (en) Software upgrading method, software upgrading device and software upgrading system
US9338917B2 (en) Arrangement having a first peripheral device and a second peripheral device
JP3792201B2 (en) I / O device
CN112291128B (en) Bus-based communication system, system on chip and method therefor
KR20240029661A (en) Multi connector for vehicle