CN114295242A - Motor controller and motor temperature sampling circuit thereof - Google Patents

Motor controller and motor temperature sampling circuit thereof Download PDF

Info

Publication number
CN114295242A
CN114295242A CN202111620196.0A CN202111620196A CN114295242A CN 114295242 A CN114295242 A CN 114295242A CN 202111620196 A CN202111620196 A CN 202111620196A CN 114295242 A CN114295242 A CN 114295242A
Authority
CN
China
Prior art keywords
resistor
circuit
sampling branch
branch
motor
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
Application number
CN202111620196.0A
Other languages
Chinese (zh)
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.)
Zhejiang PanGood Power Technology Co Ltd
Original Assignee
Zhejiang PanGood Power Technology 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 Zhejiang PanGood Power Technology Co Ltd filed Critical Zhejiang PanGood Power Technology Co Ltd
Priority to CN202111620196.0A priority Critical patent/CN114295242A/en
Publication of CN114295242A publication Critical patent/CN114295242A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

The invention provides a motor controller and a motor temperature sampling circuit thereof, wherein the motor temperature sampling circuit comprises a main sampling branch and an auxiliary sampling branch, the input ends of the main sampling branch and the auxiliary sampling branch are connected with the output end of a motor temperature sensor, and the output ends of the main sampling branch and the auxiliary sampling branch are respectively and correspondingly connected with two input ends of a processor in the motor controller; in addition, the main sampling branch comprises a differential amplification link which is not provided in the auxiliary sampling branch, so that the auxiliary sampling branch can respond to the change of the output voltage of the temperature sensor faster than the main sampling branch; the two paths of output signals are compared in the processor in real time, and when the motor temperature sensor is disconnected, the difference between the two paths of output signals is greater than a preset threshold value, so that the circuit disconnection of the temperature sensor is quickly detected. In addition, the motor temperature sampling circuit can also realize automatic identification of the type of the sensor by adjusting the voltage division parameter and the gain coefficient of the differential amplification link.

Description

Motor controller and motor temperature sampling circuit thereof
Technical Field
The invention relates to the technical field of power electronics, in particular to a motor controller and a motor temperature sampling circuit thereof.
Background
Motor and motor control are key power assembly part among the new energy automobile, because stator or magnet steel etc. inside the motor if the overtemperature work, can greatly influence the motor life-span, have the potential safety hazard even, consequently, motor controller must be able to do accurate collection to the temperature of motor.
Although the motor temperature sampling circuit in the prior art can meet certain acquisition precision, the conditions of poor contact and disconnection of a temperature sensor wire harness exist due to the fact that the special working condition of a motor controller and a motor assembly in a complex vibration environment of a finished automobile is not fully considered, and therefore the circuits do not have the good rapid detection for solving the problem of circuit disconnection of a temperature sensor of an electric vehicle in the running process.
Disclosure of Invention
In view of this, the present invention provides a motor controller and a motor temperature sampling circuit thereof, so as to realize fast detection of a line break of a temperature sensor.
In order to achieve the purpose, the invention provides the following technical scheme:
the invention provides a motor temperature sampling circuit of a motor controller, which comprises: the device comprises a main sampling branch and an auxiliary sampling branch; wherein the content of the first and second substances,
the input end of the main sampling branch and the input end of the auxiliary sampling branch are both connected with the output end of the motor temperature sensor;
the output end of the main sampling branch and the output end of the auxiliary sampling branch are correspondingly connected with two input ends of a processor in the motor controller respectively;
the main sampling branch circuit comprises a differential amplification link which is not arranged in the auxiliary sampling branch circuit, so that when the motor temperature sensor is disconnected, the difference between output signals of the main sampling branch circuit and the auxiliary sampling branch circuit is greater than a preset threshold value.
Optionally, the auxiliary sampling branch includes: the first voltage division circuit, the first low-pass filter and the first ADC converter;
the input end of the first voltage division circuit is used as the input end of the auxiliary sampling branch circuit;
and the output end of the first ADC converter is used as the output end of the auxiliary sampling branch.
Optionally, the auxiliary sampling branch further includes: a signal follower disposed between the first voltage divider circuit and the first low pass filter.
Optionally, the main sampling branch includes: the second voltage division circuit, the operational amplifier, the second low-pass filter and the second ADC converter;
the input end of the second voltage division circuit is used as the input end of the main sampling branch circuit;
and the output end of the second ADC converter is used as the output end of the main sampling branch.
Optionally, the power supply and the ground are connected in series: a first resistor, a second resistor and a third resistor; wherein the content of the first and second substances,
the first resistor is connected with the power supply, and the third resistor is grounded;
two ends of the second resistor are used as the input end of the first voltage division circuit and the input end of the second voltage division circuit;
a connection point of the first resistor and the second resistor is used as an output end of the second voltage division circuit;
and the connection point of the second resistor and the third resistor is used as the output end of the first voltage division circuit.
Optionally, two ends of the first resistor are further connected in parallel: a divider resistor matching module;
the resistance value of the voltage dividing resistor matching module is controlled by the processor.
Optionally, the voltage dividing resistor matching module includes: at least one series branch;
the series branch comprises a first switch and a fourth resistor which are connected in series;
the series branch is connected with the first resistor in parallel;
the on-off of the first switch is controlled by the processor.
Optionally, the operational amplifier is an operational amplifier with adjustable gain, and a gain adjusting end of the operational amplifier is connected to the processor through a digital switch module, so that the processor adjusts the gain of the operational amplifier by gating a channel in the digital switch module.
Optionally, the channel includes: the second switch, the fifth resistor, the sixth resistor and the seventh resistor;
the control end of the second switch is connected with the control end of the channel through the fifth resistor;
the sixth resistor is connected between the input end of the second switch and a power supply, and the input end of the second switch is connected with the corresponding gain adjusting end of the operational amplifier;
one end of the seventh resistor is connected with the control end of the second switch, and the other end of the seventh resistor is connected with the output end of the second switch and the ground.
The second aspect of the present invention also provides a motor controller, including: a processor and a motor temperature sampling circuit of a motor controller as described in any of the preceding paragraphs of the first aspect.
The invention provides a motor temperature sampling circuit of a motor controller, which comprises a main sampling branch and an auxiliary sampling branch, wherein the input ends of the main sampling branch and the auxiliary sampling branch are connected with the output end of a motor temperature sensor, and the output ends of the main sampling branch and the auxiliary sampling branch are respectively and correspondingly connected with the two input ends of a processor in the motor controller; moreover, the main sampling branch comprises a differential amplification link which is not provided in the auxiliary sampling branch, namely, the auxiliary sampling branch can quickly respond to the change of the output voltage of the temperature sensor, and the response of the main sampling branch to the change lags behind the auxiliary sampling branch; the two paths of output signals can be compared in real time in the processor, when the motor temperature sensor is disconnected, the difference between the two paths of output signals is larger than a preset threshold value, and then the processor can be used as a basis for judging the circuit disconnection of the temperature sensor, so that the quick detection of the circuit disconnection of the temperature sensor is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 to fig. 3 are schematic diagrams of three structures of a motor temperature sampling circuit of a motor controller according to an embodiment of the present invention;
fig. 4 and fig. 5 are two circuit diagrams of a common voltage divider circuit in a motor temperature sampling circuit according to an embodiment of the present invention;
fig. 6 is a specific circuit diagram of a motor temperature sampling circuit according to an embodiment of the present invention;
fig. 7 is a flowchart for automatically identifying a model of a sensor according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For the conditions of poor contact and disconnection of a temperature sensor wire harness, a motor temperature sampling circuit in the prior art cannot realize timely detection, and at least in some power sections of motor operation, after a thermistor in the temperature sensor is disconnected, the resistance value fed back by the thermistor cannot be represented in real time through a whole vehicle pre-judging temperature detection failure signal of a motor controller, so that the motor temperature sampling circuit of the motor controller is provided based on the defects of circuit sampling in the prior art, and the circuit disconnection of a temperature sensor circuit is quickly detected.
As shown in fig. 1, the motor temperature sampling circuit of the motor controller includes: a main sampling branch 20 and an auxiliary sampling branch 10; wherein:
the input end of the main sampling branch 20 and the input end of the auxiliary sampling branch 10 are both connected with the output end of the motor temperature sensor 30. The thermistor in the motor Temperature sensor 30 may be a PTC (Positive Temperature Coefficient) resistor, that is, a thermistor whose resistance value gradually increases with the increase of Temperature; or, the thermistor may also be an NTC (Negative Temperature CoeffiCient), that is, a thermistor whose resistance value gradually decreases with the increase of Temperature; the PT1000, PT100 and KTY84 series thermistors are more common, and are within the scope of the present application, depending on the specific application environment.
The output end of the main sampling branch 20 and the output end of the auxiliary sampling branch 10 are correspondingly connected with two input ends of a processor 40 in the motor controller respectively. In practical applications, the processor 40 may be an MCU (micro controller Unit), that is, a microprocessor device, and can implement functions such as software programming, ADC (Analog-to-Digital Converter) reading, and IO (Input/Output) outputting different configuration levels; alternatively, the Processor 40 may be a DSP (Digital Signal Processing/Processor), but is not limited thereto, and is within the scope of the present application depending on the specific application environment.
The main sampling branch 20 includes a differential amplification link which is not included in the auxiliary sampling branch 10, so that the auxiliary sampling branch 10 can quickly respond to the change of the output voltage of the temperature sensor, and the main sampling branch 20 is provided with the differential amplification link, so that the response of the output signal of the main sampling branch to the change of the output voltage of the temperature sensor lags behind the auxiliary sampling branch 10; if the motor temperature sensor 30 is disconnected, the difference between the output signals of the main sampling branch 20 and the auxiliary sampling branch 10 is greater than a preset threshold, and the processor 40 can be used as a basis for judging the disconnection of the temperature sensor circuit; that is, after the two output signals are compared in real time in the processor 40, the judgment of rapid line break detection can be made through a software algorithm, and the result of line break of the temperature sensor can be obtained, for example, the failure signal can be detected through the pre-judged temperature of the whole vehicle.
The motor temperature sampling circuit of the motor controller provided by the embodiment is mainly used for realizing the function of detecting the broken wire of the motor temperature by dividing the motor temperature detection into two paths of ADC (analog to digital converters) for sampling and reading sampling values of the two paths of ADC in real time through the processor 40, and if the temperature difference value of the two paths of fitting exceeds a certain set temperature interval value, the system can quickly judge that the connection state of the thermistor of the motor temperature sensor is abnormal, so that the function of detecting the broken wire is realized; the method is beneficial to identifying the wire harness disconnection detection of the motor temperature sensor, thereby being beneficial to the protection of the abnormal condition of the motor.
It is worth explaining that, motor temperature sensor for new energy automobile is under the vibration environment, and the sensor pencil easily pine takes off, and prior art can't the accurate connection state who detects feedback sensor pencil, and this embodiment can satisfy the abominable vibration operating mode operating condition of car through above-mentioned principle, guarantees the reliable long-time application of temperature detection function, therefore this circuit can be applicable to in the new energy automobile.
On the basis of the above embodiment, referring to fig. 2, a specific alternative structure of the motor temperature sampling circuit is shown, wherein:
the auxiliary sampling branch 10 comprises, connected in series in sequence: a first voltage divider circuit 101, a first low-pass filter 102, and a first ADC converter 103; the input end of the first voltage division circuit 101 is used as the input end of the auxiliary sampling branch 10; the output of the first ADC converter 103 serves as the output of the auxiliary sampling branch 10.
Preferably, referring to fig. 3, the auxiliary sampling branch 10 further includes: a signal follower 104 disposed between the first voltage divider 101 and the first low pass filter 102.
The auxiliary sampling branch 10 shown in fig. 3 is configured to perform sampling after adding a first-stage differential filter to the divided-voltage signal output by the first voltage dividing circuit 101, so as to implement a quick response and reading function of the temperature ADC, but if the auxiliary sampling branch is used alone, it cannot implement a detection and reporting function when the temperature sensor is abnormally connected with the wire harness.
Therefore, at this time, a main sampling branch 20 is provided to work simultaneously with the auxiliary sampling branch 10, and as shown in fig. 2 or fig. 3, the main sampling branch 20 specifically includes: a second voltage division circuit 201, an operational amplifier 202, a second low-pass filter 203, and a second ADC converter 204; the input end of the second voltage division circuit 201 is used as the input end of the main sampling branch 20; the output of the second ADC converter 204 serves as the output of the main sampling branch 20.
In this way, the operational amplifier 202 has an influence on the speed of the signal transmission process, so that the output signal of the main sampling branch 20 lags behind the auxiliary sampling branch 10, and the wire harness disconnection detection function of the motor temperature sensor is realized by the difference between the two.
In order to reduce the device configuration, the main sampling branch 20 and the auxiliary sampling branch 10 may share part of the sampling resistors, specifically, as shown in fig. 4, there are sequentially connected in series between the power source VCC and the ground GND: a first resistor R1, a second resistor R2 and a third resistor R3; wherein:
the first resistor R1 is connected to a power supply VCC, and the third resistor R3 is connected to the ground GND.
Both ends of the second resistor R2 are connected to both ends of the thermistor in the motor temperature sensor 30 as an input terminal of the first voltage dividing circuit 101 and an input terminal of the second voltage dividing circuit 201.
The junction of the first resistor R1 and the second resistor R2 serves as the output terminal of the second voltage divider 201.
The junction of the second resistor R2 and the third resistor R3 serves as the output terminal of the first voltage divider circuit 101.
In practical application, the output ends of the two voltage division circuits may be respectively provided with corresponding grounding capacitors to realize the output signal access of the thermistors in the motor temperature sensor 30.
The principle that the resistance value of the motor temperature sensor 30 changes along with the temperature in a substantially linear mode is applied to design the voltage division circuit, voltage division levels of the motor temperature sensor 30 are sampled at two ends of the motor temperature sensor 30 respectively, the two levels can be matched with corresponding resistance temperatures through independent table lookup, and the two temperatures are further compared and operated to judge whether the resistance connection wiring harness is abnormal or not.
It is worth to be noted that, because the motor controller and the motor are generally mutually separated products, one controller is often adapted to use a plurality of motors, and even a control board inside some controllers belongs to a platform product, and can be synchronously applied to a plurality of controller products; however, the temperature sensors in the motors of different manufacturers have own model selection principles, the models of the motors are different, the compatibility of the existing motor temperature sampling circuit is poor, and even hardware circuit matching needs to be carried out again; therefore, in order to improve the applicability of the controller, if the motor temperature sampling circuit can realize automatic matching of different motor temperature sensor models, the design and maintenance cost can be reduced.
Based on this, in this embodiment, in addition to the embodiment shown in fig. 4, preferably, as shown in fig. 5, the motor temperature sampling circuit further includes, in parallel, at both ends of the first resistor R1: a divider resistor matching module 205; the resistance of the divider resistor matching module 205 is controlled by the processor 40.
Specifically, the voltage dividing resistor matching module 205 may include: at least one series branch (one series branch is shown as an example in fig. 5); the series branch comprises a first switch K1 and a fourth resistor R4 which are connected in series; the series branch is connected in parallel to the first resistor R1, and if there are a plurality of series branches, each series branch is connected in parallel to the first resistor R1. The first switch K1 is switched on and off by the processor 40.
Taking the structure shown in fig. 5 as an example for explanation, the thermosets 1 and 2 are output signals of the motor temperature sensor 30, and can be compatible with common PTC resistors and NTC resistors, and the PTC _ EN is a switch control signal from the processor 40, so as to realize conversion of voltage dividing resistance parameters; when the first switch K1 is turned on, the series fourth resistor R4 is connected in parallel with the first resistor R1, so that the equivalent resistance between the power source VCC and the Thermistor1 is changed, and the voltage division parameters of the two voltage division circuits are further changed.
More preferably, the operational amplifier 202 may also be a gain-adjustable operational amplifier 202, and the gain-adjusting terminal (e.g., G0, G1, and G2 shown in fig. 6) is connected to the processor 40 through the digital switch module 206, so that the processor 40 can adjust the gain of the operational amplifier 202 by gating the channel in the digital switch module 206.
Each channel in the digital switch module 206 includes: the second switch K2, the fifth resistor R5, the sixth partial resistor R6 and the seventh partial resistor R7; the control end of the second switch K2 is connected with the control end of the channel through a fifth resistor R5; the sixth branch resistor R6 is connected between the input terminal of the second switch K2 and the power supply VCC, and the input terminal of the second switch K2 is used as the output terminal of the channel and connected to the corresponding gain adjustment terminal of the operational amplifier 202; one end of the seventh resistor R7 is connected to the control end of the second switch K2, and the other end is connected to the output end of the second switch K2 and ground GND.
It should be noted that, in order to realize the control of the first switch K1 by the processor 40, a corresponding channel may be provided in the digital switch module 206 to generate and output the switch control signal PTC _ EN. When the voltage dividing resistor matching module 205 includes a plurality of series branches, a corresponding number of channels need to be provided in the digital switch module 206 to respectively control on/off of each first switch K1, so as to implement segmented switching of voltage dividing parameters.
The first switch K1 and each second switch K2 shown in fig. 5 and fig. 6 may be a switching tube such as a triode or a MOSFET transistor, depending on the specific application environment, and are not limited herein and are within the scope of the present application.
Specifically, referring to fig. 6, the processor 40 outputs four control signals to the digital switch module 206 through its four IO ports DSP _ IO1, DSP _ IO2, DSP _ IO3 and DSP _ IO4, where the four control signals are: one control signal PTC _ EN _ DSP to the voltage divider resistor matching block 205 and three control signals PTC _ EN _ G0, PTC _ EN _ G1, and PTC _ EN _ G2 to the operational amplifier 202. Within the digital switch module 206: the first channel receives the control signal PTC _ EN _ DSP, generates and outputs a switch control signal PTC _ EN to the control end of the first switch K1; the second channel receives the control signal PTC _ EN _ G2, generates and outputs a gain adjustment signal G2 to the gain adjustment terminal G2 of the operational amplifier 202; a third channel, receiving the control signal PTC _ EN _ G1, generating and outputting a gain adjustment signal G1 to the gain adjustment terminal G1 of the operational amplifier 202; the fourth channel receives the control signal PTC _ EN _ G0, generates and outputs a gain adjustment signal G0 to the gain adjustment terminal G0 of the operational amplifier 202.
The gain-adjustable operational amplifier 202 is an amplifier device with configuration switches (such as the second switches K2 shown in fig. 6), and realizes three-way transistor-transistor logic level TTL signal level logic output by giving different logic levels of the configuration switches, specifically by three channels in the digital switch module 206, so as to realize various amplification factors.
Fig. 6 also specifically shows other modules in the motor temperature sampling circuit, where the first voltage dividing circuit 101 and the second voltage dividing circuit 201 are voltage dividing resistor circuits in which thermistors are connected to a control board, and the resistance values of the voltage dividing resistors are required to be as accurate as possible, and meanwhile, since different thermistors have different impedance values represented in certain temperature intervals, the selection calculation of the voltage dividing resistor values is particularly critical; the amplifying circuit and the resistance changer of the later stage are used for adjusting the compensation of the resistance value of the voltage dividing resistance loop. The operational amplifier 202 is an amplifier circuit with adjustable gain, and compensates the output range of the ADC converter 204 by reasonably enlarging the gain in order to compensate for the accurate sampling of the divided voltage parameter. The second low pass filter 203 and the first low pass filter 102 are mainly used for eliminating high frequency interference and improving the sampling precision of the processor 40. The digital switch module 206 is mainly a digital conversion switch circuit, and switches the gain required by the amplifier. The processor 40 mainly realizes the conversion of the digital switch and the reading calculation of the ADC signal; the divider resistor matching block 205 is a compensation conversion circuit for divider resistor values, and implements level value switching in stages. An output signal Motor _ Temp _ AD0 of the second low-pass filter 203 is connected to a pin of the DSP _ ADC1 of the processor 40 through the second ADC converter 204; the output signal Motor _ Temp _ AD1 of the first low pass filter 102 is connected to the DSP _ ADC2 pin of the processor 40 through the first ADC converter 103.
The realization of the automatic identification function of the motor temperature sensor, the configuration of the hardware circuit parameter must meet the design requirement of the conventional series temperature sensor or thermistor in the working range at first, at the same time, the signal receiving level of the processor 40 also meets the accuracy range that can be satisfied correspondingly, the detection function of the automatic identification is to solve the sampling accuracy of the receiving level of the processor 40 to the utmost extent, reasonably and automatically select and configure the divider resistor and the gain coefficient of the operational amplifier, the realization method of the automatic identification is shown in figure 7, the concrete process is: at normal temperature, configuring parameters of each sensor, wherein the parameters can be selected and matched through a hardware circuit; that is, a hardware circuit is used for experiments in advance, the divider resistance and the gain coefficient which are suitable for the thermistor in the motor temperature sensor 30 of various types (such as PT1000/PT100/KTY84 and the like) at normal temperature are calculated, and a temperature calculation table is calibrated according to the divider resistance and the gain coefficient; then, a calibrated temperature calculation table is implanted into a program in the processor 40 by using software, so that an automatic identification algorithm can be performed in the program according to each sensor parameter; when the motor is actually operated, the tested motor is introduced with 25 ℃ cooling water liquid, and the program is set to enter a sensor automatic identification mode, so that the processor 40 can automatically search corresponding matching calculation and sensor model identification according to the previous algorithm; under the automatic sensor identification mode, the processor 40 adjusts the divider resistance and the gain coefficient according to the experimental result, and determines the divider resistance and the gain coefficient which can obtain a 25 ℃ sampling value, namely which sensor resistance is adopted by the current tested motor; then according to the automatically recognized model, the software writes in the calibration parameters to call the corresponding hardware configuration mode, and the functions of the upper ADC output acquisition, the sensor model recognition and the short message detection are completed. The automatic identification function of the sensor is beneficial to searching and identifying the model of the motor temperature sensor in a specific mode, and is convenient for a developer to research.
In the embodiment, at normal temperature, the gain-adjustable amplifier circuit is used for sampling and calculating, the corresponding model of the temperature sensor in the motor is fitted according to the acquired and calculated temperature value, the processor 40 configures the reasonable voltage division sampling resistor through the selection switch according to the special relation that the resistance values of the common PTC series and NTC series change along with the temperature, the purpose of accurately acquiring the temperature of the motor is achieved, the model of the sensor is automatically confirmed and identified, the problem that the temperature sensor cannot be directly adapted when the motor controller is compatible to be applied to multi-platform motor drive is solved, the compatibility of various sensors is facilitated, the implementation method is simple, and the temperature acquisition precision is high. Moreover, the universal management of the motor controller control panel hardware is facilitated, and the control panel management cost is reduced.
In addition, in the embodiment, the processor 40 selects the corresponding analog switch circuit, so that the corresponding matched voltage-dividing resistor is quickly found, and the output voltage range can be effectively improved. The selection type is configured with the operational amplifier 202 with adjustable gain to configure the circuit, so that the anti-interference capability of the output voltage can be improved, and the effective amplification level output is matched.
Another embodiment of the present invention also provides a motor controller, including: a processor and a motor temperature sampling circuit as described in any of the above embodiments.
The structure and the working principle of the motor temperature sampling circuit can be obtained by referring to the above embodiments, and are not described in detail herein.
Adopt above-mentioned embodiment motor temperature sampling circuit, can realize the circuit to motor temperature sensor and break the short-term test, moreover, through the internal parameter of this motor temperature sampling circuit of treater automatic adjustment to can automatic identification sensor classification, realize the function of accurate collection motor temperature.
The same and similar parts among the various embodiments in the specification are referred to each other, and each embodiment focuses on differences from other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the above description of the disclosed embodiments, the features described in the embodiments in this specification may be replaced or combined with each other to enable those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A motor temperature sampling circuit of a motor controller, comprising: the device comprises a main sampling branch and an auxiliary sampling branch; wherein the content of the first and second substances,
the input end of the main sampling branch and the input end of the auxiliary sampling branch are both connected with the output end of the motor temperature sensor;
the output end of the main sampling branch and the output end of the auxiliary sampling branch are correspondingly connected with two input ends of a processor in the motor controller respectively;
the main sampling branch circuit comprises a differential amplification link which is not arranged in the auxiliary sampling branch circuit, so that when the motor temperature sensor is disconnected, the difference between output signals of the main sampling branch circuit and the auxiliary sampling branch circuit is greater than a preset threshold value.
2. The motor temperature sampling circuit of the motor controller according to claim 1, wherein the auxiliary sampling branch comprises, connected in series in sequence: the first voltage division circuit, the first low-pass filter and the first ADC converter;
the input end of the first voltage division circuit is used as the input end of the auxiliary sampling branch circuit;
and the output end of the first ADC converter is used as the output end of the auxiliary sampling branch.
3. The motor temperature sampling circuit of a motor controller of claim 2, wherein the auxiliary sampling branch further comprises: a signal follower disposed between the first voltage divider circuit and the first low pass filter.
4. The motor temperature sampling circuit of the motor controller according to claim 2 or 3, wherein the main sampling branch comprises, connected in series in this order: the second voltage division circuit, the operational amplifier, the second low-pass filter and the second ADC converter;
the input end of the second voltage division circuit is used as the input end of the main sampling branch circuit;
and the output end of the second ADC converter is used as the output end of the main sampling branch.
5. The motor temperature sampling circuit of the motor controller according to claim 4, wherein: a first resistor, a second resistor and a third resistor; wherein the content of the first and second substances,
the first resistor is connected with the power supply, and the third resistor is grounded;
two ends of the second resistor are used as the input end of the first voltage division circuit and the input end of the second voltage division circuit;
a connection point of the first resistor and the second resistor is used as an output end of the second voltage division circuit;
and the connection point of the second resistor and the third resistor is used as the output end of the first voltage division circuit.
6. The motor temperature sampling circuit of the motor controller according to claim 5, wherein the two ends of the first resistor are further connected in parallel with: a divider resistor matching module;
the resistance value of the voltage dividing resistor matching module is controlled by the processor.
7. The motor temperature sampling circuit of the motor controller of claim 6, wherein the voltage divider resistor matching module comprises: at least one series branch;
the series branch comprises a first switch and a fourth resistor which are connected in series;
the series branch is connected with the first resistor in parallel;
the on-off of the first switch is controlled by the processor.
8. The motor temperature sampling circuit of the motor controller according to claim 6, wherein the operational amplifier is an operational amplifier with adjustable gain, and a gain adjusting terminal of the operational amplifier is connected to the processor through a digital switch module, so that the processor adjusts the gain of the operational amplifier by gating a channel in the digital switch module.
9. The motor temperature sampling circuit of a motor controller of claim 8, wherein the channel comprises: the second switch, the fifth resistor, the sixth resistor and the seventh resistor;
the control end of the second switch is connected with the control end of the channel through the fifth resistor;
the sixth resistor is connected between the input end of the second switch and a power supply, and the input end of the second switch is connected with the corresponding gain adjusting end of the operational amplifier;
one end of the seventh resistor is connected with the control end of the second switch, and the other end of the seventh resistor is connected with the output end of the second switch and the ground.
10. A motor controller, comprising: a processor and a motor temperature sampling circuit of a motor controller as claimed in any one of claims 1 to 9.
CN202111620196.0A 2021-12-27 2021-12-27 Motor controller and motor temperature sampling circuit thereof Pending CN114295242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111620196.0A CN114295242A (en) 2021-12-27 2021-12-27 Motor controller and motor temperature sampling circuit thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111620196.0A CN114295242A (en) 2021-12-27 2021-12-27 Motor controller and motor temperature sampling circuit thereof

