TWI674744B - Four-External-Wire Motor Control System and Data Setting Method and Wirings Therefor - Google Patents

Four-External-Wire Motor Control System and Data Setting Method and Wirings Therefor Download PDF

Info

Publication number
TWI674744B
TWI674744B TW107116902A TW107116902A TWI674744B TW I674744 B TWI674744 B TW I674744B TW 107116902 A TW107116902 A TW 107116902A TW 107116902 A TW107116902 A TW 107116902A TW I674744 B TWI674744 B TW I674744B
Authority
TW
Taiwan
Prior art keywords
motor
control system
line
motor control
circuit
Prior art date
Application number
TW107116902A
Other languages
Chinese (zh)
Other versions
TW202005257A (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 TW107116902A priority Critical patent/TWI674744B/en
Priority to CN201810618512.2A priority patent/CN110504799B/en
Application granted granted Critical
Publication of TWI674744B publication Critical patent/TWI674744B/en
Publication of TW202005257A publication Critical patent/TW202005257A/en

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02KDYNAMO-ELECTRIC MACHINES
    • H02K11/00Structural association of dynamo-electric machines with electric components or with devices for shielding, monitoring or protection
    • H02K11/20Structural association of dynamo-electric machines with electric components or with devices for shielding, monitoring or protection for measuring, monitoring, testing, protecting or switching
    • H02K11/21Devices for sensing speed or position, or actuated thereby
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02KDYNAMO-ELECTRIC MACHINES
    • H02K11/00Structural association of dynamo-electric machines with electric components or with devices for shielding, monitoring or protection
    • H02K11/30Structural association with control circuits or drive circuits
    • H02K11/35Devices for recording or transmitting machine parameters, e.g. memory chips or radio transmitters for diagnosis

Abstract

本發明提出一種馬達控制系統,其對外僅有且恰有四條線路:電源正極線路、電源負極線路、PWM轉速控制輸入線路、以及轉速偵測輸出線路,其中,電源正極線路與電源負極線路用以提供馬達控制系統正負電壓;PWM轉速控制輸入線路用以在一馬達控制階段,傳送PWM轉速控制訊號,以控制一馬達轉速;轉速偵測輸出線路用以在該馬達控制階段,對外傳送所偵測到的馬達轉速;其中,該PWM轉速控制輸入線路適於以單線訊號傳輸方式,自一資料設定來源傳輸資料給該馬達控制系統內部。The invention proposes a motor control system, which has only and exactly four lines to the outside: a power source positive line, a power source negative line, a PWM speed control input line, and a speed detection output line, wherein the power source positive line and the power source negative line are used for Provide motor control system positive and negative voltage; PWM speed control input circuit is used to transmit a PWM speed control signal to control a motor speed during a motor control phase; speed detection output circuit is used to transmit the detected externally during this motor control phase. To the motor speed; among which, the PWM speed control input line is suitable for transmitting data from a data setting source to the inside of the motor control system in a single-line signal transmission mode.

Description

對外四線馬達控制系統及其資料燒錄方法與線路External four-line motor control system and data recording method and circuit thereof

本發明係有關一種馬達控制系統之資料燒錄方法,且特別是有關於僅需要四線,即可在馬達控制器晶片已安裝到馬達控制系統上時,不需要拆卸,而得以直接設定參數資料的馬達控制系統之資料燒錄方法。The invention relates to a data burning method for a motor control system, and in particular, it only requires four wires, and when the motor controller chip is already installed on the motor control system, the parameter data can be directly set without disassembly. Data burning method of the motor control system.

馬達控制系統有多種用途,例如用以控制風扇的轉速等。在四線PWM (Pulse Width Modulation,脈寬調變) 馬達轉速控制系統中,只有四根對外腳位(對應於四條線路)可以使用,其中兩腳位分別是電源正負極,另外一腳位是PWM轉速控制輸入腳位(此為單向輸入腳位)、一腳位是轉速偵測輸出腳位(此為單向輸出腳位);在先前技術中,當馬達控制器晶片已安裝到馬達控制系統上之後,無法利用這四條線路/腳位來設定系統內部的參數資料。如果要從外部對系統內部設定參數資料,先前技術中只有幾種方法可採:一是在馬達控制器晶片尚未安裝到馬達控制系統之前,先行設定馬達控制器晶片的參數資料(此時馬達控制器晶片有其他外露腳位可用);二是在馬達控制器晶片已安裝到馬達控制系統上後,將馬達控制器晶片從馬達控制系統上拆卸,來設定參數資料(理由同上);三是在馬達控制器晶片已安裝到馬達控制系統上後,拆開系統,從馬達控制器晶片的其他腳位接線引到資料燒錄器,來設定參數資料(理由同上)。除此之外,就必須更動整體架構,使用五線或更多線的結構,才能在馬達控制器晶片已安裝到馬達控制系統上後,在線燒錄(ISP, In-System Programming) 系統內部的參數資料。舉例而言,目前習知的通訊界面協定有UART,I2C,JTAG等,其中,UART需要一條輸入與一條輸出線路;I2C需要兩條雙向輸入/輸出線路;JTAG需要四條線路。也就是說,如使用這些通訊界面協定,就必須增加對應的線路。原本四線中,用來進行PWM轉速控制輸入的線路,並不能配合上述各種通訊界面協定來使用,因為PWM轉速控制輸入線路所傳遞的是PWM訊號,其工作比是會調變的,而這些通訊界面協定需要訊號高低位準的長度大致相同。The motor control system has a variety of uses, such as to control the speed of the fan. In a four-wire PWM (Pulse Width Modulation) motor speed control system, only four external pins (corresponding to four lines) can be used, two of which are the positive and negative poles of the power supply, and the other is PWM speed control input pin (this is a unidirectional input pin), one pin is a speed detection output pin (this is a unidirectional output pin); in the prior art, when the motor controller chip has been installed in the motor After controlling the system, these four lines / pins cannot be used to set the internal parameter data of the system. If you want to set the parameter data of the system from the outside, there are only a few methods available in the prior art: one is to set the parameter data of the motor controller chip before the motor controller chip is installed in the motor control system Controller chip has other exposed feet available); Second, after the motor controller chip has been installed on the motor control system, remove the motor controller chip from the motor control system to set the parameter data (same reason as above); After the motor controller chip has been installed on the motor control system, the system is disassembled, and the other pins of the motor controller chip are connected to the data writer to set the parameter data (the reason is the same as above). In addition, the overall structure must be changed to use a five-wire or more structure. Only after the motor controller chip has been installed on the motor control system, the internal programming of the in-system programming (ISP) Parameter data. For example, currently known communication interface protocols include UART, I2C, JTAG, etc. Among them, UART requires one input and one output line; I2C requires two bidirectional input / output lines; JTAG requires four lines. In other words, if these communication interface protocols are used, corresponding lines must be added. In the original four wires, the line used for the PWM speed control input cannot be used in conjunction with the above-mentioned various communication interface protocols, because the PWM speed control input line transmits the PWM signal, and its working ratio is modulated, and these The communication interface protocol requires that the lengths of the signal levels are approximately the same.

顯然,以上方式或是十分麻煩、或是增加成本、或是造成架構不相容。本發明即是針對上述問題,提出解決方案。Obviously, the above methods are either very cumbersome, increase costs, or cause incompatible architectures. The present invention proposes a solution to the above problems.

就其中一觀點言,本發明提供了一種對外四線馬達控制系統,用以控制一馬達,此對外四線馬達控制系統包含:一馬達控制器晶片,其中包含一解碼器;以及自外部與該馬達控制器晶片耦接之電源正極線路、電源負極線路、PWM轉速控制輸入線路、以及轉速偵測輸出線路,其中,該電源正極線路與該電源負極線路用以提供馬達控制系統和馬達控制器晶片正負電壓;該PWM轉速控制輸入線路用以在一馬達控制階段,傳送PWM轉速控制訊號,以控制該馬達轉速;該轉速偵測輸出線路用以在該馬達控制階段,對外傳送所偵測到的馬達轉速;其中,該PWM轉速控制輸入線路與該解碼器耦接,且該PWM轉速控制輸入線路適於以單線訊號傳輸方式,自一資料設定來源傳輸資料給該解碼器;其中,該馬達控制系統對外僅有且恰有該四條線路,且在一參數資料設定階段,該資料設定來源與該馬達控制器晶片之間不以其他線路傳遞時脈訊號。According to one aspect, the present invention provides an external four-line motor control system for controlling a motor. The external four-line motor control system includes: a motor controller chip including a decoder; The power positive circuit, the power negative circuit, the PWM speed control input circuit, and the speed detection output circuit coupled to the motor controller chip, wherein the power positive circuit and the power negative circuit are used to provide the motor control system and the motor controller chip. Positive and negative voltage; the PWM speed control input line is used to transmit a PWM speed control signal to control the speed of the motor in a motor control phase; the speed detection output line is used to transmit the detected Motor speed; wherein the PWM speed control input line is coupled to the decoder, and the PWM speed control input line is suitable for transmitting data to the decoder from a data setting source in a single-line signal transmission mode; wherein the motor control The system only has these four lines to the outside, and in a parameter data setting stage, the data When the clock signal is not transmitted to the other line is set between the source and the motor controller wafer.

在其中一種較佳的實施型態中,該PWM轉速控制輸入線路為雙向傳輸線,且該馬達控制器晶片中又包含一編碼器,將所欲讀取的資料,透過該PWM轉速控制輸入線路對外傳送。In a preferred embodiment, the PWM speed control input line is a bi-directional transmission line, and the motor controller chip further includes an encoder, and the data to be read is externally transmitted through the PWM speed control input line. Send.

就另一觀點言,本發明提供了一種對外四線馬達控制系統之資料燒錄方法,其中該馬達控制系統僅有且恰有四條對外溝通線路,包括電源正極線路、電源負極線路、PWM轉速控制輸入線路、以及轉速偵測輸出線路,其中,該電源正極線路與該電源負極線路用以提供馬達控制系統正負電壓;該PWM轉速控制輸入線路用以在一馬達控制階段,傳送PWM轉速控制訊號,以控制一馬達轉速;該轉速偵測輸出線路用以在該馬達控制階段,對外傳送所偵測到的馬達轉速,方法包含:在一參數資料設定階段,以單線訊號傳輸方式,自一資料設定來源傳輸資料給該馬達控制系統內部,且於傳輸該資料時,該資料設定來源與該馬達控制系統之間不以其他線路傳遞時脈訊號。In another aspect, the present invention provides a data burning method for an external four-wire motor control system, wherein the motor control system has only and exactly four external communication lines, including a power positive line, a power negative line, and PWM speed control. An input line and a speed detection output line, wherein the power positive line and the power negative line are used to provide positive and negative voltages of the motor control system; the PWM speed control input line is used to transmit a PWM speed control signal during a motor control phase, To control the speed of a motor; the speed detection output circuit is used to transmit the detected motor speed to the outside during the motor control phase, the method includes: in a parameter data setting phase, using a single-line signal transmission mode, from a data setting The source transmits data to the inside of the motor control system, and when transmitting the data, the clock signal is not transmitted between the data setting source and the motor control system through other lines.

在其中一種較佳的實施型態中,該PWM轉速控制輸入線路為雙向傳輸線,且在該參數資料設定階段中,更透過該PWM轉速控制輸入線路自外部讀取該馬達控制系統內部的資料。In a preferred embodiment, the PWM speed control input line is a bi-directional transmission line, and in the parameter data setting stage, the internal data of the motor control system is read from the outside through the PWM speed control input line.

就另一觀點言,本發明提供了一種對外四線馬達控制系統之線路,其僅有且恰有四條對外溝通線路,包括:一電源正極線路與一電源負極線路,該電源正極線路與電源負極線路用以提供該馬達控制系統正負電壓;一PWM轉速控制輸入線路,該PWM轉速控制輸入線路用以在一馬達控制階段,傳送PWM轉速控制訊號,以控制一馬達轉速;一轉速偵測輸出線路用以在該馬達控制階段,對外傳送所偵測到的馬達轉速,其中,該PWM轉速控制輸入線路適於在一參數資料設定階段中,以單線訊號傳輸方式,自一資料設定來源傳輸資料給該馬達控制系統內部。In another aspect, the present invention provides a circuit for an external four-wire motor control system, which has only and exactly four external communication lines, including: a power positive line and a power negative line, the power positive line and the power negative The circuit is used to provide positive and negative voltages of the motor control system. A PWM speed control input circuit is used to transmit a PWM speed control signal in a motor control stage to control a motor speed. A speed detection output circuit It is used to transmit the detected motor speed to the outside during the motor control stage. The PWM speed control input line is suitable for transmitting data from a data setting source to a data setting source in a parameter data setting stage. The motor control system is internal.

