CN104477052B - A kind of control method of Self-balance manned electric unicycle - Google Patents

A kind of control method of Self-balance manned electric unicycle Download PDF

Info

Publication number
CN104477052B
CN104477052B CN201410734713.0A CN201410734713A CN104477052B CN 104477052 B CN104477052 B CN 104477052B CN 201410734713 A CN201410734713 A CN 201410734713A CN 104477052 B CN104477052 B CN 104477052B
Authority
CN
China
Prior art keywords
synchronous motor
permagnetic synchronous
electric unicycle
current
torque
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
CN201410734713.0A
Other languages
Chinese (zh)
Other versions
CN104477052A (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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 University ZJU filed Critical Zhejiang University ZJU
Priority to CN201410734713.0A priority Critical patent/CN104477052B/en
Publication of CN104477052A publication Critical patent/CN104477052A/en
Application granted granted Critical
Publication of CN104477052B publication Critical patent/CN104477052B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/72Electric energy management in electromobility

Landscapes

  • Control Of Ac Motors In General (AREA)

Abstract

The invention discloses the control method of a kind of Self-balance manned electric unicycle, first the method gathers the data of accelerometer and the gyroscope being placed on electric unicycle, the data of collection are obtained current car body angle of inclination and inclination angle speed through Kalman filtering, then motor speed set-point is obtained by nonlinear PD control device, the difference of motor speed set-point and the motor speed value of feedback currently recorded obtains the set-point of torque current by PI controller, obtain driving signal finally by vector control method, motor exports suitable torque and keeps the balance of car body.The control strategy of the present invention possesses good dynamic and static state performance, reduces system vibration and noise, it is possible to achieve the attitude self-balancing of electric unicycle and manned function of riding.

Description

A kind of control method of Self-balance manned electric unicycle
Technical field
The invention belongs to field of vehicles, autonomic balance before and after relating in a kind of traveling, left and right relies on bicyclist artificial Control the control method of the Self-balance manned electric unicycle of balance.
Background technology
Purely mechanic wheelbarrow of riding is to need through ad hoc learning and train a kind of activity that just can complete.When riding, Must simultaneously maintain fore-and-aft direction and left and right directions balance, and ride and need people to exert oneself, gait of march also compares Low.Electric unicycle is by motor-driven device of riding, with similar, it is only necessary to the balance about grasp is the most permissible Ride smoothly.Self-balance manned electric unicycle balances before and after controlling car body by reversible pendulum system principle, bicyclist's handle Foot is individually placed on the folding step of wheel both sides, and body forward is inclined, and in order to keep balance, motor is so quick that to rotate forward, Whole car body the most just moves forward.
Self-balance manned electric unicycle is the energy-conserving and environment-protective of a new generation, walking-replacing tool easily, by the internal limit of program It is 18km/h the most at a high speed that system travels, it is ensured that driving safety.The electric unicycle bodily form is small and exquisite, lightweight, is convenient for carrying, permissible It is placed directly in the boot of automobile, mentions family or office.
The patent of invention of Application No. 201410014863.4 proposes Self-balancing electronic wheelbarrow simple and compact for structure, But it is not set forth in concrete control program.The patent of invention of Application No. 201210217335.X propose a kind of based on The Self-balance manned monocycle of inertia balance wheel, it is achieved that left-right balance controls, but the existence of inertia balance wheel, control program Complex it is not suitable for the most popular electric single-wheel bassinet structure yet.
Summary of the invention
Present invention aims to the deficiencies in the prior art, propose the control of a kind of Self-balance manned electric unicycle Method.
It is an object of the invention to be achieved through the following technical solutions: the control of a kind of Self-balance manned electric unicycle Method, the method comprises the steps:
(1) gather the accelerometer being placed on electric unicycle and the data of gyroscope, obtain electric unicycle xyz tri-axle Accekeration and magnitude of angular velocity;Gather the Hall element signal on permagnetic synchronous motor and threephase stator electric current;
(2) accekeration and the magnitude of angular velocity of electric unicycle xyz tri-axle are carried out data by Kalman filtering algorithm Merge and filter noise signal, obtaining tilt angle theta and the inclination angle speed omega of electric unicycle;
(3) Hall element signal is calculated actual speed n and the rotor position angle of permagnetic synchronous motor
(4) threephase stator electric current is carried out successively Clarke and Park conversion, obtains the actual torque of permagnetic synchronous motor Electric current iqWith exciting current id
(5) according to tilt angle theta and the inclination angle speed omega of electric unicycle, the rotation speed of permagnetic synchronous motor is calculated The given n of degree*
(6) n is given according to the velocity of rotation of permagnetic synchronous motor*And actual speed n, calculate torque current and give
(7) give according to the torque current of permagnetic synchronous motorExciting current givesActual torque electric current iqWith encourage Magnetoelectricity stream id, calculate the d shaft voltage u applied to permagnetic synchronous motordWith q shaft voltage uq, described exciting current givesIt is 0;
(8) according to d shaft voltage udWith q shaft voltage uq, utilize Park inverse transformation to calculate the u under α β coordinate systemαAnd uβ
(9)uαAnd uβGenerated the control signal of three-phase inverter by SVPWM (space vector pulse width modulation) technology, pass through Inverter applies three-phase voltage, permagnetic synchronous motor output torque T to permagnetic synchronous motor, thus keeps the appearance of electric unicycle State balances.
Further: described step (5) is particularly as follows: use NONLINEAR PD algorithm to determine the velocity of rotation of permagnetic synchronous motor Given n*, formula is as follows:
n*=KPθ+KDω
Wherein, KPFor non-linear ratio's parameter, KDFor non-linear differential parameter, KP, KDValue incline along with electric unicycle The increase of rake angle θ and increase.
Further, particularly as follows: use linear PI algorithm to determine, torque current gives described step (6)Formula is as follows:
i q * = K P n e n + K I n ∫ e n dt
en=n*-n
Wherein,For velocity loop proportional parameter,For speed ring integral parameter, enIt is the rotation speed of permagnetic synchronous motor The given n of degree*Difference with the rotating speed n of its reality.
Further, described step (7) is particularly as follows: use linear PI algorithm to determine uq, formula is as follows:
u q = K P iq e iq + K I iq ∫ e iq dt
e iq = i q * - i q
Wherein,For torque current ring scale parameter,For torque current ring integral parameter, eiqIt it is permagnetic synchronous motor Torque current giveWith its actual torque current iqDifference;Similarly, linear PI algorithm is used to determine ud, formula is as follows:
u d = K P id e id + K I id ∫ e id dt
e id = i d * - i d = - i d
Wherein,For exciting current ring scale parameter,For exciting current ring integral parameter, eidIt it is permanent magnet synchronous electric The exciting current of machine givesWith its actual exciting current idDifference,It is 0.
The invention has the beneficial effects as follows: the electric unicycle of different frame for movements can apply control method of the present invention real The self-balancing of existing electric unicycle and manned function of riding, by tilt angle theta and the inclination angle speed omega of electric unicycle When calculating permagnetic synchronous motor rotational speed setup, by the adjustment of NONLINEAR PD parameter, improve the dynamic property of system, permanent magnetism is same In step motor control, the application of vector control strategy not only further increases the dynamic property of system, and it is same to reduce permanent magnetism The output torque pulsation of step motor, reduces system vibration and noise.
Accompanying drawing explanation
Fig. 1 is the structural representation of Self-balance manned electric unicycle;
Fig. 2 is the control block diagram of Self-balance manned electric unicycle;
In figure, auxiliary wheel 1, wheel 2, permagnetic synchronous motor 3, pedal 4, shell 5, controller 6, set of cells 7, gyroscope 8.
Detailed description of the invention
Below in conjunction with the accompanying drawings and the present invention is described in further detail by detailed description of the invention.
As it is shown in figure 1, for a kind of electric unicycle realizing control method of the present invention, including auxiliary wheel 1, wheel 2, Permagnetic synchronous motor 3, pedal 4, shell 5, controller 6 and set of cells 7, wherein, described controller 6 and set of cells 7 lay respectively at In the groove of two, the left and right of shell 4, then fixing with cover plate integral piece with silica gel protected pad, accelerometer and gyroscope 8 are positioned at On controller 6.For the electric unicycle of different frame for movements can apply control method of the present invention realize self-balancing and Manned function of riding.
In order to reduce the torque pulsation of permagnetic synchronous motor output, improve the dynamic of Self-balance manned electric unicycle Can, in the present invention, permagnetic synchronous motor control strategy uses and can realize the vector controlled that high-performance torque dynamically controls.Vector The principle controlled is to be transformed under biphase rotating coordinate system by stator current by coordinate transform, resolves into and produces stator field Excitation current component idWith the torque current component i producing torqueq, three phase alternating current motor is managed analog DC motor Direct torque mode.Application scenario according to permagnetic synchronous motor and the difference of power, the selection that vector controlled electric current controls is also Different, i is selected at thisd=0 controls, i.e. the excitation component of motor stator armature supply is always zero during controlling, So torque of motor only exports and iqRelevant, control algolithm realizes simple, it is easy to Project Realization, and controls flexibly.The present invention In conjunction with principle of vector control, setting up based on attitude, the control of the Self-balance manned electric unicycle of rotating speed and electric current three closed loop is calculated Method block diagram is as in figure 2 it is shown, specifically include following steps:
(1) gather the accelerometer being placed on electric unicycle and the data of gyroscope, obtain electric unicycle xyz tri-axle Accekeration and magnitude of angular velocity;Gather the Hall element signal on permagnetic synchronous motor and threephase stator electric current ia, ibWith ic
(2) accekeration and the magnitude of angular velocity of electric unicycle xyz tri-axle are carried out data by Kalman filtering algorithm Merge and filter noise signal, obtaining tilt angle theta and the inclination angle speed omega of electric unicycle;
(3) Hall element signal is calculated actual speed n and the rotor position angle of permagnetic synchronous motor
(4) motor stator three-phase current ia, ibAnd ic, convert (Clarke change through three phase static to biphase static coordinate Change) obtain i under α β coordinate systemαAnd iβ, using permanent amplitude transformation principle, formula is as follows:
i α i β = 2 3 1 - 1 2 - 1 2 0 3 2 - 3 2 i a i b i c
iαAnd iβThrough biphase static to the torque current i obtaining reality after biphase rotating coordinate transformation (Park conversion)q With exciting current id, formula is as follows:
(5) according to tilt angle theta and the inclination angle speed omega of electric unicycle, the rotation speed of permagnetic synchronous motor is calculated The given n of degree*.Owing to accelerometer and gyroscope are during measuring, it is impossible to the meeting avoided introduces error, so controller goes Fall integral element, use PD algorithm.In wheelbarrow running, there is the situation that load changes greatly, car body can be caused to incline Undergoing mutation in angle, in order to improve the dynamic response capability of whole system, uses NONLINEAR PD algorithm, and formula is as follows:
n*=KPθ+KDω
Wherein, KPFor non-linear ratio's parameter, KDFor non-linear differential parameter, KP, KDValue incline along with electric unicycle The increase of rake angle θ and increase.
(6) n is given according to the velocity of rotation of permagnetic synchronous motor*And actual speed n, calculate torque current and giveCalculate Formula is as follows:
i q * = K P n e n + K I n ∫ e n dt
en=n*-n
Wherein,For velocity loop proportional parameter,For speed ring integral parameter, enIt is the rotation speed of permagnetic synchronous motor The given n of degree*Difference with the rotating speed n of its reality.
(7) give according to the torque current of permagnetic synchronous motorExciting current givesActual torque electric current iqWith encourage Magnetoelectricity stream id, calculate d shaft voltage udWith q shaft voltage uq.Owing to current control mode is id=0 control mode, exciting current is given FixedIt is the 0 actual exciting current i obtained with detectiondDifference through PI obtain to motor apply d shaft voltage ud, formula is such as Under:
u d = K P id e id + K I id ∫ e id dt
e id = i d * - i d = - i d
Wherein,For exciting current ring scale parameter,For exciting current ring integral parameter;Torque current set-point With real electrical machinery torque current iqDifference through PI obtain to motor apply q shaft voltage uq, formula is as follows:
u q = K P iq e iq + K I iq ∫ e iq dt
e iq = i q * - i q
Wherein,For torque current ring scale parameter,For torque current ring integral parameter.
(8) according to d shaft voltage udWith q shaft voltage uq, utilize Park inverse transformation to calculate the u under α β coordinate systemαAnd uβ, calculate Formula is as follows:
(9)uαAnd uβGenerated the control signal of three-phase inverter by SVPWM (space vector pulse width modulation) technology, pass through Inverter applies three-phase voltage V to permagnetic synchronous motora、Vb、Vc, permagnetic synchronous motor output torque T, thus keep electronic solely The posture balancing of wheel car.
The foregoing describe the ultimate principle of the present invention, principal character, and unrestricted technical scheme described in the invention, one Cut without departing from spirit and the technical scheme of scope and improvement thereof, all should contain in the middle of scope of the presently claimed invention.

Claims (4)

1. the control method of a Self-balance manned electric unicycle, it is characterised in that the method comprises the steps:
(1) gather the accelerometer being placed on electric unicycle and the data of gyroscope, obtain adding of electric unicycle xyz tri-axle Velocity amplitude and magnitude of angular velocity;Gather the Hall element signal on permagnetic synchronous motor and threephase stator electric current;
(2) accekeration and the magnitude of angular velocity of electric unicycle xyz tri-axle are carried out data fusion by Kalman filtering algorithm And filter noise signal, obtain tilt angle theta and the inclination angle speed omega of electric unicycle;
(3) Hall element signal is calculated actual speed n and the rotor position angle of permagnetic synchronous motor
(4) threephase stator electric current is carried out successively Clarke and Park conversion, obtains the actual torque electric current i of permagnetic synchronous motorq With exciting current id
(5) according to tilt angle theta and the inclination angle speed omega of electric unicycle, calculate the velocity of rotation of permagnetic synchronous motor to Determine n*
(6) n is given according to the velocity of rotation of permagnetic synchronous motor*And actual speed n, calculate torque current and give
(7) give according to the torque current of permagnetic synchronous motorExciting current givesActual torque electric current iqWith excitation electricity Stream id, calculate the d shaft voltage u applied to permagnetic synchronous motordWith q shaft voltage uq, described exciting current givesIt is 0;
(8) according to d shaft voltage udWith q shaft voltage uq, utilize Park inverse transformation to calculate the u under α β coordinate systemαAnd uβ
(9)uαAnd uβGenerated the control signal of three-phase inverter by SVPWM technology, execute to permagnetic synchronous motor through inverter Add three-phase voltage, permagnetic synchronous motor output torque T, thus keep the posture balancing of electric unicycle.
The control method of Self-balance manned electric unicycle the most according to claim 1, it is characterised in that: described step (5) particularly as follows: use NONLINEAR PD algorithm to determine that the velocity of rotation of permagnetic synchronous motor gives n*, formula is as follows:
n*=KPθ+KDω
Wherein, KPFor non-linear ratio's parameter, KDFor non-linear differential parameter, KP, KDValue along with electric unicycle inclination angle Spend the increase of θ and increase.
The control method of Self-balance manned electric unicycle the most according to claim 1, it is characterised in that: described step (6) particularly as follows: use linear PI algorithm to determine, torque current givesFormula is as follows:
i q * = K P n e n + K I n ∫ e n d t
en=n*-n
Wherein,For velocity loop proportional parameter,For speed ring integral parameter, enBe permagnetic synchronous motor velocity of rotation to Determine n*Difference with the rotating speed n of its reality.
The control method of Self-balance manned electric unicycle the most according to claim 1, it is characterised in that: described step (7) particularly as follows: use linear PI algorithm to determine uq, formula is as follows:
u q = K P i q e i q + K I i q ∫ e i q d t
e i q = i q * - i q
Wherein,For torque current ring scale parameter,For torque current ring integral parameter, eiqIt is turning of permagnetic synchronous motor Square given value of currentWith its actual torque current iqDifference;Similarly, linear PI algorithm is used to determine ud, formula is as follows:
u d = K P i d e i d + K I i d ∫ e i d d t
e i d = i d * - i d = - i d
Wherein,For exciting current ring scale parameter,For exciting current ring integral parameter, eidIt is encouraging of permagnetic synchronous motor Magnetic given value of currentWith its actual exciting current idDifference,It is 0.
CN201410734713.0A 2014-12-05 2014-12-05 A kind of control method of Self-balance manned electric unicycle Active CN104477052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410734713.0A CN104477052B (en) 2014-12-05 2014-12-05 A kind of control method of Self-balance manned electric unicycle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410734713.0A CN104477052B (en) 2014-12-05 2014-12-05 A kind of control method of Self-balance manned electric unicycle

Publications (2)

Publication Number Publication Date
CN104477052A CN104477052A (en) 2015-04-01
CN104477052B true CN104477052B (en) 2016-08-17

Family

ID=52751712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410734713.0A Active CN104477052B (en) 2014-12-05 2014-12-05 A kind of control method of Self-balance manned electric unicycle

Country Status (1)

Country Link
CN (1) CN104477052B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108501768A (en) * 2018-03-29 2018-09-07 南京航空航天大学 A kind of two-wheeled method for control speed based on Z axis gyroscope and difference in wheel

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104943786B (en) * 2015-06-29 2018-09-07 广东宝乐机器人股份有限公司 The automatic safe protective method of two-wheeled balance car
CN105329399A (en) * 2015-10-28 2016-02-17 合肥工业大学 Control system and control method of scooter
CN105974933A (en) * 2016-05-17 2016-09-28 浙江大学 Self-balance manned electric single-wheel vehicle control method
CN106515947B (en) * 2016-12-29 2019-01-11 杭州畅动智能科技有限公司 The control method and control system of a kind of body-sensing longitudinal direction cart
CN109924909B (en) * 2017-12-19 2020-11-03 美的集团股份有限公司 Food mixer and control method and device of driving motor of food mixer
CN108944570A (en) * 2018-07-03 2018-12-07 国家电网有限公司 A kind of single wheel trolley balance control system
CN109552070B (en) * 2018-12-26 2020-06-05 无锡华宸控制技术有限公司 Torque adjusting method and device
CN110466657B (en) * 2019-08-12 2023-09-15 广州市勇源运动用品科技有限公司 Electric rail wheel
CN110566716B (en) * 2019-08-27 2020-12-11 北京无线电计量测试研究所 Kalman filter-based rail valve position measuring system and method
CN110584369A (en) * 2019-08-30 2019-12-20 杭州临安赛美家具有限公司 Bar table chair capable of improving service quality

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101269683A (en) * 2008-01-15 2008-09-24 李锦上 Balanced type wheelbarrow base on attitude control
CN101417682A (en) * 2008-12-02 2009-04-29 中国海洋大学 Pre and post direction self balance type electric unicycle
KR20090075444A (en) * 2008-01-04 2009-07-08 부산대학교 산학협력단 Single wheel robot capable automatic driving and motion control
CN202806968U (en) * 2012-04-11 2013-03-20 浙江易力车业有限公司 Self-balance electric manned monocycle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090075444A (en) * 2008-01-04 2009-07-08 부산대학교 산학협력단 Single wheel robot capable automatic driving and motion control
CN101269683A (en) * 2008-01-15 2008-09-24 李锦上 Balanced type wheelbarrow base on attitude control
CN101417682A (en) * 2008-12-02 2009-04-29 中国海洋大学 Pre and post direction self balance type electric unicycle
CN202806968U (en) * 2012-04-11 2013-03-20 浙江易力车业有限公司 Self-balance electric manned monocycle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108501768A (en) * 2018-03-29 2018-09-07 南京航空航天大学 A kind of two-wheeled method for control speed based on Z axis gyroscope and difference in wheel

Also Published As

Publication number Publication date
CN104477052A (en) 2015-04-01

Similar Documents

Publication Publication Date Title
CN104477052B (en) A kind of control method of Self-balance manned electric unicycle
JP5900609B2 (en) Electric vehicle control device and electric vehicle control method
CN100373768C (en) Position sensorless control algorithm for AC machine
Kelecy et al. Control methodology for single inverter, parallel connected dual induction motor drives for electric vehicles
JP3843966B2 (en) Hybrid vehicle drive control device, hybrid vehicle drive control method and program thereof
CN103326655B (en) Synchronous motor control apparatus
CN103051274B (en) Variable damping-based passive control method for two-degree-of-freedom permanent magnetic synchronous motor
CN103183088B (en) High-precision speed-regulating front and rear self-balance one-wheel scooter
CN104885356B (en) Arrangement for controlling induction motor and inductance motor control method
CN101459401A (en) Position sensorless controller for permanent magnet motor
TW201607837A (en) Displacement equipment and power-assisted system
JP2014150604A (en) Synchronous motor controller for electric vehicle
CN105555590A (en) Control device for electric vehicle
CN105974933A (en) Self-balance manned electric single-wheel vehicle control method
US8618756B2 (en) Systems and method for controlling electric motors
CN106452206A (en) Sliding mode adaptive controller with built-in brushless DC motor current loop control for two-wheeled self-balancing robot
CN104777825A (en) Torque control method for hub motor system and check rack used in torque control method
Maekawa et al. Stability analysis of sensorless speed control for PMSM considered current control system
CN203318585U (en) High-precision speed regulation front and back self-balancing device for single-wheel scooter
CN113733935A (en) Electric vehicle transmission system torsional vibration suppression method and system based on electromechanical coupling model
Vighneswaran et al. Speed control of electric vehicle with sliding mode controller
JP4549914B2 (en) Sensorless magnetic damping generation method using induction current collector
Virani et al. Modelling and Control of PMSM Drive by Field Oriented Control For HEV
Fu et al. High-performance torque controller design for AC driving 4WD electric vehicle in two time scales
KR101192199B1 (en) Motor controlling apparatus, electronic vehicle having the apparatus, and motor controlling method of the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant