CN110504872B - Interface circuit and interface system - Google Patents

Interface circuit and interface system Download PDF

Info

Publication number
CN110504872B
CN110504872B CN201910746134.0A CN201910746134A CN110504872B CN 110504872 B CN110504872 B CN 110504872B CN 201910746134 A CN201910746134 A CN 201910746134A CN 110504872 B CN110504872 B CN 110504872B
Authority
CN
China
Prior art keywords
diode
module
level
output
interface circuit
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
CN201910746134.0A
Other languages
Chinese (zh)
Other versions
CN110504872A (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.)
Suzhou Furuisi Information Technology Co ltd
Zhaoyi Innovation Technology Group Co ltd
Hefei Geyi Integrated Circuit Co Ltd
Original Assignee
Suzhou Furuisi Information Technology Co ltd
GigaDevice Semiconductor Beijing Inc
Hefei Geyi Integrated Circuit 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 Suzhou Furuisi Information Technology Co ltd, GigaDevice Semiconductor Beijing Inc, Hefei Geyi Integrated Circuit Co Ltd filed Critical Suzhou Furuisi Information Technology Co ltd
Priority to CN201910746134.0A priority Critical patent/CN110504872B/en
Publication of CN110504872A publication Critical patent/CN110504872A/en
Application granted granted Critical
Publication of CN110504872B publication Critical patent/CN110504872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/14Electronic commutators
    • H02P6/16Circuit arrangements for detecting position
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P2203/00Indexing scheme relating to controlling arrangements characterised by the means for detecting the position of the rotor
    • H02P2203/03Determination of the rotor position, e.g. initial rotor position, during standstill or low speed operation

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

The invention provides an interface circuit and an interface system, and relates to the field of electronics. The interface circuit includes: the device comprises a connecting module, a diode module and a pull-up module, wherein the connecting module is connected with the diode module and used for connecting the output end of the rotor position detection device, the diode module is connected with the pull-up module and used for determining the on-off state of the diode module according to the level output by the rotor position detection device, and the pull-up module is connected with the diode module and used for converting the level output by the rotor position detection device into the level suitable for being provided for the control device according to the on-off state of the diode module. The interface circuit of the invention is convenient and fast to replace, the number of used components of the whole interface circuit is small, the simple circuit is few, the operation reliability is high, the cost of the interface circuit is low, the compatibility is strong, and the use feeling of users is greatly improved.

Description