在其中一種較佳的實施型態中,在該參數資料設定階段中,該資料設定來源與該馬達控制系統之間不以其他線路傳遞時脈訊號。In one of the preferred implementation types, in the parameter data setting stage, the clock signal is not transmitted through other lines between the data setting source and the motor control system.

在其中一種較佳的實施型態中,該PWM轉速控制輸入線路為雙向傳輸線。In one preferred embodiment, the PWM speed control input line is a bidirectional transmission line.

底下藉由具體實施例詳加說明,當更容易瞭解本發明之目的、技術內容、特點及其所達成之功效。Detailed descriptions will be provided below through specific embodiments to make it easier to understand the purpose, technical content, features and effects of the present invention.

本發明中的圖式均屬示意,主要意在表示各電路組成部分間之相互關係,至於形狀與尺寸則並未依照比例繪製。The drawings in the present invention are schematic, and are mainly intended to show the relationship between the components of each circuit. As for the shapes and dimensions, they are not drawn to scale.

第1圖顯示本發明的第一個實施例。參閱第1圖,本發明中,馬達控制系統10中包含馬達控制器晶片12;馬達控制系統10僅有四條對外線路,分別是電源正極VDD、電源負極GND、PWM轉速控制輸入線路PWML、以及轉速偵測輸出線路TACH(在有些產品中稱FG,本發明以TACH稱之)。馬達控制系統10用以控制馬達M。資料設定來源例如但不限於可為燒錄器。馬達控制系統10的其他部分與本發明無關,因此省略。Fig. 1 shows a first embodiment of the present invention. Referring to FIG. 1, in the present invention, the motor control system 10 includes a motor controller chip 12; the motor control system 10 has only four external lines, which are a power supply positive VDD, a power supply negative GND, a PWM speed control input line PWML, and a speed Detection output line TACH (referred to as FG in some products, TACH in the present invention). The motor control system 10 is used to control the motor M. The data setting source may be, but is not limited to, a writer. The other parts of the motor control system 10 are not relevant to the present invention, and are therefore omitted.

電源正極VDD與電源負極GND是用以提供馬達控制系統10和馬達控制器晶片12正負電壓;PWM轉速控制輸入線路PWML是用以在馬達控制階段,傳送PWM轉速控制訊號,以控制馬達轉速;轉速偵測輸出線路TACH是用以在馬達控制階段,對外傳送所偵測到的馬達轉速。The positive power supply VDD and the negative power supply GND are used to provide the positive and negative voltages of the motor control system 10 and the motor controller chip 12; The PWM speed control input line PWML is used to transmit a PWM speed control signal during the motor control phase to control the speed of the motor; The detection output line TACH is used to transmit the detected motor speed to the outside during the motor control phase.

本發明與先前技術的差異在於:本發明中,將PWM轉速控制輸入線路PWML安排為單線訊號傳輸線路,用以對系統內部設定參數資料。一般而言,傳輸資料需要有時脈,所以通常需要兩條線路來在傳送方與接收方之間進行溝通,一條傳遞資料、一條傳遞時脈。如果接收方不知道時脈,則,例如,一個長度為一微秒的高位準訊號,在時脈頻率為1MHz的情況下是一個位數的1,在時脈頻率為10MHz的情況下是十個位數的1111111111。然而,在本發明中,在參數資料設定階段,資料設定來源與馬達控制器晶片12之間僅透過PWM轉速控制輸入線路PWML以單線訊號傳輸方式溝通,不以其他線路傳遞時脈訊號。「參數資料設定階段」可以是馬達控制器晶片12已安裝至馬達控制系統10上之時,當然也可以是馬達控制器晶片12尚未安裝至馬達控制系統10上之時。The difference between the present invention and the prior art is that in the present invention, the PWM speed control input line PWML is arranged as a single-line signal transmission line for setting parameter data in the system. Generally speaking, the transmission of data requires a clock, so usually two lines are needed to communicate between the sender and the receiver, one to pass the data and one to the clock. If the receiver does not know the clock, for example, a high-level signal with a length of one microsecond is a single digit if the clock frequency is 1 MHz, and is ten if the clock frequency is 10 MHz. Single digit 1111111111. However, in the present invention, in the parameter data setting stage, the data setting source communicates with the motor controller chip 12 only through the PWM speed control input line PWML in a single-line signal transmission mode, and does not transmit the clock signal through other lines. The "parameter data setting stage" may be when the motor controller chip 12 has been mounted on the motor control system 10, and of course, it may also be when the motor controller chip 12 has not been mounted on the motor control system 10.

