TW200907288A - System and method for measuring displacement of a motor - Google Patents

System and method for measuring displacement of a motor Download PDF

Info

Publication number
TW200907288A
TW200907288A TW96128576A TW96128576A TW200907288A TW 200907288 A TW200907288 A TW 200907288A TW 96128576 A TW96128576 A TW 96128576A TW 96128576 A TW96128576 A TW 96128576A TW 200907288 A TW200907288 A TW 200907288A
Authority
TW
Taiwan
Prior art keywords
motor
computer
tested
microprocessor
control command
Prior art date
Application number
TW96128576A
Other languages
Chinese (zh)
Inventor
Teng-Tsung Huang
Guo-Jun Yu
Hua-Yong Xu
De-Hua Cao
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW96128576A priority Critical patent/TW200907288A/en
Publication of TW200907288A publication Critical patent/TW200907288A/en

Links

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

The present invention provides a system for measuring displacement of a motor. The system includes: a computer used for sending commands for measuring the motor; a singlechip being connected to the computer, and used for send control signal according to the command sent by the computer; a drive circuit being connected to the singlechip and the motor, and used for generating current according to the control signal; a laser sensor being connected to the computer and the motor, and used for measuring displacement of the motor. A method for measuring displacement of a motor is also provided.

Description

200907288 九、發明說明: 【發明所屬之技術領域】 本發明涉及一種位移量測系統及方法,尤其是涉及一 種馬達的位移量測系統及方法。 【先前技術】 隨著數位時代的來臨,再加上相關軟硬體技術的蓬勃 發展,使得各種數位裝置開始獲得人們的認同,並且被廣 泛的應用於日常生活之中。在許多掃描器或者數位相機等 數位裝置中,都用了馬達作為傳動裝置來提供更高品質的 影像擷取。因此,在如此強烈的市場需求下,廠商無不絞 盡腦汁研發低成本高精確度的傳動裝置,以供高階數位裝 置的使用。 眾所週知,馬達是由多個精密的電感線圈控制内部轉 軸精密地移動,以形成傳動裝置位移。以高階數位相機來 說,其拍攝照片品質的好壞與馬達所構成的傳動裝置有很 大的關係,因為馬達所構成的傳動裝置有精確的位移,才 能使數位相機調整到精確的鏡頭焦距和光圈數值,數位相 機才能拍攝到南品質、清晰的照片。 因此,需要提供一種系統及方法,可以精確的量測馬 達的運動位移。 【發明内容】 鑒於以上内容,有必要提出一種馬達位移量測系統及 方法,其可以精確的測量出馬達運動時的位移量。 一種馬達位移量測系統,該馬達位移量測系統包括: 6 200907288 電腦,用於發送控制信號以對待測馬達進行測量;微處理 益,連接於所述電腦,用於根據所述電腦發送的控制指令 產生驅動馬達運動的控制信號;驅動電路,連接於上述微 處理器及待測馬達之間,用於接收上述微處理器產生的控 制信號,並根據該控制信號輸出電流驅動所述待測馬達開 始運動;鐳射感測器,連接於電腦及待測馬達之間’,用: 根據所述t腦發送的㈣指令測量待測馬達的運動位移 电胭接收 裡馬運位移量測方法,琢万法包括步驟: 用戶设置的初始化參數並發送控制指令給微處理哭 Γ根據所接收的控制指令控制驅動電路,使·_電路ς =⑽動待測馬達開始運動;電腦控制録射感測器測量 待測馬達的運動位移量;根據上述設置的初始化參數判斷 對待==说是否_«料㈣ 及方去=1二技術,本發明所提供的馬達位移量測系統 方法利用微處理器作為驅動裝置, 況,利用鐳射感測器洌量6、查m ’運的連動狀 量精度高。 &馬相運練移,簡單方便,測 【實施方式】 參閱圖1所示,是太私床、土 的硬體架制。料達物收統難實施例 與電腦!減接的騎=彳錢主要包括錢1,分別 射感測器4,及連接上m 類比/數位轉換裝置3及錯 3與録射感測器4的待測馬達5駆動板2、類比/數位轉換裝置 200907288 所述電腦1用於發送指令控制馬達5的運動情況,並分 別控制所述鐳射感測器4及類比/數位轉換裝置3量測馬達 的運動位移及驅動馬達5運動的電流的電流值及對應的電 壓值。 所述馬達驅動板2包括微處理器20及驅動電路21。所述 微處理器20透過USB ( Universal Serial Bus,通用串列匯流 排)通信介面與電腦1相連,用於接收電腦1發送的控制馬 達5運動的指令,根據該指令產生控制信號以控制驅動電路 21。所述微處理器20產生的控制信號即脈衝。所述驅動電 路21用於根據微處理器20發送的脈衝輸出電流以驅動待測 馬達5開始運動。該驅動電路21輸出的電流為一模擬值。 所述類比/數位轉換裝置3透過一條資料獲取線,如PCI (Peripheral Component Interconnect,外設部件互連標準) 匯流排與電腦1相連接,用於測量驅動馬達5運動的電流的 電流值及對應的電壓值,並將測量出來的電流值/電壓值顯 示於電腦1的顯示螢幕(圖中未示)上。參閱圖2所示,是 利用類比/數位轉換裝置3測量電流值/電壓值的示意圖。驅 動電路21輸出類比電流值給馬達5中的定子線圈51,定子線 圈51根據電流内部的電子運動方向產生磁場而使馬達5中 的轉子50上下運動產生位移。類比/數位轉換裝置3將有電 流通過的定子線圈51兩端的類比電壓轉換為數位訊號,並 測量出該電壓的電壓值。進一步的,為了求出通過定子線 圈51的電流值,可以在類比/數位轉換裝置3與馬達5之間串 聯一個阻值很小的電阻6,因為定子線圈51的電阻值很大, 8 200907288 口此^ %個阻值後小的電阻6並不會對馬達5產生影響。 所it 3比/數位轉換裝置3透過測量出電阻6兩端的電壓 值’根據電阻6的阻值計算出通過電阻6的電流值,也即通 過定子線圈51的電流值。 所述‘射感測器4透過—串列通訊埠(Rs232)連接於 電腦1上,用於測量待測馬達5上下運動時所產生的位移 里。所述鐳射感測器4透過三角形測量法測量待測馬達5的 運動位移量。參_ 3所示,是本發明中利用三角形測量法 測量位移的示意圖。鐳射感測器4中的活動平衡錯射控制弓丨 擎40發射出鐵射,透過雙向光學系統41打到目標物7上,從 目標物7發射回來的鐳射透過高精度物鏡模組幻返回到直 線型CCD 42上。反射回來的鐳射反射到直線型上 的位置根據目標物7位置的改變而變化,所述直線型CCD 42透過檢測該鐳射反射回來的位置變化,根據三角形的邊 角關係’ s十异出目標物7的位移量。 參閲圖4所示,是本發明馬達位移量測系統較佳實施例 中電腦1的功能模組圖。本發明所稱的各模組是完成特定功 能的各個程式段,比程式本身更適合於描述軟體在電腦令 的執行過程,因此本發明對軟體的描述都以模組描2。 所述電腦1中主要包括.初始化模組1〇〇、控制模組 、利斷模組102及結果顯示模組103。 、 所述初始化模組100用於接收用戶對該馬達位移量測 系統設置的初始化參數。所逑的初始化參數可以包括.馬 達5上下移動的次數,馬達5運動的頻率等。 200907288 所述控制模組ιοί用於分別發出指令給微處理器20,韻 比/數位轉換裝置3及鐳射感測器4,用於命令微處理120 發出控制信號使驅動電路21輸出電流驅動馬達5以設置的 運動頻率開始運動,命令類比/數位轉換裝置3開始測量驅 動馬達5運動的電流的電流值及對應的電壓值,以及命令1雷 射感測器4開始測量馬達5的運動位移量。 所述判斷模組10 2用於根據上述初始化模組10 0接收的 初始化參數判斷對馬達5的測量是否完畢。如上所述,在初 始化模組100中設置了馬達5上下移動的次數,若在測量 中,馬達5上下移動的次數達到了設定的次數,則對馬達5 的測試結束,若沒有達到設定的次數,則測試程式繼續進 行。 所述結果顯示模組10 3用於顯示測量結果。所述測量結 果包括:馬達5每一次上下移動的位移量,及馬達5每一次 上下移動時的電流值及電壓值等。 參閱圖5所示,是本發明點鐳射自動對焦掃描量測方法 較佳實施例的實施流程圖。 步驟S100,初始化模組100接收用戶設置的初始化參 數。所述的初始化參數可以包括:馬達5上下移動的次數, 馬達5運動的頻率等。 步驟S101,控制模組101發送指令給微處理器20,命令 微處理器20驅動馬達5開始運動。所述微處理器20接收電腦 1發送的指令,根據該指令產生控制信號,即脈衝,控制驅 動電路21。所述驅動電路21根據微處理器20發送的脈衝輸 10 200907288 出電流至馬達5中的定子線圈51以驅動馬達5内的轉子50開 始上下運動。所述驅動電路21輸出的電流為一模擬值。 步驟S102,馬達5中的轉子50在輸入到定子線圈51中的 電流所產生的磁場的作用下以設置的運動頻率開始上下運 動。如上所述,微處理器20發出脈衝使驅動電路21輸出電 流至馬達5中的定子線圈51中。馬達5中的轉子50根據通過 定子線圈51中電流内部的電子運動方向產生的磁場而上下 運動,產生位移。 步驟S103,控制模組101發送指令給鐳射感測器4,命 令鐳射感測器4開始測量馬達5的運動位移,即測量出上述 轉子50的運動位移量。 步驟S104,鐳射感測器4利用三角形測量法根據反射回 來的鐳射反射在鐳射感測器4的直線型C C D 4 2上的位置的 變化,利用三角形的邊角關係計算出轉子50的運動位移量。 步驟S105,控制模組101發送指令給類比/數位轉換裝 置3,命令所述類比/數位轉換裝置3測量驅動馬達5運動的 電流的電流值及對應的電壓值。 步驟S106,所述類比/數位轉換裝置3將有電流通過的 定子線圈51兩端的類比電壓轉換為數位訊號,並測量出該 電壓的電壓值。進一步的,為了求出通過定子線圈51的電 流值,可以在類比/數位轉化裝置3與馬達5之間串聯一個阻 值很小的電阻6,因為定子線圈51的電阻值很大,因此串聯 一個阻值很小的電阻6並不會對馬達5產生影響。所述類比/ 數位轉換裝置3透過測量出電阻6兩端的電壓值,根據電阻6 11 200907288 的阻值計算出通過電阻6的電流值,也即通過定子線圈.51 的電流值。 步驟S107,判斷模組102根據上述步驟S100中設置的馬 達5運動的次數判斷對馬達5的測量是否完畢。若馬達5上下 移動的次數沒有達到設定值,則程式返回步驟S101,控制 模組101繼續發送指令命令微處理器20再發送一次脈衝驅 動馬達5開始上下移動,並繼續測量馬達5的運動位移量及 驅動馬達5運動的電流的電流值與對應的電壓值。 若馬達5上下移動的次數到達了設定值,則於步驊 S108,結果顯示模組103於電腦1的顯示螢幕上顯示對馬達 5的測量結果。所述測量結果包括:馬達5每一次上下移動 的位移量,及馬達5每一次上下移動時的電流值及電壓值 等。 上述得到的馬達位移量可以方便校驗工程師判斷馬達 所構成的傳動裝置是否能達到精確的位移,進一步的,所 得到的馬達位移量、馬達電流值與電壓值等參數也可以為 數位相機、掃描器等數位裝置的設計工程師提供參考,使 其根據馬達電壓值及電流值的大小設計在數位裝置中驅動 馬達運動的電源容量,及使其根據該馬達位移量設計出能 擷取到更高品質、影像清晰的數位裝置。 本發明所提供的馬達位移量測系統及方法利用電腦發 出控制指令,利用微處理器作為驅動裝置,控制馬達的運 動狀況,利用鐳射感測器測量馬達的運動位移,及利用類 比/數位轉換裝置測量馬達的電壓值和電流值,簡單方便, 12 200907288 / 測量精度高。 以上所述僅為本發明之較佳實施例而已,且已達廣泛 之使用功效,凡其他未脫離本發明所揭示之精神下所完成 之均等變化或修飾,均應包含在下述之申請專利範圍内。 【圖式簡單說明】 圖1是本發明馬達位移量測系統較佳實施例的硬體架 構圖。 圖2是利用圖1中的類比/數位轉換裝置測量電壓值/ 電流值的示意圖。 圖3是本發明中利用三角形測量法測量位移的示意 圖。 圖4是本發明馬達位移量測系統較佳實施例中電腦的 功能模組圖。 圖5是本發明馬達位移量測方法較佳實施例的實施流 程圖。 【主要元件符號說明】 電腦 1 馬達驅動板 2 微處理器 20 驅動電路 21 類比/數位轉換裝置 3 鐳射感測器 4 活動平衡鐳射控制引擎 40 雙向光學系統 41 13 200907288 直線型CCD 42 南精度物鏡模組 43 馬達 5 轉子 50 定子線圈 51 電阻 6 目標物 7 初始化模組 100 控制模組 101 判斷模組 102 結果顯示模組 103 14BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a displacement measuring system and method, and more particularly to a displacement measuring system and method for a motor. [Prior Art] With the advent of the digital age, coupled with the vigorous development of related software and hardware technologies, various digital devices have begun to gain people's approval and are widely used in daily life. In many digital devices such as scanners or digital cameras, motors are used as transmissions to provide higher quality image capture. Therefore, under such strong market demand, manufacturers have tried their best to develop low-cost and high-precision transmissions for the use of high-order digital devices. As is known, the motor is controlled by a plurality of precision inductive coils to precisely move the internal shaft to form a transmission displacement. In the case of high-end digital cameras, the quality of the photographs is very much related to the transmission of the motor. Because of the precise displacement of the motor, the digital camera can be adjusted to the precise lens focal length and Aperture values, digital cameras can capture South quality, clear photos. Therefore, there is a need to provide a system and method for accurately measuring the motion displacement of a motor. SUMMARY OF THE INVENTION In view of the above, it is necessary to provide a motor displacement measuring system and method that can accurately measure the amount of displacement when a motor moves. A motor displacement measuring system comprising: 6 200907288 a computer for transmitting a control signal for measuring a motor to be tested; a microprocessor for connecting to the computer for controlling according to the computer The command generates a control signal for driving the movement of the motor; a driving circuit is connected between the microprocessor and the motor to be tested, and is configured to receive a control signal generated by the microprocessor, and output a current according to the control signal to drive the motor to be tested Start the movement; the laser sensor is connected between the computer and the motor to be tested', and: according to the (four) command sent by the t brain, measuring the motion displacement of the motor to be tested, and receiving the displacement measurement method of the horse. The method includes the steps of: setting initialization parameters by the user and sending a control command to the micro-processing crying, controlling the driving circuit according to the received control command, so that the circuit of the motor to be tested starts to move; the computer controls the recording sensor to measure The amount of motion displacement of the motor to be tested; judge according to the initialization parameters set above. == Say whether _« material (four) and square to = 1 two techniques The motor displacement measurement system according to the present invention provides a method of using a microprocessor as the drive means, the status, the amount of pure 6 using laser sensors, check m 'shaped interlocking high amount of precision operation. & Ma Xiangyun practice, simple and convenient, measurement [Embodiment] As shown in Figure 1, it is a hard-shell bed, soil hardware. It is difficult to implement the case and the computer! The reduced riding = money mainly includes money 1, respectively, the sensor 4, and the m-type ratio/digital conversion device 3 connected to the m-type ratio/digital conversion device 3 and the error-detecting motor 4 of the recording sensor 4, the analog plate 2, analogy / The digital conversion device 200907288 is configured to send a command to control the movement of the motor 5, and respectively control the laser sensor 4 and the analog/digital conversion device 3 to measure the motion displacement of the motor and the current of the motor 5 Current value and corresponding voltage value. The motor drive board 2 includes a microprocessor 20 and a drive circuit 21. The microprocessor 20 is connected to the computer 1 through a USB (Universal Serial Bus) communication interface, and is configured to receive an instruction sent by the computer 1 to control the movement of the motor 5, and generate a control signal according to the command to control the driving circuit. twenty one. The control signal generated by the microprocessor 20 is a pulse. The drive circuit 21 is for outputting a pulse according to the pulse output from the microprocessor 20 to drive the motor 5 to be tested to start moving. The current output by the drive circuit 21 is an analog value. The analog/digital conversion device 3 is connected to the computer 1 through a data acquisition line, such as a PCI (Peripheral Component Interconnect) bus, for measuring the current value of the current of the driving motor 5 and corresponding The voltage value and the measured current value/voltage value are displayed on the display screen (not shown) of the computer 1. Referring to Fig. 2, there is shown a schematic diagram of measuring the current value/voltage value using the analog/digital conversion device 3. The drive circuit 21 outputs an analog current value to the stator coil 51 in the motor 5, and the stator coil 51 generates a magnetic field in accordance with the direction of electron movement inside the current to cause the rotor 50 in the motor 5 to move up and down to be displaced. The analog/digital conversion device 3 converts the analog voltage across the stator coil 51 through which current flows, into a digital signal, and measures the voltage value of the voltage. Further, in order to find the current value through the stator coil 51, a resistor 6 having a small resistance value may be connected in series between the analog/digital converter device 3 and the motor 5 because the resistance value of the stator coil 51 is large, 8 200907288 This small resistance 6 after the resistance value does not affect the motor 5. The 3 ratio/digital converter 3 measures the value of the current passing through the resistor 6, i.e., the value of the current passing through the stator coil 51, by measuring the voltage value across the resistor 6 based on the resistance of the resistor 6. The 'photo sensor 4' is connected to the computer 1 through a serial-to-serial communication port (Rs232) for measuring the displacement generated when the motor 5 to be tested moves up and down. The laser sensor 4 measures the amount of motion displacement of the motor 5 to be tested by a triangular measurement method. As shown in Fig. 3, it is a schematic diagram of measuring displacement using a triangular measurement method in the present invention. The active balance misalignment control in the laser sensor 4 emits an iron shot, and the target is illuminated through the bidirectional optical system 41. The laser emitted from the target 7 passes through the high precision objective lens module and is returned to the magic object. Straight type CCD 42. The position of the reflected laser beam reflected onto the straight line changes according to the change of the position of the target object 7, and the linear CCD 42 detects the change of the position reflected by the laser, and according to the corner relationship of the triangle, the target is different. The amount of displacement of 7. Referring to Figure 4, there is shown a functional block diagram of the computer 1 in a preferred embodiment of the motor displacement measuring system of the present invention. Each module referred to in the present invention is a program segment for performing a specific function, and is more suitable for describing the execution process of the software in the computer program than the program itself. Therefore, the description of the software in the present invention is described by the module. The computer 1 mainly includes an initialization module 1 , a control module, a profit module 102 , and a result display module 103 . The initialization module 100 is configured to receive an initialization parameter set by the user for the motor displacement measurement system. The initial initialization parameters may include the number of times the motor 5 moves up and down, the frequency at which the motor 5 moves, and the like. 200907288 The control module ιοί is used for separately issuing commands to the microprocessor 20, the rhyme/digital conversion device 3 and the laser sensor 4 for commanding the microprocessor 120 to issue a control signal to cause the drive circuit 21 to output the current drive motor 5 Starting the movement at the set motion frequency, the analog/digital conversion device 3 is commanded to start measuring the current value of the current that drives the motor 5 and the corresponding voltage value, and the command 1 laser sensor 4 starts measuring the amount of motion displacement of the motor 5. The determining module 102 is configured to determine whether the measurement of the motor 5 is completed according to the initialization parameter received by the initialization module 100. As described above, the number of times the motor 5 is moved up and down is set in the initialization module 100. If the number of times the motor 5 moves up and down reaches the set number of times during the measurement, the test of the motor 5 ends, and if the number of times has not been reached, , the test program continues. The result display module 103 is used to display the measurement result. The measurement results include a displacement amount of the motor 5 moving up and down each time, and a current value and a voltage value when the motor 5 moves up and down. Referring to Figure 5, there is shown a flow chart of a preferred embodiment of the point laser autofocus scanning measurement method of the present invention. In step S100, the initialization module 100 receives the initialization parameters set by the user. The initialization parameters may include the number of times the motor 5 moves up and down, the frequency at which the motor 5 moves, and the like. In step S101, the control module 101 sends an instruction to the microprocessor 20 to instruct the microprocessor 20 to drive the motor 5 to start moving. The microprocessor 20 receives an instruction sent by the computer 1, and generates a control signal, i.e., a pulse, based on the command to control the drive circuit 21. The drive circuit 21 outputs a current to the stator coil 51 in the motor 5 in accordance with the pulse transmission 10 200907288 sent from the microprocessor 20 to drive the rotor 50 in the motor 5 to start moving up and down. The current output by the drive circuit 21 is an analog value. In step S102, the rotor 50 in the motor 5 starts moving up and down at a set moving frequency by the magnetic field generated by the current input to the stator coil 51. As described above, the microprocessor 20 issues a pulse to cause the drive circuit 21 to output current to the stator coil 51 in the motor 5. The rotor 50 in the motor 5 moves up and down in accordance with a magnetic field generated by the direction of electron movement inside the current in the stator coil 51, causing displacement. In step S103, the control module 101 sends a command to the laser sensor 4, instructing the laser sensor 4 to start measuring the motion displacement of the motor 5, i.e., measuring the amount of motion displacement of the rotor 50 described above. In step S104, the laser sensor 4 calculates the motion displacement amount of the rotor 50 by using the triangular measurement method according to the change of the position of the reflected laser reflection on the linear CCD 42 of the laser sensor 4, using the corner relationship of the triangle. . In step S105, the control module 101 sends an instruction to the analog/digital conversion device 3, instructing the analog/digital conversion device 3 to measure the current value of the current that drives the motor 5 and the corresponding voltage value. In step S106, the analog/digital converting means 3 converts the analog voltage across the stator coil 51 through which the current passes, into a digital signal, and measures the voltage value of the voltage. Further, in order to find the current value passing through the stator coil 51, a resistor 6 having a small resistance value may be connected in series between the analog/digital conversion device 3 and the motor 5, because the resistance value of the stator coil 51 is large, so one series is connected. The resistor 6 having a small resistance does not affect the motor 5. The analog/digital conversion device 3 calculates the current value through the resistor 6, that is, the current value through the stator coil .51, by measuring the voltage value across the resistor 6 and calculating the resistance value of the resistor 6 11 200907288. In step S107, the judging module 102 judges whether or not the measurement of the motor 5 is completed based on the number of times of the motor 5 movement set in the above step S100. If the number of times the motor 5 moves up and down does not reach the set value, the program returns to step S101, the control module 101 continues to send a command command, and the microprocessor 20 transmits a pulse again. The motor 5 starts to move up and down, and continues to measure the amount of motion displacement of the motor 5. And a current value of a current that drives the motor 5 to move and a corresponding voltage value. When the number of times the motor 5 has moved up and down has reached the set value, the display module 103 displays the measurement result of the motor 5 on the display screen of the computer 1 in step S108. The measurement results include the displacement amount of the motor 5 moving up and down each time, and the current value and voltage value of the motor 5 every time it moves up and down. The motor displacement obtained above can facilitate the verification engineer to determine whether the transmission formed by the motor can achieve accurate displacement. Further, the obtained motor displacement amount, motor current value and voltage value can also be digital camera and scan. The design engineer of the digital device such as the device provides a reference to design the power supply capacity for driving the motor in the digital device according to the motor voltage value and the current value, and to design a higher quality according to the displacement of the motor. A digital device with clear images. The motor displacement measuring system and method provided by the invention use a computer to issue a control command, use a microprocessor as a driving device to control the motion state of the motor, use a laser sensor to measure the motion displacement of the motor, and utilize an analog/digital conversion device. Measuring the voltage value and current value of the motor is simple and convenient. 12 200907288 / High measurement accuracy. The above is only the preferred embodiment of the present invention, and has been used in a wide range of applications. Any other equivalent changes or modifications which are not departing from the spirit of the present invention should be included in the following claims. Inside. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a view showing a hardware structure of a preferred embodiment of the motor displacement measuring system of the present invention. 2 is a schematic diagram of measuring a voltage value/current value using the analog/digital conversion device of FIG. 1. Fig. 3 is a schematic view showing the displacement measured by the triangular measurement method in the present invention. Figure 4 is a functional block diagram of a computer in a preferred embodiment of the motor displacement measuring system of the present invention. Fig. 5 is a flow chart showing the implementation of a preferred embodiment of the motor displacement measuring method of the present invention. [Main component symbol description] Computer 1 Motor driver board 2 Microprocessor 20 Drive circuit 21 Analog/digital converter 3 Laser sensor 4 Active balance laser control engine 40 Bidirectional optical system 41 13 200907288 Linear CCD 42 South precision objective mode Group 43 Motor 5 Rotor 50 Stator coil 51 Resistor 6 Target 7 Initialization module 100 Control module 101 Judgment module 102 Result display module 103 14

