TWI257537B - Leveling apparatus and control module thereof - Google Patents

Leveling apparatus and control module thereof Download PDF

Info

Publication number
TWI257537B
TWI257537B TW93117054A TW93117054A TWI257537B TW I257537 B TWI257537 B TW I257537B TW 93117054 A TW93117054 A TW 93117054A TW 93117054 A TW93117054 A TW 93117054A TW I257537 B TWI257537 B TW I257537B
Authority
TW
Taiwan
Prior art keywords
signal
adjustment
control
actuator
coefficient
Prior art date
Application number
TW93117054A
Other languages
Chinese (zh)
Other versions
TW200540586A (en
Inventor
Jackson Li
Thomas Song
Original Assignee
Asia Optical Co Inc
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 Asia Optical Co Inc filed Critical Asia Optical Co Inc
Priority to TW93117054A priority Critical patent/TWI257537B/en
Publication of TW200540586A publication Critical patent/TW200540586A/en
Application granted granted Critical
Publication of TWI257537B publication Critical patent/TWI257537B/en

Links

Abstract

A leveling apparatus having a tilt sensor, a processor, and an actuator is provided. The tilt sensor detects a tilt angle and accordingly outputs a sensor signal to the processor. The processor further includes a reference unit providing a reference signal and a PID control unit performing a PID operation to output a control signal based on the difference between the sensor signal and the reference signal. The actuator adjusts the tilt angle based on the control signal.

Description

12575371257537

一、【發明所屬之技術領域】 本發明係關於一種水平調整裝置。本發明更關於一種 利用PID控制方法的水平調整裝置。 一、【先前技術】I. TECHNICAL FIELD OF THE INVENTION The present invention relates to a level adjusting device. The present invention is more related to a level adjusting device using a PID control method. First, [previous technology]

• 在工程應用中’比例積分微分控制(proportionaL integral-derivative control,簡稱 PID 控制)具有廣泛 的用返。PID控制态設置簡單、穩定性與可靠度佳、調整 方便。尤其當無法掌握被控對象的結構和係數,或難以建 構精確的數學模型時,則控制理論下的設計技術難以使 用,因此系統的控制器的結構和係數必須依靠經驗和現場 調試來確定,這時PID控制技術最為適用。當無法掌握了• Proportiona L integral-derivative control (referred to as PID control) has a wide range of applications in engineering applications. The PID control state is simple to set up, stable and reliable, and easy to adjust. Especially when it is impossible to grasp the structure and coefficient of the controlled object, or it is difficult to construct an accurate mathematical model, the design technique under the control theory is difficult to use. Therefore, the structure and coefficient of the controller of the system must be determined by experience and on-site debugging. PID control technology is most suitable. When it is impossible to master

,了個系統和被控對象,或不能通過有效的測量手段來祥 得系統的係數的時候,則可運用p丨D控制技術。 XWhen a system and a controlled object are used, or when the coefficient of the system cannot be obtained by effective measurement means, the p丨D control technique can be used. X

輪 PID控制包含比例(P)、積分(1)、微分(1))三部分, 際中也有PI和PD控制器。PID控制器係根據系統的誤差 利用比例積分微分計算出控制量,控制器輸出和控制哭 入(誤差)之間的關係在時域中表示如下式所示,其; u(t)表示控制器的輸出、e(t)表示控制器輸入(誤^ KP為比例係數、K!為積分係數、以及心為微分係數:Wheel PID control consists of three parts: proportional (P), integral (1), and differential (1). There are also PI and PD controllers. The PID controller calculates the control amount by using the proportional integral differential according to the error of the system. The relationship between the controller output and the control crying (error) is expressed in the following equation in the time domain; u(t) represents the controller. The output, e(t) represents the controller input (error ^ KP is the proportional coefficient, K! is the integral coefficient, and the heart is the differential coefficient:

1257537 五、發明說明(2)1257537 V. Description of invention (2)

u(t) = Kpe(t) + Γ J e(t)dt+KD 比例控制(P控制)是一種最簡單的控制方式。表示控 制器的輸出與輸入誤差訊號成比例關係。當僅有比例控制 日’則糸統輸出具有穩態誤差(S t e a d y - s t a t e e r r 〇 r )。 在積分控制中(I控制),控制器的輸出與輸入(誤差) 訊號的積分成正比關係。對一個自動控制系統,如果在進 入穩態後存在穩態誤差,則控制系統係具有穩態誤差或稱 為有差系統(System with Steady-state Error )。為了 消除穩態誤差,在控制器中必須引入”積分項"。積分項對 誤差進行關於時間的積分運算,隨著時間的增加,積分項 會增大。這樣,即便誤差很小,積分項也會隨著時間的增 加而加大’它推動控制器的輸出增大使穩態誤差進一步減 小,直到等於零。因此,比例積分(pl )控制器,可以使系 統在進入穩態後無穩態誤差。 在微分控制中,控制器的輸出與輸入(誤差)訊號的微 为、(即决差的變化率)成正比關係。自動控制系統在克服 誤呈的調節過程中可能會出現振盪甚至失穩。#原因是由 於存在$較大慣性的元件和有滯後(1 W)的元件,使得 奴克服誤差的作用’其變化總是落後於誤差的變化。解決 的辦法疋使克服誤差的作用的變化需,,超前,,,即在誤差接 近零呀,克服誤差的作用就應該是零。也就是說,在控制u(t) = Kpe(t) + Γ J e(t)dt+KD Proportional control (P control) is one of the simplest control methods. Indicates that the output of the controller is proportional to the input error signal. When there is only a proportional control day, the system output has a steady state error (S t e a d y - s t a t e e r r 〇 r ). In integral control (I control), the output of the controller is proportional to the integral of the input (error) signal. For an automatic control system, if there is a steady state error after entering the steady state, the control system has a steady state error or a system with Steady-state Error. In order to eliminate the steady-state error, the “integral term” must be introduced in the controller. The integral term performs an integral operation on the error with respect to time. As time increases, the integral term increases. Thus, even if the error is small, the integral term It will also increase with time. 'It pushes the output of the controller to increase the steady-state error further until it equals zero. Therefore, the proportional integral (pl) controller can make the system have no steady state after entering the steady state. In the differential control, the output of the controller is proportional to the micro-input of the input (error) signal, that is, the rate of change of the decision. The automatic control system may oscillate or even lose in the process of overcoming the mis-presentation. The reason is because there are components with large inertia and components with hysteresis (1 W), so that slaves overcome the effect of error's change always lags behind the error. The solution is to overcome the effect of error. Change needs, advance,, that is, when the error is close to zero, the effect of overcoming the error should be zero. That is, in control

1257537 五、發明說明(3) =引入"比例"項往往是不夠的,比例項的作 大決差的幅值,而目珂需要增加的是”微分項"," 項"能預測誤差變化的趨勢,這樣,具有比例微分的二 器,就能夠提前使克服誤差的控制作用等於零 工制 值,從而避免了被控量的過調。所以對有較大 2 過程中的動態特性。 控制…文善糸統在調節 ΡΠ)控制器中係數調整的方法很多,概 類.:是理論計算調整法。它主要是依據系統的數學模大 孓i採用控制理論中的一些方法,經過理論計算確定栌制 ::ίί。以法不僅計算繁靖’而且過分依賴系統:數 實數據未必能直接使用,㊣必須通過 私上貫㉟地進行調整和修改。3夕卜是工程調整方法,它 主要依賴工程經驗,直接在控制系統的 =1單、易於掌握’相當實用,㈣在工程;被匕 p ID控制器的係數的工程調整方法,主 共同點都疋通過試驗,然後按照工程經驗公栌 係數進行調整。但無論採用哪一種方法所得到的十== 數,都需要在實際運行中進行最後的調整與完盖二 ”1257537 V. Description of invention (3) = The introduction of the "proportional" item is often not enough, the proportion of the proportional item is the magnitude of the difference, and the target is to increase the "differential item", "quote" It is possible to predict the trend of the error change, so that the two devices with proportional differential can make the control effect of overcoming the error equal to the zero-working value in advance, thereby avoiding the overshoot of the controlled amount. Therefore, the dynamics of the larger 2 process are Characteristics. Control... Wenshan system has many methods for adjusting the coefficient in the controller. The general class is: the theoretical calculation adjustment method. It is mainly based on the mathematical model of the system, using some methods in the control theory. After theoretical calculations, it is determined that:: ίί. The method of calculating not only calculates the complexity but also relies too much on the system: the actual data may not be directly used, and must be adjusted and modified through privately. 35. It relies mainly on engineering experience, directly in the control system = 1 single, easy to master 'quite practical, (d) in engineering; the engineering adjustment method of the coefficient of the 匕p ID controller, the main common point Cloth by experiment, and then adjusted in accordance with known engineering experience coefficient sumac. But no matter which of several ten == obtained by the method employed, the final adjustments need to be in the actual operation with two cover End "

1257537 五、發明說明(4) 平二射ΐ平調整裝置中,達到快速、精確的水 正通*為進行水平調整之最終目標,但隨著機構設計 ,:限:水平感測裝置之反應速度與水平信號之處理等等 因素,欲達成快速、精確之目標仍有其不足之處。 控制方法具有上述之特性,因此,若能具有一運 用PID控制的水平調整裝置,不僅能克服上述之缺點,在 工私應用上將具有更佳的優勢。 三、【發明内容】 本發明之主要目的在於提供一種運用piD控 的 水平調整裝置。 本發月之另目的在於提供一種水平調整裝置,係運 用一數位P ID控制單元提供脈衝電流,以精準地控制一直 流馬達。1257537 V. INSTRUCTIONS (4) In the flat two-shot adjustment device, the fast and accurate water Zhengtong* is the ultimate goal of horizontal adjustment, but with the design of the mechanism, the limit: the reaction speed of the horizontal sensing device The processing of horizontal signals and other factors, there are still deficiencies in achieving a fast and accurate goal. The control method has the above-mentioned characteristics. Therefore, if it is possible to have a level adjusting device using PID control, it can not only overcome the above disadvantages, but also has a better advantage in the industrial and private application. 3. SUMMARY OF THE INVENTION The main object of the present invention is to provide a level adjusting device using piD control. Another object of this month is to provide a leveling device that uses a digital PID control unit to provide pulsed current for precise control of the DC motor.

本發明之又一目的在於提供一種運用P I D控制方法的 水平调整裝置,其中可輕易調整piD運算中之係數。 一本f明提供-種水平調整裝置,包含一傾角感測器、 處理單兀、肖-致動器。此傾角感測器供感測一傾角以 ,出一感測訊號至此處理單元。此處理單元更包含一參考 單το與一 PID控制單元。此參考|元供提供—參考訊號;It is still another object of the present invention to provide a level adjusting device using a P I D control method in which coefficients in a piD operation can be easily adjusted. A horizontal adjustment device is provided, comprising a tilt sensor, a processing unit, and a Xiao-actuator. The tilt sensor is configured to sense a tilt angle to send a sensing signal to the processing unit. The processing unit further includes a reference unit το and a PID control unit. This reference | yuan for the supply - reference signal;

12575371257537

此PID控制單元’根據此感測訊號與此參考訊號之差值進 行一PID運算,以輸出一控制訊號。此致動器根據此控制 訊號供調整此傾角。 本發明另提供一種用於水平調整裝置之控制模組,設 f於-水平調整裝置中,此水平調整裝置包含一傾角感測 器與一直流馬達。此傾角感測器供感測一傾角以輸出一感 測訊號至此控制模組。此控制模組更包含一水平參考單元 與一數位P ID控制單元。此水平參考單元供提供一水平參 考訊號;此數位PID控制單元,根據此感測訊號與此水平 參考訊號之差值進行一PID運算,以輸出一控制訊號。此 致動器根據此控制訊號供調整此傾角。 本發明提供一改良之水平調整裝置以及一用於水平調 整裝置之控制模組,可減少達成平衡狀態所需之時間。此 外’藉由數位P ID控制單元,以脈衝電流控制一直流馬 達,可增加控制精準度,亦可避免步進馬達所需之昂貴成 本。 、 四、【實施方式】 圖1為根據本發明之一貫施例所示之水平調整裝置 10,包含傾角感測器12、處理單元14、與致動器16。傾角 感測裔1 2供感測一傾角’以輪出至少一感測訊號。此外, 本發明可結合一雷射光源1 8 ’供發射一雷射光束,利用此The PID control unit performs a PID operation based on the difference between the sensing signal and the reference signal to output a control signal. The actuator adjusts the tilt angle based on this control signal. The present invention further provides a control module for a level adjustment device, which is provided in a level adjustment device, the level adjustment device comprising a tilt sensor and a DC motor. The tilt sensor senses an angle of inclination to output a sense signal to the control module. The control module further includes a horizontal reference unit and a digital PID control unit. The horizontal reference unit provides a horizontal reference signal; the digital PID control unit performs a PID operation based on the difference between the sensing signal and the horizontal reference signal to output a control signal. The actuator adjusts the tilt angle based on the control signal. The present invention provides an improved level adjustment device and a control module for a horizontal adjustment device that reduces the time required to reach an equilibrium state. In addition, the digital P ID control unit controls the current through the pulse current, which increases the control accuracy and avoids the expensive cost of the stepper motor. Fourth Embodiment [Embodiment] FIG. 1 is a horizontal adjustment device 10 according to a consistent embodiment of the present invention, including a tilt sensor 12, a processing unit 14, and an actuator 16. The dip sense sensor 1 2 is used to sense a dip angle to rotate at least one sense signal. In addition, the present invention can be combined with a laser source 1 8 ' for emitting a laser beam, using this

1257537 五、發明說明(6) 田射光束可掃描出一平面。結合本發明而利用其他光源 (例如一紅外線光束)掃描或其他定義一平面的方式,亦在 本發明所欲涵蓋的範圍之内。 ,2a為根據本發明之一實施例所示之水平調整裝置j 〇 之功能方塊圖。處理單元14包含一參考單元142與一 ρΐ[)控 制(Pr〇P〇rtl〇nal—integra卜derivative control)單元 1^4 ’根據感测訊號14ι與參考訊號143之差值進行一piD運 算,^輸出一控制訊號145。此致動器16根據此控制訊號 145供調整傾角13。傾角感測器12為一雙向傾角感測器, 可分別在\方向與γ方向偵測一傾角。在另一實施例中,此 傾角感測器為一單向傾角感測器,可在一預定方向偵測一 傾角三本發明較佳地係利用一雙向傾角感測器而實施,然 為了簡化,以下將利用傾角感測器丨2在乂方向所偵測之傾 角來。兒月傾角感測裔1 2將在X方向所 貞測到之傾角1 3轉 換為一感測訊號141,並輸出至處理單元14。烕測訊號14][ 之電壓值係對應於此傾角丨3,意即當所偵測之傾角丨3愈 大,則此感測訊號141之電壓值也愈大。在此實施例中, 此電壓的範圍為〇至2· 5V。此外,為了輸出感測訊號141, 傾角感測器1 2中亦可包含放大器、濾波器等訊號處理裝置 (未圖示)。 參考單元142係根據使用者之預先設定,而輸出一參 考訊號1 4 3至PID控制單元1 4 4。在此實施例中,此參考訊1257537 V. Description of invention (6) The beam of the field can be scanned out of a plane. It is also within the scope of the present invention to utilize other sources (e.g., an infrared beam) to scan or otherwise define a plane in conjunction with the present invention. 2a is a functional block diagram of the level adjusting device j 所示 according to an embodiment of the present invention. The processing unit 14 includes a reference unit 142 and a ρΐ[) control (Pr〇P〇rtl〇nal-integrab) control unit 1^4' performs a piD operation according to the difference between the sensing signal 14ι and the reference signal 143. ^ Output a control signal 145. The actuator 16 adjusts the tilt angle 13 based on the control signal 145. The tilt sensor 12 is a two-way tilt sensor that detects an angle of inclination in the \ direction and the gamma direction, respectively. In another embodiment, the tilt sensor is a one-way tilt sensor that can detect an angle of inclination in a predetermined direction. The invention is preferably implemented by using a bidirectional tilt sensor, but to simplify The following will use the tilt angle detected by the tilt sensor 丨2 in the 乂 direction. The child's dip sensor 1 2 converts the tilt angle 13 measured in the X direction into a sense signal 141 and outputs it to the processing unit 14. The voltage value of the test signal 14] [corresponds to the tilt angle 丨3, that is, the greater the detected tilt angle 丨3, the greater the voltage value of the sense signal 141. In this embodiment, this voltage ranges from 〇 to 2.5 V. In addition, in order to output the sensing signal 141, the tilt sensor 12 may also include a signal processing device (not shown) such as an amplifier or a filter. The reference unit 142 outputs a reference signal 143 to the PID control unit 144 according to a preset by the user. In this embodiment, this reference message

1257537 五、發明說明(7) 號143為一水平的參考訊號,意即此參考訊號中之電壓 f ’係相當於當此水平調整裝置達到一水平時,傾角感測 器12所輪出感測訊號141中之電壓值。值得一提的是,本 發明所謂之『水平』,係使用者主觀認定,因此可根據使 用目的之不同,而設定不同之參考訊號143。?11)控制單元 1 44偵測此感測訊號丨41電壓與此參考訊號丨43電壓之差 值,此差值即對應於此傾角13的大小。piD控制單元144並 根據此差值進行一PID運算,以輪出一控制信號147至致動 器16。傾角感測器12設置於一平板或是一基座上(如圖 不),而致動器16根據控制信號147移動此平板/基座,而 調整傾角13。換句話說,在致動器16移動此平板/基座之 後,傾角13係小於此致動器16移動此平板/基座之前之傾 角13。在-實施例中,水平調整|置1()係重覆地調整傾角 ’直到達到-水平。在此實施例中,「水平」係為在一 平衡狀態時,冑角i 3之值小於或等於一第一值(例如〇. i ϊν丄17實施例中’「水平」係在一平衡狀態時,感 測矾唬141與翏考訊號143之差值小於或等於—第二值(例 L°^01V) $外,致動器16為一直流馬達,控制信號145 =此直流,達16一控制電流,藉此控制此直流馬達16之 m致$ Γ16亦可為—步進馬達,係較精密地進行控制 運作,u相對地製造成本亦高於直流馬達。豆他常見之 致?器、’包含運用電性、則生、機械裝置、熱性、光學等 手丰又以達成制動之裝置,皆在本發明所欲涵蓋之範圍内。1257537 V. Invention Description (7) No. 143 is a horizontal reference signal, that is, the voltage f ' in the reference signal is equivalent to when the level adjusting device reaches a level, the tilt sensor 12 rotates and senses The voltage value in signal 141. It is worth mentioning that the so-called "level" of the present invention is subjectively determined by the user, so that different reference signals 143 can be set depending on the purpose of use. ? 11) The control unit 1 44 detects the difference between the voltage of the sensing signal 丨41 and the voltage of the reference signal 丨43, and the difference corresponds to the magnitude of the tilt angle 13. The piD control unit 144 performs a PID operation based on the difference to rotate a control signal 147 to the actuator 16. The tilt sensor 12 is disposed on a flat plate or a base (not shown), and the actuator 16 moves the flat plate/base according to the control signal 147 to adjust the tilt angle 13. In other words, after the actuator 16 moves the plate/base, the angle of inclination 13 is less than the angle of inclination 13 before the actuator 16 moves the plate/base. In the embodiment, the horizontal adjustment | set 1 () is to repeatedly adjust the tilt angle ' until the - level is reached. In this embodiment, the "horizontal" is in an equilibrium state, and the value of the corner i 3 is less than or equal to a first value (for example, 〇. i ϊν丄17 in the embodiment, the "level" is in an equilibrium state. When the difference between the sense 矾唬 141 and the reference signal 143 is less than or equal to the second value (eg, L°^01V), the actuator 16 is a DC motor, and the control signal 145 = the DC, up to 16 A control current, thereby controlling the DC motor 16 of the m $ 16 can also be a stepping motor, which is more precise control operation, and the relative manufacturing cost is also higher than that of the DC motor. 'A device containing electrical, mechanical, mechanical, thermal, optical, etc., to achieve braking, is within the scope of the present invention.

1257537 五、發明說明(8) ---- 制堂f 一實施例中,PID控制單元144係包含一類比PID控 制電路。在另一實施例中,PID控制單元144包含一數位 P:D控制電路。參考圖以,傾角感測器12具有一類比,數位 轉換裔(A/D COnverter)(未圖示),供將所偵測之傾角13 轉換並輸出一數位感測訊號141至處理單元14。此類比/數 位轉換器具有12位元的精度,意即此數位感測訊號141所 對應之值可為1至4096 ( 2的12次方)。參考單元142亦提供 一數位參考訊號143(例如設定水平的參考訊號143之值為 200 0 )。PID控制單元144根據此數位感測訊號141與此數位 參考訊號143之差值,以輸出一數位控制信號145。處理單 元14更包含一脈衝產生器146。脈衝產生器146係根據此數 位控制訊號145,產生一脈衝訊號147。此脈衝信號147提 供致動器16—脈衝電流,藉此控制致動器16之運作。舉例 來說,當致動器1 6為一直流馬達時,在正負端分別輸入〇 與1的信號,則此直流馬達正轉;在正負端分別輸入丨與〇 的信號,則此直流馬達反轉;在正負端分別輸入丨與1的信 號,則制動此直流馬達,使不會因慣性而過度調整,進^ 提高精度。當在正負端分別輸入〇與丨的信號後,再分別輸 入1與1的佗號,則此直流馬達完成一個脈衝運動,而一脈 衝σίΐ 5虎可使此直流馬達元成複數個脈衝運動。習此技蔽者 應知,以此脈衝電流進行控制之手段,亦可達到相當:步 進馬達之效能。其他實施例中,處理單元丨4可為一邊用型 處理器,或是一特用型處理器,其中參考單元142、piD控 制單元144、與脈衝產生器146可藉由軟體、硬體、或是軟1257537 V. INSTRUCTION DESCRIPTION (8) ---- In one embodiment, the PID control unit 144 includes an analog PID control circuit. In another embodiment, PID control unit 144 includes a digital P:D control circuit. Referring to the drawings, the tilt sensor 12 has an analog, digital conversion (A/D COnverter) (not shown) for converting the detected tilt angle 13 and outputting a digital sense signal 141 to the processing unit 14. Such a ratio/digital converter has a precision of 12 bits, meaning that the value of the digital sense signal 141 can be from 1 to 4096 (2 to the power of 12). The reference unit 142 also provides a digital reference signal 143 (e.g., the value of the reference signal 143 of the set level is 200 0 ). The PID control unit 144 outputs a digital control signal 145 according to the difference between the digital sensing signal 141 and the digital reference signal 143. Processing unit 14 further includes a pulse generator 146. Pulse generator 146 generates a pulse signal 147 based on the digital control signal 145. This pulse signal 147 provides an actuator 16 - pulsed current, thereby controlling the operation of the actuator 16. For example, when the actuator 16 is a DC motor, the signals of 〇 and 1 are input at the positive and negative ends respectively, then the DC motor rotates forward; when the signals of 丨 and 〇 are input at the positive and negative ends respectively, the DC motor is reversed. Turn; input the signal of 丨 and 1 respectively at the positive and negative ends, then brake the DC motor so that it will not be over-adjusted due to inertia, and improve the accuracy. When the signals of 〇 and 丨 are input respectively at the positive and negative ends, and then the apostrophes of 1 and 1 are respectively input, the DC motor completes a pulse motion, and a pulse σίΐ 5 tiger can make the DC motor element move into a plurality of pulses. It should be understood that the method of controlling the pulse current can also achieve the equivalent: the performance of the stepping motor. In other embodiments, the processing unit 丨4 may be a side-use processor or a special-purpose processor, wherein the reference unit 142, the piD control unit 144, and the pulse generator 146 may be software, hardware, or Is soft

4AOCI04007TW.ptd 第13頁 1257537 五、發明說明(9) 體與硬體的組合而實施。 圖3與圖4皆顯示此水平調整裝置1 〇重覆地調整傾角1 3 直到一水平狀態之過程中感測訊號1 41之變化。圖3中, PID控制單元144選用較大之一積分係數(integral-term coefficient:^ ,因而加快致動器1 6的回應,但因此也造 成之震盪也較大。圖4中,PID控制單元144選用較小之一 積分係數!^ ,因此造成之震盪較小。 在圖3與圖4中,PID控制單元144係根據預設係數,執 行一P ID運算。然而如圖2c或圖2d所示,此處理單元14可 更包含一調整單元148,供輸出一調整訊號149至P ID控制 單元1 44,以選擇性地調整此pId運算中至少一係數,例如 一積分係數K!。當此調整訊號1 49使此積分係數K!增加, 則使得致動器1 6調整傾角1 3的回應加快。另外,輸出調整 訊號1 49以調整一比例係數(pr〇p〇r f丨〇n -1 erm coefficient) KP 及/ 或一微分係數(differential—term coef f icient) KD之手段,甚者,以電腦硬體/軟體以實施 此輸出調整號1 4 9以改變p I d運算中之係數的手段,亦在 本發明所欲涵蓋範圍之内。而選定適當之ρ丨D運算係數之 方法,應為熟此技藝者所習知,在此不予贅述。而此調整 單元148可由硬體、軟體、或是軟體與硬體的組合而實 施0 、4AOCI04007TW.ptd Page 13 1257537 V. Description of invention (9) Implementation of a combination of body and hardware. Both Fig. 3 and Fig. 4 show that the level adjusting device 1 〇 repeatedly adjusts the tilt angle 1 3 until the change of the sensing signal 1 41 in a horizontal state. In Fig. 3, the PID control unit 144 selects a larger integral coefficient (integral-term coefficient: ^, thus accelerating the response of the actuator 16, but also causing greater oscillation. In Figure 4, the PID control unit 144 selects one of the smaller integral coefficients!^, thus causing less oscillation. In Figures 3 and 4, the PID control unit 144 performs a P ID operation according to the preset coefficient. However, as shown in Fig. 2c or Fig. 2d The processing unit 14 further includes an adjusting unit 148 for outputting an adjustment signal 149 to the PID control unit 1 44 to selectively adjust at least one coefficient of the pId operation, such as an integral coefficient K! Adjusting the signal 1 49 causes the integral coefficient K! to increase, so that the response of the actuator 16 to adjust the tilt angle 1 3 is accelerated. In addition, the adjustment signal 1 49 is output to adjust a proportional coefficient (pr〇p〇rf丨〇n -1 Erm coefficient) KP and / or a differential coefficient (differential-term coef f icient) KD means, in other words, computer hardware / software to implement this output adjustment number 1 4 9 to change the coefficient of p I d operation Means, also within the scope of the present invention The method of selecting the appropriate ρ丨D operation coefficient is well known to those skilled in the art and will not be described here. The adjustment unit 148 can be implemented by hardware, software, or a combination of software and hardware. 0,

1257537 五、發明說明(ίο) 如圖2c所示,其中調整單元丨48係根據傾角13之值, 以輸出調整訊號1 4 9。舉例來說,在第一階段,當傾角i 3 之值大於1 0度時,則輸出一調整訊號1 4 9以增加此積分係 數1 ’使付致動器1 6 §周整傾角1 3的回應加快。而在第二階 段,當此傾角1 3之值小於1 〇度卻大於3度時,則停止輸出 調整訊號149至此PID控制單元144,使此PID控制單元144 採用預設之積分係數K!。在第三階段,當傾角1 3小於3度 時’則輸出调整訊號1 4 9以減小此積分係數& ,避免致動 器16產生過度震盪。 在另一貫施例中’此調整單元1 4 8係根據感測訊號1 4 1 與參考訊號1 4 3之差值,以輸出調整訊號丨4 9。舉例來說, 在第一階段,當此差值大於〇·ΐν時,則輸出調整訊號149 以增加此積分係數Κ!,使得致動器1 6調整傾角1 3的回應加 快。而在第二階段,當此差值小於〇· IV卻大於〇· 〇5V時, 則輸出調整訊號1 49以回復預設之積分係數]^與增加一比 例係數ΚΡ 。在第三階段,當此差值小於〇 · 〇 1 ν時,則輸出 調整訊號1 49回復預設之比例係數Κρ及增加一微分係數Kd 一如圖2d所示,調整單元148亦係根據感測訊號丨4i與參 考訊號143之差值,以輸出調整訊號149,然此感測訊號 141為一數位訊號,其所對應之值可為1至4〇96(2的12次 方)。參考訊號1 4 3亦為一數位訊號,其所對應之值為1257537 V. Description of the Invention (ίο) As shown in Fig. 2c, the adjusting unit 丨48 outputs an adjustment signal 1 4 9 according to the value of the inclination angle 13. For example, in the first stage, when the value of the inclination angle i 3 is greater than 10 degrees, an adjustment signal 1 4 9 is output to increase the integral coefficient 1 ′ so that the actuator 1 6 § is tilted by 1 3 The response speeded up. In the second stage, when the value of the inclination angle 1 3 is less than 1 degree but greater than 3 degrees, the output adjustment signal 149 is stopped to the PID control unit 144, so that the PID control unit 144 adopts the preset integral coefficient K!. In the third stage, when the inclination angle 1 3 is less than 3 degrees, the adjustment signal 1 4 9 is output to reduce the integral coefficient & to avoid excessive oscillation of the actuator 16. In another embodiment, the adjustment unit 148 is based on the difference between the sensing signal 1 4 1 and the reference signal 1 4 3 to output an adjustment signal 丨49. For example, in the first stage, when the difference is greater than 〇·ΐν, the adjustment signal 149 is output to increase the integral coefficient Κ!, so that the actuator 16 adjusts the response of the inclination 1 3 to accelerate. In the second stage, when the difference is less than 〇· IV but greater than 〇· 〇 5V, the adjustment signal 1 49 is output to restore the preset integral coefficient]^ and increase the ratio coefficient ΚΡ . In the third stage, when the difference is less than 〇· 〇1 ν, the output adjustment signal 1 49 returns to the preset proportional coefficient Κρ and increases a differential coefficient Kd. As shown in FIG. 2d, the adjustment unit 148 is also based on the sense The difference between the test signal 丨4i and the reference signal 143 is to output the adjustment signal 149. However, the sensing signal 141 is a digital signal, and the corresponding value can be 1 to 4 〇 96 (2 to the power of 12). Reference signal 1 4 3 is also a digital signal, and the corresponding value is

4AOCI04007TW.ptd 第15頁 1257537 五、發明說明(11) 2 0 0 〇。舉例來說,在第一階段,當此差值大於5 〇 〇時,則 輸出調整訊號149以增加積分係數心,配合脈衝產生器146 使得致動器1 6調整傾角1 3的回應加快。而在第二階段,告 Ϊ差值小於100卻大於10時,則輸出調整訊號149以回復‘ 積分係料與增力一比例係數κΡ…:階:二預 此差值小於1 〇時,則輪出調整 ρ广弗一h k,备 數及增加一微分係數KD 。 ° ^ 回復預設之比例係 以限定本 神和範圍 護範圍當 雖然本發明以實施例揭露如i,缺 發明,任何熟習此技藝者,右 ......並非用 内’當可作各種之更動與4不==之精 視後附之申請專利範園所界定者本毛明之保4AOCI04007TW.ptd Page 15 1257537 V. Description of invention (11) 2 0 0 〇. For example, in the first stage, when the difference is greater than 5 〇 , the adjustment signal 149 is output to increase the integral coefficient center, and the response of the pulse generator 146 to cause the actuator 16 to adjust the tilt angle 1 3 is accelerated. In the second stage, when the difference is less than 100 but greater than 10, the adjustment signal 149 is output to restore 'the integral coefficient and the boosting force a ratio coefficient κΡ...: step: two, if the difference is less than 1 ,, then Take turns to adjust ρ Guangfu-hk, reserve number and increase a differential coefficient KD. ° ^ Revert to the preset ratio to limit the scope of the god and range protection. Although the invention is disclosed by the embodiment, such as i, lack of invention, anyone skilled in the art, right ... is not used internally All kinds of changes and 4 not == the saga of the application of the patent application park defined by the applicant

第16頁 4AOCI04007TW.ptd 1257537Page 16 4AOCI04007TW.ptd 1257537

五、【圖式簡單說明】 所附圖式係為配合說明書解釋本發明。 圖1係一實施例中水平調整裝置之示意圖; 圖2a係一實施例中水平調整裝置之功能方塊圖; 圖2b係另一實施例中水平調整裝置之功能方塊圖; 圖2c係一實施例中一具有調整單元之水平調整裝置功能方 圖2d係另一實施例中一具有調整單元之水平調整裝置功能 方塊圖; 圖3係顯示一實施例中調整傾角的過程,其積分係數較 其積分係數較 圖4係顯示一實施例中調整傾角的過程 /】、〇 ※元件符號說明 10水平調整裝置 1 3傾角 1 41感測訊號 1 4 3參考訊號 1 4 5控制訊號 1 4 7脈衝訊號 1 4 9調整訊號 1 8雷射光源 1 2傾角感測器 1 4處理單元 142參考單元 1 4 4P I D控制單元 146脈衝產生哭 1 4 8調整單元 1 6致動器V. [Simple Description of the Drawings] The drawings are to explain the present invention in conjunction with the specification. Figure 1 is a functional block diagram of a horizontal adjustment device in an embodiment; Figure 2b is a functional block diagram of a horizontal adjustment device in another embodiment; Figure 2c is an embodiment Figure 2d is a functional block diagram of a horizontal adjustment device with an adjustment unit in another embodiment; Figure 3 is a diagram showing the process of adjusting the inclination angle in an embodiment, the integral coefficient of which is greater than its integral The coefficient is compared with FIG. 4 to show the process of adjusting the tilt angle in an embodiment.] 〇 ※ Component symbol description 10 horizontal adjustment device 1 3 inclination angle 41 41 sensing signal 1 4 3 reference signal 1 4 5 control signal 1 4 7 pulse signal 1 4 9 adjustment signal 1 8 laser light source 1 2 inclination sensor 1 4 processing unit 142 reference unit 1 4 4P ID control unit 146 pulse generation crying 1 4 8 adjustment unit 1 6 actuator

Claims (1)

1257537 六、申請專利範圍 5·如申請專利範圍第4項所述之水平調整裝置,其中該調 整單元係根據該傾角之值,以輸出該調整訊號。 6 ·如申凊專利範圍第4項所述之水平調整裝置,其中該調 整單元係根據該感測訊號與該參考訊號之差值,以輸出該 調整訊號。 7 ·如申睛專利範圍第1項所述之水平調整裝置,其中該p ID 控制單元包含一類比P ID控制電路。 8·如申請專利範圍第1項所述之水平調整裝置,其中該 控制單元包含一數位PID控制電路。 9 ·如申睛專利範圍第§項所述之水平調整裝置,其中該處 理單元更包含一脈衝產生器,根據該控制訊號,供產生一 脈衝訊號;其中該致動器更根據該脈衝訊號,調整該傾 角0 I 〇·如申請專利範圍第1項所述之水平調整裝置,該致動器 為一步進馬達。 II ·如申请專利範圍第1項所述之水平調整裝置,該致動器 為一直流馬達。The invention relates to a horizontal adjustment device according to the fourth aspect of the invention, wherein the adjustment unit outputs the adjustment signal according to the value of the inclination angle. The level adjustment device of claim 4, wherein the adjustment unit outputs the adjustment signal based on a difference between the sensing signal and the reference signal. 7. The level adjusting device of claim 1, wherein the p ID control unit comprises an analog P ID control circuit. 8. The level adjusting device of claim 1, wherein the control unit comprises a digital PID control circuit. The level adjustment device of claim </ RTI> wherein the processing unit further comprises a pulse generator for generating a pulse signal according to the control signal; wherein the actuator is further based on the pulse signal. The tilting device is adjusted according to the first aspect of the invention, and the actuator is a stepping motor. II. The level adjusting device of claim 1, wherein the actuator is a DC motor. 第19頁 J257537 、申請專利範圍 21 ·如申請專利範圍第1 8項戶斤述之控制模組,該控制模組 更包含一調整單元,供輸出〆調整訊號至該PID控制單 元,以調整該PID運算中至少〆係數0 2 2 ·如申請專利範圍第1 8項所述之控制模組,其中該調整 單元係根據該傾角之值,以輸出該調整訊號。 2 3 ·如申請專利範圍第1 8項所述之控制模組, 該調整 ,元係根據該感測訊號與該水平參考訊號之差值,以輸出 邊調整訊號。Page 19 J257537, the scope of application for patents 21 · If the control module of the application of the patent scope is the 18th item, the control module further includes an adjustment unit for outputting the adjustment signal to the PID control unit to adjust the In the PID operation, at least the 〆 coefficient is 0 2 2 . The control module of claim 18, wherein the adjustment unit outputs the adjustment signal according to the value of the inclination. 2 3 · The control module of claim 18, wherein the adjustment unit adjusts the signal by the output edge according to the difference between the sensing signal and the horizontal reference signal. 4AOCI04007TW.ptd 第22頁4AOCI04007TW.ptd Page 22
TW93117054A 2004-06-14 2004-06-14 Leveling apparatus and control module thereof TWI257537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW93117054A TWI257537B (en) 2004-06-14 2004-06-14 Leveling apparatus and control module thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW93117054A TWI257537B (en) 2004-06-14 2004-06-14 Leveling apparatus and control module thereof

Publications (2)

Publication Number Publication Date
TW200540586A TW200540586A (en) 2005-12-16
TWI257537B true TWI257537B (en) 2006-07-01

Family

ID=37764185

Family Applications (1)

Application Number Title Priority Date Filing Date
TW93117054A TWI257537B (en) 2004-06-14 2004-06-14 Leveling apparatus and control module thereof

Country Status (1)

Country Link
TW (1) TWI257537B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102529907A (en) * 2011-04-15 2012-07-04 长沙中联消防机械有限公司 Method and system for automatic table supporting leg leveling control, and leveling equipment with system for automatic table supporting leg leveling control
US9866171B2 (en) 2015-10-13 2018-01-09 Industrial Technology Research Institute Measuring device for property of photovoltaic device and measuring method using the same

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI485536B (en) * 2012-11-08 2015-05-21 Nat Inst Chung Shan Science & Technology Automation ground-landing and automation leveling method for auto leveling system
TWI573003B (en) * 2012-11-08 2017-03-01 國家中山科學研究院 Auto leveling system capable of executing automation ground-landing and automation leveling operations
TWI602261B (en) * 2016-06-03 2017-10-11 Siacin International Co Ltd Platform level automatic calibration device
CN107580413A (en) * 2016-07-05 2018-01-12 翔庆精密工业有限公司 Plateau levels automatic correction device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102529907A (en) * 2011-04-15 2012-07-04 长沙中联消防机械有限公司 Method and system for automatic table supporting leg leveling control, and leveling equipment with system for automatic table supporting leg leveling control
CN102529907B (en) * 2011-04-15 2014-12-10 长沙中联消防机械有限公司 Method and system for automatic table supporting leg leveling control, and leveling equipment with system for automatic table supporting leg leveling control
US9866171B2 (en) 2015-10-13 2018-01-09 Industrial Technology Research Institute Measuring device for property of photovoltaic device and measuring method using the same

Also Published As

Publication number Publication date
TW200540586A (en) 2005-12-16

Similar Documents

Publication Publication Date Title
EP3387488B1 (en) Control of an sma actuation arrangement
EP2340456B1 (en) Methods and devices for driving micromirrors
JP2018124582A (en) Image stabilizer correction device and image stabilizer correction circuit, as well as image stabilizer correction method
US8994298B2 (en) Movement control apparatus, movement control method, and movement control circuit
TWI257537B (en) Leveling apparatus and control module thereof
JP2013193183A (en) Torque detecting method, and arm device
TW201841040A (en) Camera controller, and a calibration method for a correction lens
JP2017522612A5 (en)
Chen et al. Twisting sliding mode control of an electrostatic MEMS micromirror for a laser scanning system
JPH11164594A (en) Periodic signal driver
JP6676430B2 (en) Driving circuit and driving method for voice coil motor, and lens module and electronic device using them
JP2007155356A (en) Range finder and distance measuring method
JP2003125590A (en) Driver using shape memory alloy, and drive control method
WO2009084258A1 (en) Motor controller
JPH11109432A (en) Shake correcting device
JP2007156402A (en) Autofocus system device capable of compensating load power variation and method thereof
US10473949B2 (en) Systems and methods for an optical image stabilizer system
JP2010224369A (en) Position controller of galvanometer mirror
CN207423210U (en) Projector apparatus, projector mount and projecting apparatus tranquilizer
KR101184522B1 (en) Auto focusing controlller using piezo actuator
JP2019090921A (en) Control device, lens device, imaging apparatus, control method, and program
JP2009055744A (en) Ultrasonic motor drive circuit and driving signal generating method of ultrasonic motor
JP2010096634A (en) Voltage detecting device
JPS6052772A (en) Ad converter
JP2005269856A (en) Motor controller and motor control method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees