TW202209803A - Motor calibration system - Google Patents

Motor calibration system Download PDF

Info

Publication number
TW202209803A
TW202209803A TW109129438A TW109129438A TW202209803A TW 202209803 A TW202209803 A TW 202209803A TW 109129438 A TW109129438 A TW 109129438A TW 109129438 A TW109129438 A TW 109129438A TW 202209803 A TW202209803 A TW 202209803A
Authority
TW
Taiwan
Prior art keywords
control module
motor
angle
module
phase sequence
Prior art date
Application number
TW109129438A
Other languages
Chinese (zh)
Other versions
TWI748618B (en
Inventor
林繼謙
陳育良
Original Assignee
威剛科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 威剛科技股份有限公司 filed Critical 威剛科技股份有限公司
Priority to TW109129438A priority Critical patent/TWI748618B/en
Application granted granted Critical
Publication of TWI748618B publication Critical patent/TWI748618B/en
Publication of TW202209803A publication Critical patent/TW202209803A/en

Links

Images

Abstract

The invention discloses a motor calibration system. The motor correction system is used to correct the zero position of the motor and the phase sequence of the motor. The motor calibration system includes a control module, a drive module, an angle reader, a data writer, and a steering sensor. The control module includes a memory and a processor, and the processor can control the rotation of the motor according to predetermined steering information stored in the memory. The control module can change the forward and reverse commands of the motor control module of the motor according to the direction of the motor rotation detected by the steering sensor. The control module can control the motor control module to rotate a predetermined angle, and write the current angle read by the angle reader into the motor control module as the zero offset value of the motor control module.

Description

馬達的校正系統Correction system for motors

本發明涉及一種校正系統,特別是一種用以校正的零點位置及相序的馬達的校正系統。The present invention relates to a calibration system, in particular to a calibration system for a motor used for calibrating zero point position and phase sequence.

現有常見的馬達的校正方法是:先將馬達的編碼器(Encoder)固定與馬達的轉軸相互固定,而後,利用一驅動器帶動馬達轉動,並通過示波器取得編碼器所輸出的波形,最後,相關人員可以通過觀看示波器上的波形來判斷馬達轉子與編碼器的轉盤兩者的相對位置是否正確,若是相關人員判斷編碼器的轉盤與馬達轉子的相對位置不正確,則相關人員將手動調整馬達轉子,直到兩者的相對位置正確為止。上述現有常見的馬達與編碼器的零點位置的校正方法,不但費時、費工,且利用人工手動的方式也無法精確地調整編碼器的轉盤及馬達轉子彼此相對位置。The existing common motor calibration method is: first fix the motor encoder (Encoder) and the motor shaft to fix each other, then use a driver to drive the motor to rotate, and obtain the waveform output by the encoder through an oscilloscope. Finally, the relevant personnel You can judge whether the relative position of the rotor of the motor and the turntable of the encoder is correct by watching the waveform on the oscilloscope. until the relative positions of the two are correct. The above-mentioned conventional methods for calibrating the zero position of the motor and the encoder are not only time-consuming and labor-intensive, but also cannot precisely adjust the relative positions of the encoder's turntable and the motor rotor relative to each other by manual methods.

本發明公開一種馬達的校正系統,主要用以改善現有以人工方式對馬達轉子及編碼器進行零點位置校正所帶來的諸多不便。The invention discloses a correction system for a motor, which is mainly used to improve the inconvenience caused by the manual way of performing zero-point position correction on a motor rotor and an encoder.

本發明的其中一實施例公開一種馬達的校正系統,其用以校正一馬達的一零點位置及馬達的一相序,馬達包含一馬達控制模組,馬達的校正系統包含:一控制模組、一驅動模組、一角度讀取器、一資料寫入器及一轉向感測器。控制模組用以電性連接一電源,控制模組包含一儲存器,儲存器內儲存有一預定轉向資訊。驅動模組電性連接控制模組,驅動模組用以連接馬達的三相線。角度讀取器用以連接馬達控制模組,角度讀取器用以讀取馬達控制模組輸出的一角度資訊。資料寫入器用以將至少一修正角度資料寫入馬達控制模組。轉向感測器用以設置於馬達,轉向感測器用以感測馬達的旋轉方向,以對應產生一轉向資訊;其中,控制模組能執行一相序校正程序,控制模組執行相序校正程序時,控制模組將依據預定轉向資訊,通過驅動模組控制馬達旋轉,且控制模組將依據轉向感測器所回傳的轉向資訊,判斷馬達的旋轉方向是否與預定轉向資訊相符合;若控制模組判斷馬達的旋轉方向與預定轉向資訊不相符,則控制模組將控制資料寫入器,更改控制晶片中的一正轉指令及一反轉指令;其中,當控制模組執行完相序校正程序後,控制模組將執行一角度校正程序,控制模組執行角度校正程序時,控制模組將通過驅動模組,以使馬達旋轉一預定角度,且控制模組將通過角度讀取器讀取角度資訊,並通過資料寫入器將角度資訊中所包含的一當前角度,寫入馬達控制模組,以作為馬達控制模組的一零點偏移值。One embodiment of the present invention discloses a motor calibration system, which is used to calibrate a zero position of a motor and a phase sequence of the motor, the motor includes a motor control module, and the motor calibration system includes: a control module , a drive module, an angle reader, a data writer and a steering sensor. The control module is used for electrically connecting to a power source, and the control module includes a storage, and the storage stores a predetermined steering information. The driving module is electrically connected to the control module, and the driving module is used for connecting the three-phase line of the motor. The angle reader is used for connecting the motor control module, and the angle reader is used for reading an angle information output by the motor control module. The data writer is used for writing at least one correction angle data into the motor control module. The steering sensor is used for setting the motor, and the steering sensor is used for sensing the rotation direction of the motor, so as to generate a steering information correspondingly; wherein, the control module can execute a phase sequence correction program, when the control module executes the phase sequence correction program , the control module will control the rotation of the motor through the drive module according to the predetermined steering information, and the control module will judge whether the rotation direction of the motor is consistent with the predetermined steering information according to the steering information returned by the steering sensor; When the module determines that the rotation direction of the motor does not match the predetermined steering information, the control module will control the data writer to change a forward rotation command and a reverse rotation command in the control chip; wherein, when the control module finishes executing the phase sequence After the calibration procedure, the control module will execute an angle calibration procedure. When the control module executes the angle calibration procedure, the control module will pass the driving module to rotate the motor to a predetermined angle, and the control module will pass through the angle reader. The angle information is read, and a current angle included in the angle information is written into the motor control module through the data writer to be used as a zero offset value of the motor control module.

本發明的其中一實施例公開一種馬達的校正系統,其用以校正一馬達的一零點位置及馬達的一相序,馬達包含一馬達控制模組,馬達的校正系統包含:一控制模組、一驅動模組、一角度讀取器及一資料寫入器。控制模組用以電性連接一電源,控制模組包含一儲存器及一處理器,儲存器內儲存有一預定轉向資訊,處理器電性連接儲存。驅動模組電性連接控制模組,驅動模組用以連接馬達的三相線。角度讀取器用以連接馬達控制模組,角度讀取器用以讀取馬達控制模組輸出的一角度資訊。資料寫入器用以將至少一修正角度資料寫入馬達控制模組。其中,控制模組能執行一相序校正程序,控制模組執行相序校正程序時,控制模組將依據預定轉向資訊,通過驅動模組控制馬達旋轉,且控制模組將依據馬達控制模組所回傳的一轉向資訊,判斷馬達的旋轉方向是否與預定轉向資訊相符合;若控制模組判斷馬達的旋轉方向與預定轉向資訊不相符,則控制模組將控制資料寫入器,更改馬達控制模組中的一正轉指令及一反轉指令;其中,當控制模組執行完相序校正程序後,控制模組將執行一角度校正程序,控制模組執行角度校正程序時,控制模組將通過驅動模組,以使馬達旋轉一預定角度,且控制模組將通過角度讀取器讀取角度資訊,並通過資料寫入器將角度資訊中所包含的一當前角度,寫入馬達控制模組,以作為馬達控制模組的一零點偏移值。One embodiment of the present invention discloses a motor calibration system, which is used to calibrate a zero position of a motor and a phase sequence of the motor, the motor includes a motor control module, and the motor calibration system includes: a control module , a drive module, an angle reader and a data writer. The control module is used for being electrically connected to a power source. The control module includes a storage and a processor. The storage stores a predetermined steering information, and the processor is electrically connected to the storage. The driving module is electrically connected to the control module, and the driving module is used for connecting the three-phase line of the motor. The angle reader is used for connecting the motor control module, and the angle reader is used for reading an angle information output by the motor control module. The data writer is used for writing at least one correction angle data into the motor control module. The control module can execute a phase sequence correction program. When the control module executes the phase sequence correction program, the control module will control the rotation of the motor through the driving module according to the predetermined steering information, and the control module will control the motor according to the motor control module. The returned steering information determines whether the rotation direction of the motor is consistent with the predetermined steering information; if the control module determines that the rotation direction of the motor does not match the predetermined steering information, the control module will control the data writer to change the motor A forward rotation command and a reverse rotation command in the control module; wherein, after the control module executes the phase sequence correction procedure, the control module will execute an angle correction procedure, and when the control module executes the angle correction procedure, the control module The group will pass the driving module to rotate the motor at a predetermined angle, and the control module will read the angle information through the angle reader, and write a current angle included in the angle information into the motor through the data writer The control module is used as a zero offset value of the motor control module.

綜上所述,本發明的馬達的校正系統,通過控制模組與資料寫入器等構件的相互配合,可以直接更改馬達控制模組(所述馬達控制模組包含了編碼器)內預先儲存的正轉指令、反轉指令及零點偏移值,從而直接完成對馬達的相序校正作業及對馬達的角度校正作業,而本發明的馬達的校正系統,在對馬達進行相序校正作業及角度校正作業的過程中,無需使用者手動調整編碼器的轉盤或是手動調整馬達的轉子。To sum up, the motor calibration system of the present invention can directly change the pre-stored in the motor control module (the motor control module includes the encoder) through the cooperation of the control module and the data writer and other components. The forward rotation command, reverse rotation command and zero offset value can directly complete the phase sequence correction operation of the motor and the angle correction operation of the motor. The motor correction system of the present invention performs phase sequence correction operation on the motor and During the angle correction operation, there is no need for the user to manually adjust the turntable of the encoder or manually adjust the rotor of the motor.

為能更進一步瞭解本發明的特徵及技術內容,請參閱以下有關本發明的詳細說明與附圖,但是此等說明與附圖僅用來說明本發明,而非對本發明的保護範圍作任何的限制。In order to further understand the features and technical content of the present invention, please refer to the following detailed description and accompanying drawings of the present invention, but these descriptions and drawings are only used to illustrate the present invention, rather than make any claims to the protection scope of the present invention. limit.

於以下說明中,如有指出請參閱特定圖式或是如特定圖式所示,其僅是用以強調於後續說明中,所述及的相關內容大部份出現於該特定圖式中,但不限制該後續說明中僅可參考所述特定圖式。In the following description, if it is indicated to refer to a specific figure or as shown in a specific figure, it is only used for emphasis in the subsequent description, and most of the related content mentioned appears in the specific figure, However, it is not limited that only the specific drawings may be referred to in this subsequent description.

請參閱圖1,其顯示為本發明的馬達的校正系統100的方塊示意圖。本發明的馬達的校正系統100用以校正一馬達M的一零點位置及所述馬達M的一相序(即正轉的方向與反轉的方向)。馬達的校正系統100包含:一控制模組1、一驅動模組2、一角度讀取器3、一資料寫入器4及一轉向感測器5。Please refer to FIG. 1 , which is a schematic block diagram of a motor calibration system 100 of the present invention. The motor calibration system 100 of the present invention is used for calibrating a zero point position of a motor M and a phase sequence of the motor M (ie, the forward rotation direction and the reverse rotation direction). The motor calibration system 100 includes: a control module 1 , a driving module 2 , an angle reader 3 , a data writer 4 and a steering sensor 5 .

控制模組1用以電性連接一電源P。所述電源例如是交流是電、直流電源供應器、直流電池等,於此不加以限制。控制模組1包含一儲存器11及一處理器12,儲存器11內儲存有一預定轉向資訊111,處理器12電性連接儲存器11。所述儲存器11例如是各式記憶體、硬碟等,所述處理器12例如是各式微處理器、處理晶片等,於此不加以限制。預定轉向資訊111是指相關使用者通過相關輸入裝置(例如智慧型手機、鍵盤、滑鼠、觸控螢幕等)及相關使用者介面,所輸入的自定義的馬達的正轉方向(及反轉方向)的資訊。The control module 1 is used for electrically connecting a power source P. The power source is, for example, alternating current, direct current power supply, direct current battery, etc., which are not limited herein. The control module 1 includes a storage 11 and a processor 12 . The storage 11 stores a predetermined steering information 111 , and the processor 12 is electrically connected to the storage 11 . The storage 11 is, for example, various types of memory, hard disk, etc., and the processor 12 is, for example, various microprocessors, processing chips, etc., which are not limited herein. The predetermined steering information 111 refers to the user-defined forward rotation direction (and reverse rotation direction) of the motor input by the relevant user through the relevant input device (such as a smart phone, a keyboard, a mouse, a touch screen, etc.) and a relevant user interface. direction) information.