Claims (1)

200907288 十、申請專利範圍 1. 一種馬達位移量測系統,包括: 電腦,用於發送控制指令以對待測馬達進行測量; 微處理器,連接於所述電腦,料根據所述電里腦發 送的控制指令產生驅動馬達運動的控制信號; 驅動電路,連接於上述微處理器及待測馬達之間, 用於接收上述微處理H產生的控制信號,並根㈣ 控制信號輸出電流驅動所述待測馬達開始運動;X 鐳射感測器,連接於電腦及待測 據所述電腦發送的控制指令測量 移量。 馬達之間,用於根 待測馬達的運動位 2·如申請專利範圍第!項所述之馬達位移量測系統,該 糸統還包括: 類比/數位轉換裝置,連接於電腦及待測馬達之間, 用於根據所述電腦發送的控制指令測量驅動馬達運 動的電流的電流值及電屋值。 3·如申請專利第2項所述之馬達位移量測系統,直 中’所述電腦包括: 初始化模組,用於接㈣戶設置的初始化參數; 控,模組,用於發出控制指令給微處理器、録射感 測器及類比/數位轉換裝置; 判斷模組,用於根據上述初始倾組的初始化設置 判斷對待測馬達的測量是否完畢;及 結果顯示模組’用於當上述判斷測量完畢時顯示對 15 200907288200907288 X. Patent application scope 1. A motor displacement measuring system, comprising: a computer for transmitting a control command to measure a motor to be tested; a microprocessor connected to the computer, which is sent according to the electric brain The control command generates a control signal for driving the movement of the motor; a driving circuit is connected between the microprocessor and the motor to be tested, and is configured to receive the control signal generated by the microprocessor H, and the root (4) control signal output current drives the to-be-tested The motor starts to move; the X laser sensor is connected to the computer and the measurement is measured according to a control command sent by the computer. Between the motors, for the movement of the motor to be tested 2· As claimed in the patent scope! The motor displacement measuring system of the present invention, further comprising: an analog/digital conversion device connected between the computer and the motor to be tested, configured to measure a current of a current driving the motor according to a control command sent by the computer Value and electricity value. 3. The motor displacement measuring system according to claim 2, wherein the computer comprises: an initialization module for connecting (four) household setting initialization parameters; a control module for issuing a control command to a microprocessor, a recording sensor and an analog/digital conversion device; a determination module for determining whether the measurement of the motor to be tested is completed according to the initial setting of the initial tilting group; and the result display module 'for determining Displayed on the completion of the measurement 15 200907288 中’所述的初始化參數包括: 及馬達運動的頻率。 5‘種馬達位移量測方法,該方法包括步驟: 電腦接收用戶設置的初始化參數並發送控制指令給 微處理器; 7 ^ 微處理器根據所接收的控制指令控制驅動電路,使 驅動電路輸出電流驅動待測馬達開始運動; 電腦控制If射感測器測量待測馬達的運動位移量; 根據上述設置的初純參數判斷對待測馬達的測試 是否完畢;及 測試完畢後顯示測量結果。 >.如申請專鄉圍第5項所狀馬達位料測方法,其 中’在判斷對待測馬達的測試是否完畢之前,該方 法還包括: 電腦控制類比/數位轉換裝置測量驅動馬達運動的電 次的電流值及電壓值。 7·如申請專利範圍第中,所Μ.沾“ U ^,所述的初始化參數包括: 及馬達運動的頻率。 5項所述之馬達位移量測方法,其 參數包括:馬達上下移動的次數 16The initialization parameters described in the middle include: and the frequency of motor motion. 5' kind of motor displacement measuring method, the method comprises the steps of: the computer receives the initialization parameter set by the user and sends a control command to the microprocessor; 7 ^ the microprocessor controls the driving circuit according to the received control command, so that the driving circuit outputs the current Driving the motor to be tested to start moving; Computer-controlled If-sensor measures the amount of motion displacement of the motor to be tested; determines whether the test of the motor to be tested is completed according to the initial purity parameter set above; and displays the measurement result after the test is completed. >.If you apply for the motor position measurement method in the fifth item of the hometown, the method also includes: Before the judgment of the test of the motor to be tested is completed, the method further includes: a computer controlled analog/digital conversion device measures the movement of the motor Secondary current value and voltage value. 7. As in the scope of the patent application, the "U ^, the initialization parameters include: and the frequency of motor motion. The motor displacement measurement method described in 5 items, the parameters include: the number of times the motor moves up and down 16
TW96128576A 2007-08-03 2007-08-03 System and method for measuring displacement of a motor TW200907288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW96128576A TW200907288A (en) 2007-08-03 2007-08-03 System and method for measuring displacement of a motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW96128576A TW200907288A (en) 2007-08-03 2007-08-03 System and method for measuring displacement of a motor

