CN105548657B - The phase current signal method of sampling and device, electric machine controller and electric car - Google Patents

The phase current signal method of sampling and device, electric machine controller and electric car Download PDF

Info

Publication number
CN105548657B
CN105548657B CN201510997315.2A CN201510997315A CN105548657B CN 105548657 B CN105548657 B CN 105548657B CN 201510997315 A CN201510997315 A CN 201510997315A CN 105548657 B CN105548657 B CN 105548657B
Authority
CN
China
Prior art keywords
signal
output
sensor
phase current
sampling
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
CN201510997315.2A
Other languages
Chinese (zh)
Other versions
CN105548657A (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.)
Beijing Electric Vehicle Co Ltd
Original Assignee
Beijing Electric Vehicle 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 Beijing Electric Vehicle Co Ltd filed Critical Beijing Electric Vehicle Co Ltd
Priority to CN201510997315.2A priority Critical patent/CN105548657B/en
Publication of CN105548657A publication Critical patent/CN105548657A/en
Priority to PCT/CN2016/103205 priority patent/WO2017107645A1/en
Application granted granted Critical
Publication of CN105548657B publication Critical patent/CN105548657B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/0092Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring current only
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/64Electric machine technologies in electromobility

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Instrument Details And Bridges, And Automatic Balancing Devices (AREA)

Abstract

The invention discloses a kind of phase current signal method of sampling and devices, electric machine controller and electric car.This method comprises: acquiring the output of sensor by multichannel analog signals acquisition channel, multiple sampled signals are obtained, wherein sensor is used for the phase current of Control of Induction Motors device output, exports sampled signal;And the sampled result of phase current is obtained according to multiple sampled signals.Through the invention, solve the problems, such as that phase current signal sampling precision is lower in the related technology.

Description