更具體來說,如圖2及圖3所示,圖2顯示為馬達固定於固定構件的示意圖,圖3為圖2的前視圖。在馬達M的一外殼M1固定設置於一固定構件M2的一側,而馬達M的一轉動軸M3外露於固定構件M2的另一側的情況下,使用者可以通過相關輸入裝置及相關使用者介面,來定義使用者面對露出有轉動軸M3的固定構件M2時(如圖3所示),轉動軸M3順時針旋轉為正轉方向,而轉動軸M3逆時針旋轉為反轉方向。More specifically, as shown in FIG. 2 and FIG. 3 , FIG. 2 shows a schematic view of the motor being fixed to the fixing member, and FIG. 3 is a front view of FIG. 2 . In the case where a housing M1 of the motor M is fixedly disposed on one side of a fixing member M2, and a rotating shaft M3 of the motor M is exposed on the other side of the fixing member M2, the user can use the relevant input device and relevant user The interface defines that when the user faces the fixed member M2 with the rotating shaft M3 exposed (as shown in FIG. 3 ), the rotating shaft M3 rotates clockwise as the forward rotation direction, and the rotating shaft M3 rotates counterclockwise as the reverse rotation direction.

如圖1製圖3所示,驅動模組2電性連接控制模組1,驅動模組2用以連接馬達M的三相線M4。在實際應用中,驅動模組2可以是包含有相關的保護機制,例如是驅動模組2內可以是包含有相電流偵測電路、過電流保護電路等,據以確保輸出至馬達M的電流、電壓的穩定性。As shown in FIG. 1 and FIG. 3 , the driving module 2 is electrically connected to the control module 1 , and the driving module 2 is used to connect the three-phase line M4 of the motor M. In practical applications, the drive module 2 may include related protection mechanisms, for example, the drive module 2 may include a phase current detection circuit, an overcurrent protection circuit, etc., so as to ensure the current output to the motor M , Voltage stability.

