CN103973201B - Tool is shared motor controller and the corresponding control methods of pin position - Google Patents

Tool is shared motor controller and the corresponding control methods of pin position Download PDF

Info

Publication number
CN103973201B
CN103973201B CN201310030485.4A CN201310030485A CN103973201B CN 103973201 B CN103973201 B CN 103973201B CN 201310030485 A CN201310030485 A CN 201310030485A CN 103973201 B CN103973201 B CN 103973201B
Authority
CN
China
Prior art keywords
motor
pin position
order
burning
pin
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.)
Expired - Fee Related
Application number
CN201310030485.4A
Other languages
Chinese (zh)
Other versions
CN103973201A (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.)
Richtek Technology Corp
Original Assignee
Richtek Technology Corp
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 Richtek Technology Corp filed Critical Richtek Technology Corp
Priority to CN201310030485.4A priority Critical patent/CN103973201B/en
Publication of CN103973201A publication Critical patent/CN103973201A/en
Application granted granted Critical
Publication of CN103973201B publication Critical patent/CN103973201B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

The invention provides a kind of tool and share the motor controller of pin position, when it comprises multiple pin position but does not comprise burning motor characteristics data in order to the pin position of transmission frequency and motor characteristics burning data, wherein share in order to two pin positions in pin position and the plurality of pin position of transmission frequency and motor characteristics burning data when this burning motor characteristics, in the time of burning pattern, these two pin positions are as the use of transmission frequency and motor characteristics burning data, and in the time of normal mode, these two pin positions are for normal operating. The present invention also provides a kind of tool to share the control method of the motor controller of pin position.

Description