Interface circuit and interface system
Technical Field
The present invention relates to the field of electronics, and in particular, to an interface circuit and an interface system.
Background
The brushless direct current motor is composed of a motor main body and a driver, and is a typical electromechanical integration product. The brushless motor is a motor without a brush and a commutator (or a collecting ring), which is also called a commutator-free motor, and when the motor is produced in nineteenth ages, the produced practical motor is in a brushless form, namely an alternating current squirrel cage type asynchronous motor, and the motor is widely applied. However, asynchronous motors have a number of insurmountable drawbacks, which have led to slow motor technology development. The transistor is produced in the middle of the last century, so that a direct current brushless motor adopting a transistor commutation circuit to replace an electric brush and a commutator is produced, the novel brushless motor is called an electronic commutation type direct current motor, and the defects of the first generation brushless motor are overcome.
At present, a brushless direct current motor widely applied is a three-phase brushless direct current motor, the rotating speed and the steering of the three-phase brushless direct current motor are controlled to generally detect the position of a motor rotor, a Hall sensor or a rotary encoder is used for detecting the position of the rotor in the prior art, advantages and disadvantages exist between the Hall sensor and the rotary encoder, and the specific device used for detecting the position of the rotor can be specifically determined according to the use requirement.
The three-phase brushless direct current motor needs to be provided with a control device to monitor and control the running state of the three-phase brushless direct current motor in real time, namely, rotor position information acquired by a Hall sensor or a rotary encoder needs to be fed back to the control device. Generally, if the device for detecting the position of the rotor is a hall sensor, when the hall sensor is damaged and needs to be replaced or the three-phase dc brushless motor needs to be replaced, the hall sensor can only be replaced correspondingly or the three-phase dc brushless motor adopting the hall sensor to detect the position of the rotor is replaced, the rotary encoder and the hall sensor are the same, and the rotary encoder and the hall sensor are not universal.
Disclosure of Invention
In view of the above, the present invention provides an interface circuit and an interface system, wherein the interface circuit can be connected with both a hall sensor and a rotary encoder.
An embodiment of the present invention provides an interface circuit, where the interface circuit is used to connect a rotor position detection device and a control device, the rotor position detection device is a device for detecting a rotor position in a motor, and the interface circuit includes:
the device comprises a connecting module, a diode module and a pull-up module;
the connecting module is connected with the diode module and is used for connecting the output end of the rotor position detection equipment;
the diode module is connected with the pull-up module and used for determining the on-off state of the diode module according to the level output by the rotor position detection equipment;
and the pull-up module is connected with the diode module and used for converting the level output by the rotor position detection equipment into the level suitable for being provided for the control equipment according to the on-off state of the diode module.
Optionally, the interface circuit is further connected to a first power supply, the first power supply provides a working power supply for the rotor position detecting device, and the connection module includes: a plurality of connection terminals, the plurality of connection terminals including: a first connection terminal, a second connection terminal, a third connection terminal, a fourth connection terminal, and a fifth connection terminal;
the first connecting terminal is respectively connected with the diode module and the output end of the rotor position detection device;
the second connecting terminal is respectively connected with the diode module and the output end of the rotor position detection device;
the third connecting terminal is respectively connected with the diode module and the output end of the rotor position detection device;
the fourth connecting terminal is respectively connected with the first power supply and the output end of the rotor position detection device;
the fifth connection terminal is grounded.
Optionally, the diode module comprises: a plurality of diodes, the plurality of diodes comprising: a first diode, a second diode, a third diode;
the first diode cathode is connected with the first connecting terminal, and the first diode anode is connected with the pull-up module;
the cathode of the second diode is connected with the second connecting terminal, and the anode of the second diode is connected with the pull-up module;
the cathode of the third diode is connected with the third connecting terminal, and the anode of the third diode is connected with the pull-up module.
Optionally, the interface circuit is further connected to a second power supply, the second power supply is configured to convert the level output by the rotor position detection device into a level suitable for being provided to the control device according to an on-off state of the diode module, and the pull-up module includes: a plurality of resistors, the plurality of resistors comprising: a first resistor, a second resistor and a third resistor;
one end of the first resistor is connected with the anode of the first diode, and the other end of the first resistor is connected with the second power supply;
one end of the second resistor is connected with the anode of the second diode, and the other end of the second resistor is connected with the second power supply;
one end of the third resistor is connected with the anode of the third diode, and the other end of the third resistor is connected with the second power supply.
Optionally, the rotor position detecting apparatus includes: the output of hall sensor includes: three output, three output with first connecting terminal second connecting terminal third connecting terminal one-to-one is connected, corresponds the output level of three output passes through respectively first connecting terminal second connecting terminal third connecting terminal transmits first diode the second diode the third diode corresponds the output level of three output includes: six high-low level combinations except full high and full low;
for each high-low level combination in the six high-low level combinations, the diode receiving the high level in the plurality of diodes is turned off, and the diode receiving the low level in the plurality of diodes is turned on.
Optionally, the rotor position detecting apparatus further includes: a rotary encoder, an output of the rotary encoder comprising: three output, three output with first connecting terminal second connecting terminal third connecting terminal one-to-one is connected, corresponds the output level of three output passes through respectively first connecting terminal second connecting terminal third connecting terminal transmits first diode the second diode the third diode corresponds the output level of three output includes: eight level combinations of full high, full low and high and low;
for each of the eight level combinations, a diode of the plurality of diodes receiving a high level is turned off, and a diode of the plurality of diodes receiving a low level is turned on.
Optionally, when the diode is in the off state, the second power supply provides a level suitable for the control device of: the level of the second power supply is pulled up by a resistor corresponding to the diode connection in the cut-off state;
when the diode is in a conducting state, the level of the control device is the voltage drop when the diode is conducting.
Optionally, the interface circuit further comprises: and the filtering module is respectively connected with the diode module and the pull-up module, and the filtering circuit is used for filtering the level in the interface circuit.
An embodiment of the present invention further provides an interface system, where the interface system includes: motor, rotor position detection equipment, control device and as in any one above the interface circuit, the motor includes: the rotor position detection device, the interface circuit and the output end of the rotor position detection device and the control device are respectively connected.
Optionally, the rotor position detecting apparatus includes: the output end of the Hall sensor is connected with the interface circuit; alternatively, the rotor position detecting apparatus further includes: and the output end of the rotary encoder is connected with the interface circuit.
An embodiment of the present invention further provides an interface circuit, including:
the connecting module comprises M terminals;
the pull-up module comprises N resistors;
the diode module comprises N diodes, one end of each of the N diodes is connected with one of the M terminals, and the other end of each of the N diodes is connected with one of the N resistors;
wherein M > N, and the connection module is for connecting a device, the device being a push-pull output device or an open-drain output device.
Optionally, the device is a rotor position detection device.
Optionally, one of the M terminals of the connection module is connected to a first power supply, and the first power supply provides a working power supply for the device.
Optionally, the pull-up module is connected to a second power supply, and the on-off state of the diode module and the pull-up module act together, so that the level generated by the second power supply is transmitted to the control device.
Optionally, when a diode of the N diodes is in an off state, a level generated by the second power supply is provided to the control device through a corresponding resistor of the N resistors;
when the diodes in the N diodes are in a conducting state, the level of the control equipment is the voltage drop when the diodes are conducted.
Compared with the prior art, the interface circuit and the interface system provided by the invention have the advantages that the on-off state of the diode module is determined according to the level output by the rotor position detection device, and then the level output by the rotor position detection device is converted into the level suitable for being provided for the control device according to the on-off state of the diode module.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a block schematic diagram of an interface system and interface circuit of the present invention;
fig. 2 is a circuit diagram of an interface circuit and a connection diagram of an interface system of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below. It should be understood that the specific embodiments described herein are merely illustrative of the invention, but do not limit the invention to only some, but not all embodiments.
The inventor finds that when the rotor position detection equipment of the existing three-phase brushless direct current motor needs to be replaced, or the whole three-phase brushless direct current motor needs to be replaced, only the same type of rotor position detection equipment can be replaced, or the three-phase brushless direct current motor adopting the same type of rotor position detection equipment can be replaced. The inventor further finds that the problem is caused because the existing rotor position detection device generally adopts a hall sensor or a rotary encoder, wherein the output mode of the hall sensor is push-pull output, the output mode of the rotary encoder is open-drain output, and the output modes of the hall sensor and the rotary encoder are different, so that the output ends of the hall sensor and the rotary encoder are different from the circuit of the control device, the wiring modes of the hall sensor and the rotary encoder are different, and the hall sensor and the rotary encoder cannot be used commonly.
For example: when the Hall sensor needs to be replaced, only the Hall sensor can be replaced, and the rotary encoder cannot be replaced; when a three-phase brushless DC motor adopting a rotary encoder to detect the position of a rotor needs to be replaced, the three-phase brushless DC motor adopting the rotary encoder to detect the position of the rotor can only be replaced, and the three-phase brushless DC motor adopting a Hall sensor to detect the position of the rotor can not be replaced. Specifically, assume a dc brushless motor model: z4-180-21, the adopted model is as follows: the Hall sensor of the SS1101 is used as rotor position detection equipment, when the Hall sensor SS1101 needs to be replaced, the Hall sensor still needs to be replaced by the Hall sensor, and even the Hall sensor with the same model needs to be replaced sometimes according to the situation; similarly, when the dc brushless motor z4-180-21 needs to be replaced, the device for detecting the rotor position used in the newly replaced dc brushless motor must be a hall sensor, not a rotary encoder.
The output mode of the Hall sensor is push-pull output, and in general, the output end of the Hall sensor can be directly connected with control equipment to transmit the level of the Hall sensor to the control equipment; the output mode of the rotary encoder is open-drain output, the drain end is empty, only low level is output, if high level is output, a pull-up resistor is required to be externally connected, the level is determined by a power supply of the pull-up resistor, and then the rotary encoder can be connected with control equipment. The connection circuit and the wiring mode between the output end of the Hall sensor and the control equipment are different from those between the output end of the rotary encoder and the control equipment, so that the Hall sensor and the control equipment cannot be interchanged and used commonly.
In addition, most of the existing control devices use the MCU for data processing, the level that the MCU can recognize is generally 3.3V, and the level at the output end of the hall sensor is generally 5V, so that a level conversion circuit is required to convert the level 5V at the output end of the hall sensor into 3.3V, which is provided to the MCU for processing.
Based on the above problems, the inventor of the present invention has made extensive studies, combined with the characteristics of push-pull output and open-drain output, and through a large number of field tests and simulation calculations, creatively provides the interface circuit of the present invention, which is compatible with both push-pull output and open-drain output, thereby solving the above problems, and the whole interface circuit has fewer added components, lower cost and strong compatibility. The solution proposed by the inventors is explained and illustrated in detail below.
Referring to fig. 1, a block schematic diagram of an interface system and an interface circuit is shown, which may specifically include:
a connection module 20, a diode module 30, and a pull-up module 40.
One end of the connection module 20 is connected to the diode module 30, and the other end is connected to the output end of the rotor position detecting device 10; the diode module 30 is connected with the pull-up module 40 and is used for determining the on-off state of the diode module according to the level output by the rotor position detection device 10; the pull-up module 40 is connected to the diode module 30, and is configured to convert the level output by the rotor position detecting device 10 into a level suitable for being provided to the control device 11 according to the on-off state of the diode module 30, wherein the control device 11 is connected to the pull-up module 40 and the diode module 30, respectively.
Optionally, referring to fig. 2, the interface circuit of the present invention is further connected to a first power supply 12, the first power supply 12 provides an operating power supply for the rotor position detecting device 10, and the connection module 20 in the interface circuit includes: a plurality of connection terminals, the plurality of connection terminals including: a first connection terminal 201, a second connection terminal 202, a third connection terminal 203, a fourth connection terminal 204, and a fifth connection terminal 205.
The first connection terminal 201 is connected to the output terminals of the diode module 30 and the rotor position detecting device 10, respectively; the second connection terminal 202 is connected to the output terminals of the diode module 30 and the rotor position detecting device 10, respectively; the third connection terminal 203 is connected to the output terminals of the diode module 30 and the rotor position detecting device 10, respectively; the fourth connection terminal 204 is connected to the first power supply 12 and the output terminal of the rotor position detecting device 10, respectively; the fifth connection terminal 205 is grounded.
It should be noted that, a plurality of connection terminals in the connection module 20 are provided with spare terminals in addition to the first connection terminal 201, the second connection terminal 202, the third connection terminal 203, the fourth connection terminal 204, and the fifth connection terminal 205, and the spare terminals are used when other devices are added after the spare terminals are reserved, and if any connection terminal is damaged and cannot be used in the first connection terminal 201, the second connection terminal 202, the third connection terminal 203, the fourth connection terminal 204, and the fifth connection terminal 205, the spare terminals can be used to replace the connection terminal, so that the expandability, the practicability, and the working stability of the connection module 20 are enhanced, and meanwhile, a user does not need to replace the connection module 20 because no connection terminal can be used or the connection terminal is damaged, and the use cost of the user is saved.
Optionally, referring to fig. 2, the diode module 30 in the interface circuit of the present invention includes: a plurality of diodes, the plurality of diodes comprising: a first diode 301, a second diode 302, and a third diode 303.
A cathode of the first diode 301 is connected to the first connection terminal 201, and an anode of the first diode 301 is connected to the pull-up module 40; the cathode of the second diode 302 is connected to the second connection terminal 202, and the anode of the second diode 302 is connected to the pull-up module 40; the cathode of the third diode 303 is connected to the third connection terminal 203, and the anode of the third diode 303 is connected to the pull-up module 40.
It should be noted that the diode in the embodiment of the present invention is a switching diode, which is relatively fast to change from the on state to the off state or from the off state to the on state, and is an ideal electronic switch, and has a simple structure, and no need of adding a separate control logic. Certainly, other components with switching performance can be used for replacing the components, but the replaceable components either need complicated control logic, so that more components exist and occupy larger physical layout; or the performance of the switch can not meet the requirements of the interface circuit, and after a large number of experimental tests, the inventor adopts the switch diode to realize the function of the interface circuit, ensures the quick switching circuit and uses elements as few as possible, thereby reducing the physical layout of the interface circuit.
Rotor position check out test set output passes through connecting terminal and diode connection, and the rotor position check out test set that general three-phase DC brushless motor used includes: the output of the Hall sensor of the three-phase DC brushless motor comprises an A-phase level, a B-phase level and a C-phase level, and the output mode of the Hall sensor is push-pull output, so that the A-phase level, the B-phase level and the C-phase level have high and low levels, and assuming that 1 represents a high level and 0 represents a low level, the output state of the Hall sensor is as follows according to the characteristics of the Hall sensor and the three-phase DC brushless motor: 001. the six high-low states 010, 011, 100, 101 and 110, and the other two 000 and 111 states cannot occur because the position of the motor rotor and the position of the hall sensors are carefully calculated and properly installed, and the motor rotor cannot cover three hall sensors at the same time (i.e., the same-high state 111 of three phases A, B, C does not occur) or cannot cover any one hall sensor (i.e., the same-low state 000 of three phases A, B, C does not occur). If the two conditions occur, the Hall sensor can be damaged or the Hall sensor is not installed in a standard way.
The output to the rotary encoder of three-phase DC brushless motor has A looks level, B looks level, C looks level (also called Z looks, stands for zero reference bit), and according to rotary encoder and three-phase DC brushless motor's characteristic, rotary encoder's output state has: 000. 001, 010, 011, 100, 101, 110, 111 eight high-low level states.
As shown in fig. 2, an output of the hall sensor (not shown in fig. 2) or an output a phase of the rotary encoder (not shown in fig. 2) is connected to the first connection terminal 201, a phase B is connected to the second connection terminal 202, and a phase C is connected to the third connection terminal 203, the first power supply 12 supplies an operating power supply, which is generally 5V, to the hall sensor (not shown in fig. 2) or the rotary encoder (not shown in fig. 2), and the output mode of the hall sensor (not shown in fig. 2) is a push-pull output, which is generally 0V and 5V, that is, a high level is 5V and a low level is 0V; the output of the rotary encoder (not shown in fig. 2) is an open-drain output, the level of which is generally 0V and a high-impedance state, and the level in the high-impedance state is determined by a power supply externally connected with a pull-up resistor, that is, the high level is the power supply level of the output end externally connected with the pull-up resistor, and the low level is 0V; the output of the hall sensor (not shown in fig. 2) or the output of the rotary encoder (not shown in fig. 2) is transmitted to three diodes through three connection terminals, i.e., the a-phase level is transmitted to the cathode of the first diode 301 through the first connection terminal 201, the B-phase level is transmitted to the cathode of the second diode 302 through the second connection terminal 202, and the C-phase level is transmitted to the cathode of the third diode 303 through the third connection terminal 203. The on-off state of the three diodes is then reflected to the pull-up module 40, and after the pull-up module 40 cooperates with it, the generated electrical level is transmitted to the control device 11.
The diode is turned off when it receives a high level in the output of the hall sensor (not shown in fig. 2) or the output of the rotary encoder (not shown in fig. 2); the diode conducts when it receives a low level in the output of the hall sensor (not shown in fig. 2) or the output of the rotary encoder (not shown in fig. 2). For example, the output three phase A, B, C of a hall sensor (not shown in fig. 2) has a level of: when the a-phase level is low, the B-phase level is low, and the C-phase level is high, the first diode 301 is turned on, the second diode 302 is turned on, and the third diode 303 is turned off.
Alternatively, referring to fig. 2, the interface circuit of the present invention is further connected to a second power supply 13, where the second power supply 13 is configured to convert the level output by the rotor position detecting device into a level suitable for being provided to the control device according to the on-off state of the diode module, and the pull-up module 40 in the interface circuit of the present invention includes: a plurality of resistors, the plurality of resistors comprising: a first resistor 401, a second resistor 402, and a third resistor 403.
One end of the first resistor 401 is connected to the anode of the first diode 301, and the other end of the first resistor 401 is connected to the second power supply 13; one end of the second resistor 402 is connected to the anode of the second diode 302, and the other end of the second resistor 402 is connected to the second power supply 13; one end of the third resistor 403 is connected to the anode of the third diode 303, and the other end of the third resistor 403 is connected to the second power supply 13.
When the diode is in the off state, the level of the second power supply 13 is supplied to the control device through the corresponding resistance; when the diode is in a conducting state, the level of the control device is the voltage drop when the diode is conducting (the voltage drop is different according to the selection of the diode). For example, the output three phase A, B, C of a rotary encoder (not shown in FIG. 2) has a level of: 011, that is, the a-phase level is low, the B-phase level is high, and the C-phase level is high, the first diode 301 is turned on, the second diode 302 is turned off, and the third diode 303 is turned off, assuming that the level of the second power supply 13 is 3.3V, because the first diode 301 is turned on, the a-phase level is low, and the level of the second power supply 13 is 3.3V, but the level is directly set to be the voltage drop when the first diode 301 is turned on after passing through the first resistor 401, and the a-phase level received by the control device at this time is the voltage drop when the first diode 301 is turned on; since the second diode 302 is turned off, the high level (high impedance state) of the B phase is determined by the second power supply 13 supplying power to the second resistor 402 in the pull-up resistor, and the level 3.3V of the second power supply 13 is transmitted to the control device 11 through the second resistor 402, where the level of the B phase received by the control device is 3.3V; since the third diode 303 is turned off, the high level (high impedance state) of the C phase is determined by the second power supply 13 supplying power to the third resistor 403 in the pull-up resistor, and the level 3.3V of the second power supply 13 is transmitted to the control device 11 through the third resistor 403, where the C phase level received by the control device is: 3.3V.
If the level of the output three phase A, B, C of the hall sensor (not shown in fig. 2) is: 011, that is, the a-phase level is low, the B-phase level is high, and the C-phase level is high, the first diode 301 is turned on, the second diode 302 is turned off, and the third diode 303 is turned off, assuming that the level of the second power supply 13 is 3.3V, since the first diode 301 is turned on and the a-phase level is low, the level of the second power supply 13 is 3.3V, but the level of the second power supply is directly set to be a voltage drop when the first diode 301 is turned on after passing through the first resistor 401, and the a-phase level received by the control device at this time is a voltage drop when the first diode 301 is turned on; since the second diode 302 is turned off, the high level 5V of the B-phase cannot be transmitted to the control device 11, and the level 3.3V of the second power supply 13 is transmitted to the control device 11 through the second resistor 402, where the level of the B-phase received by the control device is 3.3V; since the third diode 303 is turned off, the high level 5V of the C-phase cannot be transmitted to the control device 11, and the level 3.3V of the second power supply 13 is transmitted to the control device 11 through the third resistor 403, where the C-phase level received by the control device is: 3.3V. From the above description, it can be seen that the interface circuit of the present invention can implement the common use of the hall sensor and the rotary encoder, and when the two are required to be interchanged, it is only necessary to disconnect the three-phase A, B, C output of the hall sensor from the first connection terminal 201, the second connection terminal 202, and the third connection terminal 203, and connect the three-phase A, B, C output of the rotary encoder to the first connection terminal 201, the second connection terminal 202, and the third connection terminal 203; alternatively, the three-phase A, B, C output of the rotary encoder is disconnected from the first connection terminal 201, the second connection terminal 202, and the third connection terminal 203, and the three-phase A, B, C output of the hall sensor is connected to the first connection terminal 201, the second connection terminal 202, and the third connection terminal 203.
Optionally, referring to fig. 2, the interface circuit of the present invention further includes: and the filtering module 50 is connected with the diode module 30 and the pull-up module 40 respectively, the filtering module 50 comprises three filtering capacitors which are connected with three diodes and three resistors in a one-to-one correspondence manner, and the filtering circuit 50 is used for filtering the level in the interface circuit.
In summary, as shown in fig. 2, the operation principle of the circuit of the present invention is as follows: assuming that the level of the applicable control device is 3.3V, the first power supply 12 provides the 5V working power supply, the second power supply 13 provides the 3.3V level, and the voltage drop is 0.3V when the diode is turned on. The three-phase brushless dc motor detects the position of its own rotor by using hall sensors, and assumes that the output three-phase A, B, C of the hall sensors (not shown in fig. 2) at a certain time has a level: 010, that is, the a-phase level is low (0V), the B-phase level is high (5V), and the C-phase level is low (0V), the first diode 301 is turned on, the second diode 302 is turned off, the third diode 303 is turned on, at this time, the level 3.3V of the second power supply 13 is pulled to 0.3V drop when the first diode 301 is turned on after passing through the first resistor 401, and at this time, the control device 11 receives the a-phase level of 0.3V; at this time, the level 3.3V of the second power supply 13 is pulled to 3.3V through the second resistor 402, and at this time, the control device 11 receives that the B-phase level is 3.3V; at this time, the level 3.3V of the second power supply 13 is pulled to be 0.3V of the voltage drop when the third diode 303 is conducted after passing through the third resistor 402, and at this time, the level of the C phase received by the control device 11 is 0.3V; and then the control device 11 controls the next group of energized coils in the three-phase brushless dc motor according to the received level, so as to ensure that the three-phase brushless dc motor operates continuously.
When the hall sensor of three-phase dc brushless motor damaged or can not normally work and need change rotary encoder, or when the three-phase dc brushless motor that needs to change adopted rotary encoder to detect the position of self rotor again, pull down output three-phase (A, B, C) and the work power end (corresponding first power 12) of original hall sensor, be connected output three-phase A, B, C of rotary encoder with first connecting terminal 201, second connecting terminal 202, third connecting terminal 203 respectively, be connected self work power end and fourth connecting terminal 204.
Assume that the output three phases A, B, C of the rotary encoder (not shown in FIG. 2) at a certain time have a level of: 111, that is, the a-phase level is high (high resistance state), the B-phase level is high (high resistance state), and the C-phase level is high (high resistance state), the first diode 301 is turned off, the second diode 302 is turned off, and the third diode 303 is turned off, at this time, the level 3.3V of the second power supply 13 is pulled to 3.3V through the first resistor 401, and at this time, the control device 11 receives the a-phase level to be 3.3V; at this time, the level 3.3V of the second power supply 13 is pulled to 3.3V through the second resistor 402, and at this time, the control device 11 receives that the B-phase level is 3.3V; at this time, the level 3.3V of the second power supply 13 is pulled to 3.3V through the third resistor 403, and at this time, the control device 11 receives the C-phase level to be 3.3V; so that the rotary encoder can be normally used.
It should be noted that the interface circuit of the present invention has a very large expandability, can meet the operating power supplies required by rotor position detection devices of different output types, and can be adaptively adjusted according to the level of the control device. For example: when the working power supply required by a certain rotor position detection device is 8V, the first power supply 12 is replaced by a power supply providing 8V level; if the level of the control device is 1.8V, the second power supply 13 is replaced with a power supply providing a level of 1.8V; with the development and progress of scientific technology, rotor position detection equipment of various working power supplies and control equipment suitable for various levels certainly appear in the future, but the rotor position detection equipment of different output types can be compatible only by adaptively replacing the external first power supply 12 and the external second power supply 13, so that the universality of an interface circuit is greatly expanded.
An embodiment of the present invention further provides an interface circuit, where the interface circuit includes:
the connecting module comprises M terminals;
the pull-up module comprises N resistors;
the diode module comprises N diodes, and the connection relationship of the N diodes is as follows:
one end of each diode in the diode module is correspondingly connected with one terminal in the connecting module, and the other end of each diode in the diode module is correspondingly connected with one resistor in the upper pulling module;
the number of the terminals in the connection module is greater than the number of the resistors in the pull-up module and is also greater than the number of the diodes in the diode module, the number of the resistors in the pull-up module is equal to the number of the diodes in the diode module, and the connection module is used for connecting equipment which is push-pull output equipment or open-drain output equipment, that is, the connection module can be compatible with equipment with two output modes (push-pull output mode and open-drain output mode).
Optionally, the push-pull output device or the open-drain output device may be a rotor position detection device, and of course, any device whose output mode is a push-pull output mode or an open-drain output mode may also be used. .
Optionally, one of the terminals of the connection module is connected to a first power supply, the terminal is connected to the first power supply only, and is not connected to any diode in the diode module, and the first power supply is configured to provide a working power supply for a device with a push-pull output or an open-drain output in an output mode.
Optionally, the pull-up module is connected to the second power supply, and the on-off state of the diode module and the pull-up module act together, so that the level generated by the second power supply is transmitted to the control device.
Optionally, when the diode in the diode module is in the off state, the level of the second power supply is provided to the control device through the resistor of the corresponding connection diode in all resistors of the pull-up module.
And when the diode in the diode module is in a conducting state, the level of the control equipment is the voltage drop when the diode is conducted. In this way, the interface circuit can be compatible with two output modes (push-pull output mode and open-drain output mode) of equipment at the same time.
In conclusion, in the use process of the interface circuit, the replacement operation is very convenient and fast, the number of used components of the whole interface circuit is small, simple circuits of the circuit are few, the operation reliability is high, the cost of the interface circuit is low, the compatibility is strong, and the use feeling of a user is greatly improved.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. An interface circuit for connecting a rotor position detection device to a control device, the rotor position detection device being a device for detecting the position of a rotor in an electrical machine, the interface circuit comprising:
the device comprises a connecting module, a diode module and a pull-up module;
the connecting module is connected with the diode module and is used for connecting the output end of the rotor position detection equipment;
the diode module is connected with the pull-up module and used for determining the on-off state of the diode module according to the level output by the rotor position detection equipment;
the pull-up module is connected with the diode module and used for converting the level output by the rotor position detection equipment into a level suitable for being provided for the control equipment according to the on-off state of the diode module;
wherein, interface circuit still is connected with first power, first power is for rotor position check out test set provides working power supply, the connection module includes: a plurality of connection terminals, the plurality of connection terminals including: a first connection terminal, a second connection terminal, a third connection terminal, a fourth connection terminal, and a fifth connection terminal;
the first connecting terminal is respectively connected with the diode module and the output end of the rotor position detection device;
the second connecting terminal is respectively connected with the diode module and the output end of the rotor position detection device;
the third connecting terminal is respectively connected with the diode module and the output end of the rotor position detection device;
the fourth connecting terminal is respectively connected with the first power supply and the output end of the rotor position detection device;
the fifth connecting terminal is grounded;
the connection module further includes: a backup terminal; the spare terminal is used when other equipment is added, or when the connecting terminal is damaged and cannot be used, the spare terminal is used for replacing other connecting terminals.
2. The interface circuit of claim 1, wherein the diode module comprises: a plurality of diodes, the plurality of diodes comprising: a first diode, a second diode, a third diode;
the first diode cathode is connected with the first connecting terminal, and the first diode anode is connected with the pull-up module;
the cathode of the second diode is connected with the second connecting terminal, and the anode of the second diode is connected with the pull-up module;
the cathode of the third diode is connected with the third connecting terminal, and the anode of the third diode is connected with the pull-up module.
3. The interface circuit of claim 2, wherein the interface circuit is further connected to a second power supply for converting the level of the output of the rotor position detection device to a level suitable for providing to the control device according to the on-off state of the diode module, the pull-up module comprising: a plurality of resistors, the plurality of resistors comprising: a first resistor, a second resistor and a third resistor;
one end of the first resistor is connected with the anode of the first diode, and the other end of the first resistor is connected with the second power supply;
one end of the second resistor is connected with the anode of the second diode, and the other end of the second resistor is connected with the second power supply;
one end of the third resistor is connected with the anode of the third diode, and the other end of the third resistor is connected with the second power supply.
4. The interface circuit according to claim 3, wherein the rotor position detecting device comprises: the output of hall sensor includes: three output, three output with first connecting terminal second connecting terminal third connecting terminal one-to-one is connected, corresponds the output level of three output passes through respectively first connecting terminal second connecting terminal third connecting terminal transmits first diode the second diode the third diode corresponds the output level of three output includes: six high-low level combinations except full high and full low;
for each high-low level combination in the six high-low level combinations, the diode receiving the high level in the plurality of diodes is turned off, and the diode receiving the low level in the plurality of diodes is turned on.
5. The interface circuit according to claim 3, wherein the rotor position detecting device further comprises: a rotary encoder, an output of the rotary encoder comprising: three output, three output with first connecting terminal second connecting terminal third connecting terminal one-to-one is connected, corresponds the output level of three output passes through respectively first connecting terminal second connecting terminal third connecting terminal transmits first diode the second diode the third diode corresponds the output level of three output includes: eight level combinations of full high, full low and high and low;
for each of the eight level combinations, a diode of the plurality of diodes receiving a high level is turned off, and a diode of the plurality of diodes receiving a low level is turned on.
6. Interface circuit according to claim 4 or 5, characterized in that, when the diode is in the blocking state, the second power supply supplies a level suitable for the control device of: the level of the second power supply is pulled up by a resistor corresponding to the diode connection in the cut-off state;
when the diode is in a conducting state, the level of the control device is the voltage drop when the diode is conducting.
7. The interface circuit of claim 1, wherein the interface circuit further comprises: and the filtering module is respectively connected with the diode module and the pull-up module and is used for filtering the level in the interface circuit.
8. An interface system, characterized in that the interface system comprises: an electric machine, a rotor position detection device, a control device, and an interface circuit according to any one of claims 1 to 7, the electric machine comprising: the rotor position detection device, the interface circuit and the output end of the rotor position detection device and the control device are respectively connected.
9. The interface system according to claim 8, wherein the rotor position detecting device comprises: the output end of the Hall sensor is connected with the interface circuit; alternatively, the rotor position detecting apparatus further includes: and the output end of the rotary encoder is connected with the interface circuit.
10. An interface circuit, comprising:
the connecting module comprises M terminals and spare terminals;
the pull-up module comprises N resistors;
the diode module comprises N diodes, one end of each of the N diodes is connected with one of the M terminals, and the other end of each of the N diodes is connected with one of the N resistors;
wherein M > N, and the connection module is for connecting a device, the device being a push-pull output device or an open-drain output device.
11. The interface circuit of claim 10, wherein the device is a rotor position detection device.
12. The interface circuit of claim 10, wherein one of the M terminals of the connection module is connected to a first power supply, the first power supply providing operating power for the device.
13. The interface circuit of claim 10, wherein the pull-up module is coupled to a second power source, and wherein the diode module is configured to cooperate with the pull-up module to cause a level generated by the second power source to be transmitted to a control device.
14. The interface circuit of claim 13, wherein when a diode of the N diodes is in an off state, the level generated by the second power supply is provided to the control device through a corresponding resistor of the N resistors;
when the diodes in the N diodes are in a conducting state, the level of the control equipment is the voltage drop when the diodes are conducted.
CN201910746134.0A 2019-08-13 2019-08-13 Interface circuit and interface system Active CN110504872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910746134.0A CN110504872B (en) 2019-08-13 2019-08-13 Interface circuit and interface system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910746134.0A CN110504872B (en) 2019-08-13 2019-08-13 Interface circuit and interface system