Publications (1)

Publication Number Publication Date
TW200907288A true TW200907288A (en) 2009-02-16

Family

ID=44723367

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96128576A TW200907288A (en) 2007-08-03 2007-08-03 System and method for measuring displacement of a motor

Country Status (1)

Country Link
TW (1) TW200907288A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI451109B (en) * 2010-06-17 2014-09-01 Hon Hai Prec Ind Co Ltd Motor displacement measuring device, system and method for measuring displacements of motors

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI451109B (en) * 2010-06-17 2014-09-01 Hon Hai Prec Ind Co Ltd Motor displacement measuring device, system and method for measuring displacements of motors

Similar Documents

Publication Publication Date Title
CN102016680B (en) Interchangeable lens, camera body, and camera system
CN100592199C (en) Automatic focus projector and automatic focus method thereof
CN103900532A (en) Depth image capturing device, and calibration method and measurement method thereof
CN102648624B (en) For self-focusing equipment, method
JP5559242B2 (en) Interchangeable lens, camera and camera system
CN102262332A (en) Focus control device, focus control method, lens system and focus lens driving method
CN110726383B (en) High-precision integrated three-dimensional measurement system based on MEMS
TWI305602B (en)
JP5572024B2 (en) Lens device
CN105635571B (en) Camera control method, photographing control device and camera system
JP2006350061A (en) Movement control unit, camera device, movement control method and movement control program
JP2006293035A (en) Imaging apparatus, focusing device and its control method
WO2014048166A1 (en) Automatic debugging method and system for optical shockproof camera module
CN1790095A (en) Automatic image focusing system and method
CN110441984A (en) A kind of test macro and test method of camera shutter response time lag
TW200907288A (en) System and method for measuring displacement of a motor
JP6534455B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM
CN115576075B (en) Automatic focusing system and method
CN108458660B (en) Optical displacement sensor and system provided with same
CN112764305A (en) Automatic focusing assembly, automatic focusing method and projector
CN101957538B (en) Focus control circuit
CN101349571A (en) System and method for measuring motor displacement
CN113670201A (en) Calibration data generation method and device and calibration data generation system
JP2013238746A (en) Camera body and camera system
CN108873238B (en) Automatic calibrating device and method for electrified motor