參閱第2圖,單線訊號傳輸有許多方式,都可以應用於本發明;本發明並不侷限於其中任何一種方式,本實施例僅是舉例。如第2圖所示,本實施例中,可以利用PWM訊號的工作比來定義1與0,舉例而言,可定義當高位準的時間長度大於低位準的時間長度(工作比>50%)時,表示二進位的1,而當高位準的時間長度小於低位準的時間長度(工作比<50%)時,表示二進位的0。當然,相反的定義方式亦可。Referring to FIG. 2, there are many ways of single-line signal transmission, which can be applied to the present invention; the present invention is not limited to any one of them, and this embodiment is merely an example. As shown in Figure 2, in this embodiment, the working ratio of the PWM signal can be used to define 1 and 0. For example, the time length of the high level is greater than the time length of the low level (working ratio> 50%) , It represents a binary 1 and when the length of the high level is less than the length of the low level (working ratio <50%), it represents a binary 0. Of course, the opposite definition is also possible.

又或者,請參閱第3圖,可定義當工作比>60%時,表示二進位的1,當工作比<40%時,表示二進位的0,而當工作比在40%和60%之間時,表示傳輸的起始碼和終結碼。Or, please refer to Fig. 3, it can be defined that when the working ratio is> 60%, it represents a binary 1; when the working ratio is <40%, it represents a binary 0; and when the working ratio is between 40% and 60% Time, indicating the start code and end code of the transmission.

第4圖舉例顯示:根據第3圖定義方式所傳遞的訊號,其意義為11010010,且前後包含起始碼和終結碼。Figure 4 shows an example: the signal transmitted according to the definition in Figure 3 has the meaning of 11010010, and includes the start code and the end code before and after.

需說明的是:在上述定義方式下,每一位數的週期長度不必須相同,僅需高低位準間的關係(或,高位準/週期的關係),符合定義即可。It should be noted that, in the above definition, the cycle length of each digit does not have to be the same, only the relationship between the high and low levels (or the relationship between the high level and the period) can be met.

除了以上定義方式外,還可以有其他多種定義方式,本發明並不侷限於其中任何一種。例如,可以定義:當高位準的時間長度大於超過臨界時間為1,小於臨界時間為0,而低位準的時間長度需大於另一臨界時間,反之亦可,等等。In addition to the above definitions, there can be many other definitions, and the present invention is not limited to any of them. For example, it can be defined that when the length of time of the high level is greater than the critical time is 1, and the time of less than the critical time is 0, the time of the low level needs to be longer than another critical time, and vice versa.

回到第1圖,馬達控制器晶片12中,包含一解碼器14,此解碼器可根據單線訊號傳輸的訊號定義,將接收的訊號解碼,用以設定系統內部的參數資料。Returning to FIG. 1, the motor controller chip 12 includes a decoder 14. This decoder can decode the received signal according to the signal definition of the single-line signal transmission to set the internal parameter data of the system.

在一較佳實施例中,PWM轉速控制輸入線路PWML可為雙向傳輸線,一方面可從外部將參數資料設定至內部,另方面可將內部參數資料讀取至外部。在此情況下,請參閱第5圖,馬達控制器晶片12中可包含一編碼器16,將所欲讀取的資料,根據傳輸定義來編碼,然後透過PWM轉速控制輸入線路PWML對外傳送。In a preferred embodiment, the PWM speed control input line PWML can be a bidirectional transmission line. On the one hand, parameter data can be set from the outside to the internal, and on the other hand, internal parameter data can be read to the outside. In this case, please refer to FIG. 5. The motor controller chip 12 may include an encoder 16, which encodes the data to be read according to the transmission definition, and then transmits it through the PWM speed control input line PWML.

以上已針對較佳實施例來說明本發明,唯以上所述者,僅係為使熟悉本技術者易於了解本發明的內容而已,並非用來限定本發明之權利範圍。在本發明之相同精神下,熟悉本技術者可以思及各種等效變化。例如,訊號高低位準的定義可以互換;又例如,實施例電路圖中所示直接連接的兩元件或兩電路,其間可以插置不影響整體電路主要作用的元件或電路,例如開關、緩衝器、電阻等。本發明的範圍應涵蓋上述及其他所有等效變化。The present invention has been described above with reference to the preferred embodiments, but the above is only for making those skilled in the art easily understand the content of the present invention, and is not intended to limit the scope of rights of the present invention. In the same spirit of the invention, those skilled in the art can think of various equivalent changes. For example, the definition of signal level can be interchanged; for example, two components or two circuits directly connected as shown in the circuit diagram of the embodiment can be interposed between components or circuits that do not affect the main function of the overall circuit, such as switches, buffers, Resistance, etc. The scope of the invention should cover the above and all other equivalent variations.