Publications (2)

Publication Number Publication Date
CN110504872A CN110504872A (en) 2019-11-26
CN110504872B true CN110504872B (en) 2021-12-17

Family

ID=68587394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910746134.0A Active CN110504872B (en) 2019-08-13 2019-08-13 Interface circuit and interface system

Country Status (1)

Country Link
CN (1) CN110504872B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112700601B (en) * 2020-12-22 2022-08-12 深圳市智莱科技股份有限公司 Circuit system of bluetooth express delivery cabinet and bluetooth express delivery cabinet

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007006560A (en) * 2005-06-21 2007-01-11 Mitsumi Electric Co Ltd Motor with encoder
CN201323547Y (en) * 2008-12-24 2009-10-07 常州麦科卡电动车辆科技有限公司 Universal subboard of brushless direct current motor
CN201374666Y (en) * 2009-03-16 2009-12-30 徐州西斯博朗智能科技有限公司 Multi-drive electric window machine control device
JP4806344B2 (en) * 2006-12-26 2011-11-02 本田技研工業株式会社 Speed detection circuit
CN102501780A (en) * 2011-11-24 2012-06-20 无锡爱玛车业有限公司 Three-gear shunt controller for electric vehicle
CN105515466A (en) * 2014-10-14 2016-04-20 北京谊安医疗系统股份有限公司 Protection circuit of Hall devices of brushless direct-current motor of anaesthesia machine
CN106411190A (en) * 2016-08-26 2017-02-15 广州瓦良格机器人科技有限公司 Fault tolerance control method suitable for Hall sensors of multi-phase permanent magnet brushless DC motor
CN208028799U (en) * 2018-03-21 2018-10-30 滨州学院 brushless motor control device
CN109167552A (en) * 2018-09-12 2019-01-08 中国科学院空间应用工程与技术中心 A kind of fluid circuit circulation pump controller

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100442625B1 (en) * 2002-04-11 2004-08-02 삼성전자주식회사 Apparatus and method for controlling the malfunction of hall effect switch used for sensing open or close of the flip or polder of terminal equipment
CN108982897B (en) * 2018-08-01 2021-04-16 华自科技股份有限公司 Signal detection circuit, measuring device and gear speed measurement system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007006560A (en) * 2005-06-21 2007-01-11 Mitsumi Electric Co Ltd Motor with encoder
JP4806344B2 (en) * 2006-12-26 2011-11-02 本田技研工業株式会社 Speed detection circuit
CN201323547Y (en) * 2008-12-24 2009-10-07 常州麦科卡电动车辆科技有限公司 Universal subboard of brushless direct current motor
CN201374666Y (en) * 2009-03-16 2009-12-30 徐州西斯博朗智能科技有限公司 Multi-drive electric window machine control device
CN102501780A (en) * 2011-11-24 2012-06-20 无锡爱玛车业有限公司 Three-gear shunt controller for electric vehicle
CN105515466A (en) * 2014-10-14 2016-04-20 北京谊安医疗系统股份有限公司 Protection circuit of Hall devices of brushless direct-current motor of anaesthesia machine
CN106411190A (en) * 2016-08-26 2017-02-15 广州瓦良格机器人科技有限公司 Fault tolerance control method suitable for Hall sensors of multi-phase permanent magnet brushless DC motor
CN208028799U (en) * 2018-03-21 2018-10-30 滨州学院 brushless motor control device
CN109167552A (en) * 2018-09-12 2019-01-08 中国科学院空间应用工程与技术中心 A kind of fluid circuit circulation pump controller