Tool is shared motor controller and the corresponding control methods of pin position
Technical field
The present invention relates to a kind of motor controller, particularly a tool is shared pin position effectively to reduce the motor control of required pin positionDevice processed, and relevant control method.
Background technology
In the motor controller of numerous forms, conventional have I2C, SPI, SMBUS etc. equal with the communication interface of external communicationNeed at least two transmission lines, one for transmission data, one be transmission frequency. Please refer to Fig. 1, wherein show a prior artThe schematic diagram of motor controller 10. Motor controller 10 comprises a control module 11, a motor drive unit 12 and turnsSpeed converting unit 13. Motor controller 10 comprises multiple pin position, and wherein, control module 11 is connected in pin position H+, H-, FG, pin position H+, H-connects hall effect sensor with the rotating speed of sensing motor, pin position FG is for output motor rotary speed information for example, to outside,Provide central processing unit information to judge the situation of motor. Motor drive unit 12 is connected in multiple pin positions in order to CD-ROM drive motorVM, OUT1, OUT2, GND etc., wherein VM be motor supply voltage, GND be earth potential, OUT1, OUT2 in order to CD-ROM drive motor, pinThe driving number of phases of the visual motor of figure place and can changing to some extent. Rotating speed converting unit 13 comprises an erasable internal memory 131 and is connected inPin position SDA, SCK, PWMIN, wherein SDA is relevant to motor in order to receive frequency, PWMIN in order to receive in order to receive data, SCKThe PWM(PWM of rotating speed control) control signal, rotating speed converting unit produces output signal according to these signals and offers controlUnit 11 processed, to operate control.
In the time that above-mentioned prior art circuits is made into single IC, pin number order will directly affect packaging cost, therefore reducePin position is to be institute Ji. In view of this, the present invention, for above-mentioned the deficiencies in the prior art, proposes to utilize a tool to share the horse of pin positionReach controller, it can effectively reduce required pin position.
TW patent announcement number 498163 (WO2000/054282A1), TW patent announcement number 490670 (WO1999/022289A1), TW patent announcement I305647 (US2006/0022707A1) discloses the existing skill that is relevant to motor controllerArt, but all do not possess advantage of the present invention.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art and clear, propose a kind of tool and share the motor control of pin positionDevice and corresponding control methods, can effectively reduce required pin position.
For reaching above-mentioned purpose, with regard to one of them viewpoint, the invention provides a kind of tool and share the motor controller of pin position, its bagContaining multiple pin position but while not comprising burning motor characteristics data in order to the pin position of transmission frequency and motor characteristics burning data, whereinWhen this burning motor characteristics in order to two pin positions in pin position and the plurality of pin position of transmission frequency and motor characteristics burning dataShare, in the time of burning pattern, these two pin positions, should in the time of normal mode as the use of transmission frequency and motor characteristics burning dataTwo pin positions are for normal operating.
In said motor controller, when the plurality of pin position can be included in normal mode in order to receive the pin of rotating speed control signalPosition, in order to the pin position of sensing motor rotary speed, in order to export the pin position of motor rotary speed information, pin in order to connecting motor supply voltagePosition, in order to connect earthy pin position and the pin position in order to CD-ROM drive motor.
For reaching above-mentioned purpose, with regard to another viewpoint, the invention provides a kind of tool and share the motor controller of pin position, it hasOne normal mode and a burning pattern, this motor controller comprises: a rotating speed converting unit, comprise an erasable internal memory, this canErasable internal memory is in order to store motor characteristics data, and in normal mode, this rotating speed converting unit is in order to from a rotating speed control signalInput pin position receives rotating speed control signal, and produces a motor speed command with reference to motor characteristics data; One control module,In normal mode, receive this motor speed command, and the pin position of self-inductance measurement motor rotary speed reception motor rotary speed sensing signal, according toThis motor speed command and motor rotary speed sensing signal output motor control signal, and defeated from a motor rotary speed information output pin positionGo out motor rotary speed information; And a motor drive unit, in normal mode, according to this motor control signal, produce motor and driveMoving signal, the pin position by CD-ROM drive motor is to drive a motor; Wherein, in burning pattern, this rotating speed control signal input pinPosition, sensing motor rotary speed pin position, motor rotary speed information output pin position and CD-ROM drive motor pin position at least one of them as burningWhen record pattern in order to one of pin position of transmission frequency and motor characteristics burning data.
In the better enforcement kenel of one, in burning pattern, this rotating speed control signal input pin position, sensing motor rotary speedPin position, motor rotary speed information output pin position and CD-ROM drive motor pin position at least wherein two during as burning pattern in order to passThe pin position of defeated frequency and motor characteristics burning data.
In said motor controller, can more comprise the pin position of supplying voltage in order to connecting motor with earthy in order to be connectedPin position.
For reaching above-mentioned purpose, with regard to another viewpoint, the invention provides the control of the motor controller of the shared pin of a kind of tool positionMethod, comprises following steps: enter burning pattern, with one first pin position transmission frequency of this motor controller, with this motor controlOne crus secunda position transmission motor characteristics burning data of device processed, to input or to set motor characteristics data in this motor controllerIn one erasable internal memory; And enter normal mode, using this first pin position and crus secunda position, one of them is as non-transmission frequencyAnd other function pin position of non-transmission motor characteristics burning data.
In the better enforcement kenel of one, when entering after normal mode, all do with this first pin position and crus secunda positionFor other function pin position of non-transmission frequency and non-transmission motor characteristics burning data.
In above-mentioned control method, this motor controller can comprise to receive rotating speed control signal pin position, multiple in order toThe pin position of sensing motor rotary speed, in order to export the pin position of motor rotary speed information, in order to the pin position of connecting motor supply voltage, in order toConnect earthy pin position and multiple pin position in order to CD-ROM drive motor, and this first pin position and crus secunda position be above pin position itsIn two.
Above-mentioned control method can more comprise: with an input one first specific signal of described pin position, begin to enter burning to openPattern.
Above-mentioned control method can more comprise: an input one second specific signal or one section of calculating with described pin position are defaultTime, enter normal mode to leave burning pattern.
Illustrate in detail below by specific embodiment, when be easier to understand object of the present invention, technology contents, feature andEffect of reaching.
Brief description of the drawings
Fig. 1 shows the motor controller of prior art;
Fig. 2 shows the motor controller of one embodiment of the invention;
Fig. 3 shows the motor controller of another embodiment of the present invention;
Fig. 4 shows the operating process of motor controller of the present invention.
Symbol description in figure
10,20 motor controllers
11,21 control modules
12,22 motor drive units
13,23 rotating speed converting units
131,231 erasable internal memories
FG, GND, H-, H+, OUT1, OUT2, PWMIN, SDA, SCK, VM pin position
Detailed description of the invention
About aforementioned and other technology contents, feature and effect of the present invention, coordinate with reference to graphic one better followingIn the detailed description of embodiment, can clearly present. The direction term of mentioning in following examples, for example: upper and lower, left,Right, front or rear etc., be only the direction with reference to annexed drawings. Graphic all genus signal in the present invention, is mainly intended to represent each deviceAnd function relation between each element, as for shape, thickness and width not according to scale.
With reference to Fig. 2 and Fig. 3, in motor controller 20 of the present invention, comprise a control module 21, a motor drive unit 22,An and rotating speed converting unit 23; In rotating speed converting unit 23, comprise erasable internal memory 231 for storing the relevant of motor characteristicsData. Motor controller 20 comprises multiple pin position, for example, comprise PWMIN, H+, H-, FG, VM, OUT1, OUT2, GND, these pinThe effect of position can be consulted the explanation in background technology paragraph.
The difference of the present invention and prior art is: the present invention does not need for receiving motor characteristics burning data and receive frequencyAnd ad hoc pin position SDA, SCK; Share these pin positions and other pin position. (data and other pin that transmit for distinguishing pin position SDAPosition signal that such as PWMIN, H+, H-, FG etc. transmit, below data that pin position SDA is transmitted be called motor characteristics burningData, although and the signal that transmit other pin position also has the character of data, be not called " motor characteristics burning data ". ) because ofThe function of pin position SDA and SCK is that burning before motor (not shown) starts (input or setting) motor characteristics data are erasable in oneIn internal memory 231, therefore only need to operate under burning pattern. When under normal mode, when motor starts to operate, pin position SCK and SDA are notNeed to transmit, therefore substantially except the pin position relevant with ground connection with the power supply of motor controller 20 itself, allOther pin position can be shared with pin position SDA, SCK. That is, if the power supply of motor controller 20 is not from pin position VM and yet, by pin position GND ground connection, in PWMIN, H+, H-, FG, VM, OUT1, OUT2, GND, conduct can not shared in any two pin positionsPin position SDA, SCK; If the power supply of motor controller 20 is from pin position VM and also by pin position GND ground connection, except these two pinOutside position, in PWMIN, H+, H-, FG, OUT1, OUT2, any two pin positions can be shared as pin position SDA, SCK. The present invention is with twoIndividual embodiment illustrates, is shown in Fig. 2 and Fig. 3, and wherein for Fig. 2 embodiment, pin position PWMIN, FG share as pin positionSDA, SCK, for Fig. 3 embodiment, pin position OUT1, OUT2 share as pin position SDA, SCK, and this is only for lifting wherein two examples, as aboveDescribed, any two pin positions can be shared as pin position SDA, SCK.
With reference to Fig. 2, when normal mode, pin position FG, PWMIN need to transmit; When burning pattern, pin position SCK and SDA needTransmit, pin position FG and PWMIN can not need to transmit. Therefore in the present embodiment, pin position SCK and SDA andPin position FG and PWMIN can share its pin position, for example can in the time of burning pattern, transmit frequency with pin position FG and with pin position PWMIN comeTransmit motor characteristics burning data. Certainly, also can use that pin position FG transmits motor characteristics burning data instead and with pin position PWMINTransmit frequency.
Erasable internal memory 231 in rotating speed converting unit 23 can be according to above-mentioned frequency and motor characteristics burning data, andStore motor characteristics data in the inner, its mode can be for example: in erasable internal memory 231, stored in advance all kindsMotor characteristics data, and by transmitted motor characteristics burning data set adopt which group in advance store motor characteristicsData; Or, also can in erasable internal memory 231, input motor characteristics number according to transmitted motor characteristics burning dataAccording to. The object of motor characteristics data is the characteristic of the motor that manipulates of definition, for example, when pin position PWMIN accept fromThe external rotating speed control signal of one PWM form, rotating speed converting unit 23 can convert this external rotating speed control signal to a numeralNumerical value, and this digital numerical value is through producing a motor speed command to control module 21 with reference to motor characteristics data. Control module21 can accept motor speed command and from outside motor rotary speed sensing signal H+, H-(motor rotary speed sensing signal H+, H-For example, but not necessarily from Hall element, also can be for example from optics rotating speed sensing apparatus etc.). Control module 21 is accepted motorAfter speed command and motor rotary speed sensing signal H+, H-, can learn motor speed command and existing rotating speed, and then output horseReach control signal, control motor drive unit 22 and drive controlled motor to arrive set rotating speed.
Please refer to Fig. 4, the switching flow of burning pattern and normal mode is described. After startup, can be by default pin position is defeated arbitrarilyEnter specific signal and begin to enter burning pattern (step S1) to open, for example, in Fig. 2 embodiment, pin position FG can be pulled low toLow level, or by a cognizable specific signal of any one pin position input, switch one such as but not limited to high-low-position is accurateInferior or repeatedly etc. In the present embodiment, in the time that control module 21 picks out this specific signal, for example, detect pin position FG and be pulled low toLow level, determines that sharing pin position is provided as pin position SCK and SDA, with transmission frequency and motor characteristics burning data (stepS2). In step S3, the no burning pattern of leaving is answered in control module 21 judgements, and its judgment mode has variety of way, can be as requiredDesign, for example can calculate one section of Preset Time, leave burning pattern and enter normal mode when arriving timing time(step S4), or input specific signal by presetting arbitrarily pin position, for example pin position FG can be drawn high to high levels one segment lengthTime, or also can be the accurate signal that switches one or many of aforementioned high-low-position etc., in the time picking out this specific signal, leave burningRecord pattern and enter normal mode (step S4). After entering normal mode, shared pin position is switching to the pin of normal modePosition, for example, in Fig. 2 embodiment, revert to pin position FG and PWMIN.
Fig. 3 shows the motor controller 20 of another embodiment, wherein shares as pin position with pin position OUT1, OUT2SDA, SCK, its operating process is identical with Fig. 4, repeats no more.
Erasable internal memory 231 for example can be (but being not limited to) one time programmable read-only storage, muptiple-use canProgrammable read-only memory, can erase programmble read only memory PROM or flash memory etc.
Motor controller can be for example (but being not limited to) stepping motor controller.
Below for preferred embodiment, the present invention is described, the above, only for being easy to those skilled in the artSeparate content of the present invention, be not used for limiting interest field of the present invention. For those skilled in the art, when can be in essence of the present inventionIn god, think immediately and various equivalence variation. For example, the enforcement of shared pin position can be not limited to transmit data and transmission frequencyShared pin position, the initialization directive signal of other such as parameters of hydraulic motor, detect the receipts of not bothering to see me out such as instruction signal under normal modeThe patented technology of this shared pin position also can be applied to simplify pin number order in the pin position of signal. Again, shared pin position is not limited to pinPosition SCK and SD are all shared, also should belong to scope of the present invention as only shared one of them. Therefore all according to concept of the present invention and spiritual instituteImpartial variation or modification, all should be included within the scope of claim of the present invention for it.