10‧‧‧馬達控制系統10‧‧‧Motor control system

12‧‧‧馬達控制器晶片12‧‧‧Motor controller chip

14‧‧‧解碼器14‧‧‧ decoder

16‧‧‧編碼器16‧‧‧ Encoder

M‧‧‧馬達M‧‧‧Motor

VDD‧‧‧電源正極VDD‧‧‧ power positive

GND‧‧‧電源負極GND‧‧‧ Negative power

PWML‧‧‧PWM轉速控制輸入線路PWML‧‧‧PWM speed control input circuit

TACH‧‧‧轉速偵測輸出線路TACH‧‧‧Speed detection output circuit

第1圖顯示本發明的第一個實施例。 第2-3圖舉例顯示單線訊號傳輸的定義方式。 第4圖舉例顯示根據第3圖定義方式所傳遞的訊號。 第5圖顯示本發明的第二個實施例。Fig. 1 shows a first embodiment of the present invention. Figure 2-3 shows an example of the definition of single-line signal transmission. Figure 4 shows an example of the signal transmitted according to the definition in Figure 3. Fig. 5 shows a second embodiment of the present invention.

Claims (7)

一種對外四線馬達控制系統,用以控制一馬達,此對外四線馬達控制系統包含:一馬達控制器晶片,其中包含一解碼器;以及自外部與該馬達控制器晶片耦接之電源正極線路、電源負極線路、PWM轉速控制輸入線路、以及轉速偵測輸出線路,其中,該電源正極線路與該電源負極線路用以提供馬達控制系統和馬達控制器晶片正負電壓;該PWM轉速控制輸入線路用以在一馬達控制階段,傳送PWM轉速控制訊號,以控制該馬達轉速;該轉速偵測輸出線路用以在該馬達控制階段,對外傳送所偵測到的馬達轉速;其中,該PWM轉速控制輸入線路與該解碼器耦接,且該PWM轉速控制輸入線路適於以單線訊號傳輸方式,自一資料設定來源傳輸二進位位元資料給該解碼器;其中,該馬達控制系統對外僅有且恰有該四條線路,且在一參數資料設定階段,該資料設定來源與該馬達控制器晶片之間不以其他線路傳遞時脈訊號。An external four-wire motor control system for controlling a motor. The external four-wire motor control system includes: a motor controller chip including a decoder; and a power supply positive line externally coupled to the motor controller chip Power negative circuit, PWM speed control input circuit, and speed detection output circuit, wherein the power positive circuit and the power negative circuit are used to provide positive and negative voltages for the motor control system and the motor controller chip; the PWM speed control input circuit is used In a motor control stage, a PWM speed control signal is transmitted to control the motor speed; the speed detection output circuit is used to transmit the detected motor speed to the motor control stage; wherein, the PWM speed control input The circuit is coupled with the decoder, and the PWM speed control input circuit is suitable for transmitting binary data from a data setting source to the decoder in a single-line signal transmission mode; wherein, the motor control system is only externally and precisely There are four lines, and in a parameter data setting stage, the clock signal is not transmitted between the data setting source and the motor controller chip through other lines. 如申請專利範圍第1項所述之對外四線馬達控制系統,其中,該PWM轉速控制輸入線路為雙向傳輸線,且該馬達控制器晶片中又包含一編碼器,將所欲讀取的資料,透過該PWM轉速控制輸入線路對外傳送。The external four-wire motor control system as described in item 1 of the patent scope, wherein the PWM speed control input line is a bidirectional transmission line, and the motor controller chip also includes an encoder to read the desired data, External transmission is carried out through the PWM speed control input line. 一種對外四線馬達控制系統之資料燒錄方法,其中該馬達控制系統僅有且恰有四條對外溝通線路,包括電源正極線路、電源負極線路、PWM轉速控制輸入線路、以及轉速偵測輸出線路,其中,該電源正極線路與該電源負極線路用以提供馬達控制系統正負電壓;該PWM轉速控制輸入線路用以在一馬達控制階段,傳送PWM轉速控制訊號,以控制一馬達轉速;該轉速偵測輸出線路用以在該馬達控制階段,對外傳送所偵測到的馬達轉速,方法包含:在一參數資料設定階段,以單線訊號傳輸方式,自一資料設定來源傳輸二進位位元資料給該馬達控制系統內部,且於傳輸該二進位位元資料時,該資料設定來源與該馬達控制系統之間不以其他線路傳遞時脈訊號。A data burning method for an external four-wire motor control system, wherein the motor control system has only and exactly four external communication lines, including a power supply positive line, a power supply negative line, a PWM speed control input line, and a speed detection output line, Wherein, the power supply positive line and the power supply negative line are used to provide positive and negative voltages of the motor control system; the PWM speed control input line is used to transmit a PWM speed control signal to control a motor speed during a motor control stage; the speed detection The output circuit is used to transmit the detected motor speed to the motor during the motor control phase. The method includes: transmitting the binary bit data from a data setting source to the motor in a parameter data setting phase using a single-line signal transmission method Inside the control system, and when transmitting the binary bit data, no clock signal is transmitted between the data setting source and the motor control system through other lines. 如申請專利範圍第3項所述之對外四線馬達控制系統之資料燒錄方法,其中,該PWM轉速控制輸入線路為雙向傳輸線,且在該參數資料設定階段中,更透過該PWM轉速控制輸入線路自外部讀取該馬達控制系統內部的資料。The data burning method of the external four-wire motor control system as described in item 3 of the patent scope, wherein the PWM speed control input line is a bidirectional transmission line, and in the parameter data setting stage, the PWM speed control input is further used The circuit reads the internal data of the motor control system from the outside. 一種對外四線馬達控制系統之線路,其僅有且恰有四條對外溝通線路,包括:一電源正極線路與一電源負極線路,該電源正極線路與電源負極線路用以提供該馬達控制系統正負電壓;一PWM轉速控制輸入線路,該PWM轉速控制輸入線路用以在一馬達控制階段,傳送PWM轉速控制訊號,以控制一馬達轉速;一轉速偵測輸出線路用以在該馬達控制階段,對外傳送所偵測到的馬達轉速,其中,該PWM轉速控制輸入線路適於在一參數資料設定階段中,以單線訊號傳輸方式,自一資料設定來源傳輸二進位位元資料給該馬達控制系統內部。A circuit for an external four-wire motor control system, which has only and exactly four external communication lines, including: a power supply positive circuit and a power supply negative circuit, the power supply positive circuit and the power supply negative circuit are used to provide positive and negative voltages of the motor control system A PWM speed control input circuit, the PWM speed control input circuit is used to transmit a PWM speed control signal to control a motor speed in a motor control stage; a speed detection output circuit is used to transmit externally in the motor control stage The detected motor speed, wherein the PWM speed control input circuit is suitable for transmitting binary data from a data setting source to the inside of the motor control system in a parameter data setting stage using a single-line signal transmission method. 如申請專利範圍第5項所述之對外四線馬達控制系統之線路,其中在該參數資料設定階段中,該資料設定來源與該馬達控制系統之間不以其他線路傳遞時脈訊號。The circuit of the external four-wire motor control system as described in item 5 of the patent scope, wherein in the parameter data setting stage, the clock signal is not transmitted between the source of the data setting and the motor control system through other lines. 如申請專利範圍第5項所述之對外四線馬達控制系統之線路,其中,該PWM轉速控制輸入線路為雙向傳輸線。The circuit of the external four-wire motor control system as described in item 5 of the patent application scope, wherein the PWM speed control input circuit is a bidirectional transmission line.
TW107116902A 2018-05-18 2018-05-18 Four-External-Wire Motor Control System and Data Setting Method and Wirings Therefor TWI674744B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW107116902A TWI674744B (en) 2018-05-18 2018-05-18 Four-External-Wire Motor Control System and Data Setting Method and Wirings Therefor
CN201810618512.2A CN110504799B (en) 2018-05-18 2018-06-15 External four-wire motor control system and data recording method and circuit thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107116902A TWI674744B (en) 2018-05-18 2018-05-18 Four-External-Wire Motor Control System and Data Setting Method and Wirings Therefor

Publications (2)

Publication Number Publication Date
TWI674744B true TWI674744B (en) 2019-10-11
TW202005257A TW202005257A (en) 2020-01-16

Family

ID=68584975

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107116902A TWI674744B (en) 2018-05-18 2018-05-18 Four-External-Wire Motor Control System and Data Setting Method and Wirings Therefor

Country Status (2)

Country Link
CN (1) CN110504799B (en)
TW (1) TWI674744B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI818822B (en) * 2022-12-06 2023-10-11 應廣科技股份有限公司 Data setting method of four-external-wire motor control system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5874818A (en) * 1997-06-11 1999-02-23 Agile Systems, Inc. Method and apparatus for sensing load current in a motor controller
US20050093730A1 (en) * 2003-10-31 2005-05-05 International Rectifier Corporation Method and apparatus for converting PWM signal to analog output voltage
TW201543822A (en) * 2014-04-09 2015-11-16 Linear Techn Inc Converting time-encoded signal into analog output
TWI623167B (en) * 2017-02-20 2018-05-01 茂達電子股份有限公司 Fan driving circuit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7791301B2 (en) * 2008-01-02 2010-09-07 Nuvoton Technology Corporation Apparatus and method for fan auto-detection
CN102509556A (en) * 2011-11-23 2012-06-20 常州金土木自动化研究所有限公司 Passive remote single-wire-transmission read/write memory and working method thereof
TWI473415B (en) * 2012-04-10 2015-02-11 Padauk Technology Co Ltd Controller and method for improving motor driving efficiency
TWI572153B (en) * 2014-04-29 2017-02-21 立錡科技股份有限公司 Single-wire transmission interface and single-wire transmission method and power supply system adopting single-wire transmission method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5874818A (en) * 1997-06-11 1999-02-23 Agile Systems, Inc. Method and apparatus for sensing load current in a motor controller
US20050093730A1 (en) * 2003-10-31 2005-05-05 International Rectifier Corporation Method and apparatus for converting PWM signal to analog output voltage
TW201543822A (en) * 2014-04-09 2015-11-16 Linear Techn Inc Converting time-encoded signal into analog output
TWI623167B (en) * 2017-02-20 2018-05-01 茂達電子股份有限公司 Fan driving circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI818822B (en) * 2022-12-06 2023-10-11 應廣科技股份有限公司 Data setting method of four-external-wire motor control system