Publications (1)

Publication Number Publication Date
CN114295242A true CN114295242A (en) 2022-04-08

Family

ID=80970058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111620196.0A Pending CN114295242A (en) 2021-12-27 2021-12-27 Motor controller and motor temperature sampling circuit thereof

Country Status (1)

Country Link
CN (1) CN114295242A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117572072A (en) * 2024-01-17 2024-02-20 忱芯科技(上海)有限公司 Current sampling circuit, method and sampling equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117572072A (en) * 2024-01-17 2024-02-20 忱芯科技(上海)有限公司 Current sampling circuit, method and sampling equipment
CN117572072B (en) * 2024-01-17 2024-03-26 忱芯科技(上海)有限公司 Current sampling circuit, method and sampling equipment

Similar Documents

Publication Publication Date Title
EP2527854B1 (en) Systems and methods for determining electrical faults
EP3057237A1 (en) Electronic control device
US7462041B2 (en) Automation system and method for identifying and correcting connection errors
CN114295242A (en) Motor controller and motor temperature sampling circuit thereof
CN115598410B (en) Power consumption acquisition system and method
CN111880513A (en) Test circuit and test method of device to be tested
US10740272B2 (en) Input circuit that can be made redundant, input circuit unit having at least one input circuit, and method for operating the input circuit unit
US11031948B1 (en) Diagnostic system
CN117578345A (en) Signal generating device, inverter, and DC converter
CN219039278U (en) Detection circuit
CN111817284B (en) Direct current bus communication circuit and method
CN111257641B (en) Wide resistance range signal acquisition circuit and corresponding acquisition method
US20060022527A1 (en) Protective device in a controller
CN210089883U (en) Temperature sampling circuit
JP2004274987A (en) Battery module voltage detecting method and detector of electric automobile
JP2002310807A (en) Temperature detector
CN101571092B (en) A method and an apparatus for controlling glow plugs in a diesel engine
CN109725631B (en) Quiescent current testing device and vehicle
CN116743138B (en) Control device and control method for multi-operation-mode circuit
CN109596981B (en) Voltage feedback system for testing performance of motor of automobile electronic throttle valve
CN219456777U (en) Temperature control circuit with abnormality detection circuit
CN217953717U (en) Temperature detection circuit and electronic device
CN115016585B (en) Program-controlled direct-current power supply system
CN110888097B (en) Line switching method and device
EP4080231A1 (en) Method for determining a connection status between an antenna amplifier and an antenna structure, a diagnostic module and an antenna amplifier

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