Also Published As

Publication number Publication date
CN110504872A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN105409112B (en) Power-converting device, electric boosting steering system, electric vehicle, electronic control throttle, dynamo-electric brake
JP6048993B2 (en) Field winding type rotating electrical machine diagnosis device and field winding type rotating electrical machine diagnosis method
JP2008054488A (en) Matrix converter and device having the same
CN110504872B (en) Interface circuit and interface system
EP2587654A1 (en) Power conversion apparatus
JP2013220015A (en) Device and method for transmitting energy and data between control unit and position-measuring device
CN104038207A (en) Switchover circuit and electronic device
CN104734577A (en) Motor driving device
US8775829B2 (en) Single phase line switch
CN103324256A (en) Processing device and processing system
JP6714830B2 (en) Condition monitoring device
JP2007059345A (en) Connection state monitoring device
CN109149719A (en) The circuit system and balance car of balance car
CN209016955U (en) A kind of DC brushless motor positive and negative rotation circuit
CN210444251U (en) Encoder compatible circuit and system
CN110260906A (en) A kind of code device signal detection circuit of compatible with multiple encoder type
JP5950084B2 (en) Condition monitoring device
CN110596562A (en) Method and system for detecting state of MOS (Metal oxide semiconductor) tube
CN102201767A (en) Motor device and fan using same
EP3725982A1 (en) Lockset state monitoring apparatus and method, lockset driving apparatus and lockset assembly
CN220539912U (en) Fan driving circuit and portable fan
CN113364355B (en) Motor drive conversion device and three-phase brushless motor equipment
EP2846458B1 (en) Motor position sensor device
CN219643892U (en) Transistor operating state acquisition circuit and electronic device
CN219487452U (en) Digital input channel diagnostic device and train control and management system

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201202