Claims (3)

1. tool is shared a motor controller for pin position, and it has a normal mode and a burning pattern, it is characterized in that this horseReaching controller comprises:
One rotating speed converting unit, comprises an erasable internal memory, and this erasable internal memory is in order to store motor characteristics data, at normal modeIn formula, this rotating speed converting unit is in order to receive rotating speed control signal from a rotating speed control signal input pin position, and with reference to motor spyProperty data and produce a motor speed command;
One control module, in normal mode, receives this motor speed command, and the pin position of self-inductance measurement motor rotary speed receives motorRotating speed sensing signal, according to this motor speed command and motor rotary speed sensing signal output motor control signal, and from a motorRotary speed information output pin position output motor rotary speed information; And
One motor drive unit, in normal mode, according to this motor control signal, produces motor and drives signal, by drivingThe pin position of motor is to drive a motor;
Wherein, in burning pattern, this rotating speed control signal input pin position, the pin position of sensing motor rotary speed, motor rotary speed informationWhen at least one of them is as burning pattern in the pin position of output pin position and CD-ROM drive motor in order to transmission frequency and motor characteristics burningOne of pin position of data.
2. tool as claimed in claim 1 is shared the motor controller of pin position, wherein, in burning pattern, these rotating speed control newsThe pin position of pin position, motor rotary speed information output pin position and the CD-ROM drive motor of number input pin position, sensing motor rotary speed at least wherein itTwo during as burning pattern in order to the pin position of transmission frequency and motor characteristics burning data.
3. tool as claimed in claim 1 is shared the motor controller of pin position, wherein, also comprises in order to connecting motor supply voltagePin position with in order to be connected earthy pin position.
CN201310030485.4A 2013-01-25 2013-01-25 Tool is shared motor controller and the corresponding control methods of pin position Expired - Fee Related CN103973201B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310030485.4A CN103973201B (en) 2013-01-25 2013-01-25 Tool is shared motor controller and the corresponding control methods of pin position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310030485.4A CN103973201B (en) 2013-01-25 2013-01-25 Tool is shared motor controller and the corresponding control methods of pin position