The phase current signal method of sampling and device, electric machine controller and electric car
Technical field
The present invention relates to signal acquisition fields, in particular to a kind of phase current signal method of sampling and device, motor Controller and electric car.
Background technique
Electric car is a kind of by vehicle mounted dynamic battery power supply, the motor-driven environmentally protective vehicles, electric car It is the developing direction of auto industry, and current emphasis is encouraged and the technical products of development.One of core technology of electric car It is exactly the technology of motor and electric machine controller, electric car mostly uses permanent magnet synchronous motor as motor, electric machine controller at present By being frequency-changing AC electricity by the DC power supply inversion of power battery, the motor output torque of exchange is driven.In digitized friendship It flows in motor control, accurate phase current acquisition and processing are the key that realize high-performance closed-loop control system, if without standard True phase current signal cannot realize efficient closed-loop control.To time of phase current sensing motor control program arteries and veins Width modulated (Pulse-Width Modulation, abbreviation PWM) is rushed in interrupt cycle, by Hall current sensor using suddenly It is voltage signal that current signal is passed through electromagnetic conversion by your principle, and the analog signal that voltage signal is input to electric machine controller is adopted Collect port, by analog signal sampling and data processing, the voltage signal values of input is converted into actual phase current values, are used for Realize algorithm and the fault diagnosis processing etc. of motor control program.In the related technology, the voltage of Hall current sensor output Signal only calls one acquisition conversion process, due to insulated gate bipolar transistor (Insulated Gate Bipolar Transistor, abbreviation IGBT) constant power devices switch frequency is higher, and the opening of power device turns off and can all influence current wave Shape, and low pressure Acquisition Circuit, vulnerable to interference, what these got after all causing acquisition to be converted is used for motor control algorithms The required precision of high-precision closed-loop control is not achieved in three-phase current signal data distortion.
For the lower problem of phase current signal sampling precision in the related technology, effective solution side is not yet proposed at present Case.
Summary of the invention
The main purpose of the present invention is to provide a kind of phase current signal method of sampling and devices, electric machine controller and electronic Automobile, to solve the problems, such as that phase current signal sampling precision is lower in the related technology.
To achieve the goals above, according to an aspect of the invention, there is provided a kind of phase current signal method of sampling.It should Method includes: that the output of sensor is acquired by multichannel analog signals acquisition channel, obtains multiple sampled signals, wherein sensing Device is used for the phase current of Control of Induction Motors device output, exports sampled signal;And phase current is obtained according to multiple sampled signals Sampled result.
Further, sensor is Hall current sensor, for the phase current of Control of Induction Motors device output, output electricity Signal is pressed, the output of sensor is acquired by multichannel analog signals acquisition channel, obtaining multiple sampled signals includes: to pass through multichannel Collection of simulant signal channel acquires the output of Hall current sensor, obtains multiple voltage sampling signals, is believed according to multiple samplings Number obtain phase current sampled result include: that multiple voltage sampling signals are calculated, obtain the sampled result of phase current.
Further, sensor is Hall current sensor, and phase current is three-phase current, multichannel analog signals acquisition channel Including three groups of collection of simulant signal channels, the output of sensor is acquired by multichannel analog signals acquisition channel, obtains multiple adopt Sample signal includes: the output for acquiring three Hall current sensors respectively by three groups of collection of simulant signal channels, obtains three groups Voltage sampling signal, wherein three Hall current sensors are used to be respectively induced the three-phase current of electric machine controller output, output Voltage signal.
Further, the output for acquiring three Hall current sensors respectively by three groups of collection of simulant signal channels, is obtained Taking three groups of voltage sampling signals includes: to select respectively in every group of collection of simulant signal channel in three groups of collection of simulant signal channels A collection of simulant signal channel is taken, three collection of simulant signal channels are obtained;By three collection of simulant signal channels according to First preset order acquires the output of three Hall current sensors respectively, obtains the first preset order voltage sampling signal;With And acquire the output of three Hall current sensors respectively according to the second preset order by three collection of simulant signal channels, it obtains Take the second preset order voltage sampling signal.
Further, acquiring the output of sensor by multichannel analog signals acquisition channel includes: within PWM interrupt cycle Default sampling instant start to acquire the output of sensor, wherein when default sampling instant is following in PWM interrupt cycle It carves:Wherein, T is the duration of PWM interrupt cycle, and t is by obtaining multiple sampled signals to the duration for obtaining phase current.
Further, sensor is Hall current sensor, acquires sensor by multichannel analog signals acquisition channel Output, obtaining multiple sampled signals includes: to be carried out by the first collection of simulant signal channel to the output of Hall current sensor It acquires twice, obtains first voltage sampled signal and second voltage sampled signal;And pass through the second collection of simulant signal channel The output of Hall current sensor is acquired twice, obtains tertiary voltage sampled signal and the 4th voltage sampling signal, root It include: to first voltage sampled signal, second voltage sampled signal, the according to the sampled result that multiple sampled signals obtain phase current Three voltage sampling signals and the 4th voltage sampling signal are ranked up;Remove first voltage sampled signal, second voltage sampling letter Number, maximum value and minimum value in tertiary voltage sampled signal and the 4th voltage sampling signal, obtain two voltage sampling signals Median;Two voltage sampling signal medians are averaged, voltage sampling signal average value is obtained;And by voltage sample Signal averaging is converted to current value, obtains the sampled result of phase current.
To achieve the goals above, according to an aspect of the invention, there is provided a kind of phase current signal sampling apparatus.It should Device includes: sensor, is sleeved on the output cable of electric machine controller, for Control of Induction Motors device output phase current, Export sampled signal;Sampling A/D chip is connected by multichannel analog signals acquisition channel with the output of sensor, is passed for acquiring The output of sensor simultaneously obtains multiple sampled signals;And control chip, it is connected with sampling A/D chip, for being believed according to multiple samplings Number obtain phase current sampled result.
Further, sensor is Hall current sensor.
Further, the output cable of electric machine controller includes the first phase current cable, the second phase current cable and third Phase current cable, multichannel analog signals acquisition channel include first group of collection of simulant signal channel, second group of collection of simulant signal Channel and third group collection of simulant signal channel, Hall current sensor includes: the first Hall current sensor, is sleeved on first On phase current cable, it is connected by first group of collection of simulant signal channel with control chip, it is defeated for Control of Induction Motors device The first phase current out exports first voltage signal;Second Hall current sensor is sleeved on the second phase current cable, is led to Cross second group of collection of simulant signal channel with control chip be connected, for Control of Induction Motors device output the second phase current, Export second voltage signal;And third Hall current sensor, it is sleeved in third phase current cable, is simulated by third group Signal sampling channel is connected with control chip, for the third phase current of Control of Induction Motors device output, exports tertiary voltage Signal.
Further, sampling A/D chip includes: multiple collection of simulant signal interfaces, by multichannel analog signals acquisition channel with The output of sensor is connected, for acquiring the sampled signal of sensor output, wherein multiple collection of simulant signal interfaces and more Road collection of simulant signal channel corresponds.
Further, sensor is Hall current sensor, for incuding phase current output voltage signal, multi-channel analog letter Number acquisition channel includes first via collection of simulant signal channel and the second road collection of simulant signal channel, multiple collection of simulant signal Interface includes: the first collection of simulant signal interface, passes through the defeated of first via collection of simulant signal channel and Hall current sensor It is connected out, the voltage signal for acquiring Hall current sensor output obtains first voltage sampled signal;And second mould Quasi- signal acquisition interface, is connected, for adopting with the output of Hall current sensor by the second road collection of simulant signal channel The voltage signal for collecting Hall current sensor output obtains second voltage sampled signal.
To achieve the goals above, according to an aspect of the invention, there is provided a kind of electric machine controller.The motor control Device includes: sampling A/D chip, is connected by multichannel analog signals acquisition channel with the output of sensor, for acquiring sensor It exports and obtains multiple sampled signals, wherein sensor is used for the phase current of Control of Induction Motors device output and exports sampling letter Number;And control chip, it is connected with sampling A/D chip, for obtaining the sampled result of phase current according to multiple sampled signals.
To achieve the goals above, according to an aspect of the invention, there is provided a kind of electric car.The electric car packet Include phase current signal sampling apparatus or electric machine controller of the invention.
The present invention acquires the output of sensor by multichannel analog signals acquisition channel, obtains multiple sampled signals, wherein Sensor is used for the phase current of Control of Induction Motors device output, exports sampled signal;And phase is obtained according to multiple sampled signals The sampled result of electric current solves the problems, such as that phase current signal sampling precision is lower in the related technology, and then has reached raising phase The effect of current signal sampling precision.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the phase current signal method of sampling according to a first embodiment of the present invention;
Fig. 2 is the schematic diagram of the sampling instant of the phase current signal method of sampling according to an embodiment of the present invention;
Fig. 3 is the flow chart of the phase current signal method of sampling according to a second embodiment of the present invention;
Fig. 4 is showing for the phase current signal sampling apparatus that the phase current signal method of sampling according to an embodiment of the present invention uses It is intended to;And
Fig. 5 is the schematic diagram of phase current signal sampling apparatus according to an embodiment of the present invention.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein.In addition, term " includes " and " tool Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
The embodiment provides a kind of phase current signal method of samplings.
Fig. 1 is the flow chart of the phase current signal method of sampling according to a first embodiment of the present invention.As shown in Figure 1, the party Method the following steps are included:
Step S101 is acquired the output of sensor by multichannel analog signals acquisition channel, obtains multiple sampled signals.
Collection of simulant signal channel is used to acquire the analog signal of sensor output, obtains digital signal.Analog signal is adopted Collection channel can be the Sampling Interface of sampling A/D chip and sensor carries out line connection, the signal of acquisition sensor output, and acquisition is adopted Sample signal.Sensor is used for the phase current of Control of Induction Motors device output, exports sampled signal.Sensor can be sleeved on motor On the output cable of controller, electric machine controller exports the operation of three-phase current driving motor, by taking the motor of star-like connection as an example, phase Electric current is equal to line current, and sensor can be directly sleeved on the line current cable of electric machine controller, and induction phase current output is adopted Sample signal.Sensor can be electric current conversion potential circuit, phase current is converted to voltage signal output, it is preferable that sensor Hall current sensor can be used, phase current signal, the output voltage signal after electromagnetic conversion are incuded.One sensor pair A phase current is answered, the output of a sensor is acquired by multichannel analog signals acquisition channel, sample number can be improved.It is more Road collection of simulant signal channel acquires the available multiple sampled signals of output of sensor, the quantity of multiple sampled signals and more The quantity in road collection of simulant signal channel is related with the number being acquired using multichannel analog signals acquisition channel to sensor, For example, using the output of two-way collection of simulant signal channel acquisition sensor, per collection of simulant signal channel all the way to sensor Output acquired twice, then four sampled signals can be got to the phase current of sensor sensing.
Step S102 obtains the sampled result of phase current according to multiple sampled signals.
After obtaining multiple sampled signals, the sampled result of phase current is obtained according to multiple sampled signals.According to multiple The sampled result that sampled signal obtains phase current includes calculating multiple sampled signals, obtains the sampled result of phase current. The method calculated multiple sampled signals can be the common method that data processing is carried out to experimental data, be also possible to pre- First determining processing method.Specifically, if being more than three to the quantity of multiple sampled signals of phase current acquisition, it can To be first ranked up collected multiple sampled signals, remove the maximum value and minimum value in multiple sampled signals, it will be more Remaining sampled signal is averaged in a sampled signal, obtains sampled signal average value.The sampled signal can be electric current letter Number, it is also possible to voltage signal, if it is voltage signal, then needs voltage sampling signal average value being converted to current value, obtain Get the sampled result of final phase current.Phase current signal is in sampling vulnerable to the biggish power device switching tube of switching frequency Influence, the fluctuation of waveform may be generated, by acquiring multiple sampled signals to same phase current, and remove multiple samplings Maximum value and minimum value in signal can effectively remove interference.Optionally, phase current is obtained according to multiple sampled signals Sampled result, which can also be, is directly averaged multiple sampled signals, obtains sampled signal average value, if sampled signal is not It is current value, then sampled signal average value is converted into current value, obtains the sampled result of phase current.The present invention does not limit to more The specific algorithm that a sampled signal is calculated, as the case may be depending on.
Preferably, by the output that multichannel analog signals acquisition channel acquires sensor be within PWM interrupt cycle, can be with First determine that the sampling instant of acquisition sensor, the sampling instant within PWM interrupt cycle start to acquire the output of sensor. Sampling instant, which can be, to be calculated by the following formula:
Wherein, T is the duration of PWM interrupt cycle, t be by obtain multiple sampled signals to acquisition phase current duration, That is, t is to the total duration according to predetermined sampling operation calculated signal sampling and data processing, t can be by executing The working unit time of the chip of sampling and data processing operation determines.
Fig. 2 is the schematic diagram of the sampling instant of the phase current signal method of sampling according to an embodiment of the present invention, such as Fig. 2 institute Show, the when a length of Tpwm of PWM interrupt cycle, note center point moment is t2, and the t2 moment is Tpwm/2, when the t1 moment is as sampling It carves, starts the acquisition and conversion operation that trigger phase current signal at the t1 moment, the acquisition of phase current signal and conversion operation are by electricity The main control chip of machine controller executes, and electric machine controller main control chip carries out primary simulation letter to collection of simulant signal channel all the way Number acquisition and time for convert into ts, in predetermined sampling operation include six analog signal sampling channel is respectively acquired with Conversion is then about 12*ts by the duration for obtaining multiple sampled signals to the sampled result for obtaining phase current, it can thus be concluded that t1 twice Moment is (t2-6*ts), and the t1 moment before the center point moment t2 of PWM interrupt cycle, obtains the sampled result of phase current Moment, the t3 moment was (t2+6*ts) at the t3 moment.Near the central instant of PWM interrupt cycle, power device switching tube is to phase The influence of current waveform is smaller, and phase current is more stable, by determining the sampling instant near PWM central point interrupt cycle, And start to carry out the acquisition and conversion of phase current signal in sampling instant, power device switching tube can be avoided to phase current waveform Influence, collected phase current values are more acurrate.
Preferably, the three-phase current of electric machine controller output is respectively induced by three Hall current sensors, each suddenly The corresponding phase current of your current sensor.Multichannel analog signals acquisition channel include three groups of collection of simulant signal channels, every group Collection of simulant signal channel includes multichannel analog signals acquisition channel, one Hall of every group of corresponding acquisition in collection of simulant signal channel The output of current sensor, that is, every group of collection of simulant signal channel collects multiple voltage samples letter an of phase current Number, multiple voltage sampling signals are carried out with the sampled result that the phase current is calculated.Preferably, preset order pair can be passed through Three-phase current is sampled, specifically, dividing in every group of collection of simulant signal channel in three groups of collection of simulant signal channels Collection of simulant signal channel all the way is not chosen, obtains three road collection of simulant signal channels, passes through three road collection of simulant signal channels It acquires the output of three Hall current sensors respectively according to the first preset order, obtains the first preset order voltage sample letter Number, then the defeated of three Hall current sensors is acquired respectively according to the second preset order by three road collection of simulant signal channels Out, the second preset order voltage sampling signal is obtained.For example, every group of analog signal is adopted in three groups of collection of simulant signal channels Collection channel respectively includes two-way collection of simulant signal channel, chooses two-way collection of simulant signal in every group of collection of simulant signal channel One of channel obtains the tri- road collection of simulant signal channel A, B, C, passes for tri- Hall currents of acquisition A, B, C respectively The output of sensor, namely three-phase current is acquired respectively, when being sampled within PWM interrupt cycle, tri- tunnel analog signal of A, B, C is adopted Collection channel sequentially acquires, and is sequentially collection of simulant signal channel A, collection of simulant signal channel B, collection of simulant signal channel C respectively acquires once the output of tri- Hall current sensors of A, B, C, obtains the voltage sample of the three-phase current of the first sequence Then signal is distinguished sequenced through collection of simulant signal channel C, collection of simulant signal channel B, collection of simulant signal channel A again It is primary to the output acquisition of tri- Hall current sensors of C, B, A, obtain the voltage sampling signal of the three-phase current of the second sequence. After obtaining voltage sampling signal, multiple voltage sampling signals corresponding to each phase current are calculated, and obtain each phase electricity The sampled result of stream.When being sampled within PWM interrupt cycle, due to the interference effect by power device, different moments phase The waveform of electric current may be different, and the value of three-phase current is acquired by order change, can disperse power device to a certain extent The influence that the interference of part generates same phase current, multiple sampled signals collected to same phase current can more reflect overall feelings Condition.
The phase current signal method of sampling that the embodiment provides acquires sensor by multichannel analog signals acquisition channel Output, obtains multiple sampled signals, wherein sensor is used for the phase current of Control of Induction Motors device output, exports sampled signal; And according to multiple sampled signals obtain phase current sampled result, solve in the related technology phase current signal sampling precision compared with Low problem, and then achieved the effect that improve phase current signal sampling precision.
Fig. 3 is the flow chart of the phase current signal method of sampling according to a second embodiment of the present invention.The embodiment can be made For the preferred embodiment of above-mentioned first embodiment.
Fig. 4 is showing for the phase current signal sampling apparatus that the phase current signal method of sampling according to an embodiment of the present invention uses It is intended to.The phase current signal that phase current signal sampling apparatus can be used for executing second embodiment of the invention shown in Fig. 4 is adopted Quadrat method.As shown in figure 4, phase current signal sampling apparatus includes electric machine controller 401, and motor 402, Hall current sensor A, Hall current sensor B and Hall current sensor C.
Electric machine controller 401 includes collection of simulant signal interface AD0, collection of simulant signal interface AD1, collection of simulant signal Interface AD2, collection of simulant signal interface AD3, collection of simulant signal interface AD4, collection of simulant signal interface AD5, phase current U are defeated Outgoing interface, phase current V output interface, phase current W output interface.Electric machine controller 401 passes through line cable for three-phase current U, V, W It is output to motor 402, is used for driving motor 402.Hall current sensor A, Hall current sensor B, Hall current sensor C It is set on the corresponding line cable of three-phase current U, V, W, the phase current signal for being respectively induced three-phase current U, V, W is defeated Voltage signal out.AD0 and AD1 is acquired the output of Hall current sensor A, and AD2 and AD3 are to Hall current sensor B Output be acquired, AD4 and AD5 are acquired the output of Hall current sensor C.
As shown in figure 3, the phase current signal method of sampling of the embodiment the following steps are included:
Step S301, sequentially through collection of simulant signal interface AD0, AD2, AD4 respectively to Hall current sensor A, B, the output of C is acquired, and obtains three-phase current corresponding voltage sampling signal U1, V1, W1.
Step S302, sequentially through collection of simulant signal interface AD4, AD2, AD0 respectively to Hall current sensor C, B, the output of A is acquired, and obtains three-phase current corresponding voltage sampling signal W2, V2, U2.
Step S303, sequentially through collection of simulant signal interface AD1, AD3, AD5 respectively to Hall current sensor A, B, the output of C is acquired, and obtains three-phase current corresponding voltage sampling signal U3, V3, W3.
Step S304, sequentially through collection of simulant signal interface AD5, AD3, AD1 respectively to Hall current sensor C, B, the output of A is acquired, and obtains three-phase current corresponding voltage sampling signal W4, V4, U4.
Step S305 is ranked up the sampled signal of each phase current.The sampled signal of U phase current be U1, U2, U3, U4, The sampled signal of V phase current is V1, V2, V3, V4, and the sampled signal of W phase current is W1, W2, W3, W4.Each phase current is adopted respectively Four sampled signals are collected, four sampled signals of each phase current have been ranked up.
Step S306, after the sampled signal to each phase current is ranked up, in the sampled signal of removing each phase current Maximum value and minimum value.Removing maximum value and minimum value can remove and be disturbed more serious sampled signal, and reduction is disturbed Influence of the serious sampled signal to sampled result.
Step S307, the sampled signal retained each phase current are averaged, and the sampled signal for obtaining each phase current is average Value.
The sampled signal average value of each phase current is converted to current value, obtains the sampling knot of each phase current by step S308 Fruit.Sampled result can be used for motor control.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not The sequence being same as herein executes shown or described step.
The embodiments of the present invention also provide a kind of phase current signal sampling apparatuses.It should be noted that the present invention is implemented The phase current signal sampling apparatus of example can be used for executing the phase current signal method of sampling of the invention.
Fig. 5 is the schematic diagram of phase current signal sampling apparatus according to an embodiment of the present invention.As shown in figure 5, the device packet Include sensor 10, sampling A/D chip 20 and control chip 30.
Sensor 10 is sleeved on the output cable of electric machine controller, for Control of Induction Motors device output phase current, Export sampled signal.Sampling A/D chip 20 is connected by multichannel analog signals acquisition channel with the output of sensor 10, for adopting Collect the output of sensor 10 and obtains multiple sampled signals.Control chip 30 is connected with sampling A/D chip 20, for according to multiple The sampled result of sampled signal acquisition phase current.
Preferably, sensor 10 is Hall current sensor.
Preferably, the output cable of electric machine controller includes the first phase current cable, the second phase current cable and third phase Current cable, multichannel analog signals acquisition channel are logical including first group of collection of simulant signal channel, second group of collection of simulant signal Road and third group collection of simulant signal channel, Hall current sensor include three Hall current sensors, wherein the first Hall Current sensor is sleeved on the first phase current cable, is connected by first group of collection of simulant signal channel with control chip, For the first phase current of Control of Induction Motors device output, first voltage signal is exported;Second Hall current sensor is sleeved on On second phase current cable, it is connected by second group of collection of simulant signal channel with control chip, is used for Control of Induction Motors Second phase current of device output, exports second voltage signal;Third Hall current sensor is sleeved in third phase current cable, It is connected by third group collection of simulant signal channel with control chip, the third phase electricity for the output of Control of Induction Motors device Stream exports tertiary voltage signal.
Preferably, sampling A/D chip 20 include multiple collection of simulant signal interfaces, by multichannel analog signals acquisition channel with The output of sensor is connected, for acquiring the sampled signal of sensor output, wherein multiple collection of simulant signal interfaces and more Road collection of simulant signal channel corresponds.
Preferably, sensor 10 is Hall current sensor, for incuding phase current output voltage signal, multi-channel analog letter Number acquisition channel includes first via collection of simulant signal channel and the second road collection of simulant signal channel, multiple collection of simulant signal Interface includes the first collection of simulant signal interface and the second collection of simulant signal interface.First collection of simulant signal interface passes through the Collection of simulant signal channel is connected with the output of Hall current sensor all the way, for acquiring Hall current sensor output Voltage signal obtains first voltage sampled signal.Second collection of simulant signal interface by the second road collection of simulant signal channel with The output of Hall current sensor is connected, and the voltage signal for acquiring Hall current sensor output obtains second voltage and adopts Sample signal.
The embodiments of the present invention also provide a kind of electric machine controllers.The electric machine controller includes sampling A/D chip and control core Piece.Sampling A/D chip is connected by multichannel analog signals acquisition channel with the output of sensor, for acquiring the output of sensor And obtain multiple sampled signals, wherein sensor is used for the phase current of Control of Induction Motors device output and exports sampled signal.Control Coremaking piece is connected with sampling A/D chip, for obtaining the sampled result of phase current according to multiple sampled signals.
The embodiments of the present invention also provide a kind of electric cars.The electric car includes the phase current of the embodiment of the present invention Signal sampling device or electric machine controller.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored Be performed by computing device in the storage device, perhaps they are fabricated to each integrated circuit modules or by they In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific Hardware and software combines.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (12)

1. a kind of phase current signal method of sampling characterized by comprising
The output that sensor is acquired by multichannel analog signals acquisition channel, obtains multiple sampled signals, wherein the sensor For the phase current of Control of Induction Motors device output, sampled signal is exported;And
The sampled result of the phase current is obtained according to the multiple sampled signal;
Wherein, acquiring the channel to acquire the output of sensor by the multichannel analog signals includes: within PWM interrupt cycle Default sampling instant start to acquire the output of the sensor, wherein the default sampling instant be the PWM interrupt cycle The interior following moment:Wherein, T is the duration of the PWM interrupt cycle, t be by obtain the multiple sampled signal to Obtain the duration of the phase current.
2. the method according to claim 1, wherein the sensor is Hall current sensor, for incuding The phase current of the electric machine controller output, output voltage signal,
The output of sensor is acquired by multichannel analog signals acquisition channel, obtaining multiple sampled signals includes: by described more Road collection of simulant signal channel acquires the output of the Hall current sensor, obtains multiple voltage sampling signals,
According to the sampled result that the multiple sampled signal obtains the phase current include: to the multiple voltage sampling signal into Row calculates, and obtains the sampled result of the phase current.
3. the phase is electric the method according to claim 1, wherein the sensor is Hall current sensor Stream is three-phase current, and the multichannel analog signals acquisition channel includes three groups of collection of simulant signal channels, is believed by multi-channel analog The output of number acquisition channel acquisition sensor, obtaining multiple sampled signals includes:
It acquires the output of three Hall current sensors respectively by three groups of collection of simulant signal channels, obtains three groups of voltages Sampled signal, wherein three Hall current sensors are used to be respectively induced the three-phase of the electric machine controller output Electric current, output voltage signal.
4. according to the method described in claim 3, it is characterized in that, being acquired respectively by three groups of collection of simulant signal channels The output of three Hall current sensors, obtaining three groups of voltage sampling signals includes:
An analog signal is chosen respectively in every group of collection of simulant signal channel in three groups of collection of simulant signal channels Acquisition channel obtains three collection of simulant signal channels;
Three Hall currents are acquired respectively according to the first preset order by three collection of simulant signal channels to sense The output of device obtains the first preset order voltage sampling signal;And
Three Hall currents are acquired respectively according to the second preset order by three collection of simulant signal channels to sense The output of device obtains the second preset order voltage sampling signal.
5. the method according to claim 1, wherein the sensor be Hall current sensor,
The output of sensor is acquired by multichannel analog signals acquisition channel, obtaining multiple sampled signals includes: by the first mould Quasi- signal sampling channel acquires the output of the Hall current sensor twice, acquisition first voltage sampled signal and the Two voltage sampling signals;And the output of the Hall current sensor is carried out twice by the second collection of simulant signal channel Acquisition obtains tertiary voltage sampled signal and the 4th voltage sampling signal,
According to the sampled result that the multiple sampled signal obtains the phase current include: to the first voltage sampled signal, The second voltage sampled signal, the tertiary voltage sampled signal and the 4th voltage sampling signal are ranked up;Remove The first voltage sampled signal, the second voltage sampled signal, the tertiary voltage sampled signal and the 4th voltage Maximum value and minimum value in sampled signal obtain two voltage sampling signal medians;To described two voltage sampling signals Median is averaged, and obtains voltage sampling signal average value;And the voltage sampling signal average value is converted into electric current Value, obtains the sampled result of the phase current.
6. a kind of phase current signal sampling apparatus characterized by comprising
Sensor is sleeved on the output cable of electric machine controller, defeated for incuding the phase current of the electric machine controller output Sampled signal out;
Sampling A/D chip is connected, for acquiring the biography with the output of the sensor by multichannel analog signals acquisition channel The output of sensor simultaneously obtains multiple sampled signals;And
Chip is controlled, is connected with the sampling A/D chip, for obtaining adopting for the phase current according to the multiple sampled signal Sample result;
Wherein, the sampling A/D chip is also used to the default sampling instant within PWM interrupt cycle and starts to acquire the sensor Output, wherein the default sampling instant is the following moment in the PWM interrupt cycle:Wherein, T is the PWM The duration of interrupt cycle, t are by obtaining the multiple sampled signal to the duration for obtaining the phase current.
7. device according to claim 6, which is characterized in that the sensor is Hall current sensor.
8. device according to claim 7, which is characterized in that the output cable of the electric machine controller includes the first phase electricity Galvanic electricity cable, the second phase current cable and third phase current cable, the multichannel analog signals acquisition channel include first group of simulation Signal sampling channel, second group of collection of simulant signal channel and third group collection of simulant signal channel, the Hall current sensing Device includes:
First Hall current sensor is sleeved on the first phase current cable, passes through first group of collection of simulant signal Channel is connected with the control chip, for incuding the first phase current of the electric machine controller output, exports first voltage Signal;
Second Hall current sensor is sleeved on the second phase current cable, passes through second group of collection of simulant signal Channel is connected with the control chip, for incuding the second phase current of the electric machine controller output, exports second voltage Signal;And
Third Hall current sensor is sleeved in the third phase current cable, passes through the third group collection of simulant signal Channel is connected with the control chip, for incuding the third phase current of the electric machine controller output, exports tertiary voltage Signal.
9. device according to claim 6, which is characterized in that the sampling A/D chip includes:
Multiple collection of simulant signal interfaces are connected by the multichannel analog signals acquisition channel with the output of the sensor It connects, for acquiring the sampled signal of the sensor output, wherein the multiple collection of simulant signal interface and the multichannel mould Quasi- signal sampling channel corresponds.
10. device according to claim 9, which is characterized in that the sensor is Hall current sensor, for incuding The phase current output voltage signal, the multichannel analog signals acquisition channel include first via collection of simulant signal channel and Two roads collection of simulant signal channel, the multiple collection of simulant signal interface include:
First collection of simulant signal interface passes through first via collection of simulant signal channel and the Hall current sensor Output is connected, and the voltage signal for acquiring the Hall current sensor output obtains first voltage sampled signal;And
Second collection of simulant signal interface passes through the second road collection of simulant signal channel and the Hall current sensor Output is connected, and the voltage signal for acquiring the Hall current sensor output obtains second voltage sampled signal.
11. a kind of electric machine controller characterized by comprising
Sampling A/D chip is connected, for acquiring the sensor with the output of sensor by multichannel analog signals acquisition channel Output and obtain multiple sampled signals, wherein the sensor is used to incude the phase current of electric machine controller output simultaneously Export sampled signal;And
Chip is controlled, is connected with the sampling A/D chip, for obtaining adopting for the phase current according to the multiple sampled signal Sample result;
Wherein, the sampling A/D chip is also used to the default sampling instant within PWM interrupt cycle and starts to acquire the sensor Output, wherein the default sampling instant is the following moment in the PWM interrupt cycle:Wherein, T is the PWM The duration of interrupt cycle, t are by obtaining the multiple sampled signal to the duration for obtaining the phase current.
12. a kind of electric car, which is characterized in that sampled including phase current signal described in any one of claim 6 to 10 Electric machine controller described in device or claim 11.
CN201510997315.2A 2015-12-25 2015-12-25 The phase current signal method of sampling and device, electric machine controller and electric car Active CN105548657B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510997315.2A CN105548657B (en) 2015-12-25 2015-12-25 The phase current signal method of sampling and device, electric machine controller and electric car
PCT/CN2016/103205 WO2017107645A1 (en) 2015-12-25 2016-10-25 Phase current signal sampling method and apparatus, electric motor controller and electric vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510997315.2A CN105548657B (en) 2015-12-25 2015-12-25 The phase current signal method of sampling and device, electric machine controller and electric car

Publications (2)

Publication Number Publication Date
CN105548657A CN105548657A (en) 2016-05-04
CN105548657B true CN105548657B (en) 2019-02-26

Family

ID=55827978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510997315.2A Active CN105548657B (en) 2015-12-25 2015-12-25 The phase current signal method of sampling and device, electric machine controller and electric car

Country Status (2)

Country Link
CN (1) CN105548657B (en)
WO (1) WO2017107645A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105548657B (en) * 2015-12-25 2019-02-26 北京新能源汽车股份有限公司 The phase current signal method of sampling and device, electric machine controller and electric car
CN106546809B (en) * 2016-12-06 2019-09-13 深圳拓邦股份有限公司 It is a kind of based on without filtering phase current sampling circuit control method and device
CN107561340A (en) * 2017-07-27 2018-01-09 中国船舶重工集团公司第七二四研究所 A kind of wide temperature drift of AC servo driver electric current is moved from correcting detection method
CN109752652B (en) * 2017-11-07 2021-02-02 上海大郡动力控制技术有限公司 Phase current sampling method for permanent magnet synchronous motor
CN111308170B (en) * 2018-12-12 2022-11-08 浙江盾安人工环境股份有限公司 Motor phase current sampling method and device
CN111796134B (en) * 2019-04-08 2023-03-14 深圳市瑞能实业股份有限公司 Current sampling failure judgment method and device for multiphase circuit
CN110780107B (en) * 2019-11-29 2022-03-22 杭州富阳中恒电气有限公司 Current sampling control method and device for three-phase converter, electronic equipment and medium
CN111123774B (en) * 2019-12-19 2021-09-07 上海宇航系统工程研究所 Motor current acquisition method and system applied to deep space detection antenna servo controller
CN111426868B (en) * 2020-04-23 2022-03-29 合肥巨一动力系统有限公司 Controller current sampling system
CN111654217B (en) * 2020-06-01 2023-09-22 河北建投能源科学技术研究院有限公司 Active power control method for asynchronous generator set of heat supply network head station based on current control
CN112540211A (en) * 2020-12-04 2021-03-23 上海辛格林纳新时达电机有限公司 Current checking method and system, upper computer and storage medium
CN114977965B (en) * 2022-06-29 2023-11-17 广东高标智能科技股份有限公司 Electric vehicle phase current calculation method and electric vehicle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201118513Y (en) * 2007-10-31 2008-09-17 广西工学院 Efficiency optimization control system for three-phase inductance electromotor
CN101834558A (en) * 2009-12-28 2010-09-15 南昌大学 Vector controller of alternating current asynchronous motor
CN203027182U (en) * 2013-01-29 2013-06-26 黑龙江科技学院 Controller of direct-current servo motors
CN105007009A (en) * 2015-07-27 2015-10-28 河海大学常州校区 Doubly salient motor direct torque control device based on terminal sliding mode and method thereof
CN205263170U (en) * 2015-12-25 2016-05-25 北京新能源汽车股份有限公司 Phase electric current signal sampling device, machine controller and electric automobile

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101565003B (en) * 2009-06-08 2012-07-11 奇瑞汽车股份有限公司 Motor controller of electric automobile and control method thereof
CN102045014A (en) * 2010-11-29 2011-05-04 辽宁工业大学 Brushless DC motor controller for four-wheel independently driven electric automobile and control method thereof
US8779705B2 (en) * 2011-02-25 2014-07-15 Deere & Company Synchronization of position and current measurements in an electric motor control application using an FPGA
CN102490614B (en) * 2011-11-15 2013-08-14 上海三运电机控制技术有限公司 Comprehensive protection control method for controller drive system of electric automobile
CN102914691B (en) * 2012-10-19 2014-12-03 冶金自动化研究设计院 Device with adaptive function and method for detecting three-phase alternating current voltage and current
CN103248294B (en) * 2013-04-28 2015-09-23 天津大学 Position-sensor-free DC brushless motor double closed loop speed regulation system control method
CN204334400U (en) * 2015-01-26 2015-05-13 武汉理工大学 A kind of signal sampling device controlled for motor in electric automobile
CN105548657B (en) * 2015-12-25 2019-02-26 北京新能源汽车股份有限公司 The phase current signal method of sampling and device, electric machine controller and electric car

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201118513Y (en) * 2007-10-31 2008-09-17 广西工学院 Efficiency optimization control system for three-phase inductance electromotor
CN101834558A (en) * 2009-12-28 2010-09-15 南昌大学 Vector controller of alternating current asynchronous motor
CN203027182U (en) * 2013-01-29 2013-06-26 黑龙江科技学院 Controller of direct-current servo motors
CN105007009A (en) * 2015-07-27 2015-10-28 河海大学常州校区 Doubly salient motor direct torque control device based on terminal sliding mode and method thereof
CN205263170U (en) * 2015-12-25 2016-05-25 北京新能源汽车股份有限公司 Phase electric current signal sampling device, machine controller and electric automobile

