TWI744601B - Controlling system for electric bicycle and method thereof - Google Patents
Controlling system for electric bicycle and method thereof Download PDFInfo
- 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
Links
Images
Abstract
Description
本發明是關於一種電動自行車之控制系統及其方法,特別是關於一種方便檢測的電動自行車之控制系統及其方法。 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
伺服器鑰模組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
控制台300包含一控制台連接埠302,此控制台連接埠302可拆卸地連接第二連接埠230並耦接控制器區域網路110。控制器區域網路信號透過第二連接埠230與控制台連接埠302傳輸至控制器區域網路110。藉此,本發明的電動自行車之控制系統100透過伺服器鑰220內通用序列匯流排信號(USB signal)與控制器區域網路信號(CAN signal)之相互轉換,不但可使控制台300之硬體複雜度降 低及體積縮小,還可提高控制器區域網路110之擴充性並實現免拆拔檢測。 The
請一併參閱第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
伺服器鑰模組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
控制台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
請一併參閱第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
請一併參閱第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
配合參閱第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
請一併參閱第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
請一併參閱第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
由上述實施方式可知,本發明具有下列優點:其一,利用伺服器鑰內通用序列匯流排信號與控制器區域網路信號之相互轉換,不但可使控制台之硬體複雜度降低及體積縮小,還可提高控制器區域網路之擴充性並實現免拆拔檢測。其二,當控制台損壞時,系統仍可藉由伺服器鑰提供電源給電動元件並繼續檢測,維修者不用更換控制台及拆拔線做檢測,相當便利。其三,針對需要更新的電動元件可透過伺服器鑰與控制器區域網路提供即時的版本更新,不必擔心有電動元件會因未更新而導致連結失效的問題。 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)
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)
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 |
-
2019
- 2019-02-15 TW TW108105193A patent/TWI744601B/en active
Patent Citations (3)
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 |