Also Published As

Publication number Publication date
TW202005257A (en) 2020-01-16
CN110504799A (en) 2019-11-26
CN110504799B (en) 2022-03-01

Similar Documents

Publication Publication Date Title
US10153770B2 (en) Programmable input/output circuit
JP5891758B2 (en) Electronic equipment
TWI760359B (en) Impedance calibration circuit and semiconductor memory device including the same
JP2008545319A (en) Software layer for communication between RS-232 / I2C conversion IC and host
US7868660B2 (en) Serial communications bus with active pullup
CN114513411B (en) Unified peripheral interactive interface for internet of things terminal
JP4722907B2 (en) Universal serial bus transmitter
TWI674744B (en) Four-External-Wire Motor Control System and Data Setting Method and Wirings Therefor
TWI530765B (en) Programming control method for servo fan and programming control device thereof
CN113614705A (en) Data transmission via power line
CN104980145A (en) Signal transfer circuit and operating method thereof
Foster Xbee cookbook issue 1.4 for series 1 (freescale) with 802.15. 4 firmware
CN103873031A (en) Non-clock trigger register
US20060146970A1 (en) Start-stop synchronization serial communication circuit and semiconductor integrated circuit having start-stop synchronization serial communication circuit
JP2005218095A (en) Digital circuit
CN103294637B (en) Based on the Magnetic isolation data input/output module of ARM adaptive direction control
El Kouche et al. WSN platform Plug-and-Play (PnP) customization
US7622958B2 (en) Semiconductor device including current-driven differential driver and method of controlling current-driven differential driver
JP2016224588A (en) Controller and control method
CN215934852U (en) Automatic transceiving circuit and electronic equipment
CN102292716B (en) Generic buffer circuits and methods for out of band signaling
JP5910557B2 (en) Communications system
KR20180075083A (en) Dynamic termination circuit, semiconductor apparatus and system including the same
Li et al. Research on Improvement of Configurable I2C controller IP Core
KR100222780B1 (en) Data communication circuit in the home automation