Address after: Room 703, 7 / F, building N1, No. 88, Dongchang Road, Suzhou Industrial Park, Suzhou, Jiangsu Province 215008

Applicant after: SUZHOU FURUISI INFORMATION TECHNOLOGY CO.,LTD.

Applicant after: HEFEI GEYI INTEGRATED CIRCUIT Co.,Ltd.

Applicant after: GIGADEVICE SEMICONDUCTOR(BEIJING) Inc.

Address before: 230601 No. 368 Tsinghua Road, Hefei Economic and Technological Development Zone, Anhui Province

Applicant before: HEFEI GEYI INTEGRATED CIRCUIT Co.,Ltd.

Applicant before: GIGADEVICE SEMICONDUCTOR(BEIJING) Inc.

GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 215008 room 703, 7 / F, N1 building, 88 Dongchang Road, Suzhou Industrial Park, Suzhou City, Jiangsu Province

Patentee after: SUZHOU FURUISI INFORMATION TECHNOLOGY CO.,LTD.

Patentee after: HEFEI GEYI INTEGRATED CIRCUIT Co.,Ltd.

Patentee after: Zhaoyi Innovation Technology Group Co.,Ltd.

Address before: 215008 room 703, 7 / F, N1 building, 88 Dongchang Road, Suzhou Industrial Park, Suzhou City, Jiangsu Province

Patentee before: SUZHOU FURUISI INFORMATION TECHNOLOGY CO.,LTD.

Patentee before: HEFEI GEYI INTEGRATED CIRCUIT Co.,Ltd.

Patentee before: GIGADEVICE SEMICONDUCTOR(BEIJING) Inc.