角度讀取器3用以連接馬達控制模組M5,角度讀取器3用以讀取馬達控制模組M5輸出的一角度資訊M51。在實際應用中,角度讀取器3可以是編解碼器(Decoder)、正交編碼器(QEI)模組或輸入捕捉(Input Capture)模組。於此所指的馬達控制模組M5是包含一旋轉編碼器(rotary encoder),所述旋轉編碼器例如可以是絕對型(absolute)編碼器及增量型(incremental)編碼器,於此不加以限制;所述編解碼器(角度讀取器3)是用來讀取旋轉編碼器(馬達控制模組M5)輸出的訊號,據以取得馬達控制模組M5控制轉動軸M3的旋轉角度。The angle reader 3 is used for connecting to the motor control module M5, and the angle reader 3 is used for reading an angle information M51 output by the motor control module M5. In practical applications, the angle reader 3 may be a codec (Decoder), a quadrature encoder (QEI) module or an input capture (Input Capture) module. The motor control module M5 referred to here includes a rotary encoder. The rotary encoder can be, for example, an absolute encoder or an incremental encoder, which is not added here. Restriction; the codec (angle reader 3 ) is used to read the signal output from the rotary encoder (motor control module M5 ) to obtain the rotation angle of the rotation shaft M3 controlled by the motor control module M5 .

資料寫入器4用以將至少一修正角度資料41寫入馬達控制模組M5。在實際應用中,資料寫入器4可以是類似於燒錄器的構件,而資料寫入器4能將資料寫入至馬達控制模組M5的相關控制晶片或記憶體中。其中,資料寫入器4可以是將修正角度資料41寫入記憶體的空白位址,或者,資料寫入器4可以是將修正角度資料41寫入記憶體中已經預先儲存有相對應資料的位址,已取代記憶體中原本儲存的資料。舉例來說,馬達控制模組M5中的控制晶片或是記憶體中可以是預設有一個位址用來存放修正角度資料41,而該位址預先儲存的資料可以是0,若是資料寫入器4將修正角度資料41寫入馬達控制模組M5時,則該位址預先儲存的資料0將被取代為修正角度資料41。The data writer 4 is used for writing at least one correction angle data 41 into the motor control module M5. In practical applications, the data writer 4 can be a component similar to a writer, and the data writer 4 can write data into the related control chip or memory of the motor control module M5. Wherein, the data writer 4 may write the correction angle data 41 into a blank address of the memory, or the data writer 4 may write the correction angle data 41 into the memory that has pre-stored corresponding data address, which has replaced the data originally stored in memory. For example, the control chip or the memory in the motor control module M5 may be preset with an address for storing the correction angle data 41, and the pre-stored data in this address may be 0, if the data is written When the controller 4 writes the correction angle data 41 into the motor control module M5 , the data 0 pre-stored at the address will be replaced with the correction angle data 41 .

轉向感測器5用以設置於馬達M,轉向感測器5用以感測馬達M的旋轉方向,以對應產生一轉向資訊51。在實際應用中,轉向感測器5可以是各式電機位置感測器,例如:霍爾感測器(Hall)、編碼器(Encoder)、解角器(Resolver)等,但不以此為限,任何可以用來偵測馬達M的轉動軸M3的旋轉方向的感測元件,皆屬於本實施例所指轉向感測器5可應用的範圍。需說明的是,在不同的實施例中,馬達的校正系統100也可以是不包含有轉向感測器5,而馬達的校正系統100的控制模組1則是直接通過馬達控制模組M5取得所述轉向資訊51,也就是說,馬達控制模組M5能輸出所述轉向資訊51至控制模組1。The steering sensor 5 is arranged on the motor M, and the steering sensor 5 is used for sensing the rotation direction of the motor M, so as to generate a steering information 51 correspondingly. In practical applications, the steering sensor 5 can be various motor position sensors, such as a Hall sensor (Hall), an encoder (Encoder), a resolver (Resolver), etc., but this is not the case However, any sensing element that can be used to detect the rotation direction of the rotating shaft M3 of the motor M belongs to the applicable scope of the steering sensor 5 in this embodiment. It should be noted that, in different embodiments, the motor calibration system 100 may not include the steering sensor 5 , and the control module 1 of the motor calibration system 100 is obtained directly through the motor control module M5 The steering information 51 , that is, the motor control module M5 can output the steering information 51 to the control module 1 .

如圖1及圖4所示,圖4顯示為本發明的馬達的校正系統的控制模組對馬達校正的第一實施例的流程示意圖。馬達的校正系統100的控制模組1對馬達M進行校正時,控制模組1可以是先執行一相序校正程序,再執行一角度校正程序。As shown in FIG. 1 and FIG. 4 , FIG. 4 is a schematic flowchart of a first embodiment of the motor calibration performed by the control module of the motor calibration system of the present invention. When the control module 1 of the motor calibration system 100 calibrates the motor M, the control module 1 may first execute a phase sequence calibration procedure, and then execute an angle calibration procedure.

