The anti-runaway protection circuit of Electrical Bicycle
Technical field
The present invention relates to a kind of Electrical Bicycle technical field, relate in particular to a kind of anti-runaway protection circuit of Electrical Bicycle.
Background technology
Use the Electrical Bicycle that electric energy is propulsive effort because its moulding is light, can not cause tail gas pollution to be widely used.Because Electrical Bicycle moving velocity is very fast, do not there is perfect impact protector facility like as car again, therefore the safety precaution of its circuit is just seemed to especially important.
Fig. 1 is vehicle handle peripheral circuit of the prior art, the power lead VCC of handle 1 is connected with the power end VCC of chip 2, in parallel with ground wire connecting resistance R123 after its signal wire (SW) connecting resistance R99, then be connected with a speed detection mouthful SPEED for chip 2 after the resistance R 63 of connecting, and ground wire grounded.It is the detection port of chip 2 to handle 1 that speed detects a mouthful SPEED.The 3rd, power plant module, comprises driver module and motor.The principle of work of this circuit is:
The in the situation that of Electrical Bicycle normal operation, power line voltage flows to ground by handle, detects a mouthful SPEED and voltage signal can be detected, and with driver's operation, be i.e. the rotation of handle and changing within the specific limits.
In the time that power lead opens circuit, no matter how to twist handle, detect a mouthful SPEED and all can't detect signal, the input value perseverance that also detects mouthful SPEED is low level, and now, the motor in power plant module 3 does not rotate, and Electrical Bicycle enters anti-lost-control protection state.
When the power lead of handle with while detecting mouthful SPEED short circuit, detecting the signal that mouthful SPEED receives is a fixed voltage.
In the time that the ground wire of handle opens circuit, due to power line voltage can not flow to from handle inside ground, therefore detect a mouthful SPEED and be equivalent to unsettledly, can't detect voltage, now, the motor in power plant module 3 does not also rotate, Electrical Bicycle enters anti-lost-control protection state.
Visible, sort circuit structure can be distinguished the situation that situation that the ground wire of normal operation, the handle of Electrical Bicycle opens circuit and power lead open circuit, but in the time there is the signal wire (SW) of handle and the situation of power lead short circuit, the signal value that detection mouthful SPEED receives is very likely included within the scope of the signal value of normal operation, can not be judged out generation out of control, easily cause danger.
Fig. 2 is the anti-runaway protection circuit constructional drawing of another kind of existing Electrical Bicycle, and the power lead VCC of handle 1 is connected with the power end VCC of chip 2; The signal wire (SW) of handle 1 is connected with the detection mouth SPCK of chip 2 through resistance R 57, and signal wire (SW) is through resistance R 55 ground connection; The ground wire of handle 1 detects a mouthful SP through resistance R 56, R11 with the speed of chip 2 and is connected, and signal wire (SW) is through resistance R 56, R58 ground connection.The 3rd, power plant module, bag driver module and motor.
The in the situation that of Electrical Bicycle normal operation, detect mouthful SPCK and speed and detect a mouthful SP and voltage signal can be detected, and this voltage signal is with driver's operation, be i.e. the rotation of handle and changing within the specific limits.
In the time that power lead opens circuit, no matter how to twist handle, the input value that detects mouthful SPCK and speed detection mouthful SP is low level, and now, the motor in power plant module 3 does not rotate, and Electrical Bicycle enters anti-lost-control protection state.
In the time that power supply detects mouth SP short circuit to detection mouthful SPCK or to speed, chip 2 only has two ports signal can be detected, and now, the motor in power plant module 3 does not rotate, and Electrical Bicycle enters anti-lost-control protection state.
Equally, detect mouthful SP and occur that arbitrary is opened circuit and all will cause chip 2 acquisition of signals incomplete when detecting mouthful SPCK and speed, now, the motor in power plant module 3 does not also rotate, and Electrical Bicycle enters anti-lost-control protection state.
In the time detecting mouthful SPCK and speed detection mouthful SP short circuit simultaneously, the voltage signal that chip 2 collects drops on outside the scope of normal voltage value, and the motor in power plant module 3 does not still rotate, and Electrical Bicycle enters anti-lost-control protection state.
Visible; although the anti-runaway protection circuit of the described battery-driven car of Fig. 2 can judge various faults; but circuit structure more complicated, and taken the port of a chip 2, the situation that the instruction that need to write in coding and needing is considered is also more loaded down with trivial details more.
Summary of the invention
The object of this invention is to provide a kind of simple in structure and the anti-runaway protection circuit of Electrical Bicycle of accurate protection can be provided.
For achieving the above object, the invention provides following technical scheme:
The anti-runaway protection circuit of a kind of Electrical Bicycle, comprise handle, chip, power plant module, the running of described power plant module is subject to the control of chip signal output, described handle has three output lines, it is respectively power lead, signal wire (SW) and ground wire, described chip has two input ends, respectively power end and speed end, wherein the power lead of handle and the power end of chip are connected, the signal wire (SW) of handle is connected with the speed end of chip, described handle ground wire grounded is also connected with the speed end of chip through resistance, the anti-runaway protection circuit of described Electrical Bicycle separately has an input end, be connected with the speed end of chip through resistance.
Handle in the present invention is equivalent to the man-machine interface of Electrical Bicycle, adopts linear Hall IC, and utilizes its operation that makes driver can be converted into the output voltage changing within the specific limits, input power module after being received by control chip.
Said chip can be according to the running of the input value control circuit module of speed end, and can while being normal, dwindle speed terminal voltage variation range in the input value that judges speed end.
Above-mentioned power plant module comprises driver module and motor, and this motor is DC brushless motor.
Conventionally cause the out of control of Electrical Bicycle, i.e. the output of handle no longer has three kinds with the reason of driver's operative association:
1. the signal wire (SW) of handle and power lead short circuit;
2. the ground wire of handle opens circuit;
3. power lead opens circuit.
Protective circuit of the present invention also designs for these three kinds of reasons just, and has following technique effect:
1. utilize simple circuit structure, only need to take two ports of chip, can detect the driving states of Electrical Bicycle;
2. the formation of whole circuit only has resistance, cheap;
3. in the time being chip programming, only need to distinguishing the input value of a port and can determine driving states, program is simple and easy;
4. once anti-runaway protection circuit et out of order, measures the root that can learn fault by simple magnitude of voltage, easy to maintenance.
Brief description of the drawings
Accompanying drawing 1 is the anti-runaway protection circuit figure of a kind of existing Electrical Bicycle;
Accompanying drawing 2 is the anti-runaway protection circuit figure of another kind of existing Electrical Bicycle;
Accompanying drawing 3 is the anti-runaway protection circuit figure of Electrical Bicycle of the present invention.
Detailed description of the invention
The embodiment providing below in conjunction with accompanying drawing 3 makes and further describing the present invention:
Handle 1 has three output lines, is respectively power lead VCC, signal wire (SW) OUT and ground wire GND, and described chip has two input ends, is respectively power end VCC and speed end SPEED.The power lead VCC of handle 1 is connected with the power end VCC of chip 2; The signal wire (SW) OUT of handle 1 is connected with the speed end SPEED of chip 2; the ground end GND ground connection of handle 1 is also connected with the speed end SPEED of chip through resistance R 123; the anti-runaway protection circuit of this Electrical Bicycle separately has an input end VDD, is connected with the speed end SPEED of chip 2 through resistance R 146.Power plant module 3 comprises driver module and motor, and is connected with chip 2, and the running of power plant module 3 is subject to the output signal control of chip 2.Wherein, the magnitude of voltage of VCC is+5V that input end VDD input voltage is+15V.
Because handle 1 has adopted linear Hall 49E, according to driver's operation, the output valve of handle 1 signal wire (SW) OUT is in the scope of 0.7V~(VDD-0.85V), in the scope of 0.7V~14.15V.
Described chip 2 can be according to the running of the input voltage duty control circuit module of speed end SPEED, and can while being normal, dwindle speed end SPEED change of voltage scope in the input value that judges speed end SPEED.
Power plant module 3 comprises driver module and motor, and this motor is DC brushless motor.
The in the situation that of Electrical Bicycle normal operation, the input voltage of input end VDD arrives ground through R146 again to handle 1, the power end VCC of chip 2 and speed end SPEED can detect voltage signal, wherein the input voltage of power end VCC is 5V, the input voltage of speed end SPEED is the output valve of handle 1, in the scope of 0.7V~14.15V.By the booster tension function of chip 2, the value that speed end SPEED detects reaches 1.35V~4.2V.
In the time that the power lead VCC of handle 1 opens circuit, the output voltage of power end VCC is low level, and now, how no matter the input voltage of speed end SPEED, lower than 1.35V, twist handle, and Electrical Bicycle can not move.
In the time that the ground wire GND of the handle 1 of Electrical Bicycle opens circuit, the input voltage of speed end SPEED is VDD*R123/ (R146+R123), and higher than 4.2V, now, the motor in power plant module 3 does not still rotate.
In the time of the signal wire (SW) of the handle of Electrical Bicycle and power lead short circuit, the input voltage perseverance of speed end SPEED is VCC, i.e. 5V, and higher than 4.2V, now, the motor in power plant module 3 does not still rotate.
As long as chip 2 detects to obtain the input voltage of speed end SPEED while not dropping in the scope of 1.35V~4.2V, send to circuit module 3 signal shutting down.