CN110504799B - External four-wire motor control system and data recording method and circuit thereof - Google Patents

External four-wire motor control system and data recording method and circuit thereof Download PDF

Info

Publication number
CN110504799B
CN110504799B CN201810618512.2A CN201810618512A CN110504799B CN 110504799 B CN110504799 B CN 110504799B CN 201810618512 A CN201810618512 A CN 201810618512A CN 110504799 B CN110504799 B CN 110504799B
Authority
CN
China
Prior art keywords
motor
motor control
circuit
control system
pwm
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201810618512.2A
Other languages
Chinese (zh)
Other versions
CN110504799A (en
Inventor
陈浩然
张荣麟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Padauk Tech Co Ltd
Original Assignee
Padauk Tech 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 Padauk Tech Co Ltd filed Critical Padauk Tech Co Ltd
Publication of CN110504799A publication Critical patent/CN110504799A/en
Application granted granted Critical
Publication of CN110504799B publication Critical patent/CN110504799B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Control Of Electric Motors In General (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

The invention provides an external four-wire motor control system and a data recording method and circuit thereof. The motor control system has only and exactly four circuits to the outside: the motor control system comprises a power supply positive electrode circuit, a power supply negative electrode circuit, a PWM (pulse-width modulation) rotating speed control input circuit and a rotating speed detection output circuit, wherein the power supply positive electrode circuit and the power supply negative electrode circuit are used for providing positive and negative voltages for the motor control system; the PWM rotating speed control input circuit is used for transmitting a PWM rotating speed control signal in a motor control stage so as to control the rotating speed of a motor; the rotating speed detection output circuit is used for externally transmitting the detected rotating speed of the motor in the motor control stage; the PWM rotating speed control input circuit is suitable for transmitting data from a data set source to the interior of the motor control system in a single-wire signal transmission mode.

Description

External four-wire motor control system and data recording method and circuit thereof
Technical Field
The present invention relates to a data recording method for a motor control system, and more particularly, to a data recording method for a motor control system, which can directly set parameter data without requiring disassembly when a motor controller chip is mounted on the motor control system by only four lines.
Background
The motor control system has many uses, such as controlling the speed of a fan. In a four-wire PWM (Pulse Width Modulation) motor rotation speed control system, only four pairs of external pins (corresponding to four lines) are available, wherein two pins are the positive and negative electrodes of a power supply respectively, the other pin is a PWM rotation speed control input pin (which is a unidirectional input pin), and the other pin is a rotation speed detection output pin (which is a unidirectional output pin); in the prior art, after the motor controller chip is installed on the motor control system, the four lines/pins cannot be used to set the parameter data inside the system. If the parameter data is set from the outside to the inside of the system, only a few methods are available in the prior art: firstly, before the motor controller chip is not installed in a motor control system, parameter data of the motor controller chip is set in advance (at the moment, other exposed pins of the motor controller chip are available); secondly, after the motor controller chip is installed on the motor control system, the motor controller chip is detached from the motor control system to set parameter data (for the same reason); thirdly, after the motor controller chip is installed on the motor control system, the system is disassembled, and the other pin wires of the motor controller chip are led to the data recorder to set the parameter data (for the same reason). In addition, the whole structure must be changed to use a five-wire or more-wire structure to record (ISP) parameter data inside the System after the motor controller chip is installed on the motor control System. For example, the currently known communication interface protocols include UART, I2C, JTAG, etc., wherein the UART requires an input and an output line; I2C requires two bi-directional input/output lines; JTAG requires four wires. That is, if these communication interface protocols are used, corresponding lines must be added. Originally, the circuit for performing the PWM speed control input in the four lines cannot be used with the above-mentioned various communication interface protocols, because the PWM signal transmitted by the PWM speed control input circuit is modulated in duty ratio, and these communication interface protocols require the signal to have approximately the same length of high and low levels.
Obviously, the above approach is either cumbersome, increases cost, or causes the architecture to be incompatible. The present invention provides a solution to the above problems.
Disclosure of Invention
In one aspect, the present invention provides an external four-wire motor control system for controlling a motor, the external four-wire motor control system comprising: a motor controller chip including a decoder; the motor controller chip comprises a power supply positive electrode circuit, a power supply negative electrode circuit, a PWM (pulse-width modulation) rotating speed control input circuit and a rotating speed detection output circuit, wherein the power supply positive electrode circuit and the power supply negative electrode circuit are coupled with the motor controller chip from the outside and are used for providing positive and negative voltages for a motor control system and the motor controller chip; the PWM rotating speed control input circuit is used for transmitting a PWM rotating speed control signal in a motor control stage so as to control the rotating speed of the motor; the rotation speed detection output circuit is used for externally transmitting the detected motor rotation speed in the motor control stage; the PWM rotating speed control input circuit is coupled with the decoder and is suitable for transmitting data from a data setting source to the decoder in a single-wire signal transmission mode; the motor control system only has and has the four lines, and in a parameter data setting stage, no clock signal is transmitted between the data setting source and the motor controller chip via other lines.
In one preferred embodiment, the PWM input line is a bidirectional transmission line, and the motor controller chip further includes an encoder for transmitting data to be read to the outside through the PWM input line.
From another perspective, the present invention provides a data recording method for an external four-wire motor control system, wherein the motor control system has only four external communication lines, including a power positive line, a power negative line, a PWM rotation speed control input line, and a rotation speed detection output line, wherein the power positive line and the power negative line are used for providing positive and negative voltages for the motor control system; the PWM rotating speed control input circuit is used for transmitting a PWM rotating speed control signal in a motor control stage so as to control the rotating speed of a motor; the rotation speed detection output circuit is used for externally transmitting the detected motor rotation speed in the motor control stage, and the method comprises the following steps: in a parameter data setting stage, data is transmitted from a data setting source to the interior of the motor control system in a single-wire signal transmission mode, and when the data is transmitted, clock signals are not transmitted between the data setting source and the motor control system through other lines.
In one preferred embodiment, the PWM rotation speed control input line is a bidirectional transmission line, and in the parameter data setting stage, data inside the motor control system is further read from the outside through the PWM rotation speed control input line.
In another aspect, the present invention provides a circuit for an external four-wire motor control system, having only and exactly four external communication circuits, comprising: the motor control system comprises a power supply positive circuit and a power supply negative circuit, wherein the power supply positive circuit and the power supply negative circuit are used for providing positive and negative voltages for the motor control system; a PWM rotation speed control input circuit, which is used for transmitting PWM rotation speed control signals in a motor control stage so as to control the rotation speed of a motor; and the PWM rotating speed control input circuit is suitable for transmitting data from a data setting source to the interior of the motor control system in a single-wire signal transmission mode in a parameter data setting stage.
In one preferred embodiment, no clock signal is transmitted between the data setting source and the motor control system in the parameter data setting stage.
In one preferred embodiment, the PWM speed control input line is a bidirectional transmission line.
The purpose, technical content, features and effects of the present invention will be more readily understood through the following detailed description of specific embodiments.
Drawings
FIG. 1 shows a first embodiment of the present invention;
fig. 2-3 illustrate the definition of single-wire signal transmission by way of example;
FIG. 4 illustrates signals transmitted in accordance with the definition of FIG. 3;
fig. 5 shows a second embodiment of the invention.
Description of the symbols in the drawings
10 motor control system
12 motor controller chip
14 decoder
16 encoder
M motor
VDD power supply anode
GND power supply cathode
PWML PWM rotational speed control input circuit
TACH rotation speed detection output circuit
Detailed Description
The drawings of the present invention are schematic and are intended to show the relationship between the various circuit components, and the shapes and dimensions are not drawn to scale.
Fig. 1 shows a first embodiment of the present invention. Referring to fig. 1, in the present invention, a motor control system 10 includes a motor controller chip 12; the motor control system 10 has only four external circuits, which are a positive power supply VDD, a negative power supply GND, a PWM rotation speed control input circuit PWML, and a rotation speed detection output circuit TACH (FG, which is referred to as TACH in the present invention in some products). The motor control system 10 is used to control the motor M. The data setting source can be, for example, but not limited to, a recorder. Other parts of the motor control system 10 are not relevant to the present invention and are therefore omitted.
The power supply anode VDD and the power supply cathode GND are used for providing positive and negative voltages for the motor control system 10 and the motor controller chip 12; the PWM rotating speed control input circuit PWML is used for transmitting a PWM rotating speed control signal in the motor control stage so as to control the rotating speed of the motor; the rotation speed detection output circuit TACH is used for externally transmitting the detected motor rotation speed during the motor control stage.
The difference between the invention and the prior art is that: in the present invention, the PWM rotational speed control input line PWML is arranged as a single-wire signal transmission line for setting parameter data for the inside of the system. Generally, a clock is required for transmitting data, so two lines are usually required to communicate between the transmitting side and the receiving side, one for transmitting data and one for transmitting clock. If the receiver does not know the clock, for example, a high level signal of one microsecond length is 1 of one bit number in the case of a clock frequency of 1MHz and 1111111111 of ten bit numbers in the case of a clock frequency of 10 MHz. 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 rotation speed control input line PWML in a single-wire signal transmission manner, and does not transmit the clock signal through other lines. The "parameter data setting stage" may be when the motor controller chip 12 is already installed on the motor control system 10, or may be when the motor controller chip 12 is not yet installed on the motor control system 10.
Referring to fig. 2, there are many ways of single-wire signal transmission that may be used with the present invention; the present invention is not limited to any one of these modes, and the present embodiment is only an example. As shown in fig. 2, the duty ratio of the PWM signal can be used to define 1 and 0 in the present embodiment, for example, it can be defined that when the high level time length is longer than the low level time length (duty ratio > 50%), it represents binary 1, and when the high level time length is shorter than the low level time length (duty ratio < 50%), it represents binary 0. Of course, the opposite definition is also possible.
Still alternatively, referring to fig. 3, it may be defined that when the duty ratio is > 60%, binary 1 is represented, when the duty ratio is < 40%, binary 0 is represented, and when the duty ratio is between 40% and 60%, start and end codes of transmission are represented.
Fig. 4 shows by way of example: the signal transmitted according to the definition of fig. 3 has the meaning of 11010010 and includes a start code and an end code.
It should be noted that: in the above definition, the period length of each digit is not necessarily the same, and only the relationship between high and low levels (or the relationship between high levels and periods) is required to satisfy the definition.
There may be other various definitions besides the above definition, and the present invention is not limited to any one of them. For example, one can define: when the high level time length exceeds the threshold time by 1, the low level time length is less than the threshold time by 0, and the low level time length is greater than another threshold time, or vice versa.
Returning to fig. 1, the motor controller chip 12 includes a decoder 14 that decodes the received signal according to the signal definition transmitted by the single-wire signal to set the parameter data inside the system.
In a preferred embodiment, the PWM rpm control input line PWML may be a bidirectional transmission line, which can set the parameter data from the outside to the inside, and can read the internal parameter data from the outside. In this case, referring to fig. 5, the motor controller chip 12 may include an encoder 16 for encoding the data to be read according to the transmission definition and then externally transmitting the encoded data through the PWM rpm control input line PWML.
The present invention has been described with respect to the preferred embodiments, but the above description is only for the purpose of making the content of the present invention easy to understand for those skilled in the art, and is not intended to limit the scope of the present invention. Equivalent variations will occur to those skilled in the art, within the same spirit of the invention. For example, the definition of the signal high and low levels may be interchanged; for another example, two elements or two circuits shown in the circuit diagram of the embodiment are directly connected, and an element or a circuit which does not affect the main function of the whole circuit, such as a switch, a buffer, a resistor, and the like, may be interposed therebetween. The scope of the invention should be determined to encompass all such equivalent variations.

Claims (7)

1. An external four-wire motor control system for controlling a motor according to a signal from an external master control terminal, the external four-wire motor control system comprising:
a motor controller chip including a decoder; and
a power supply positive line, a power supply negative line, a PWM (pulse width modulation) rotating speed control input line and a rotating speed detection output line which are coupled with the motor controller chip from the external main control end, wherein the power supply positive line and the power supply negative line are used for providing positive and negative voltages for a motor control system and the motor controller chip; the PWM rotating speed control input circuit is used for transmitting a PWM rotating speed control signal in a motor control stage so as to control the rotating speed of the motor; the rotation speed detection output circuit is used for externally transmitting the detected motor rotation speed in the motor control stage;
the PWM rotating speed control input circuit is coupled with the decoder and is suitable for transmitting data from a data setting source to the decoder in a single-wire signal transmission mode, wherein the single-wire signal transmission mode transmits a binary signal with a fixed bit period;
the motor control system only has and has the four lines, and in a parameter data setting stage, no clock signal is transmitted between the data setting source and the motor controller chip via other lines.
2. The system of claim 1, wherein the PWM speed control input line is a bi-directional transmission line, and the motor controller chip further comprises an encoder for transmitting data to be read to the outside through the PWM speed control input line.
3. A data recording method of an external four-wire motor control system is disclosed, wherein the motor control system only has and exactly has four external communication circuits for controlled operation according to signals from an external main control end, and comprises a power supply positive electrode circuit, a power supply negative electrode circuit, a PWM (pulse width modulation) rotating speed control input circuit and a rotating speed detection output circuit, wherein the power supply positive electrode circuit and the power supply negative electrode circuit are used for providing positive and negative voltages for the motor control system; the PWM rotating speed control input circuit is used for transmitting a PWM rotating speed control signal in a motor control stage so as to control the rotating speed of a motor; the rotation speed detection output circuit is used for externally transmitting the detected motor rotation speed in the motor control stage, and the method comprises the following steps:
in a parameter data setting stage, data is transmitted from a data setting source to the interior of the motor control system in a single-wire signal transmission mode, and when the data is transmitted, clock signals are not transmitted between the data setting source and the motor control system through other lines, wherein the single-wire signal transmission mode transmits binary signals with fixed bit periods.
4. The method of claim 3, wherein the PWM speed control input line is a bidirectional transmission line, and during the setting of the parameter data, data in the motor control system is read from outside through the PWM speed control input line.
5. A circuit of an external four-wire motor control system, which has only and exactly four external communication circuits for controlled operation according to signals from an external master control terminal, the circuit of the external four-wire motor control system comprises:
the motor control system comprises a power supply positive circuit and a power supply negative circuit, wherein the power supply positive circuit and the power supply negative circuit are used for providing positive and negative voltages for the motor control system;
a PWM rotation speed control input circuit, which is used for transmitting PWM rotation speed control signals in a motor control stage so as to control the rotation speed of a motor;
a rotation speed detection output circuit for transmitting the detected rotation speed of the motor to the outside during the motor control stage,
the PWM rotating speed control input circuit is suitable for transmitting data from a data setting source to the interior of the motor control system in a single-wire signal transmission mode in a parameter data setting stage, wherein the single-wire signal transmission mode transmits binary signals with fixed bit periods.
6. The circuit of an external four-wire motor control system according to claim 5, wherein no clock signal is transmitted between the data setting source and the motor control system in the parameter data setting phase.
7. The circuit of an external four-wire motor control system according to claim 5, wherein the PWM speed control input circuit is a bidirectional transmission line.
CN201810618512.2A 2018-05-18 2018-06-15 External four-wire motor control system and data recording method and circuit thereof Active CN110504799B (en)

Applications Claiming Priority (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
TW107116902 2018-05-18

Publications (2)

Publication Number Publication Date
CN110504799A CN110504799A (en) 2019-11-26
CN110504799B true CN110504799B (en) 2022-03-01

Family

ID=68584975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810618512.2A Active CN110504799B (en) 2018-05-18 2018-06-15 External four-wire motor control system and data recording method and circuit thereof

Country Status (2)

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

Families Citing this family (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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101476567A (en) * 2008-01-02 2009-07-08 新唐科技股份有限公司 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
CN105045749A (en) * 2014-04-29 2015-11-11 立锜科技股份有限公司 Single-wire transmission interface and single-wire transmission method and power supply system adopting single-wire transmission method

Family Cites Families (5)

* 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
US7382301B2 (en) * 2003-10-31 2008-06-03 International Rectifier Corporation Method and apparatus for converting PWM signal to analog output voltage
TWI473415B (en) * 2012-04-10 2015-02-11 Padauk Technology Co Ltd Controller and method for improving motor driving efficiency
US9374105B2 (en) * 2014-04-09 2016-06-21 Linear Technology Corporation Converting time-encoded signal into analog output
TWI623167B (en) * 2017-02-20 2018-05-01 茂達電子股份有限公司 Fan driving circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101476567A (en) * 2008-01-02 2009-07-08 新唐科技股份有限公司 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
CN105045749A (en) * 2014-04-29 2015-11-11 立锜科技股份有限公司 Single-wire transmission interface and single-wire transmission method and power supply system adopting single-wire transmission method

Also Published As

Publication number Publication date
CN110504799A (en) 2019-11-26
TW202005257A (en) 2020-01-16
TWI674744B (en) 2019-10-11

Similar Documents

Publication Publication Date Title
US20180196777A1 (en) Methods to send extra information in-band on inter-integrated circuit (i2c) bus
EP2868047B1 (en) N-phase polarity output pin mode multiplexer
US9667409B2 (en) Sensor that transmits signals responsive to a request signal and receives information
US8892798B2 (en) Identification, by a master circuit, of two slave circuits connected to a same bus
US10303643B2 (en) Enhanced virtual GPIO with multi-mode modulation
US20120290761A1 (en) USB Converter and Related Method
EP3620908A1 (en) Control bus for connection of electronic devices
KR101719421B1 (en) Edge-based communication with a plurality of slave devices
US8948209B2 (en) Transmission over an 12C bus
US9906385B2 (en) Communication devices
CN110504799B (en) External four-wire motor control system and data recording method and circuit thereof
US11695589B2 (en) Controller area network data link layer protocol processing system, related integrated circuit, device and method
CN113614705A (en) Data transmission via power line
JPH0823310A (en) Optical signal transmitter
JPH02285748A (en) Transmission controller for optical fiber
CN109660363B (en) Battery unit cascade system and differential communication interface
US20220163936A1 (en) Serial isolation communication method, device and system
US11424624B2 (en) Transmitter circuit, data transmission method, and electronic system
JP2016224588A (en) Controller and control method
US20060020722A1 (en) Circuit of a serial communication port pair
KR100297211B1 (en) An Interface Device for Interfacing with a Variety of Signal Level
JP2009153011A (en) Analog output apparatus
KR19990014664U (en) Universal Serial Bus Port Interpreter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant