CN101982208B - Method for anti-skidding slope of golf trolley - Google Patents

Method for anti-skidding slope of golf trolley Download PDF

Info

Publication number
CN101982208B
CN101982208B CN2010102721317A CN201010272131A CN101982208B CN 101982208 B CN101982208 B CN 101982208B CN 2010102721317 A CN2010102721317 A CN 2010102721317A CN 201010272131 A CN201010272131 A CN 201010272131A CN 101982208 B CN101982208 B CN 101982208B
Authority
CN
China
Prior art keywords
motor
right motor
output torque
left motor
controller
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
CN2010102721317A
Other languages
Chinese (zh)
Other versions
CN101982208A (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.)
Jiangsu Sixiang Silk Co Ltd
Original Assignee
Hangzhou Dianzi University
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 Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN2010102721317A priority Critical patent/CN101982208B/en
Publication of CN101982208A publication Critical patent/CN101982208A/en
Application granted granted Critical
Publication of CN101982208B publication Critical patent/CN101982208B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Handcart (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

The invention relates to a method for an anti-skidding slope of a golf trolley, which comprises the following steps: an anti-skidding slop controller of the golf trolley, average speed of a left motor, average speed of a right motor, direction of the left motor and direction of the right motor are firstly initialized; whether the anti-skidding slop controller of the golf trolley receives a command or not in the set time is then judged; power supplies of the left motor and the right motor are cut off when receiving a stop command or not receiving the command; the input capture and the interrupt of the anti-skidding slop controller are started; the directions and the average speed of the motors are updated according to a first position Hall signal, a second position Hall signal and a phase difference of the first position Hall signal and the second position Hall signal of the motors; and the motors are controlled and adjusted quantity of output torque is adjusted to form a direct proportion relation with the average speed according to the directions of the motors. The method of the invention has the advantages of strong self-adaption ability and high anti-skidding slop reaction speed.

Description

The method that is used for the anti-landslide of golf-ball-bag vehicle
Technical field
The invention belongs to the control technology field, relate to a kind of method that is used for the anti-landslide of golf-ball-bag vehicle.
Background technology
Golf-ball-bag vehicle is used for delivering the golf bag and the article of playing ball, and the golf-ball-bag vehicle controller is one of important composition of golf-ball-bag vehicle, is used for the motion control to whole golf-ball-bag vehicle, is related to the performance of whole golf-ball-bag vehicle.Traditional hand propelled golf-ball-bag vehicle does not comprise the controller part, uses very inconvenient.Novel golf-ball-bag vehicle comprises controller, by storage battery electric power is provided, and what have also has been equipped with remote controller, can realize that remote control is advanced, remote control is retreated, manually advances, function such as manual retraction, snub, electric weight indication, fault alarm.When golf-ball-bag vehicle stops on the slope of certain slope; If the operator does not adopt manual mechanical locking; The problem on golf-ball-bag vehicle landslide may take place, cause the player to take sb's mind off sth, golf-ball-bag vehicle might topple during the landslide; And cause the damage of golf-ball-bag vehicle or article, when serious even can hurt the player.
Traditional anti-landslide method is the brake of short circuit motor terminal or armstrong's patent, but this method and be not suitable for polytype motor possibly need artificial control and poor reliability, when the gradient is big, and the situation that possibly still can come down.
Need overcome following problem in the design process of the anti-landslide of golf-ball-bag vehicle: 1, overcome the influence of different gradient to anti-landslide effect; When 2, overcoming wheel and be in different road surface, to the influence of anti-landslide effect; 3, overcome and apply non-artificial or during artificial action power, the influence of anti-landslide effect.
Summary of the invention
The present invention is directed to the deficiency of prior art, a kind of method that is used for the anti-landslide of golf-ball-bag vehicle is provided.
The concrete steps of the inventive method are:
Step (1) is to the controller initialization of the anti-landslide of golf-ball-bag vehicle, and the initialization object comprises single-chip microcomputer clock frequency, input and output, built-in variable, register, timer and the interruption in the controller.
Step (2) is set left motor average speed S lInitial value and right motor average speed S rInitial value be " 0 ", S lAnd S rThe average speed of left motor and right motor in the difference express time t; Set left motor drive direction D lInitial value and the initial value D of right motor drive direction rBe " 0 ", D lAnd D rThe direction of left motor and right motor in the difference express time t is for D lAnd D r, direction of advance is labeled as " 1 ", and direction of retreat is labeled as " 1 ", stops bearing mark and is " 0 ".
Step (3) judges that anti-landslide controller is at time t 0Whether receive orders.If receive orders, then judge the command type that anti-landslide controller is received; If do not receive orders, then cut off the left motor of golf-ball-bag vehicle and the power supply of right motor, then execution in step (4).
Described command type is ceased and desisted order and is ceased and desisted order and form by non-;
Described non-ceasing and desisting order comprises advance command, backward command, diversion order and stops diversion order; If anti-landslide controller is received non-ceasing and desisting order, then carry out corresponding Electric Machine Control according to non-ceasing and desisting order, if receiving, anti-landslide controller ceases and desist order, then cut off the left motor of golf-ball-bag vehicle and the power supply of right motor, then execution in step (4).
Step (4) is with S l, S r, D l, D rZero clearing starts the input capture and the interruption of anti-landslide controller, to golf-ball-bag vehicle left side motor primary importance hall signal L 1With right motor primary importance hall signal R 1Carry out input capture, acquisition mode all is that catch at the edge; Start timer T c, set timer T cInterrupt interval is t.
Step (5) is as left motor primary importance hall signal L 1When producing edge signal, according to left motor primary importance hall signal L 1, left motor second place hall signal L 2, L 1And L 2Between phase difference θ lUpgrade left motor drive direction D lBe " 1 " or " 1 "; As right motor primary importance hall signal R 1When producing edge signal, according to right motor primary importance hall signal R 1, right motor second place hall signal R 2, R 1And R 2Between phase difference θ rUpgrade right motor drive direction D rFor " 1 " or " 1 ", upgrade S simultaneously lAnd S r
Step (6) is when interrupting t arrival at interval, if D lBe " 1 ", then control left motor and retreat, adjust left motor output torque, output torque adjustment amount and S lProportional relation; If D lBe " 1 ", then control left motor and advance, adjust left motor output torque, output torque adjustment amount and S lProportional relation; If D lBe " 0 " that then left Electric Machine Control direction is constant, do not adjust left motor output torque.
If D rBe " 1 ", then control right motor and retreat, adjust right motor output torque, output torque adjustment amount and S rProportional relation; If D rBe " 1 ", then control right motor and advance, adjust right motor output torque, output torque adjustment amount and S rProportional relation; If D rBe " 0 " that then right Electric Machine Control direction is constant, do not adjust right motor output torque; Jump to step (3) then.
The golf-ball-bag vehicle controller of employing this method can be avoided the generation of this problem; Golf-ball-bag vehicle stays in sloping last time; Anti-landslide function starts automatically, though two wheels be in different directions the gradient, apply non-artificial or situation such as artificial action power when taking place, still possess very high reliability and stability; Avoid manual operation, improved the hommization and the fail safe of golf-ball-bag vehicle.
The advantage that the inventive method had is:
(1) is suitable for polytype motor;
(2) the bigger gradient is stood good;
(3) adaptive ability is strong, can overcome the influence of pavement behavior to anti-landslide algorithm;
(4) the anti-reaction speed that comes down is fast.
Embodiment
The method concrete steps that are used for the anti-landslide of golf-ball-bag vehicle are:
Step (1) is to the controller initialization of the anti-landslide of golf-ball-bag vehicle, and the initialization object comprises single-chip microcomputer clock frequency, input and output, built-in variable, register, timer and the interruption in the controller; Controller adopts the MC9S08AC16 of Freescale company, and the CPU running frequency is 32MHz, and the bus running frequency is 16MHz.
Step (2) is set left motor average speed S lInitial value and right motor average speed S rInitial value be " 0 ", S lAnd S rThe average speed of left motor and right motor in the difference express time t; Set left motor drive direction D lInitial value and the initial value D of right motor drive direction rBe " 0 ", D lAnd D rThe direction of left motor and right motor in the difference express time t is for D lAnd D r, direction of advance is labeled as " 1 ", and direction of retreat is labeled as " 1 ", stops bearing mark and is " 0 "; T satisfies 0s<t<1s, and t is directly connected to the stabilization time on the anti-landslide of system, desirable 0.05s.
Step (3) judges that anti-landslide controller is at time t 0Whether receive orders.(t 0Satisfy 0s<t 0<30s, t 0Be directly connected to the start-up time on the anti-landslide of system, desirable 3s; If) receive orders, then judge the command type that anti-landslide controller is received; If do not receive orders, then cut off the left motor of golf-ball-bag vehicle and the power supply of right motor, then execution in step (4).
Command type is ceased and desisted order and is ceased and desisted order and form by non-;
Non-ceasing and desisting order comprises advance command, backward command, diversion order and stops diversion order; If anti-landslide controller is received non-ceasing and desisting order, then carry out corresponding Electric Machine Control according to non-ceasing and desisting order, if receiving, anti-landslide controller ceases and desist order, then cut off the left motor of golf-ball-bag vehicle and the power supply of right motor, then execution in step (4).
Step (4) is with S l, S r, D l, D rZero clearing starts the input capture and the interruption of anti-landslide controller, to golf-ball-bag vehicle left side motor primary importance hall signal L 1With right motor primary importance hall signal R 1Carry out input capture, acquisition mode all is that catch at the edge; Start timer T c, set timer T cInterrupt interval is t.
Step (5) is worked as L 1When producing edge signal, according to left motor primary importance hall signal L 1, left motor second place hall signal L 2, L 1And L 2Between phase difference θ lUpgrade left motor drive direction D lBe " 1 " or " 1 "; Work as R 1When producing edge signal, according to right motor primary importance hall signal R 1, right motor second place hall signal R 2, R 1And R 2Between phase difference θ rUpgrade right motor drive direction D rFor " 1 " or " 1 ", upgrade S simultaneously lAnd S rθ lAnd θ rRelevant with the installation site of Hall element, satisfy 0 °<θ l<180 °, 0 °<θ r<180 °, desirable 90 °.
Step (6) is when interrupting t arrival at interval, if D lBe " 1 ", then control left motor and retreat, adjust left motor output torque, output torque adjustment amount and S lProportional relation; If D lBe " 1 ", then control left motor and advance, adjust left motor output torque, output torque adjustment amount and S lProportional relation; If D lBe " 0 " that then left Electric Machine Control direction is constant, do not adjust left motor output torque.
If D rBe " 1 ", then control right motor and retreat, adjust right motor output torque, output torque adjustment amount and S rProportional relation; If D rBe " 1 ", then control right motor and advance, adjust right motor output torque, output torque adjustment amount and S rProportional relation; If D rBe " 0 " that then right Electric Machine Control direction is constant, do not adjust right motor output torque; Jump to step (3) then.

Claims (1)

1. be used for the method on the anti-landslide of golf-ball-bag vehicle, it is characterized in that this method comprises the steps:
Step (1) is to the controller initialization of the anti-landslide of golf-ball-bag vehicle, and the initialization object comprises single-chip microcomputer clock frequency, input and output, built-in variable, register, timer and the interruption in the controller;
Step (2) is set left motor average speed S lInitial value and right motor average speed S rInitial value be " 0 ", S lAnd S rThe average speed of left motor and right motor in the difference express time t; Set left motor drive direction D lInitial value and the initial value D of right motor drive direction rBe " 0 ", D lAnd D rThe direction of left motor and right motor in the difference express time t is for D lAnd D r, direction of advance is labeled as " 1 ", and direction of retreat is labeled as " 1 ", stops bearing mark and is " 0 ";
Step (3) judges that anti-landslide controller is at time t 0Whether receive orders,, then judge the command type that anti-landslide controller is received if receive orders; If do not receive orders, then cut off the left motor of golf-ball-bag vehicle and the power supply of right motor, then execution in step (4);
Described command type is ceased and desisted order and is ceased and desisted order and form by non-;
Described non-ceasing and desisting order comprises advance command, backward command, diversion order and stops diversion order; If anti-landslide controller is received non-ceasing and desisting order, then carry out corresponding Electric Machine Control according to non-ceasing and desisting order, if receiving, anti-landslide controller ceases and desist order, then cut off the left motor of golf-ball-bag vehicle and the power supply of right motor, then execution in step (4);
Step (4) is with S l, S r, D l, D rZero clearing starts the input capture and the interruption of anti-landslide controller, to golf-ball-bag vehicle left side motor primary importance hall signal L 1With right motor primary importance hall signal R 1Carry out input capture, acquisition mode all is that catch at the edge; Start timer T c, set timer T cInterrupt interval is t;
Step (5) is as left motor primary importance hall signal L 1When producing edge signal, according to left motor primary importance hall signal L 1, left motor second place hall signal L 2, L 1And L 2Between phase difference θ lUpgrade left motor drive direction D lBe " 1 " or " 1 "; As right motor primary importance hall signal R 1When producing edge signal, according to right motor primary importance hall signal R 1, right motor second place hall signal R 2, R 1And R 2Between phase difference θ rUpgrade right motor drive direction D rFor " 1 " or " 1 ", upgrade S simultaneously lAnd S r
Step (6) is when interrupting t arrival at interval, if D lBe " 1 ", then control left motor and retreat, adjust left motor output torque, output torque adjustment amount and S lProportional relation; If D lBe " 1 ", then control left motor and advance, adjust left motor output torque, output torque adjustment amount and S lProportional relation; If D lBe " 0 " that then left Electric Machine Control direction is constant, do not adjust left motor output torque;
If D rBe " 1 ", then control right motor and retreat, adjust right motor output torque, output torque adjustment amount and S rProportional relation; If D rBe " 1 ", then control right motor and advance, adjust right motor output torque, output torque adjustment amount and S rProportional relation; If D rBe " 0 " that then right Electric Machine Control direction is constant, do not adjust right motor output torque; Jump to step (3) then.
CN2010102721317A 2010-09-03 2010-09-03 Method for anti-skidding slope of golf trolley Active CN101982208B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102721317A CN101982208B (en) 2010-09-03 2010-09-03 Method for anti-skidding slope of golf trolley

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102721317A CN101982208B (en) 2010-09-03 2010-09-03 Method for anti-skidding slope of golf trolley

Publications (2)

Publication Number Publication Date
CN101982208A CN101982208A (en) 2011-03-02
CN101982208B true CN101982208B (en) 2012-08-29

Family

ID=43619130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102721317A Active CN101982208B (en) 2010-09-03 2010-09-03 Method for anti-skidding slope of golf trolley

Country Status (1)

Country Link
CN (1) CN101982208B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201113873Y (en) * 2007-06-12 2008-09-10 上海理工大学 Electric bicycle control system
CN101330268A (en) * 2008-04-25 2008-12-24 广州华南智信微***有限公司 Hexaphase brushless dc motor controller

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6621242B2 (en) * 2001-10-01 2003-09-16 Silicon Touch Technology Inc. Motor speed control circuit having a synchronous PWM signal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201113873Y (en) * 2007-06-12 2008-09-10 上海理工大学 Electric bicycle control system
CN101330268A (en) * 2008-04-25 2008-12-24 广州华南智信微***有限公司 Hexaphase brushless dc motor controller

Also Published As

Publication number Publication date
CN101982208A (en) 2011-03-02

Similar Documents

Publication Publication Date Title
CN101209683B (en) Electric automobile driving electric motor control method and control system thereof
US9825559B2 (en) Motor control system and control system for electric motor-driven vehicle
CN103448570B (en) The power management system of battery-driven car and method
JP5473020B2 (en) Electric drive vehicle
US10279865B2 (en) Friction drive with speed wheel and automatic traction control
CN102166962A (en) Brake energy feedback control system of pure electric automobile
CN106218630A (en) A kind of motor direct-drive car ramp start auxiliary control method
KR20130036744A (en) Play-reducing control apparatus for electrically driven vehicle
CN102756754A (en) Vehicle integrated control apparatus
CN106741155A (en) A kind of integral new-energy passenger electric hydraulic power-assisted steering system and its control method
CN111674268A (en) Method for realizing slope-sliding prevention protection control of new energy electric automobile
CN102485528B (en) Wheel motor slip processing control system and slip processing method of wheel motor
CN101982208B (en) Method for anti-skidding slope of golf trolley
WO2017188057A1 (en) Electric railway vehicle driving system and vehicle driving method
JPWO2019189285A1 (en) Motor control device and electrically power assisted vehicle
CN112740892A (en) Riding type mower
CN101402368B (en) Skidproof preoperation-proof control system of light railway van
CN105437887B (en) For the improved method and apparatus of tire to be installed or removed on wheel rim
CN207711850U (en) A kind of motor vehicle dual-motor drive dynamic control device
JP2013110899A (en) Electric motor control mechanism with auxiliary power supply
CN104627026A (en) Intelligent timely driving linkage system of electric vehicle and control method thereof
JP6214814B2 (en) Electric vehicle control device
CN112874323A (en) Anti-skid control method for electric automobile
CN104723903A (en) Electric bicycle front and rear three-power intelligent drive system and control method thereof
CN207435955U (en) A kind of ticket check gate slipping protection mechanism

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
ASS Succession or assignment of patent right

Owner name: JIANGSU SIXIANG INTELLIGENT DEVICE CO., LTD.

Free format text: FORMER OWNER: HANGZHOU ELECTRONIC SCIENCE AND TECHNOLOGY UNIV

Effective date: 20131022

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 310018 HANGZHOU, ZHEJIANG PROVINCE TO: 226600 NANTONG, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20131022

Address after: 226600, Jiangsu Province, Haian County town, East Village, village 16, 21, 1

Patentee after: Jiangsu Sixiang Silk Co., Ltd.

Address before: Hangzhou City, Zhejiang province 310018 Xiasha Higher Education Park No. 2 street

Patentee before: Hangzhou Electronic Science and Technology Univ