CN113156194A - Bus voltage sampling circuit of motor controller and motor controller - Google Patents
Bus voltage sampling circuit of motor controller and motor controller Download PDFInfo
- Publication number
- CN113156194A CN113156194A CN202110443076.1A CN202110443076A CN113156194A CN 113156194 A CN113156194 A CN 113156194A CN 202110443076 A CN202110443076 A CN 202110443076A CN 113156194 A CN113156194 A CN 113156194A
- Authority
- CN
- China
- Prior art keywords
- circuit
- sampling circuit
- optical coupler
- motor controller
- bus
- 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.)
- Pending
Links
- 238000005070 sampling Methods 0.000 title claims abstract description 51
- 230000003287 optical effect Effects 0.000 claims abstract description 32
- 239000000126 substance Substances 0.000 claims description 3
- 238000009529 body temperature measurement Methods 0.000 claims description 2
- 238000013461 design Methods 0.000 abstract description 3
- 238000000034 method Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/25—Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
- G01R19/2503—Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques for measuring voltage only, e.g. digital volt meters (DVM's)
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Control Of Electric Motors In General (AREA)
Abstract
The invention discloses a bus voltage sampling circuit of a motor controller and the motor controller, wherein the bus voltage sampling circuit comprises a first sampling circuit and a second sampling circuit which are respectively connected between a bus and a microcontroller; the first sampling circuit comprises a first voltage division circuit, a first optical coupler and an operational amplifier circuit, wherein the first optical coupler and the operational amplifier circuit are connected between the first voltage division circuit and the microcontroller in series; the second sampling circuit comprises a second voltage division circuit, an ADC circuit and a second optical coupler, and the ADC circuit and the second optical coupler are connected in series between the second voltage division circuit and the microcontroller. According to the technical scheme, the safety and reliability requirements of the motor controller are met by adding the redundancy design of the second sampling circuit.
Description
Technical Field
The invention belongs to the technical field of motor controllers, and particularly relates to a bus voltage sampling circuit of a motor controller and the motor controller.
Background
The traditional bus voltage acquisition circuit of the motor controller is complex in design, cannot share the existing circuit in the motor controller, is relatively high in cost, only comprises a single sampling circuit, and cannot guarantee safety and reliability.
Disclosure of Invention
In view of the above problems, the present invention discloses a bus voltage sampling circuit of a motor controller and a motor controller to overcome the above problems or at least partially solve the above problems.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention provides a bus voltage sampling circuit of a motor controller, which comprises a first sampling circuit and a second sampling circuit, wherein the first sampling circuit and the second sampling circuit are respectively connected between a bus and a microcontroller; wherein the content of the first and second substances,
the first sampling circuit comprises a first voltage division circuit, a first optical coupler and an operational amplifier circuit, and the first optical coupler and the operational amplifier circuit are connected between the first voltage division circuit and the microcontroller in series;
the second sampling circuit comprises a second voltage division circuit, an ADC circuit and a second optical coupler, and the ADC circuit and the second optical coupler are connected in series between the second voltage division circuit and the microcontroller.
Optionally, the second optocoupler is connected to an SPI pin of the microcontroller.
Optionally, the first voltage division circuit is composed of at least two resistors, one end of the first voltage division circuit is connected to the bus, the other end of the first voltage division circuit is grounded, and the first optocoupler is connected between the at least two resistors.
Optionally, the second voltage division circuit is composed of at least two resistors, one end of the second voltage division circuit is connected to the bus, the other end of the second voltage division circuit is grounded, and the ADC circuit is connected between the at least two resistors.
Optionally, the resistance value of the resistor ranges from several kilohms to several hundred kilohms.
Optionally, the voltages obtained by the first voltage dividing circuit and the second voltage dividing circuit are the same or different.
Optionally, the microcontroller is a single chip microcomputer.
Optionally, the first optical coupler is a linear optical coupler.
Optionally, the ADC circuit and the second optocoupler are shared with a temperature measurement circuit in the motor controller.
The invention also provides a motor controller, which adopts any one of the bus voltage sampling circuits to manage and control a motor battery.
The invention has the advantages and beneficial effects that:
according to the technical scheme, the safety and reliability requirements of the motor controller are met by adding the redundancy design of the second sampling circuit.
And secondly, the redundant second sampling circuit and a temperature measuring circuit in the motor controller share the ADC circuit and the second optocoupler, so that the number of electronic components is reduced, the circuit is simplified, the reliability of the motor controller is improved, and the system cost is reduced.
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 schematic structural diagram of a bus voltage sampling circuit of a motor controller according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail and fully with reference to the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be understood that the terms "comprises/comprising," "consisting of … …," or any other variation, are intended to cover a non-exclusive inclusion, such that a product, device, process, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such product, device, process, or method if desired. Without further limitation, an element defined by the phrases "comprising/including … …," "consisting of … …," or "comprising" does not exclude the presence of other like elements in a product, device, process, or method that comprises the element.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The technical solutions provided by the embodiments of the present invention are described in detail below with reference to fig. 1.
The embodiment of the invention discloses a bus voltage sampling circuit of a motor controller, which specifically comprises a first sampling circuit and a second sampling circuit, wherein the first sampling circuit and the second sampling circuit are respectively connected between a bus and a microcontroller. Wherein the content of the first and second substances,
the first sampling circuit comprises a first voltage division circuit, a first optical coupler and an operational amplifier circuit, wherein the first optical coupler and the operational amplifier circuit are connected in series between the first voltage division circuit and the microcontroller.
The second sampling circuit comprises a second voltage division circuit, an ADC circuit and a second optical coupler, and the ADC circuit and the second optical coupler are connected in series between the second voltage division circuit and the microcontroller.
It should be noted that an optical coupler, that is, an Optical Coupler (OCEP), also called a photo isolator or a photo coupler, is a device that transmits an electrical signal using light as a medium, and generally, a light emitter (an infrared light emitting diode LED) and a light receiver (a photosensitive semiconductor tube, a photosensitive resistor) are packaged in the same tube, where the light emitter emits light when an input end is powered up with a signal, and the light receiver generates a photocurrent after receiving the light and flows out from an output end, thereby realizing "electro-optic-electrical" control.
An operational amplifier (OPA) is an amplifying circuit capable of performing mathematical operations on a signal. The operational amplifier made by adopting integrated circuit process has the advantages of being exquisite, cheap and flexible to use, wherein the direct current amplifying circuit is widely applied in the industrial technical field, in particular to some measuring instruments and automatic control systems.
The ADC circuit is referred to as an analog-to-digital conversion circuit. I.e., converting analog signals into digital signals, typically used in data acquisition.
In summary, the second sampling circuit is added in the embodiment, and the two bus voltage sampling circuits have completely different acquisition modes, are independent of each other and do not affect each other, so that the functional safety requirement can be met.
In a specific embodiment, the second optocoupler is connected to an SPI pin of the microcontroller, and the SPI pin and the connection lines used before and after the second optocoupler are SPI buses.
It should be noted that SPI is an abbreviation of serial peripheral interface (serial peripheral interface), and is a high-speed, full-duplex, synchronous communication bus, and only four wires are occupied on the pins of the chip, which saves the pins of the chip, and simultaneously saves space on the layout of the PCB and provides convenience; and the SPI bus is a 4-wire bus, and because the hardware function is very strong, the software related to the SPI is quite simple, so that the central processing unit has more time to process other transactions. Because of this simple and easy-to-use feature, more and more chips are integrating such communication protocols.
In one or some embodiments, the first voltage dividing circuit is composed of at least two resistors, preferably 6 to 10 resistors, one end of the first voltage dividing circuit is connected to the bus, the other end of the first voltage dividing circuit is grounded, and the first optical coupler is connected to a middle connecting line of the resistors.
In one embodiment, the second voltage divider circuit is composed of at least two resistors, preferably 6 to 10 resistors, one end of the second voltage divider circuit is connected to the bus, the other end of the second voltage divider circuit is grounded, the ADC circuit is connected to a connection line between the resistors, preferably one end close to the ground, and the sampled voltage value is several volts.
In one embodiment, the resistance value of the resistor ranges from several kilohms to several hundred kilohms, so that the current in the voltage division circuit is reduced, and the safety of the motor controller is ensured.
In one embodiment, on the basis that the first sampling circuit and the second sampling circuit are independent, the voltages of the first voltage division circuit and the second voltage division circuit are the same or different.
In one embodiment, the microcontroller is a single chip microcomputer, is a central hub and a core of the motor controller, and can control the motor in a software programming mode and the like.
In one embodiment, the first optical coupler is a linear optical coupler, the second optical coupler is an isolation optical coupler, the first optical coupler receives and processes an analog signal, and the second optical coupler receives and processes a digital signal.
In one embodiment, the ADC circuit and the second optical coupler are shared with a temperature measuring circuit in the motor controller, so that the number of electric devices is reduced, the circuit is simplified, the reliability of the controller is improved, and the system cost is reduced.
The embodiment of the other aspect of the invention also discloses a motor controller, and the motor controller adopts any one of the bus voltage sampling circuits to manage and control a motor battery.
The above description is only an embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, extension, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims (10)
1. A bus voltage sampling circuit of a motor controller is characterized by comprising a first sampling circuit and a second sampling circuit, wherein the first sampling circuit and the second sampling circuit are respectively connected between a bus and a microcontroller; wherein the content of the first and second substances,
the first sampling circuit comprises a first voltage division circuit, a first optical coupler and an operational amplifier circuit, and the first optical coupler and the operational amplifier circuit are connected between the first voltage division circuit and the microcontroller in series;
the second sampling circuit comprises a second voltage division circuit, an ADC circuit and a second optical coupler, and the ADC circuit and the second optical coupler are connected in series between the second voltage division circuit and the microcontroller.
2. The bus voltage sampling circuit of claim 1, wherein the second optocoupler is connected to an SPI pin of the microcontroller.
3. The bus voltage sampling circuit according to claim 1, wherein the first voltage dividing circuit is composed of at least two resistors, one end of each resistor is connected to the bus, the other end of each resistor is grounded, and the first optical coupler is connected between the at least two resistors.
4. The bus voltage sampling circuit according to claim 1, wherein the second voltage divider circuit is composed of at least two resistors, one end of the second voltage divider circuit is connected to the bus, the other end of the second voltage divider circuit is connected to ground, and the ADC circuit is connected between the at least two resistors.
5. The bus voltage sampling circuit according to claim 4, wherein the resistance value of the resistor has a value ranging from several kilo-ohms to several hundred kilo-ohms.
6. The bus voltage sampling circuit according to claim 4, wherein the voltages obtained by the first voltage dividing circuit and the second voltage dividing circuit are the same or different.
7. The bus voltage sampling circuit according to any one of claims 1 to 6, wherein the microcontroller is a single-chip microcomputer.
8. The bus voltage sampling circuit according to any one of claims 1-6, wherein the first optical coupler is a linear optical coupler.
9. The bus voltage sampling circuit according to any one of claims 1-6, wherein the ADC circuit and the second optical coupler are shared with a temperature measurement circuit in the motor controller.
10. A motor controller, characterized in that the motor controller manages and controls the motor battery by using the bus voltage sampling circuit of any one of claims 1-9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110443076.1A CN113156194A (en) | 2021-04-23 | 2021-04-23 | Bus voltage sampling circuit of motor controller and motor controller |
PCT/CN2021/113837 WO2022222332A1 (en) | 2021-04-23 | 2021-08-20 | Bus voltage sampling circuit of motor controller and motor controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110443076.1A CN113156194A (en) | 2021-04-23 | 2021-04-23 | Bus voltage sampling circuit of motor controller and motor controller |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113156194A true CN113156194A (en) | 2021-07-23 |
Family
ID=76869933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110443076.1A Pending CN113156194A (en) | 2021-04-23 | 2021-04-23 | Bus voltage sampling circuit of motor controller and motor controller |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113156194A (en) |
WO (1) | WO2022222332A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022222332A1 (en) * | 2021-04-23 | 2022-10-27 | 精进电动科技股份有限公司 | Bus voltage sampling circuit of motor controller and motor controller |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN205231710U (en) * | 2015-12-18 | 2016-05-11 | 苏州汇川技术有限公司 | Motor control circuit based on busbar voltage detects |
CN109752588A (en) * | 2017-11-07 | 2019-05-14 | 上海大郡动力控制技术有限公司 | Electric machine controller DC bus-bar voltage signal sampling and monitoring circuit and method |
CN209342796U (en) * | 2018-11-08 | 2019-09-03 | 华域汽车电动系统有限公司 | The busbar voltage sampling apparatus of new energy vehicle motor controller |
CN209896947U (en) * | 2019-06-24 | 2020-01-03 | 深圳市麦格米特驱动技术有限公司 | Motor control circuit |
EP3734386A1 (en) * | 2018-04-02 | 2020-11-04 | Jing-Jin Electric Technologies Co., Ltd | Insulation monitoring circuit for motor controller |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6493243B1 (en) * | 1999-12-01 | 2002-12-10 | Acme Electric Corporation | Redundant power system and power supply therefor |
CN107769649A (en) * | 2017-10-22 | 2018-03-06 | 南京理工大学 | Ultrahigh speed permagnetic synchronous motor drive control device based on redundancy fault-tolerant |
CN108562786B (en) * | 2018-01-17 | 2021-07-13 | 广州小鹏汽车科技有限公司 | High-voltage sampling system and method |
CN110988441B (en) * | 2019-12-25 | 2023-11-28 | 联合汽车电子有限公司 | DC bus voltage monitoring system and method |
CN113156194A (en) * | 2021-04-23 | 2021-07-23 | 精进电动科技股份有限公司 | Bus voltage sampling circuit of motor controller and motor controller |
-
2021
- 2021-04-23 CN CN202110443076.1A patent/CN113156194A/en active Pending
- 2021-08-20 WO PCT/CN2021/113837 patent/WO2022222332A1/en unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN205231710U (en) * | 2015-12-18 | 2016-05-11 | 苏州汇川技术有限公司 | Motor control circuit based on busbar voltage detects |
CN109752588A (en) * | 2017-11-07 | 2019-05-14 | 上海大郡动力控制技术有限公司 | Electric machine controller DC bus-bar voltage signal sampling and monitoring circuit and method |
EP3734386A1 (en) * | 2018-04-02 | 2020-11-04 | Jing-Jin Electric Technologies Co., Ltd | Insulation monitoring circuit for motor controller |
CN209342796U (en) * | 2018-11-08 | 2019-09-03 | 华域汽车电动系统有限公司 | The busbar voltage sampling apparatus of new energy vehicle motor controller |
CN209896947U (en) * | 2019-06-24 | 2020-01-03 | 深圳市麦格米特驱动技术有限公司 | Motor control circuit |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022222332A1 (en) * | 2021-04-23 | 2022-10-27 | 精进电动科技股份有限公司 | Bus voltage sampling circuit of motor controller and motor controller |
Also Published As
Publication number | Publication date |
---|---|
WO2022222332A1 (en) | 2022-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1956717B1 (en) | Signal interface circuit | |
CN108664439B (en) | Analog quantity output circuit device with digital isolation | |
CN113688078A (en) | Implementation method for supporting compatibility of M.2 interface with different hard disks and M.2 connector | |
CN113156194A (en) | Bus voltage sampling circuit of motor controller and motor controller | |
US6704829B1 (en) | Switch input processing module for switching signal transmission lines to transmit different types of signals | |
CN211669737U (en) | Voltage analog quantity isolation module | |
CN203243311U (en) | Switching value detection apparatus based on analog-to-digital converter | |
CN217216610U (en) | Wake up source indicator signal output device | |
CN209044598U (en) | A kind of voltage detecting isolation circuit | |
CN216593795U (en) | Current signal conditioning device and optical power meter | |
CN216349199U (en) | Intelligent temperature transmitter and sensor signal measuring device | |
CN208731232U (en) | A kind of throttle platform communication control system | |
Rate et al. | ADS111x Ultra-Small, Low-Power, I 2 C-Compatible, 860-SPS, 16-Bit ADCs With Internal Reference, Oscillator, and Programmable Comparator | |
CN210691081U (en) | Optical power measuring device based on logarithmic amplifier | |
CN110955172A (en) | Electric isolation type 0-20 mA driving circuit with output self-detection function | |
CN212305301U (en) | PWM isolation control output 4-20mA circuit | |
CN220730313U (en) | Voltage test system and voltage test device | |
CN210895057U (en) | Data acquisition system | |
CN214954593U (en) | Industrial automation analog signal isolation module | |
CN216013975U (en) | Interface board control module | |
CN220855143U (en) | Identification circuit for identifying a plurality of cables in system | |
CN217135495U (en) | Broadband satellite communication board card | |
CN221042892U (en) | Digital bus communication equipment | |
CN219084255U (en) | High-precision multichannel thermal resistance temperature acquisition device | |
CN217034560U (en) | Support signal acquisition board of 4 ways communications |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210723 |
|
RJ01 | Rejection of invention patent application after publication |