Also Published As

Publication number Publication date
CN105548657A (en) 2016-05-04
WO2017107645A1 (en) 2017-06-29

Similar Documents

Publication Publication Date Title
CN105548657B (en) The phase current signal method of sampling and device, electric machine controller and electric car
Moreira et al. Filter networks for long cable drives and their influence on motor voltage distribution and common-mode currents
CN102904504A (en) Permanent magnet synchronous motor system for automobile
CN103713178B (en) Current sample method and current sampling device
CN105450094B (en) A kind of current sample method and air-conditioning equipment
CN109239635B (en) Permanent magnet synchronous motor rotary transformer zero calibration system and calibration method
CN102510261A (en) Motor phase current reconstruction method based on symmetric pulse width modulation (PWM) carrier wave
US20150311833A1 (en) General-purpose design of dc-ac inverters in electrified automobile systems
CN111766428A (en) Method and device for measuring current of DC bus of inverter
CN105548676A (en) Single-resistor current sampling method and air conditioner
CN205263170U (en) Phase electric current signal sampling device, machine controller and electric automobile
CN1664605A (en) Method for detecting broken line fault between rectifier zero line of uninterrupted power source and electrified wire netting zero line
CN102012454A (en) Zero passage detection method and device of counter electromotive force of permanent magnet direct current brushless Hall motor
Czerwinski et al. Examination of electromagnetic noises and practical operations of a PMSM motor driven by a DSP and controlled by means of field oriented control
CN201703423U (en) Controller circuit of electric power assisted steering system
CN201966870U (en) Motor controller used for automobile
CN111064393A (en) Multi-shaft permanent magnet synchronous motor control device
CN101997474B (en) Motor controller for vehicle
CN203445830U (en) Digitalization intelligent type frequency converter
CN110932647A (en) Universal servo drive circuit for high-frequency alternating current and direct current motor
CN109194199A (en) parallel motor driver
Lepka et al. 3-Phase AC induction motor vector control using a 56F80x, 56F8100 or 56F8300 device
CN202513832U (en) Space vector pulse width modulation (SVPWM) frequency conversion device based on digital signal processor (DSP)
CN204008900U (en) Energy efficiency testing device
CN209167499U (en) A kind of multifunctional information Acquisition Circuit of direct current speed adjustment switch

Legal Events

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