201135234 , 六、發明說明: 【發明所屬之技術領域】 本發明係關於一種用以判別1轉機構之一轉速以及一相角之 自動制裝置’更詳細來說,本發明係關於_種可根據一相對應 轉速相角關係式以及-轉速相角訊號’計算出該旋轉機構之轉速 及相角之自動偵測裝置。 【先前技術】 隨著環保意識高滿,内燃機引擎已經漸漸演變成採用電子燃油 喷射控制之引擎’在電子燃油喷㈣擎的電子控制單元⑽ C〇ntr〇1 Unit; ECU)中,為了達到更低的污染排放,並進_步提高 輸出效率,必須針對引擎之運轉狀態進行精密的控制,常見的作 法是透過精密的感測器(Sensors)來感知引擎之運作狀態,諸如曲 轴位置感測器(Crankshaft P〇siti〇n Sens〇r)、凸輪轴位置感測器 (Camshaft Position Sensor)、輪速感測器、節流閥位置感測器、進 氣歧管絕對壓力感測器、溫度感測器、傾倒感測器、含氧感測器 及爆震感測器等,其巾ECU針對引擎運作狀態之燃油供應及點火 正時計舁最重要的基礎之一就是引擎的轉速及相角資訊取得。 一般而言,内燃機引擎的轉速及相角資訊係僅透過安裝固定於 引擎曲軸或凸輪軸上之轉速感測元件來取得,該轉速感測元件可 以是一霍爾(Hall)元件、可變磁阻器(VariableReiuctance)、拾取線 圈(Pickup Coil)、磁阻器(Magnetic Resistor)、光遮斷器、光輛合器 (Photocoupler)…等及其它等效元件,其感測對象為一複數齒旋轉 機構,具有複數個凹部或凸部,其中每個凹部可以是該旋轉機構 201135234 上凹下的刻痕(Notch)及槽(Slot)其中之一,每個凸部可以是該旋轉 機構上凸起的齒(Tooth),該複數個凹部以及凸部之其中一將會形 成一特徵部以讓ECU作為特定旋轉角度之識別,其中該特徵部可 以是不同寬度的凹部、凸部、不存在的凹部以及凸部作為其它用 以識別之特徵,ECU可透過該特徵部之感測訊號差異來判定該旋 轉機構是否已經旋轉一圈且轉動至特定之相角。 第1A圖所繪示的是一 12&1齒旋轉機構之示意圖,包含一旋轉 機構10、十一個凸齒部12、—個特徵部14〇以及—個轉速感測元 件16,其中丨2&1齒係代表該旋轉機構1〇共等分為12個凸齒, 但其中有一個凸齒不存在,成為該旋轉機構1〇之特徵部。當 該旋轉機構10旋轉時,若是特徵部14〇旋轉經過該轉速感測元件 16時,該轉速感測元件16將因為該特徵部14〇為一不存在的凸齒 部而無輸出脈衝訊號之反應,而當其餘每個凸齒部12旋轉經過該 轉速感測it件16時則會輸出-脈衝訊號,該輸出之脈衝訊號會電 性連接到E C U(未繪示)以供其依照該特徵部為一不存在的凸齒 部’無輸出脈衝訊號之反應,來判斷並計算該旋轉機構⑺之轉速 以及相角。 第㈣所繪示的是叫2&2齒旋轉機構之示意圖,包含一旋轉 機構Π)、十個凸齒部12、-個特徵部14〇以及1轉速感測元件 16,其中12&2齒係代表該旋轉機構〗丘笪 等刀為12個凸齒,但其 中有兩個凸齒不存在,成為該旋轉機構1〇之特徵部^。第a 圖中與前述第1A圖中之相同部份在此不再資迷 第H:圖所繪示的是-㈣齒旋轉機構之示_,包含一 _ 201135234 機構10、五個凸齒部12、1 16,装Φ α ,在及也* 傲邵140以及—個轉速感測元件 ::6&1齒係代表該旋轉機構10共等分為6個凸齒但其中 Φ '+* » 轉機構10之特徵部140 »第1C圖 與“第1Α圖中之相同部份在此不再贅述。 第1D圖所繪示的是一6齒 Η)、五-Μ 12 — 機構^意圖’包含—旋轉機構 , 固特徵部142以及一個轉速感測元件16, 八中6齒係代表該旋轉機構1Q共等㈣6個凸齒,㈣中有一個 凸齒較寬(亦可較窄)’成為該旋轉機構1G之特徵部⑽。薦可 依據該特徵部142之脈衝正負緣間寬度差來_出該旋轉機構ι〇 之轉速及相角’與前述第1A圖中之相同部份在此不再賛述。 由以上第1A到1D圖可知’内燃機引擎可採用的旋轉機構及其 特徵部種類繁多’用於車輛上常見之旋轉機構可以是!齒' 4齒、 6&1 齒、12&1 齒、12&2 齒、24 齒、24&1 齒、24&2 齒、36&1 齒、 36&2齒以及60&2齒等,然而,若ECU之設計採用預定 (Pre-Determined)之單一旋轉機構來搭配,在面對國内外推廣喷射 控制之内燃機引擎的諸多廠牌時,對於不同種類之旋轉機構若要 各自生產因應各自複數齒旋轉機構之ECU,除了衍生庫存壓力 外,還會遭遇到不同機種間無法推廣通用的問題。 針對上述種種問題,本發明將提出一種可自動判別複數齒旋轉 機構的裝置,讓ECU的設計可更廣泛適用多種複數齒旋轉機構, 經銷店家在備採購庫存時可不受到不同種類複數齒旋轉機構之車 種個別數量的限制。 201135234 【發明内容】 為解決前述之問題,本發明之目的在於提供一種用於判別一複 數齒旋轉機構之自動偵測裝置,其可適用於多種複數齒旋轉機 構,並可進一步計算出其轉速以及相角。 為完成前述目的,本發明係提供一種用於判別一旋轉機構之之 一轉速以及一相角之自動偵測裝置,係與一轉速感測元件搭配使 用,該轉速感測元件係可偵測該旋轉機構之一轉速,以產生一轉 ^ 速脈衝訊號。 該自動偵測裝置包含一轉速感測介面以及一轉速及相角計算單 元,該轉速感測介面係與該感測元件呈電性連接,用以接收該轉 速感測元件之轉速脈衝訊號,並轉換該轉速脈衝訊號為一轉速相 角訊號,該儲存單元用以儲存複數轉速相角關係式,該轉速及相 角計算單元係與該儲存單元及該轉速感測介面呈電性連接,用以 根據該轉速相角訊號之一波形,判斷該旋轉機構之一類型,更根 據該類型由該等轉速相角關係式中,挑選出一相對應轉速相角關 ® 係式,以及根據該相對應轉速相角關係式以及該轉速相角訊號之 波形計算出該旋轉機構之轉速及相角。 【實施方式】 以下將透過實施例來解釋本發明内容,本發明的實施例並非用 以限制本發明須在如實施例所述之任何特定的環境、應用或特殊 方式方能實施。因此,以下實施例之描述僅為說明目的,並非本 發明之限制。須說明者,以下實施例及圖式中,與本發明非直接 相關之元件已省略而未繪示;且圖式中各元件間之尺寸關係僅為 201135234 求容易瞭解,非用以限制實際比例。 本發明之第一實施例如第2圖所示,其係為一自動偵測系統2 之示意圖,自動偵測系統2係包含一轉速感測元件20以及一自動 偵測裝置22。於本實施例中,自動偵測系統2係用於一内燃機, 而於其他實施例中,自動偵測系統2亦可視使用者之實際需求, 應用於機械裝置、馬達、複合動力及其它具有旋轉機構之轉動機 構上,並不以此限制本發明之應用範圍。以下將說明自動偵測裝 置22如何搭配轉速感測元件20,接下來將說明自動偵測裝置22 所包含之各元件的作用。 自動偵測裝置22係與一轉速感測元件20搭配使用,轉速感測 元件20可用以偵測一旋轉機構之轉速,接著,產生一轉速脈衝訊 號,具體而言,轉速感測元件20係可為一霍爾(Hall)元件、可變 磁阻器(Variable Reluctance)、拾取線圈(Pickup Coil)、磁阻器 (Magnetic Resistor)、光遮斷器、光搞合器(Photocoupler).....等及其 它等效元件。 更詳細地說明自動偵測裝置22,自動偵測裝置22包含一轉速感 測介面220、一儲存單元222以及一轉速及相角計算單元224,轉 速感測介面220,係與轉速感測元件20呈電性連接,甩以接收轉 速感測元件20之一轉速脈衝訊號200,並轉換轉速脈衝訊號200 為一轉速相角訊號2200,更進一步來說,轉速感測介面係可為一 電組分壓電路、一二極體電路、一運算放大器電路、一比較器電 路以及一濾波電路其中之一。 為方便後續說明,本發明之旋轉機構可用一 M&N齒來表示之, 201135234 其中Μ代表旋轉機構圓周均等分之凸齒部個數,n代表特徵& 個數,M23、N20、M-N21真M與N均為正整數’春M * ^之 田以為0時 會有一凸齒部寬度與其它凸齒不同以形成特徵部,其係為—’ 凸齒部,當N>0時,代表總凸齒數共有M&N齒,例如12&1 表該旋轉機構總共有U齒,其中該旋轉機構等分為12 齒代 齒 齒不存在以形成特徵部。因為旋轉機構圓周為360。, ,但有 般市面 上 既有之旋轉機構其Μ值都會取360之公因數,而N之數值較常見 者可以是0、1以及2。201135234, VI. Description of the Invention: [Technical Field] The present invention relates to an automatic device for determining the rotational speed of one rotation mechanism and a phase angle. In more detail, the present invention relates to An automatic detecting device for calculating the rotational speed and phase angle of the rotating mechanism is a corresponding rotational speed phase angle relationship and a rotational speed phase angle signal. [Prior Art] With the high environmental awareness, the internal combustion engine has gradually evolved into an electronic fuel injection control engine. In the electronic fuel injection unit (10), the electronic control unit (10) C〇ntr〇1 Unit; ECU), in order to achieve more Low pollution emissions, and step-by-step improvement of output efficiency, must be precisely controlled for the operating state of the engine. It is common practice to perceive the operating state of the engine through sophisticated sensors such as the crankshaft position sensor ( Crankshaft P〇siti〇n Sens〇r), Camshaft Position Sensor, Wheel Speed Sensor, Throttle Position Sensor, Intake Manifold Absolute Pressure Sensor, Temperature Sensing One of the most important foundations of the fuel supply and ignition timing of the engine ECU for the engine, the dump sensor, the oxygen sensor and the knock sensor is the engine speed and phase angle information. In general, the engine speed and phase angle information is obtained only by mounting a speed sensing component fixed to the engine crankshaft or camshaft. The speed sensing component can be a Hall element, variable magnetic. Variable Reiuctance, Pickup Coil, Magnet Resistor, Photointerrupter, Photocoupler, etc. and other equivalent components, the sensing object is a complex tooth rotation The mechanism has a plurality of recesses or protrusions, wherein each of the recesses may be one of a notch and a slot on the rotating mechanism 201135234, and each of the protrusions may be a protrusion on the rotating mechanism Tooth, one of the plurality of recesses and the protrusions will form a feature to allow the ECU to be identified as a specific angle of rotation, wherein the feature may be a recess of different width, a protrusion, a recess that does not exist And the convex portion is used as another feature for identifying, and the ECU can determine whether the rotating mechanism has rotated one turn and rotate to a specific phase angle through the sensing signal difference of the characteristic portion. Figure 1A is a schematic view of a 12&1 tooth rotation mechanism, comprising a rotating mechanism 10, eleven convex tooth portions 12, a feature portion 14A, and a rotational speed sensing element 16, wherein 丨2& The 1 tooth system represents that the rotating mechanism 1〇 is equally divided into 12 convex teeth, but one of the convex teeth does not exist, and becomes a characteristic portion of the rotating mechanism 1〇. When the rotating mechanism 10 rotates, if the characteristic portion 14 turns through the rotational speed sensing element 16, the rotational speed sensing element 16 will not output a pulse signal because the characteristic portion 14 is a non-existent convex tooth portion. Reacting, and when each of the other convex tooth portions 12 rotates through the rotational speed sensing member 16, a pulse signal is output, and the output pulse signal is electrically connected to an ECU (not shown) for following the feature. The part is a non-existent convex tooth portion 'no response of the output pulse signal to determine and calculate the rotational speed and phase angle of the rotating mechanism (7). Figure 4 shows a schematic diagram of a 2&2 tooth rotation mechanism, including a rotating mechanism 、), ten convex tooth portions 12, a feature portion 14A, and a rotational speed sensing element 16, wherein 12 & 2 teeth It represents the rotating mechanism. The knives such as the mound are 12 convex teeth, but two of the convex teeth are not present, which becomes the characteristic part of the rotating mechanism 1〇. The same part in the first figure as in the above-mentioned 1A is no longer accustomed to the Hth: the figure shows the - (four) tooth rotation mechanism _, including a _ 201135234 mechanism 10, five convex teeth 12, 1 16, Φ α, in and also * Pau Shao 140 and a speed sensing component:: 6 & 1 tooth system represents the rotating mechanism 10 is equally divided into 6 convex teeth but Φ '+* » The feature portion 140 of the rotating mechanism 10 is the same as that in the first drawing, and the same portions in the first drawing are not described here. The first drawing shows a 6-toothed Η, and the fifth-Μ 12 — the mechanism ^ Including - a rotating mechanism, a solid characteristic portion 142 and a rotational speed sensing element 16, the eight-toothed eight-toothed system represents that the rotating mechanism 1Q is equal to (four) six convex teeth, and (four) one of the convex teeth is wider (or narrower) The characteristic portion (10) of the rotating mechanism 1G is preferably based on the difference between the positive and negative edges of the characteristic portion 142. The rotational speed and phase angle of the rotating mechanism ι are the same as those in the first FIG. As you can see from the above figures 1A to 1D, 'the rotating mechanism that can be used in the engine of the internal combustion engine and its various features are widely used' for the common rotating machine on the vehicle. Can be: tooth '4 teeth, 6&1 teeth, 12&1 teeth, 12&2 teeth, 24 teeth, 24&1 teeth, 24&2 teeth, 36&1 teeth, 36&2 teeth and 60&2 teeth Etc. However, if the design of the ECU is matched with a single rotating mechanism of a predetermined (Pre-Determined), in the face of many brands of internal combustion engine engines that promote injection control at home and abroad, if different types of rotating mechanisms are to be produced separately, The ECUs of the respective multi-tooth rotating mechanisms, in addition to the derivation of inventory pressure, also encounter problems that cannot be generalized between different models. In view of the above various problems, the present invention proposes a device that can automatically determine the complex tooth rotating mechanism, allowing the ECU to The design can be more widely applied to a plurality of complex tooth rotating mechanisms, and the dealers are not limited by the number of different types of multiple tooth rotating mechanisms when purchasing stocks. 201135234 [Invention] In order to solve the aforementioned problems, the object of the present invention is to provide An automatic detecting device for discriminating a plurality of tooth rotating mechanisms, which can be applied to a plurality of complex tooth rotating mechanisms, and can further The rotational speed and the phase angle are calculated. To achieve the above object, the present invention provides an automatic detecting device for determining the rotational speed and a phase angle of a rotating mechanism, which is used in combination with a rotational speed sensing component. The measuring component detects a rotational speed of the rotating mechanism to generate a rotational speed pulse signal. The automatic detecting device comprises a rotational speed sensing interface and a rotational speed and phase angle calculating unit, and the rotational sensing interface is The sensing component is electrically connected to receive the rotational speed pulse signal of the rotational speed sensing component, and convert the rotational speed pulse signal into a rotational speed phase angle signal, and the storage unit is configured to store a plurality of rotational speed phase angle relationships, the rotational speed and The phase angle calculation unit is electrically connected to the storage unit and the rotation speed sensing interface, and is configured to determine one type of the rotation mechanism according to a waveform of the phase angle signal of the rotation speed, and further, according to the type, the rotation speed phase angle In the relational formula, a corresponding rotational speed phase angle control system is selected, and a waveform calculation is performed according to the phase angle relationship of the corresponding rotational speed and the phase angle signal of the rotational speed. And the rotation speed of the rotation mechanism of the phase angle. The present invention will be explained by way of examples, and the embodiments of the present invention are not intended to limit the invention to any specific environment, application or special mode as described in the embodiments. Therefore, the description of the following examples is for illustrative purposes only and is not a limitation of the invention. It should be noted that, in the following embodiments and drawings, elements that are not directly related to the present invention have been omitted and are not shown; and the dimensional relationship between the elements in the drawings is only for easy understanding of 201135234, and is not intended to limit the actual ratio. . A first embodiment of the present invention, as shown in FIG. 2, is a schematic diagram of an automatic detection system 2 that includes a rotational speed sensing component 20 and an automatic detection device 22. In this embodiment, the automatic detection system 2 is used for an internal combustion engine, and in other embodiments, the automatic detection system 2 can also be applied to mechanical devices, motors, hybrid powers, and the like, depending on the actual needs of the user. The mechanism of rotation of the mechanism does not limit the scope of application of the invention. The following will explain how the automatic detecting device 22 is matched with the rotational speed sensing element 20. Next, the action of each component included in the automatic detecting device 22 will be explained. The automatic detecting device 22 is used in combination with a rotational speed sensing component 20, and the rotational speed sensing component 20 can be used to detect the rotational speed of a rotating mechanism, and then generate a rotational speed pulse signal. Specifically, the rotational speed sensing component 20 can be It is a Hall element, Variable Reluctance, Pickup Coil, Magnet Resistor, Photointerrupter, Photocoupler.... Etc. and other equivalent components. The automatic detection device 22 is described in more detail. The automatic detection device 22 includes a rotational speed sensing interface 220, a storage unit 222, and a rotational speed and phase angle calculating unit 224. The rotational speed sensing interface 220 is coupled to the rotational speed sensing component 20 The electrical connection is performed to receive a rotational speed pulse signal 200 of the rotational speed sensing component 20, and the rotational speed pulse signal 200 is converted into a rotational phase angle signal 2200. Further, the rotational speed sensing interface can be an electrical component. One of a voltage circuit, a diode circuit, an operational amplifier circuit, a comparator circuit, and a filter circuit. For convenience of the following description, the rotating mechanism of the present invention can be represented by an M&N tooth, 201135234, where Μ represents the number of convex teeth of the circumference of the rotating mechanism, and n represents the number of features & M23, N20, M- N21 true M and N are both positive integers 'Spring M * ^ field is 0 when there is a convex tooth width different from other convex teeth to form a feature, which is - ' convex tooth, when N > 0, The total number of convex teeth represents a total of M&N teeth, for example 12&1. The rotating mechanism has a total of U teeth, wherein the rotating mechanism is equally divided into 12 tooth teeth which are not present to form features. Because the circumference of the rotating mechanism is 360. , , but there is a common rotating mechanism in the market, the depreciation will take 360 common factors, and the value of N can be 0, 1 and 2 more common.
需特別強調的是,如採用混合積體電路製程亦可將本發明之複 數種旋轉機構之轉速及相角之自動偵測裝置所包含的各單元及介 面之任一組合整合為同一晶片及一封裝其中之—,例如將轉速感 測介面與轉速及相角計算單元整合為同一晶片及一封装其中之 一,而實施例中的凸齒亦可換為刻痕、凹槽或是磁極等足以讓捭 配之轉逮感測元件感應之機構材料,並不以此限制本發明之範圍。 再者’儲存單元222係用以儲存複數轉速相角關係式,更進一 步來說,該等轉速相角關係式用以計算出各種旋轉機構之特徵部 於其轉速相角訊號之位置,藉由其特徵部之位置計算出各旋轉機 構之轉速及相角。接下來說明轉速及相角計算單元224如何使用 上述該等轉速相角關係式及轉速相角訊號2200。 轉速及相角計算單元224係與儲存單元222及轉速感測介面220 呈電性連接,接著,根據轉速相角訊號2200之一波形,進一步判 斷旋轉機構之—類型,更具體而言,不同齒數之旋轉機構即有不 同的波形’波形係依據旋轉機構之凸齒部及特徵部數目差異,使 201135234 各種轉速相角訊號之特徵部與凸齒部之間距值或特徵部之寬度值 均有所不同,接下來,轉速及相角計算單元224更根據該類型由 該等轉速相角關係式中,挑選出一相對應轉速相角關係式,最後, 根據該相對應轉速相角關係式以及該轉速相角訊號之波形計算出 該旋轉機構之轉速及相角。 更具體而言,轉速及相角計算單元224係可為一中央處理器 (CPU)、一微控制器(MCU)、一數位訊號處理器(DSP)以及一可程 式邏輯陣列(FPGA)其中之一,接著請繼續參照第3A到3C圖,其 分別為6&1齒旋轉機構、6&2齒旋轉機構以及6齒旋轉機構之轉 速相角訊號2200之示意圖,更進一步說明轉速及相角計算單元 222如何運算出不同齒數之旋轉機構之特徵部位置,並進一步計算 出其轉速及相角。 首先,第3A圖以及第3B圖中之虛線代表該凸齒部不存在。在 第3A圖中,特徵部之前後兩個凸齒部之轉速相角訊號2200之上 升緣間差距為b,特徵部之前兩個凸齒部間差距為a,特徵部之後 兩個凸齒部間差距為c,其間關係可用以下公式表示: 需強調的是,當一旋轉機構係為一 M&1齒旋轉機構時,其中Μ 之數值不小於3、Ν之數值等於1以及Μ及Ν之差值不小於2。 其中的r為内燃機引擎運轉加減速的誤差百分比,例如r可以是 0%到50%間的數值。 承前所述,在第3B圖中,特徵部之前後兩個凸齒部之轉速相角 201135234 訊號2200之上升緣間差距為b’,特徵部之前兩個凸齒部間差距為 a,特徵部之後兩個凸齒部間差距為c,其間關係可用以下公式表 示:b,= a + c ~Ύ~ χ(3士r) 此外,當一旋轉機構係為一 M&2齒旋轉機構時,其中M之數 值不小於3、Ν之數值等於2以及Μ及Ν之差值不小於1。 由以上各公式可推知,Μ&Ν齒旋轉機構當Ν不為0時,若特徵 • 部之前後兩個凸齒部之間距為e,特徵部之前兩個凸齒部間差距為 d,特徵部之後兩個凸齒部間差距為f,其間關係可用以下公式表 示之: e = (jV +1 土 r) 當一旋轉機構係為一 M&N齒旋轉機構時,其中Μ之數值不小 於3、Ν之數值不小於0且Ν不為0以及Μ及Ν之差值不小於1。 在第3C圖中,由於其特徵部係非不存在的凸齒部而是寬度不同 • 於其它凸齒部的一特徵凸齒部,即Μ&Ν齒旋轉機構當Ν為0的 情況,可藉由量測其脈衝寬度來判斷是否為特徵部,判斷公式可 以是: χ+y r , s 少= 土r) 另一方面,當一旋轉機構係為一 Μ齒旋轉機構時,其中Μ之數 值不小於3、Ν之數值等於0以及Μ及Ν之差值不小於3。 其中的r為内燃機引擎運轉加減速的誤差百分比,例如r可以是 201135234 0%到50%間的數值;而s為該特徵部相較於其它凸齒部之寬度縮 放百分比,例如150%表示該特徵部的凸齒寬度約為其它凸齒部的 1.5 倍。 需特別注意的是,以上所說明之6&1齒旋轉機構、6&2齒旋轉 機構以及6齒旋轉機構,係僅用以例舉本發明之實施態樣,本發 明之自動偵測裝置係可適用於其它旋轉機構,其他態樣亦如同上 述實施例所述,所屬技術領域具有通常知識者可基於上述實施例 及現有技術輕易推及本發明之其他實施態樣,故在此不加贅述。 本發明之第二實施例如第4A圖-4E圖所示,其係為一用於如第 一實施例所述之自動偵測裝置之自動偵測方法之流程圖,該自動 偵測裝置係可與一轉速感測元件搭配使用,該轉速感測元件係可 偵測該旋轉機構之一轉速,以產生一轉速脈衝訊號,該自動偵測 裝置包含一轉速感測介面、一儲存單元以及一轉速及相角計算單 元,該轉速感測介面係與該轉速感測元件呈電性連接,該轉速及 相角計算單元係與該儲存單元及該轉速感測介面呈電性連接。 第二實施例自動偵測方法所採用之技術手段實質上與第一實施 例自動偵測裝置所採用之技術手段相同,此項技術領域具有通常 知識者將可根據第一實施例所揭示之内容,輕易得知第二實施例 自動偵測方法係如何實現,以下將只簡述自動偵測方法。 第二實施例之自動偵測方法係包含以下步驟,請先參閱第4A 圖,執行步驟401,令轉速感測介面接收該轉速感測元件之轉速脈 衝訊號,並轉換該轉速脈衝訊號為一轉速相角訊號,接著,執行 步驟402,令儲存單元儲存複數轉速相角關係式,執行步驟403, 12 201135234 々該轉速及相角計算單__轉&目 旋轉機構之-類型,更根據該類型由=之-波形,判斷該 選出-相對應轉速相角關係式,;轉逮相角關係式中,挑It should be particularly emphasized that any combination of units and interfaces included in the automatic detecting device for the rotational speed and phase angle of the plurality of rotating mechanisms of the present invention can be integrated into the same wafer and one by using a hybrid integrated circuit process. Encapsulating therein, for example, integrating the rotational speed sensing interface with the rotational speed and phase angle calculating unit into one of the same wafer and a package, and the convex teeth in the embodiment may be replaced by a notch, a groove or a magnetic pole. It is not intended to limit the scope of the invention by the mechanism material that is adapted to the sensing element. Furthermore, the storage unit 222 is configured to store a plurality of rotational speed phase angle relationships, and further, the rotational speed phase angle relationship is used to calculate the position of the characteristic portions of the various rotating mechanisms at the rotational phase angle signal thereof. The position of the characteristic portion calculates the rotational speed and phase angle of each rotating mechanism. Next, how the rotational speed and phase angle calculating unit 224 uses the above-described rotational speed phase angle relationship and the rotational speed phase angle signal 2200 will be described. The rotational speed and phase angle calculating unit 224 is electrically connected to the storage unit 222 and the rotational speed sensing interface 220, and then further determines the type of the rotating mechanism according to a waveform of the rotational phase angle signal 2200, and more specifically, different numbers of teeth. The rotation mechanism has different waveforms. The waveform is based on the difference in the number of convex teeth and the number of features of the rotating mechanism, so that the distance between the characteristic portion and the convex portion of the various phase angle signals of 201135234 is different from the width value of the characteristic portion. Differently, the rotational speed and phase angle calculating unit 224 further selects a corresponding rotational speed phase angle relationship from the rotational speed phase angle relationship according to the type, and finally, according to the corresponding rotational speed phase angle relationship and the The waveform of the rotational phase angle signal calculates the rotational speed and phase angle of the rotating mechanism. More specifically, the rotational speed and phase angle calculation unit 224 can be a central processing unit (CPU), a microcontroller (MCU), a digital signal processor (DSP), and a programmable logic array (FPGA). First, please continue to refer to Figures 3A to 3C, which are schematic diagrams of the 6&1 tooth rotation mechanism, the 6& 2 tooth rotation mechanism and the 6-tooth rotation mechanism of the rotational phase angle signal 2200, further illustrating the rotational speed and phase angle calculation. The unit 222 calculates the position of the feature of the rotating mechanism with different numbers of teeth, and further calculates the rotational speed and phase angle. First, the broken lines in the 3A and 3B drawings indicate that the convex tooth portion does not exist. In Fig. 3A, the difference between the rising edges of the rotational phase angle signals 2200 of the front and rear convex portions of the feature portion is b, the difference between the two convex tooth portions before the feature portion is a, and the two convex tooth portions after the feature portion The difference between the two is c, and the relationship between them can be expressed by the following formula: It should be emphasized that when a rotating mechanism is an M&1 tooth rotating mechanism, the value of Μ is not less than 3, the value of Ν is equal to 1 and Μ and Ν The difference is not less than 2. Where r is the error percentage of the engine engine running acceleration and deceleration, for example, r can be a value between 0% and 50%. As mentioned above, in Figure 3B, the difference between the rising edge angles of the first two convex tooth portions of the feature portion 201135234 and the rising edge of the signal 2200 is b', and the difference between the two convex tooth portions of the feature portion is a, the characteristic portion Then the difference between the two convex tooth portions is c, and the relationship between them can be expressed by the following formula: b, = a + c ~ Ύ ~ χ (3 士 r) In addition, when a rotating mechanism is an M& 2 tooth rotating mechanism, Wherein the value of M is not less than 3, the value of Ν is equal to 2, and the difference between Μ and Ν is not less than 1. It can be inferred from the above formulas that when the Μ&-tooth rotation mechanism is not 0, if the distance between the two convex teeth before and after the feature part is e, the difference between the two convex teeth before the feature is d, characteristic The difference between the two convex tooth portions is f, and the relationship between them can be expressed by the following formula: e = (jV +1 soil r) When a rotating mechanism is an M&N tooth rotating mechanism, the value of Μ is not less than 3. The value of Ν is not less than 0 and Ν is not 0 and the difference between Μ and Ν is not less than 1. In Fig. 3C, the characteristic portion is a non-existent convex tooth portion but has a different width. • A characteristic convex tooth portion of the other convex tooth portion, that is, a Μ& By measuring the pulse width to determine whether it is a feature, the judgment formula can be: χ+yr , s less = soil r) On the other hand, when a rotating mechanism is a carousel rotating mechanism, the value of Μ Not less than 3, the value of Ν is equal to 0, and the difference between Μ and Ν is not less than 3. Where r is the error percentage of the engine engine running acceleration and deceleration, for example, r may be a value between 2011% and 50% of 201135234; and s is the percentage of the width of the feature compared to other convex teeth, for example, 150% means The width of the convex portion of the feature portion is about 1.5 times that of the other convex tooth portion. It should be noted that the 6&1 tooth rotation mechanism, the 6&2 tooth rotation mechanism and the 6-tooth rotation mechanism described above are only for exemplifying the embodiment of the present invention, and the automatic detection device of the present invention is It can be applied to other rotating mechanisms, and other aspects are also described in the above embodiments. Those skilled in the art can easily push other embodiments of the present invention based on the above embodiments and the prior art, and therefore, no further description is provided herein. . The second embodiment of the present invention is shown in FIG. 4A to FIG. 4E, which is a flowchart of an automatic detection method for the automatic detection device according to the first embodiment. The automatic detection device is In combination with a rotational speed sensing component, the rotational sensing component detects a rotational speed of the rotating mechanism to generate a rotational speed pulse signal. The automatic detecting device includes a rotational speed sensing interface, a storage unit, and a rotational speed. And the phase angle calculating unit, the speed sensing interface is electrically connected to the speed sensing component, and the speed and phase angle calculating unit is electrically connected to the storage unit and the speed sensing interface. The technical means adopted by the automatic detection method of the second embodiment is substantially the same as the technical means adopted by the automatic detection device of the first embodiment, and the technical person skilled in the art will be able to disclose the content according to the first embodiment. It is easy to know how the automatic detection method of the second embodiment is implemented. Only the automatic detection method will be briefly described below. The automatic detection method of the second embodiment includes the following steps. Referring to FIG. 4A, step 401 is executed to enable the speed sensing interface to receive the speed pulse signal of the speed sensing component, and convert the speed pulse signal to a speed. Phase angle signal, then, step 402 is executed, so that the storage unit stores the complex speed phase angle relationship, and steps 403, 12 201135234 are performed, and the speed and the phase angle are calculated as the type of the rotation mechanism and the type of the rotation mechanism. The type is determined by the waveform of the =, and the relationship between the selected and the corresponding rotational speed phase angles is determined;
式以及該轉速相角訊號之波形計算出該旋:::應轉迷相角關係 接著,當該轉速及相角計算單元判:之轉逮及相角。 旋轉機構,其中該轉速及相角計^單該旋轉機構係為-m&n 構之該轉速相角訊號之波形,判斷㈣2根據—旋轉機 齒旋轉機構更包含Μ個凸齒部以及 &Ν齒旋轉機構,該 Μ&Ν 算單元更根據該相對應轉速相角訊號:該轉速及相角計 之波形’用以計算出該Μ&Ν齒旋轉機構之式^及該轉速相角訊號 接著,請參閱第仙圖,執行+ 相角。 執仃步驟404,今钤χτ , 二個凸齒部於該轉速相角訊號之—間距為”_特徵部之前後 撕,令該Ν铺徵部之前二個凸㈣於=、,接下來,執行步驟 為d,接著,執行步驟4〇6,人# χτ y 乂 、相角訊號之一間距And the waveform of the speed phase angle signal calculates the rotation::: should be converted to the phase angle relationship. Then, when the speed and phase angle calculation unit judges: the rotation and the phase angle. a rotating mechanism, wherein the rotating speed and the phase angle of the rotating mechanism are waveforms of the rotational phase angle signal of the -m&n configuration, and determining (4) 2 according to the rotary tooth rotating mechanism further comprises a convex tooth portion and & The 旋转 & 算 算 更 更 amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp amp Next, see the fairy map and execute the + phase angle. In the step 404, in the present 钤χτ, the two convex tooth portions are torn before the "phase" of the rotational phase angle signal, and the two convex portions (four) are in front of the Ν 征 ,, then, The execution step is d, and then, step 4〇6, person# χτ y 乂, one of the phase angle signals is performed.
轉速相角訊號之-間距為f,執1固特徵部之後二個凸齒部於該 勺1 ’執行步驟407,人訪λ/ΓΡχ 構之一加減速誤差百分比為r,接 7該齒旋轉機 關係根據關係式: 下執仃步驟408,令-間 :今^χ(#+1±/〇 e 再者,當該轉速及相角計算單元判斷出該旋 旋轉機構時,其中該轉速及相肖計算料更可根據—_ ^轉 ^相_之波形,岭贿_機構,該_舰_ M_1個凸’及1特徵部,飄及相角物元更根細 對應轉速相_式__目_之波形,刚 13 201135234 轉機構之轉速及相角。 接下來,請參閱第4C圖,執行步驟409,令該特徵部之前後二 個凸齒部於該轉速相角訊號之一間距為b,接著,執行步驟410, 令該特徵部之前二個凸齒部於該轉速相角訊號之一間距為a,接下 來,執行步驟411,令該特徵部之後二個凸齒部於該轉速相角訊號 之一間距為c,接著,執行步驟412,令該M&1齒旋轉機構之一 加減速誤差百分比為r,接下來執行步驟413,令一間距關係係根 據關係式: 另一方面,當轉速及相角單元判斷出該旋轉機構為一 M&2齒旋 轉機構,其中該轉速及相角計算單元更可根據一 M&2齒旋轉機構之該轉 速相角訊號之波形,判斷該M&2齒旋轉機構,該M&2齒旋轉機構更包含 M&2個凸齒部以及二個特徵部,該轉速及相角計算單元更根據該相對應轉 速及相角關係式以及該轉速相角訊號之波形,用以計算出該M&2齒旋轉機 構之轉速及相角。 接下來,請參照第4D圖,執行步驟414,令該二特徵部之前後 二個凸齒部於該轉速相角訊號之一間距為b’,接著,執行步驟 415,令該二特徵部之前二個凸齒部於該轉速相角訊號之一間距為 a,接下來,執行步驟416,令該二特徵部之後二個凸齒部於該轉 速相角訊號之一間距為c,再者,執行步驟417,令該M&2旋轉 機構之一加減速誤差百分比為r,接下來,執行步驟418,令一間 距關係係根據關係式: 201135234 卜宁x(3±〇 ο 最後’當轉速及相角計算單元判斷出該旋轉機構為一 Μ齒旋轉 -機構時,其中該轉速及相角計算單元更可根據一 Μ齒旋轉機構之該轉速 相角訊號’判斷該Μ齒旋轉機構’該鲥齒旋轉機構更包含Μ個凸齒部, 其中該Μ個凸齒部更包含一特徵凸齒部該轉速及相角計算單元更根據該 相對應轉速及相角關係式以及該轉速相角訊號之波形,用以計算出該Μ齒 旋轉機構之轉速及相角。 • 接著,請參閱第4Ε圖’執行步驟419,令該特徵凸齒部之一寬 度於該轉速相角訊號為y,接下來,執行步驟420,令各該其餘凸 齒部之一寬度於該轉速相角訊號為X,接著,執行步驟42卜令該 特徵凸齒部相對於各該其餘凸齒部之一寬度縮放百分比為s,接下 來,執行步驟422’令該Μ齒旋轉機構之一加減速誤差百分比為I·, 最後,執行步驟423,令一寬度關係係根據關係式: % 除了上述步驟,第二實施例亦能執行第一實施例所描述之操作 及功能,所屬技術領域具有通常知識者可直接瞭解第二實施例如 何基於上述第一實施例以執行此等操作及功能,故不贅述。 綜上所述,特後部為不存在的凸齒部(即N#0)可以透過測量每個 凸齒間上升緣間的差距來判斷,而特徵部為寬度不同的凸齒部(即 N=0)時,也可以透過測量每個凸齒寬度來判斷,在得知特徵部的 位置後,該旋轉機構的轉速就可依照上次特徵部出現到這次特徵 部出現之時間差值來換算出來,而相角之計算也可依照特徵部為 15 201135234 角之目的。 藉由上述的安排,本發明之裝置可以自動偵測複數種旋轉機構 之轉速及相角,故可廣泛支援市面既有之M&N齒旋轉機構,讓 ECU的相容性大大提昇,助於全球之推廣流通。 上述之實施例僅用來例舉本發明之實施態樣,以及闡釋本發明 之技術特徵,並非用來限制本發明之保護範疇。任何熟悉此技術 者可輕易完成之改變或均等性之安排均屬於本發明所主張之範 圍,本發明之權利保護範圍應以申請專利範圍為準。 【圖式簡單說明】 第1A圖係為一 12&1齒旋轉機構之示意圖; 第1B圖係為一 12&2齒旋轉機構之示意圖; 第1C圖係為一 6&1齒旋轉機構之示意圖; 第1D圖係為一 6齒旋轉機構之示意圖; 第2圖係為本發明之第一實施例之自動偵測系統之示意圖; 第3A圖係為本發明之一 6&1齒轉速相角訊號示意圖; 第3B圖係為本發明之一 6&2齒轉速相角訊號示意圖; 第3 C圖係為本發明之一 6齒轉速相角訊號示意圖;及 第4A至第4E圖係為本發明之第二實施例之自動偵測方法之流 程圖。 16 201135234 【主要元件符號說明】 ίο:旋轉機構 140、142 :特徵部 2:自動偵測系統 22 :自動偵測裝置 2200 :轉速相角訊號 224 :轉速及相角計算單元 12 :凸齒部 16、20 :轉速感測元件 200 :轉速脈衝訊號 220 :轉速感測介面 222 :儲存單元The speed phase angle signal has a spacing of f, and after the solid feature portion is executed, the two convex tooth portions are executed in step 407 of the spoon 1 ', and the acceleration/deceleration error percentage of one of the human access λ/ΓΡχ structures is r, and the tooth rotation is 7 Machine relationship according to the relationship: Step 408, --间:今^χ(#+1±/〇e again, when the rotation speed and phase angle calculation unit determines the rotation mechanism, the rotation speed and According to the waveform of the __^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Waveform of _目_, just 13 201135234 Speed and phase angle of the rotating mechanism. Next, please refer to Figure 4C, and perform step 409 to make the front and rear convex teeth of the feature part at one of the phase angle signals of the rotational speed. Step b, and then step 410 is performed, so that the distance between the two convex tooth portions of the feature portion at the one of the rotational phase angle signals is a, and then step 411 is performed to make the two convex tooth portions of the feature portion One of the rotational phase angle signals has a pitch of c, and then step 412 is performed to make the acceleration and deceleration error of one of the M&1 tooth rotating mechanisms The ratio is r, and then step 413 is performed to make a pitch relationship according to the relationship: On the other hand, when the rotation speed and the phase angle unit determine that the rotating mechanism is an M&2 tooth rotating mechanism, wherein the rotation speed and the phase angle are calculated. The unit further determines the M&2 tooth rotation mechanism according to the waveform of the rotational phase angle signal of an M&2 tooth rotation mechanism, and the M&2 tooth rotation mechanism further comprises M& 2 convex tooth portions and two characteristic portions. The rotation speed and phase angle calculation unit further calculates the rotation speed and the phase angle of the M&2 tooth rotation mechanism according to the corresponding rotation speed and the phase angle relationship and the waveform of the rotation phase angle signal. Next, please refer to In step 4D, step 414 is executed to make the distance between the front and rear convex teeth of the two features at one of the rotational phase angle signals b', and then step 415 is performed to make the two convex portions of the two features One step of the phase angle signal is a, and then step 416 is performed, so that the distance between the two convex portions of the two characteristic portions at the phase of the rotational phase angle signal is c, and further, step 417 is performed. One of the M&2 rotating mechanisms The deceleration error percentage is r. Next, step 418 is performed to make a pitch relationship according to the relationship: 201135234 卜宁x(3±〇ο Finally 'when the rotation speed and phase angle calculation unit determines that the rotation mechanism is a caries rotation - the mechanism, wherein the rotational speed and phase angle calculating unit can further determine the molar rotating mechanism according to the rotational speed phase angle signal of a molar rotating mechanism, wherein the molar rotating mechanism further comprises a convex tooth portion, wherein the rotating tooth portion further comprises a convex tooth portion The convex tooth portion further includes a characteristic convex tooth portion, and the rotational speed and phase angle calculating unit further calculates the rotational speed of the molar rotating mechanism according to the corresponding rotational speed and the phase angle relationship and the waveform of the rotational phase angle signal. Phase angle. Then, refer to FIG. 4 'execution step 419, such that one of the characteristic convex tooth portions has a width y of the rotational speed phase angle signal, and then step 420 is executed to make one of the remaining convex tooth portions have a width The speed phase angle signal is X. Then, step 42 is performed to adjust the width of the characteristic convex portion relative to each of the remaining convex portions to be s. Next, step 422 is performed to make the one of the molar rotating mechanisms The acceleration/deceleration error percentage is I·, and finally, step 423 is performed to make a width relationship according to the relationship: % In addition to the above steps, the second embodiment can also perform the operations and functions described in the first embodiment, and the technical field has A person skilled in the art can directly understand how the second embodiment performs the operations and functions based on the above-described first embodiment, and therefore will not be described again. In summary, the convex portion (ie, N#0) which is not present in the rear portion can be judged by measuring the difference between the rising edges of each of the convex teeth, and the characteristic portion is a convex tooth portion having a different width (ie, N= 0), it can also be judged by measuring the width of each convex tooth. After knowing the position of the feature portion, the rotational speed of the rotating mechanism can be converted according to the time difference between the appearance of the feature portion and the occurrence of the feature portion. , and the calculation of the phase angle can also be based on the purpose of the feature section 15 201135234. With the above arrangement, the device of the present invention can automatically detect the rotational speed and phase angle of a plurality of rotating mechanisms, so that the existing M&N-tooth rotating mechanism can be widely supported, and the compatibility of the ECU is greatly improved. Global promotion and circulation. The embodiments described above are only intended to illustrate the embodiments of the present invention, and to explain the technical features of the present invention, and are not intended to limit the scope of the present invention. Any changes or equivalents that can be easily made by those skilled in the art are within the scope of the invention. The scope of the invention should be determined by the scope of the claims. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1A is a schematic diagram of a 12&1 tooth rotation mechanism; Fig. 1B is a schematic diagram of a 12&2 tooth rotation mechanism; Fig. 1C is a schematic diagram of a 6&1 tooth rotation mechanism 1D is a schematic diagram of a 6-tooth rotating mechanism; FIG. 2 is a schematic diagram of an automatic detecting system according to a first embodiment of the present invention; FIG. 3A is a 6&1 tooth rotational speed phase angle of the present invention; Figure 3B is a schematic diagram of 6&2 tooth speed phase angle signal of the present invention; Fig. 3C is a schematic diagram of a 6 tooth speed phase angle signal of the present invention; and 4A to 4E are A flowchart of an automatic detection method of a second embodiment of the invention. 16 201135234 [Description of main component symbols] ίο: Rotating mechanism 140, 142: Feature 2: Automatic detection system 22: Automatic detection device 2200: Speed phase angle signal 224: Speed and phase angle calculation unit 12: convex tooth portion 16 20: the speed sensing component 200: the speed pulse signal 220: the speed sensing interface 222: the storage unit