Publications (2)

Publication Number Publication Date
CN103973201A CN103973201A (en) 2014-08-06
CN103973201B true CN103973201B (en) 2016-05-25

Family

ID=51242328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310030485.4A Expired - Fee Related CN103973201B (en) 2013-01-25 2013-01-25 Tool is shared motor controller and the corresponding control methods of pin position

Country Status (1)

Country Link
CN (1) CN103973201B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528222B (en) * 2014-09-28 2019-06-25 比亚迪股份有限公司 Single-chip microcontroller programming control system, single-chip microcontroller and single-chip microcontroller programming control method
TWI623167B (en) * 2017-02-20 2018-05-01 茂達電子股份有限公司 Fan driving circuit
CN112953354B (en) * 2021-02-23 2023-03-24 绍兴光大芯业微电子有限公司 Circuit structure for realizing multiplexing of fault indication pin and reset function pin

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988363A (en) * 2005-12-19 2007-06-27 台达电子工业股份有限公司 Motor control system and its switch device
CN101833502A (en) * 2010-04-15 2010-09-15 上海华为技术有限公司 ASIC (Application Specific Integrated Circuit) chip verification method and programmable gate array
CN101964724A (en) * 2010-08-30 2011-02-02 华为技术有限公司 Energy conservation method of communication single plate and communication single plate

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4108428B2 (en) * 2002-09-30 2008-06-25 山洋電気株式会社 Brushless DC fan motor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988363A (en) * 2005-12-19 2007-06-27 台达电子工业股份有限公司 Motor control system and its switch device
CN101833502A (en) * 2010-04-15 2010-09-15 上海华为技术有限公司 ASIC (Application Specific Integrated Circuit) chip verification method and programmable gate array
CN101964724A (en) * 2010-08-30 2011-02-02 华为技术有限公司 Energy conservation method of communication single plate and communication single plate

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
三电平变换器控制策略的研究;桂红云等;《中国优秀硕士学位论文全文数据库·工程科技Ⅱ辑》;20050510;第34页-35页 *

