Summary of the invention
The purpose of this utility model is to overcome the shortcoming of prior art, and a kind of DC brushless motor controller speed-limiting device that is provided with is provided.
A kind of technology that DC brushless motor controller speed limit function is set described in the utility model can overcome the above problems in perfection.
A kind of technology that DC brushless motor controller speed limit function is set is the utility model system connection diagram as shown in Figure 1.Its system comprises and device is set, controller, electric bicycle.Electric bicycle makes controller control motor rotation for controller provides power supply and handle input, reaches a certain speed; Controller plc motor rotation, and communicate by letter with device is set, when receive the control signal that device passes over is set after, the single-chip microcomputer output PWM value of electric bicycle speed correspondence is stored with this moment, as the PWM maximum; Device is set to link by serial ports and controller single-chip microcomputer, reach when wanting speed that the user wants to limit at electric bicycle, press the key that is provided with that is provided with on the device, it is maximum by a serial ports notification controller single-chip microcomputer current PWM of storage that device is set, in that being set, device and controller link under the situation by the cancel key that is provided with on the device, device notification controller single-chip microcomputer is set removes the PWM value of preserving before, promptly cancel the speed limit function.
A kind of DC brushless motor controller speed-limiting device that is provided with comprises device, controller, electric bicycle are set that electric bicycle is connected with controller is two-way, controller be provided with that device is two-way to be connected.
Described electric bicycle comprises handle, motor, power supply, and motor connects power supply.
Described controller comprises handle input circuit, controller single-chip microcomputer, motor-drive circuit, and the controller single-chip microcomputer connects handle input circuit and motor-drive circuit.
Described be provided with device comprise the device single-chip microcomputer is set, key is set, cancel key, key is set, cancel key connects single-chip microcomputer.
The handle of described electric bicycle connects the handle input circuit of controller, and the controller single-chip microcomputer of controller connects motor-drive circuit, and motor-drive circuit connects the motor of electric bicycle.
The controller single-chip microcomputer of described controller with device is set be provided with that the device single-chip microcomputer is two-way to be connected.
The described device that is provided with is provided with key one end ground connection, and the other end is connected to 5V by R1, and simultaneously, this other end that key is set is connected to respectively by R2 and device single-chip microcomputer and capacitor C 1 is set, C1 other end ground connection.
The described device cancel key one end ground connection other end that is provided with is connected to 5V by R3, and simultaneously, the other end of this cancel key is connected to respectively by R4 and device single-chip microcomputer and capacitor C 2 is set, C2 other end ground connection.
Beneficial effect
The DC brushless motor controller speed-limiting device that is provided with of the present utility model, by a spot of external circuit, shirtsleeve operation, the lifting of software function makes controling appliance be with or without the speed limit function, and institute's speed limit degree size can be self-defined as required by the user simultaneously.Solve national regulation electric bicycle travel speed and can not surpass 20 kilometers problem, solve electric bicycle simultaneously because of differences such as motor speed difference, motor wheel footpath difference, load cause the accurately problem of speed limit, can need customize speed limit by the actual conditions user accurately.The speed limit function of existing controller just reduces the handle ceiling voltage or controls motor speed by scm software by divider resistance, this method for limiting speed can be because of the different rotating speeds motor, the load difference, motor is taken turns the footpath difference and is caused electric bicycle actual travel speed difference, can not really reach the purpose of speed limit.
The DC brushless motor controller speed-limiting device that is provided with of the present utility model, simple, will device be set and controller links by serial ports, start then bicycle reach want the most at a high speed, press the key that is provided with that is provided with on the device, promptly finish the speed limit setting, disconnection is provided with device and connects with controller.Then in controller the travelling afterwards, for the most at a high speed, reach the speed limit purpose with this speed.If want to cancel the speed limit function, only need press the cancel key that is provided with, controller just no longer includes the speed limit function.
Controller after device is set is provided with, its speed limit is accurate, not influenced by each side such as motor, load, motor wheel footpath.Be provided with convenient, flexible, can dealing with various requirements.Operation is simple, is provided with cancellation flexible.Be specially adapted to electric motor car producer, dealer and individual.
As shown in Figure 1, DC brushless motor controller limit device is set, comprises device is set controller, electric bicycle.Electric bicycle is connected with controller is two-way, controller be provided with that device is two-way to be connected.
Electric bicycle comprises handle, motor, power supply, and motor connects power supply.
Controller comprises handle input circuit, controller single-chip microcomputer, motor-drive circuit, and the controller single-chip microcomputer connects handle input circuit and motor-drive circuit.
Be provided with device comprise the device single-chip microcomputer is set, key is set, cancel key, key is set, cancel key connects single-chip microcomputer.
The handle of electric bicycle connects the handle input circuit of controller, and the controller single-chip microcomputer of controller connects motor-drive circuit.Motor-drive circuit connects the motor of electric bicycle.
The controller single-chip microcomputer of controller with device is set be provided with that the device single-chip microcomputer is two-way to be connected.
The device power supply is set to be provided by controller, device is set key one end ground connection is set, and the other end is connected to 5V by R1, is connected to respectively by R2 simultaneously and device single-chip microcomputer and capacitor C 1 is set, C1 other end ground connection.Press and device is set key is set, R1 one end ground connection by R2, is provided with low level signal of device single-chip microcomputer after the C1 filtering, unclamps key is set, and then gives device single-chip microcomputer high level signal is set; The device cancel key one end ground connection other end is set is connected to 5V by R3, be connected to respectively by R4 simultaneously device single-chip microcomputer and capacitor C 2 are set, C2 other end ground connection, press the device cancel key is set, R3 one end ground connection by R4, is given after the C2 filtering low level signal of device single-chip microcomputer is set, unclamp cancel key, then give device single-chip microcomputer high level signal is set.
Electric bicycle provides power supply for controller, the handle input and the required motor that turns round.
Controller comprises the handle input circuit, motor-drive circuit, controller single-chip microcomputer.Handle input circuit and handle link, and accept handle input analog signal, export to the controller single-chip microcomputer after the filtering of handle input circuit; The controller single-chip microcomputer is according to the output valve size of handle input circuit, to the motor-drive circuit output pwm signal.The motor drive signal of motor-drive circuit output band PWM modulation, control electric bicycle motor rotating speed.
Operation principle of the present utility model is as follows: method for limiting speed is as follows: will device be set and controller links by Serial Port Line, controller and electric motor car are correctly linked, rotate handle, after controller control electric bicycle reaches the speed that the user wants, press and device is set key is set, give variable signal of device single-chip microcomputer is set, the device single-chip microcomputer is set preserves PWM value corresponding under this speed as maximum by serial ports notification controller single-chip microcomputer, controller output PWM in service afterwards can be less than the PWM of this storage, be the speed of a motor vehicle that the electric bicycle speed of a motor vehicle also can be when being provided with, realize the speed limit function.The remove controls speed limit function of device, only need link to each other with controller device is set, press the cancel key that is provided with on the device, the device single-chip microcomputer is set promptly removes the PWM maximum of preserving by serial ports notification controller single-chip microcomputer, so afterwards in service, controller PWM is controlled by handle only, and no longer includes the speed limit function.