控制模組1執行相序校正程序時,控制模組1可以是先後執行一驅動及判斷步驟S11:依據預定轉向資訊51,通過驅動模組2控制馬達M旋轉;控制模組1將依據轉向感測器5所回傳的轉向資訊51,判斷馬達M的旋轉方向是否與預定轉向資訊111相符合。若控制模組1判斷馬達M的旋轉方向與預定轉向資訊111不相符,則控制模組1將執行一更改步驟S12:控制資料寫入器4更改馬達控制模組M5中的一正轉指令M52及一反轉指令M53。When the control module 1 executes the phase sequence correction procedure, the control module 1 may successively execute a driving and judging step S11: according to the predetermined steering information 51, the motor M is controlled to rotate by the driving module 2; The steering information 51 returned by the detector 5 is used to determine whether the rotation direction of the motor M is consistent with the predetermined steering information 111 . If the control module 1 determines that the rotation direction of the motor M does not match the predetermined steering information 111, the control module 1 will execute a modification step S12: the control data writer 4 modifies a forward rotation command M52 in the motor control module M5 And a reverse command M53.

具體來說,在實務中,馬達M的轉子的線圈的纏繞方式、方向的不同,會導致轉子通電後的旋轉方向不同,因此,馬達M通電後,馬達控制模組M5通過內存的正轉指令M52及反轉指令M53,控制馬達M的轉子正轉或反轉時,馬達M的轉子的旋轉方向,可能會與使用者預期的旋轉方向不同。舉例來說,假設馬達控制模組M5依據正轉指令M52控制轉子旋轉時,使用者看到轉動軸M3是逆時針旋轉,但使用者預期馬達M的轉動軸M3正轉時,是順時針旋轉,此狀況即為上述控制模組1判斷馬達M的旋轉方向與預定轉向資訊111不相符的狀況;如上所述,本發明的馬達的校正系統100在此狀況發生時,控制模組1將會直接通過資料寫入器4,去更改馬達控制模組M5的正轉指令M52及反轉指令M53,以使馬達控制模組M5依據正轉指令M52或反轉指令M53控制馬達M的轉子旋轉時,轉子的旋轉方向是符合使用者的定義。Specifically, in practice, the different winding methods and directions of the coils of the rotor of the motor M will result in different rotation directions of the rotor after the rotor is energized. Therefore, after the motor M is energized, the motor control module M5 passes the forward rotation command from the memory. When M52 and the reverse command M53 control the rotor of the motor M to rotate forward or reverse, the rotation direction of the rotor of the motor M may be different from the rotation direction expected by the user. For example, suppose that when the motor control module M5 controls the rotor to rotate according to the forward rotation command M52, the user sees that the rotating shaft M3 rotates counterclockwise, but the user expects that the rotating shaft M3 of the motor M rotates clockwise when it rotates forwardly. , this situation is the situation in which the control module 1 determines that the rotation direction of the motor M does not match the predetermined steering information 111; as described above, when the motor calibration system 100 of the present invention occurs in this situation, the control module 1 will Change the forward rotation command M52 and the reverse rotation command M53 of the motor control module M5 directly through the data writer 4, so that the motor control module M5 controls the rotation of the rotor of the motor M according to the forward rotation command M52 or the reverse rotation command M53. , the direction of rotation of the rotor is defined by the user.

當控制模組1執行完相序校正程序後,控制模組1將執行一角度校正程序,控制模組1執行角度校正程序時,控制模組1將執行一角度讀取步驟S21:通過驅動模組2使馬達M旋轉一預定角度;接著,控制模組1將執行一寫入步驟S22:通過角度讀取器3讀取角度資訊M51,並通過資料寫入器4將角度資訊M51中所包含的一當前角度M511,寫入馬達控制模組M5,以作為馬達控制模組M5的一零點偏移值M54。After the control module 1 executes the phase sequence calibration procedure, the control module 1 will execute an angle calibration procedure. When the control module 1 executes the angle calibration procedure, the control module 1 will execute an angle reading step S21: through the drive module The group 2 rotates the motor M by a predetermined angle; then, the control module 1 will execute a writing step S22 : read the angle information M51 through the angle reader 3 , and use the data writer 4 to read the angle information M51 contained in the angle information M51 A current angle M511 of the motor control module M511 is written into the motor control module M5 as a zero offset value M54 of the motor control module M5.

舉例來說,當控制模組1執行角度校正程序時,控制模組1例如可以是通過驅動模組2,控制馬達M的轉子正轉30度(即所述預定角度),而後,控制模組1將會通過角度讀取器3讀取馬達控制模組M5所輸出的角度資訊M51,據以判斷馬達M是否正轉30度,假設控制模組1通過角度讀取器3,讀取到馬達M實際是正轉60度,則控制模組1將據以得知馬達M的轉子多轉了30度,而控制模組1則會將多轉的30度作為當前角度M511,寫入為馬達控制模組M5的零點偏移值M54,如此,馬達控制模組M5後續通電並執行正轉30度的指令時,馬達控制模組M5將會依據零點偏移值M54進行旋轉角度的修正,而馬達控制模組M5將會正確地控制轉子正轉30度。For example, when the control module 1 executes the angle correction procedure, the control module 1 may, for example, control the rotor of the motor M to rotate forward 30 degrees (ie, the predetermined angle) through the drive module 2, and then, the control module 1 will read the angle information M51 output by the motor control module M5 through the angle reader 3 to determine whether the motor M rotates 30 degrees forward, assuming that the control module 1 reads the motor through the angle reader 3 M actually rotates 60 degrees in the forward direction, then the control module 1 will know that the rotor of the motor M has rotated 30 degrees more, and the control module 1 will take the multi-rotation 30 degrees as the current angle M511, and write it as the motor control The zero offset value of the module M5 is M54. In this way, when the motor control module M5 is subsequently powered on and executes the command of forward rotation of 30 degrees, the motor control module M5 will correct the rotation angle according to the zero offset value M54, and the motor The control module M5 will correctly control the rotor to rotate forward 30 degrees.

在本發明的其中一個實施例中,假設當前角度定義為θ,控制模組1執行相序校正程序時,若控制模組1更改馬達控制模組M5中的正轉指令M52及反轉指令M53,則控制模組1執行角度校正程序時,零點偏移值M54則為(360-θ)*(4096/360);相反地,控制模組1執行相序校正程序時,若控制模組1沒有更改馬達控制模組M5中的正轉指令M52及反轉指令M53,則控制模組1執行角度校正程序時,則零點偏移值M54則為θ*(4096/360)。In one embodiment of the present invention, assuming that the current angle is defined as θ, when the control module 1 executes the phase sequence correction program, if the control module 1 changes the forward rotation command M52 and the reverse rotation command M53 in the motor control module M5 , then when the control module 1 executes the angle correction procedure, the zero offset value M54 is (360-θ)*(4096/360); on the contrary, when the control module 1 executes the phase sequence correction procedure, if the control module 1 If the forward rotation command M52 and the reverse rotation command M53 in the motor control module M5 are not changed, when the control module 1 executes the angle correction procedure, the zero offset value M54 is θ*(4096/360).

關於控制模組1執行相序校正程序及角度校正程序的順序,可以是依據需求變化,於此不加以限制;在較佳實施例中,控制模組1可以是先執行相序校正程序,再執行角度校正程序,如此,控制模組1執行角度校正程序時,控制模組1可以是直接通過資料寫入器4,將角度讀取器3所取得的當前角度M511寫入馬達控制模組M5中。The order in which the control module 1 executes the phase sequence correction procedure and the angle correction procedure can be changed according to requirements, which is not limited here; Execute the angle correction program. In this way, when the control module 1 executes the angle correction program, the control module 1 can directly write the current angle M511 obtained by the angle reader 3 into the motor control module M5 through the data writer 4. middle.

請一併參閱圖5及圖6,圖5顯示為本發明的馬達校正系統的控制模組對馬達進行校正的流程示意圖,圖6顯示為本發明的馬達校正系統的第二實施例的方塊示意圖。本實施例與前述實施例的其中一個不同之處在於:控制模組1執行完相序校正程序後,控制模組1還能執行一相序驗證程序。控制模組1執行相序驗證程序時,控制模組1將執行一相序驗證步驟S13:依據預定轉向資訊111控制馬達M旋轉,且依據轉向感測器5所回傳的轉向資訊51,判斷馬達M的旋轉方向是否正確。若控制模組1判斷馬達M的旋轉方向不正確則控制模組1重新執行相序校正程序,或者,控制模組1發出一相序校正失敗訊號13。在實際應用中,控制模組1第一次執行相序驗證程序時,控制模組1可以是先重新執行一次相序校正程序,或者,可以是重複執行預定次數(例如3次)的相序校正程序。Please refer to FIG. 5 and FIG. 6 together. FIG. 5 is a schematic flowchart of a control module of the motor calibration system of the present invention calibrating a motor, and FIG. 6 is a block diagram of a second embodiment of the motor calibration system of the present invention. . One of the differences between this embodiment and the foregoing embodiments is that after the control module 1 completes the phase sequence correction procedure, the control module 1 can also execute a phase sequence verification procedure. When the control module 1 executes the phase sequence verification procedure, the control module 1 will execute a phase sequence verification step S13 : control the rotation of the motor M according to the predetermined steering information 111 , and determine according to the steering information 51 returned by the steering sensor 5 Is the rotation direction of the motor M correct? If the control module 1 determines that the rotation direction of the motor M is incorrect, the control module 1 executes the phase sequence correction procedure again, or the control module 1 sends a phase sequence correction failure signal 13 . In practical applications, when the control module 1 executes the phase sequence verification procedure for the first time, the control module 1 may re-execute the phase sequence correction procedure once, or may execute the phase sequence repeatedly for a predetermined number of times (for example, 3 times). Correction procedure.

本實施例的馬達的校正系統100與前述實施例的其中一個不同之處在於:馬達的校正系統100還包含一警示模組6,警示模組6電性連接控制模組1,警示模組6接收相序校正失敗訊號13時,警示模組6將警示使用者馬達的校正系統100對馬達M的相序校正失敗,舉例來說,警示模組6可以是包含燈、喇叭等構件,而警示模組6收到相序校正失敗訊號13時,則可以是控制燈及喇叭分別發出相對應的顏色的光及聲音。One of the differences between the motor calibration system 100 of this embodiment and the previous embodiments is that the motor calibration system 100 further includes a warning module 6 , the warning module 6 is electrically connected to the control module 1 , and the warning module 6 is electrically connected to the control module 1 . When receiving the phase sequence calibration failure signal 13, the warning module 6 will warn the user that the calibration system 100 of the motor fails to correct the phase sequence of the motor M. When the module 6 receives the phase sequence correction failure signal 13, it can control the lamp and the speaker to emit light and sound of corresponding colors respectively.

本實施例與前述實施例的其中一個不同之處在於:控制模組1執行完角度校正程序後,控制模組1還能執行一角度驗證程序,控制模組1執行角度驗證程序時,控制模組1將執行一角度驗證步驟S23:通過驅動模組2使馬達M旋轉一驗證角度,且控制模組1將通過角度讀取器3讀取角度資訊M51,以判斷馬達M的旋轉角度是否正確。若控制模組1判斷馬達M的旋轉角度不正確,則控制模組1重新執行角度校正程序或相序校正程序,或者,控制模組1發出一角度校正失敗訊號14。若控制模組1判斷馬達M的旋轉角度正確,則控制模組1將執行一校正結束步驟S24,於所述校正結束步驟S24中,控制模組1將結束對馬達M的校正作業,且控制模組1例如是可以將此馬達M的相關基本資料、校正結果資料、校正過程等相關資料儲存於特定的資料庫中。One of the differences between this embodiment and the previous embodiments is that after the control module 1 completes the angle correction procedure, the control module 1 can also execute an angle verification procedure. When the control module 1 executes the angle verification procedure, the control module The group 1 will execute an angle verification step S23: the motor M is rotated by a verification angle through the drive module 2, and the control module 1 will read the angle information M51 through the angle reader 3 to determine whether the rotation angle of the motor M is correct . If the control module 1 determines that the rotation angle of the motor M is incorrect, the control module 1 re-executes the angle correction procedure or the phase sequence correction procedure, or sends an angle correction failure signal 14 . If the control module 1 judges that the rotation angle of the motor M is correct, the control module 1 will execute a calibration end step S24. In the calibration end step S24, the control module 1 will end the calibration operation of the motor M, and control the For example, the module 1 can store the relevant basic data, calibration result data, calibration process and other relevant data of the motor M in a specific database.

在馬達的校正系統100包含有警示模組6的實施例中,警示模組6電性連接控制模組1,警示模組6接收角度校正失敗訊號14時,警示模組6將警示使用者馬達的校正系統100對馬達M的角度校正失敗,而控制模組1則可以控制相關的燈或喇叭發出相對的光及聲音。In the embodiment where the motor calibration system 100 includes the warning module 6 , the warning module 6 is electrically connected to the control module 1 , and when the warning module 6 receives the angle calibration failure signal 14 , the warning module 6 will warn the user of the motor The correction system 100 fails to correct the angle of the motor M, and the control module 1 can control the relevant lamps or horns to emit relative light and sound.

請參閱圖7,其顯示為本發明的馬達校正系統的第二實施例的方塊示意圖。本發明的馬達的校正系統100與前述實施例最大不同之處在於:馬達的校正系統100還包含一通訊模組7。通訊模組7電性連接控制模組1,通訊模組7能接收一生產系統A所傳遞的一預定轉向資訊A1,控制模組1能通過通訊模組7接收預定轉向資訊A1,並將預定轉向資訊A1儲存於儲存器11中。具體來說,通訊模組7可以是任何有線或是無線的通訊單元,而生產系統A則可以是與可以提供相關人員輸入所述預定轉向資訊A1的輸入裝置(例如電腦、智慧型手機、平板電腦等)連線,而相關人員則可以是依據其本身的需求,通過輸入裝置產生預定轉向資訊A1,生產系統A則用來將相關人員所輸入的預定轉向資訊A1,傳遞至馬達的校正系統100的通訊模組7。Please refer to FIG. 7 , which is a block diagram of a second embodiment of the motor calibration system of the present invention. The biggest difference between the motor calibration system 100 of the present invention and the foregoing embodiments is that the motor calibration system 100 further includes a communication module 7 . The communication module 7 is electrically connected to the control module 1, and the communication module 7 can receive a predetermined steering information A1 transmitted by a production system A, and the control module 1 can receive the predetermined steering information A1 through the communication module 7, and send the predetermined steering information A1 to the predetermined steering information A1. The steering information A1 is stored in the memory 11 . Specifically, the communication module 7 can be any wired or wireless communication unit, and the production system A can be an input device (such as a computer, smart phone, tablet, etc.) that can provide relevant personnel to input the predetermined steering information A1 computer, etc.) connection, and the relevant personnel can generate the predetermined steering information A1 through the input device according to their own needs, and the production system A is used to transmit the predetermined steering information A1 input by the relevant personnel to the motor calibration system. 100 communication module 7.

綜上所述,本發明的馬達的校正系統,在對馬達進行校正的過程中,可以完全不需要相關人員手動操作馬達的相關構件,因此,本發明的馬達的校正系統相較於傳統利用人工手動的方式,操作馬達的編碼器的轉盤並配合示波器觀看馬達所對應輸出的波形的方式,更有效率且亦有相對較佳的校正的精準度。To sum up, the calibration system of the motor of the present invention can completely eliminate the need for relevant personnel to manually operate the relevant components of the motor in the process of calibrating the motor. Therefore, the calibration system of the motor of the present invention The manual method, which is more efficient and has relatively better calibration accuracy, is to operate the turntable of the encoder of the motor and observe the waveform corresponding to the output of the motor with the oscilloscope.

以上所述僅為本發明的較佳可行實施例,非因此侷限本發明的專利範圍,故舉凡運用本發明說明書及圖式內容所做的等效技術變化,均包含於本發明的保護範圍內。The above descriptions are only preferred feasible embodiments of the present invention, which do not limit the scope of the present invention. Therefore, any equivalent technical changes made by using the contents of the description and drawings of the present invention are included in the protection scope of the present invention. .

100:馬達的校正系統 1:控制模組 11:儲存器 111:預定轉向資訊 12:處理器 13:相序校正失敗訊號 14:角度校正失敗訊號 2:驅動模組 3:角度讀取器 4:資料寫入器 41:修正角度資料 5:轉向感測器 51:轉向資訊 6:警示模組 7:通訊模組 M:馬達 M1:外殼 M2:固定構件 M3:轉動軸 M4:三相線 M5:馬達控制模組 M51:角度資訊 M511:當前角度 M52:正轉指令 M53:反轉指令 M54:零點偏移值 P:電源 A:生產系統 A1:預定轉向資訊100: Correction system of the motor 1: Control module 11: Storage 111: Scheduled steering information 12: Processor 13: Phase sequence correction failure signal 14: Angle correction failure signal 2: drive module 3: Angle Reader 4: Data writer 41: Correct angle data 5: Steering sensor 51: Steering Information 6: Warning module 7: Communication module M: motor M1: Shell M2: Fixed member M3: Rotary axis M4: Three-phase line M5: Motor Control Module M51: Angle Information M511: Current angle M52: Forward rotation command M53: Reverse command M54: Zero offset value P: Power A: Production system A1: Scheduled turn information

圖1為本發明的馬達的校正系統的方塊示意圖。FIG. 1 is a schematic block diagram of a calibration system for a motor of the present invention.

圖2為馬達的立體示意圖。FIG. 2 is a schematic perspective view of the motor.

圖3為圖2的馬達的前視圖。FIG. 3 is a front view of the motor of FIG. 2 .

圖4為本發明的馬達的校正系統的控制模組對馬達校正的第一實施例的流程示意圖。FIG. 4 is a schematic flowchart of the first embodiment of the motor calibration performed by the control module of the motor calibration system of the present invention.

圖5為本發明的馬達的校正系統的控制模組對馬達校正的第二實施例的流程示意圖。FIG. 5 is a schematic flowchart of a second embodiment of the motor calibration performed by the control module of the motor calibration system of the present invention.

圖6為本發明的馬達的校正系統的第二實施例的方塊示意圖。FIG. 6 is a schematic block diagram of a second embodiment of the motor calibration system of the present invention.

圖7為本發明的馬達的校正系統的第三實施例的方塊示意圖。FIG. 7 is a schematic block diagram of a third embodiment of the motor calibration system of the present invention.

100:馬達的校正系統100: Correction system of the motor

1:控制模組1: Control module

11:儲存器11: Storage

111:預定轉向資訊111: Scheduled steering information

12:相序校正失敗訊號12: Phase sequence correction failure signal

2:驅動模組2: drive module

3:角度讀取器3: Angle Reader

4:資料寫入器4: Data writer

41:修正角度資料41: Correct angle data

5:轉向感測器5: Steering sensor

51:轉向資訊51: Steering Information

M:馬達M: motor

M5:馬達控制模組M5: Motor Control Module

M51:角度資訊M51: Angle Information

M511:當前角度M511: Current angle

M52:正轉指令M52: Forward rotation command

M53:反轉指令M53: Reverse command

M54:零點偏移值M54: Zero offset value

P:電源P: Power

Claims (9)

一種馬達的校正系統,其用以校正一馬達的一零點位置及所述馬達的一相序,所述馬達包含一馬達控制模組,所述馬達的校正系統包含: 一控制模組,其用以電性連接一電源,所述控制模組包含一儲存器及一處理器,所述儲存器內儲存有一預定轉向資訊,所述處理器電性連接所述儲存器; 一驅動模組,其電性連接所述控制模組,所述驅動模組用以連接所述馬達的三相線; 一角度讀取器,其用以連接所述馬達控制模組,所述角度讀取器用以讀取所述馬達控制模組輸出的一角度資訊; 一資料寫入器,其用以將至少一修正角度資料寫入所述馬達控制模組; 一轉向感測器,其用以設置於所述馬達,所述轉向感測器用以感測所述馬達的旋轉方向,以對應產生一轉向資訊; 其中,所述控制模組能執行一相序校正程序,所述控制模組執行所述相序校正程序時,所述控制模組將依據所述預定轉向資訊,通過所述驅動模組控制所述馬達旋轉,且所述控制模組將依據所述轉向感測器所回傳的所述轉向資訊,判斷所述馬達的旋轉方向是否與所述預定轉向資訊相符合;若所述控制模組判斷所述馬達的旋轉方向與所述預定轉向資訊不相符,則所述控制模組將控制所述資料寫入器,更改所述馬達控制模組中的一正轉指令及一反轉指令; 其中,當所述控制模組執行完所述相序校正程序後,所述控制模組將執行一角度校正程序,所述控制模組執行所述角度校正程序時,所述控制模組將通過所述驅動模組,以使所述馬達旋轉一預定角度,且所述控制模組將通過所述角度讀取器讀取所述角度資訊,並通過所述資料寫入器將所述角度資訊中所包含的一當前角度,寫入所述馬達控制模組,以作為所述馬達控制模組的一零點偏移值。A calibration system for a motor is used to calibrate a zero position of a motor and a phase sequence of the motor, the motor includes a motor control module, and the calibration system for the motor includes: A control module is used for electrically connecting to a power source, the control module includes a storage and a processor, the storage stores a predetermined steering information, and the processor is electrically connected to the storage ; a drive module, which is electrically connected to the control module, and the drive module is used to connect the three-phase line of the motor; an angle reader, which is used for connecting the motor control module, and the angle reader is used for reading an angle information output by the motor control module; a data writer for writing at least one correction angle data into the motor control module; a steering sensor, which is arranged on the motor, and the steering sensor is used for sensing the rotation direction of the motor, so as to generate a steering information correspondingly; Wherein, the control module can execute a phase sequence correction program, and when the control module executes the phase sequence correction program, the control module will control the driving module according to the predetermined steering information. The motor rotates, and the control module will determine whether the rotation direction of the motor is consistent with the predetermined steering information according to the steering information returned by the steering sensor; if the control module If it is judged that the rotation direction of the motor does not match the predetermined steering information, the control module will control the data writer to change a forward rotation command and a reverse rotation command in the motor control module; Wherein, after the control module executes the phase sequence correction program, the control module will execute an angle correction program, and when the control module executes the angle correction program, the control module will pass the The drive module rotates the motor at a predetermined angle, and the control module reads the angle information through the angle reader, and writes the angle information through the data writer A current angle contained in is written into the motor control module as a zero offset value of the motor control module. 如請求項1所述的馬達的校正系統,其中,所述控制模組執行完所述相序校正程序後,所述控制模組還能執行一相序驗證程序,所述控制模組執行所述相序驗證程序時,所述控制模組將依據所述預定轉向資訊控制所述馬達旋轉,且所述控制模組將依據所述轉向感測器所回傳的所述轉向資訊,判斷所述馬達的旋轉方向是否正確;若所述控制模組判斷所述馬達的旋轉方向不正確則所述控制模組重新執行所述相序校正程序,或者,所述控制模組發出一相序校正失敗訊號。The motor calibration system according to claim 1, wherein after the control module executes the phase sequence calibration program, the control module can also execute a phase sequence verification program, and the control module executes the During the phase sequence verification procedure, the control module will control the rotation of the motor according to the predetermined steering information, and the control module will determine the rotation of the motor according to the steering information returned by the steering sensor. Whether the rotation direction of the motor is correct; if the control module determines that the rotation direction of the motor is incorrect, the control module re-executes the phase sequence correction procedure, or the control module issues a phase sequence correction procedure failure signal. 如請求項2所述的馬達的校正系統,其中,所述馬達的校正系統還包含一警示模組,所述警示模組電性連接所述控制模組,所述警示模組接收所述相序校正失敗訊號時,所述警示模組將警示使用者所述馬達校正系統對所述馬達的相序校正失敗。The motor calibration system according to claim 2, wherein the motor calibration system further comprises a warning module, the warning module is electrically connected to the control module, and the warning module receives the phase signal. When the sequence calibration failure signal is received, the warning module will alert the user that the motor calibration system fails to perform the phase sequence calibration of the motor. 如請求項1所述的馬達的校正系統,其中,所述控制模組執行完所述角度校正程序後,所述控制模組還能執行一角度驗證程序,所述控制模組執行所述角度驗證程序時,所述控制模組將通過所述驅動模組,使所述馬達旋轉一驗證角度,且所述控制模組將通過所述角度讀取器讀取所述角度資訊,以判斷所述馬達的旋轉角度是否正確;若所述控制模組判斷所述馬達的旋轉角度不正確,則所述控制模組重新執行所述角度校正程序或所述相序校正程序,或者,所述控制模組發出一角度校正失敗訊號。The motor calibration system according to claim 1, wherein after the control module executes the angle calibration program, the control module can further execute an angle verification program, and the control module executes the angle calibration program. During the verification process, the control module will rotate the motor by a verification angle through the drive module, and the control module will read the angle information through the angle reader to determine the Whether the rotation angle of the motor is correct; if the control module determines that the rotation angle of the motor is incorrect, the control module re-executes the angle correction program or the phase sequence correction program, or the control The module sends an angle correction failure signal. 如請求項4所述的馬達的校正系統,其中,所述馬達的校正系統還包含一警示模組,所述警示模組電性連接所述控制模組,所述警示模組接收所述角度校正失敗訊號時,所述警示模組將警示使用者所述馬達校正系統對所述馬達的角度校正失敗。The motor calibration system according to claim 4, wherein the motor calibration system further comprises a warning module, the warning module is electrically connected to the control module, and the warning module receives the angle When the calibration failure signal is detected, the warning module will warn the user that the motor calibration system fails to calibrate the angle of the motor. 如請求項1所述的馬達的校正系統,其中,所述當前角度定義為θ;所述控制模組執行所述相序校正程序時,若所述控制模組更改所述馬達控制模組中的所述正轉指令及所述反轉指令,則所述控制模組執行所述角度校正程序時,所述零點偏移值則為(360-θ)*(4096/360)。The motor calibration system according to claim 1, wherein the current angle is defined as θ; when the control module executes the phase sequence calibration program, if the control module changes the When the control module executes the angle correction program, the zero offset value is (360-θ)*(4096/360). 如請求項1所述的馬達的校正系統,其中,所述當前角度定義為θ;所述控制模組執行所述相序校正程序時,若所述控制模組沒有更改所述馬達控制模組中的所述正轉指令及所述反轉指令,則所述控制模組執行所述角度校正程序時,則所述零點偏移值則為θ*(4096/360)。The motor calibration system according to claim 1, wherein the current angle is defined as θ; when the control module executes the phase sequence calibration program, if the control module does not change the motor control module If the forward rotation command and the reverse rotation command are in the control module, when the control module executes the angle correction program, the zero offset value is θ*(4096/360). 如請求項1所述的馬達的校正系統,其中,所述馬達校正系統還包含一通訊模組,所述通訊模組電性連接所述控制模組,所述通訊模組能接收一生產系統所傳遞的所述預定轉向資訊,所述控制模組能通過所述通訊模組接收所述預定轉向資訊,並將所述預定轉向資訊儲存於所述儲存器中。The motor calibration system according to claim 1, wherein the motor calibration system further comprises a communication module, the communication module is electrically connected to the control module, and the communication module can receive a production system For the transmitted predetermined steering information, the control module can receive the predetermined steering information through the communication module, and store the predetermined steering information in the storage. 一種馬達的校正系統,其用以校正一馬達的一零點位置及所述馬達的一相序,所述馬達包含一馬達控制模組,所述馬達的校正系統包含: 一控制模組,其用以電性連接一電源,所述控制模組包含一儲存器及一處理器,所述儲存器內儲存有一預定轉向資訊,所述處理器電性連接所述儲存器; 一驅動模組,其電性連接所述控制模組,所述驅動模組用以連接所述馬達的三相線; 一角度讀取器,其用以連接所述馬達控制模組,所述角度讀取器用以讀取所述馬達控制模組輸出的一角度資訊; 一資料寫入器,其用以將至少一修正角度資料寫入所述馬達控制模組; 其中,所述控制模組能執行一相序校正程序,所述控制模組執行所述相序校正程序時,所述控制模組將依據所述預定轉向資訊,通過所述驅動模組控制所述馬達旋轉,且所述控制模組將依據所述馬達控制模組所回傳的一轉向資訊,判斷所述馬達的旋轉方向是否與所述預定轉向資訊相符合;若所述控制模組判斷所述馬達的旋轉方向與所述預定轉向資訊不相符,則所述控制模組將控制所述資料寫入器,更改所述馬達控制模組中的一正轉指令及一反轉指令; 其中,當所述控制模組執行完所述相序校正程序後,所述控制模組將執行一角度校正程序,所述控制模組執行所述角度校正程序時,所述控制模組將通過所述驅動模組,以使所述馬達旋轉一預定角度,且所述控制模組將通過所述角度讀取器讀取所述角度資訊,並通過所述資料寫入器將所述角度資訊中所包含的一當前角度,寫入所述馬達控制模組,以作為所述馬達控制模組的一零點偏移值。A calibration system for a motor is used to calibrate a zero position of a motor and a phase sequence of the motor, the motor includes a motor control module, and the calibration system for the motor includes: A control module is used for electrically connecting to a power source, the control module includes a storage and a processor, the storage stores a predetermined steering information, and the processor is electrically connected to the storage ; a driving module, which is electrically connected to the control module, and the driving module is used for connecting the three-phase line of the motor; an angle reader, which is used for connecting the motor control module, and the angle reader is used for reading an angle information output by the motor control module; a data writer for writing at least one correction angle data into the motor control module; Wherein, the control module can execute a phase sequence correction program, and when the control module executes the phase sequence correction program, the control module will control the driving module according to the predetermined steering information. The motor rotates, and the control module will determine whether the rotation direction of the motor is consistent with the predetermined steering information according to a steering information returned by the motor control module; if the control module determines If the rotation direction of the motor does not match the predetermined steering information, the control module will control the data writer to change a forward rotation command and a reverse rotation command in the motor control module; Wherein, after the control module executes the phase sequence correction program, the control module will execute an angle correction program, and when the control module executes the angle correction program, the control module will pass the The drive module rotates the motor at a predetermined angle, and the control module reads the angle information through the angle reader, and writes the angle information through the data writer A current angle contained in is written into the motor control module as a zero offset value of the motor control module.
TW109129438A 2020-08-28 2020-08-28 Motor calibration system TWI748618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109129438A TWI748618B (en) 2020-08-28 2020-08-28 Motor calibration system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109129438A TWI748618B (en) 2020-08-28 2020-08-28 Motor calibration system

Publications (2)

Publication Number Publication Date
TWI748618B TWI748618B (en) 2021-12-01
TW202209803A true TW202209803A (en) 2022-03-01

Family

ID=80680867

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109129438A TWI748618B (en) 2020-08-28 2020-08-28 Motor calibration system

Country Status (1)

Country Link
TW (1) TWI748618B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2654554C (en) * 2006-08-10 2012-10-30 Toyota Jidosha Kabushiki Kaisha Motor driving system and controlling method of the same
TW200934096A (en) * 2008-01-22 2009-08-01 United Microelectronics Corp System and method for monitoring step motor
CN101499764B (en) * 2008-01-31 2010-11-03 联华电子股份有限公司 Monitoring system and method for stepping motor
US7936144B2 (en) * 2008-03-06 2011-05-03 Allegro Microsystems, Inc. Self-calibration algorithms in a small motor driver IC with an integrated position sensor

Also Published As

Publication number Publication date
TWI748618B (en) 2021-12-01

Similar Documents

Publication Publication Date Title
US10578463B2 (en) Detection of defects in motor position decoder system
JP6274153B2 (en) Encoder, controller, motor control system, robot control system, robot, data transmission method, and information processing method
KR101558687B1 (en) Serial communication test device, system including the same and method thereof
JP6858682B2 (en) A data chip that transmits ECC information in DRAM through the DDR bus
JP6299671B2 (en) Encoder, controller, motor control system, robot control system, robot, data transmission method, and rotation speed comparison method
TWI748618B (en) Motor calibration system
JP2020510840A (en) Data transmission method, device and radar device
WO2022041100A1 (en) Motor correction system
JP4429331B2 (en) Mode setting method in hot plug of PCI device and system having PCI bus
JP2002222599A (en) Marking method for initial defective block, detecting method, and semiconductor memory
WO2015165202A1 (en) Hamming code-based data access method and integrated random access memory
JP6993487B1 (en) Motor calibration system
CN114123885A (en) Calibration system for motor
US10361610B2 (en) Encoder capable of erasing memory information and motor system including the same
JP2023084083A (en) Serial peripheral interface integrated circuit and operation method thereof
JP2001290710A (en) Device for detecting data error
US11169877B2 (en) Non-volatile memory data and address encoding for safety coverage
JP4572859B2 (en) Cache memory control device, method and program, and disk array device
JPS6288044A (en) Memory control system
TWI606228B (en) Apparatus and method of automatic angle measurement
JPH0652065A (en) Memory control circuit
JPH04162300A (en) Semiconductor memory
US11928057B2 (en) System and method for using virtual addressing to execute application images
JP2009063371A (en) Encoder device and its starting method
WO2012022024A1 (en) Method and apparatus for moving data in memory device and memory device