Also Published As

Publication number Publication date
CN103973201A (en) 2014-08-06

Similar Documents

Publication Publication Date Title
CN103973201B (en) Tool is shared motor controller and the corresponding control methods of pin position
CN103209379A (en) Single-line programmable micro electromechanical system (MEMS) microphone and programming method and system thereof
WO2012144869A3 (en) Sensor-integrated chip for ccd camera
CN104158378A (en) Motor module and stabilizer with same
EP3316240A1 (en) Display apparatus and driving method thereof
CN103702494B (en) A kind of two pin RGB-LED control circuits
TWI503818B (en) Motor contorller having multi-functional pin and control method thereof
WO2012002742A3 (en) Camera module and method for driving the same
WO2012172976A1 (en) Semiconductor integrated device, display device, and debugging method for semiconductor integrated device
CN104898957A (en) Method and device for controlling screen rotation, and user terminal
CN105741805B (en) The drive system and driving method of liquid crystal display, liquid crystal display
US9720873B2 (en) Method for a deterministic selection of a sensor from a plurality of sensors
CN204941380U (en) A kind of pipe elevator system for oil exploration based on Internet of Things
CN106254465A (en) A kind of data transmission method, system and electronic equipment
CA2536973A1 (en) Blast sequence control
CN204886768U (en) Extensible multichannel step actuator and extensible multichannel motor control system
CN102789762A (en) Driving circuit, array substrate and display device
CN102945199A (en) System and method for intelligently detecting display card working condition
CN104133391B (en) A kind of bi-motor load maintainer Electric Loading System
CN105676726A (en) Serial peripheral interface (SPI)-based multi-MEMS sensor fast data access system and method
CN205069023U (en) Image display device
EP3514794A3 (en) Semiconductor package with clock sharing and electronic system including the same
CN201716964U (en) Point-by-point correction device for LED display screen and system for acquiring correction data
CN106154167B (en) Battery sensor with addressing mode and detecting mode
CN104810000A (en) Control circuit and control method used for liquid crystal display

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160525

Termination date: 20190125