Summary of the invention
The objective of the invention is shortcoming and defect part at prior art provides a kind of and can resemble the fault diagnosis equipment that services a car and overhaul the examining-repairing instrument and the trouble-shooting method of electric bicycle speech fault.
A kind of electric bicycle speech trouble-shooting instrument, comprise MCU core control devices, sound chip circuit, read-out indication driving circuit, keyboard circuit, communication interface, electric door lock power supply processing circuit, the MCU core control devices is connected with sound chip circuit, read-out indication driving circuit, keyboard circuit, communication interface, electric door lock power supply processing circuit respectively.
Described MCU core control devices comprises central processing center, data communication module, electric door lock detection module, fault display data module, failure voice data module, keyboard processing module, wherein, central processing center is connected with data communication module, electric door lock detection module, fault display data module, failure voice data module, keyboard processing module respectively.
Described keyboard circuit connects the keyboard processing module.
Described sound chip circuit connects the voice amplifying circuit, and the voice amplifying circuit connects loudspeaker again.
Described data communication module connects communication interface by order wire.
Described electric door lock detection module is by electric door lock wire joint communication interface.
Described electric door lock wire joint electric door lock power supply processing circuit.
Described read-out indication driving circuit connects fault display data module, failure voice data module.
Described electric door lock power supply processing circuit connects supplying cell.
Described cpu power mu balanced circuit is in parallel with supplying cell, gives whole device power supply.
A kind of electric bicycle speech trouble-shooting method, the electric bicycle speech trouble-shooting
Method is applicable to electric bicycle speech trouble-shooting instrument,
Comprise that step is as follows:
Step 1. is opened the examining-repairing instrument source switch: turn on the power switch at every turn or wake up from sleep, at once voice broadcast;
A. opening the source switch of examining-repairing instrument, is under the state of opening if detect electric door lock, and examining-repairing instrument is with regard to voice suggestion ' electric door lock is opened, device please wait a moment in connection ',
B. opening the source switch of examining-repairing instrument, is under the closing state if detect electric door lock, and examining-repairing instrument ' please be opened electric door lock ' with regard to voice suggestion,
C. opening the source switch of examining-repairing instrument, is under the closing state if detect electric door lock, is not opened in during the appointment, will enter sleep with the saving power consumption,
The model selection of step 2. trouble-shooting:
Step 3. speed-regulating handle bar troubleshooting step:
Step 4. BK Brake Switch troubleshooting step:
Step 5. motor Hall troubleshooting step:
Step 6. controller mode of operation real-time examination and repair step.
Beneficial effect
Examining-repairing instrument of the present invention is to comprise that motor drive controller itself can accurately judge to any quality that belongs to electric component of Electrical Bicycle, reports out with the mode of voice, and shows at the display screen of examining-repairing instrument.When Electrical Bicycle breaks down, the communication plug that the maintainer needs only with this voice examining-repairing instrument and controller connects, the maintainer can rapidly, accurately find out the true cause of fault by the voice suggestion guiding step and the method operation of failure voice examining-repairing instrument.
The specific embodiment
The present invention will be described below in conjunction with accompanying drawing:
As shown in Figure 1, the present invention proposes a kind of driving governor and information communication that cooperatively interacts of voice trouble-shooting instrument by Electrical Bicycle and exchanges and finish the examining-repairing instrument apparatus that resembles the fault diagnosis equipment that services a car.The circuit structure of electric bicycle speech trouble-shooting instrument comprises MCU core control devices 1, sound chip circuit 2, voice amplifying circuit 3, read-out indication driving circuit 4, keyboard circuit 5, communication interface 6, electric door lock power supply processing circuit 7, cpu power mu balanced circuit 8, loudspeaker 10, supplying cell 11 compositions.MCU core control devices 1 comprises central processing center 12, data communication module 13, electric door lock detection module 14, fault display data module 15, failure voice data module 16, keyboard processing module 17 compositions.
Among the figure, VSS represents the negative pole of ground wire, and △ represents ground wire.
MCU core control devices 1 is connected with sound chip circuit 2, read-out indication driving circuit 4, keyboard circuit 5, communication interface 6, electric door lock power supply processing circuit 7 respectively.
MCU core control devices 1 comprises central processing center 12, data communication module 13, electric door lock detection module 14, fault display data module 15, failure voice data module 16, keyboard processing module 17, wherein, central processing center 12 is connected with data communication module 13, electric door lock detection module 14, fault display data module 15, failure voice data module 16, keyboard processing module 17 respectively.
Keyboard circuit 5 connects keyboard processing module 17.
Sound chip circuit 2 connects voice amplifying circuit 3, and voice amplifying circuit 3 connects loudspeaker 10 again.
Data communication module 13 connects communication interface 6 by order wire.
Electric door lock detection module 14 is by electric door lock wire joint communication interface 6.
Electric door lock wire joint electric door lock power supply processing circuit 7.
Read-out indication driving circuit 4 connects fault display data module 15, failure voice data module 16.
Electric door lock power supply processing circuit 7 connects supplying cell 11.
Cpu power mu balanced circuit 8 is in parallel with supplying cell 11, gives whole device power supply.
The effect of each module of voice trouble-shooting instrument is as follows:
The MCU core control devices: the communication data collection and the analysis of the whole maintenance process of the driving governor of responsible Electrical Bicycle, report by the mode of display instrument and voice.
Sound chip circuit: according to the instruction output voice signal of MCU core control devices.
The voice amplifying circuit: the voice signal that sound chip circuit is sent here amplifies the pronunciation of promotion loudspeaker.
Read-out indication driving circuit: the instruction according to the MCU core control devices shows corresponding failure message.
Keyboard circuit: give the MCU core control devices key command signal and judge detection.
Communication interface: play the driving governor of connection Electrical Bicycle and the bridge of voice trouble-shooting instrument.
Electric door lock power supply processing circuit: the voltage of the electric door lock of controller is carried out step-down handle, give whole device power supply.
Cpu power mu balanced circuit: the stable power-supplying voltage that the MCU core control devices is provided.
Supplying cell: under electric door lock is closed, can provide power supply voltage for the MCU core control devices.
The effect of voice trouble-shooting instrument is as follows:
1. can accurately differentiate the on off mode of general supply and the on off mode of electric door lock.
2. can accurately differentiate the fault of speed regulating handle.
3. can accurately differentiate the state of BK Brake Switch.Comprise switch short circuit or open circuit.
4. can accurately differentiate the state of motor phase line and motor Hall.
5. can accurately differentiate the state of entire controller.
6. operate by voice suggestion guide maintenance personnel, finally finish whole maintenance process.
Fig. 2 is an electric bicycle speech trouble-shooting method flow diagram of the present invention
Electric bicycle speech trouble-shooting method of the present invention is applicable to electric bicycle speech trouble-shooting instrument.
Voice trouble-shooting method comprises that step is as follows:
The trouble-shooting method step explanation of voice examining-repairing instrument:
Step 1. is opened the examining-repairing instrument source switch: turn on the power switch at every turn or wake up from sleep, voice broadcast ' welcomes to use high mark controller voice trouble-shooting instrument ' at once.
A. opening the source switch of examining-repairing instrument, is under the state of opening if detect electric door lock,
Examining-repairing instrument can send the maintenance order to controller simultaneously immediately with regard to voice suggestion ' electric door lock is opened, and please wait a moment in connection for device ', makes controller enter the maintenance pattern.Controller sends it back induction signal immediately to examining-repairing instrument after receiving order.When examining-repairing instrument receives back-signalling, also to carry out cryptographic calculations, password not to the time with regard to voice suggestion ' please use high mark controller connect '; If the correct examining-repairing instrument of password is with regard to voice suggestion ' device communicates to connect normally '.If examining-repairing instrument did not also receive back-signalling after 1 second, send the maintenance order once more to controller, 5 failure back examining-repairing instruments are with regard to voice suggestion ' device communicates to connect failure, please overhaul controller '.During connection awaits a response signal, also will to electric door lock whether the people for being closed or being in bad contact once in a while carries out judgment processing.When judge electric door lock for the people when closing, examining-repairing instrument is with regard to voice suggestion ' electric door lock, please be opened for closing by the people '; When judging that electric door lock is bad contact, with regard to voice suggestion ' there is the bad contact phenomenon in electric door lock, please in time overhauls '.
B. opening the source switch of examining-repairing instrument, is under the closing state if detect electric door lock,
Examining-repairing instrument ' please be opened electric door lock ' with regard to voice suggestion, will judge whether to be opened to electric door lock in during the appointment.If be opened with regard to voice suggestion ' electric door lock is opened, and please wait a moment in connection for device '; If still electric door lock is not opened, examining-repairing instrument ' please overhaul electric door lock ' with regard to voice suggestion.
C. opening the source switch of examining-repairing instrument, is under the closing state if detect electric door lock,
During the appointment, be not opened, will enter sleep to save power consumption.Opening electric door lock under the sleep state will wake up automatically.
The model selection of step 2. trouble-shooting:
After device connects normally.The button operation of user's ability counter plate.Examining-repairing instrument has automatic mode maintenance and real-time mode maintenance.The automatic mode maintenance is used for rigid trouble-shooting, and the real-time mode maintenance is used for soft trouble-shooting.After the device voice suggestion connected normally, examining-repairing instrument can ' please be selected the maintenance pattern by mode button ' by automatic speech prompting.If will enter the automatic mode maintenance, as long as click the automatic mode button, read-out automatic mode indicator lamp is lighted simultaneously, and examining-repairing instrument ' is please pointed out the step method operation by voice ' with regard to voice suggestion.
If will enter the real-time mode maintenance, as long as click the real-time mode button, read-out real-time mode indicator lamp is lighted simultaneously, and examining-repairing instrument is with regard to voice suggestion ' device enters in the real-time examination and repair pattern '.In real-time mode, controller can normally be ridden, and the fault that occurs in riding again just sends to examining-repairing instrument, and examining-repairing instrument is reported with voice mode through the decoding back.
The display information indication:
The instrument that read-out can be designed to LED light or the convenient indication of liquid crystal display shows.
Step 3. speed-regulating handle bar troubleshooting step:
The examining-repairing instrument voice suggestion ' asks the maintainer to rotate speed-regulating handle bar ', and examining-repairing instrument sends the relevant information that requires controller to respond speed governing more simultaneously, and controller just returns handgrip information to examining-repairing instrument after receiving this order.Examining-repairing instrument is judged according to the handgrip information that obtains.If speed-regulating handle bar voltage is for just often, voice suggestion is ' speed-regulating handle bar is normal '; If speed-regulating handle bar voltage when 0.4V is following, voice suggestion is ' speed-regulating handle bar has problem, does not have speed-regulating signal '; If speed-regulating handle bar voltage surpass normal value the time, and voltage do not change, voice suggestion is ' speed-regulating handle bar has problem, the disconnected or puncture of possible ground wire '; If speed-regulating handle bar voltage is when normal value, and voltage do not change, and voice suggestion is ' speed-regulating handle bar has problem, can not return ';
Step 4. BK Brake Switch troubleshooting step:
Whether the examining-repairing instrument voice suggestion examining-repairing instrument of ' asking the maintainer to pinch brake lever ' sends the order request controller again and responds the BK Brake Switch state and change.Examining-repairing instrument is just carried out the judgement to brake lever after waiting for and receiving this information.If the brake lever problem is with regard to voice suggestion ' brake lever has problem '; If brake lever is normally with regard to voice suggestion ' brake lever is normal '.
Step 5. motor Hall troubleshooting step:
Repair the instrument voice suggestion and ' ask the maintainer to enclose with hand rotary electric machine one ', examining-repairing instrument sends the Hall information that the order request controller returns phase angle configuration information and motor more simultaneously.Examining-repairing instrument is comprehensively judged according to the motor Hall information that obtains and the phase angle configuration information of controller.When if the object information of motor Hall is consistent with controller phase angle configuration information, examining-repairing instrument is with regard to voice suggestion ' motor Hall and coupling are normal '; If when motor Hall information was improper value, examining-repairing instrument was with regard to voice suggestion ' the motor Hall has damage '; If the object information of motor Hall is the right value of 60 degree motors, but controller phase angle configuration information is 120 degree phase angles, and examining-repairing instrument is not with regard to voice suggestion ' the motor phase angle matches, and please check whether be 120 degree motors '; If the object information of motor Hall is the right value of 120 degree motors, but controller phase angle configuration information is 60 degree phase angles, and examining-repairing instrument is not with regard to voice suggestion ' the motor phase angle matches, and please check whether be 60 degree motors '.
Step 6. controller mode of operation real-time examination and repair step:
Examining-repairing instrument ' sends to the real-time examination and repair order controller requirement and enters the real-time examination and repair pattern earlier.
Voice just pointed out ' device enters in the real-time examination and repair pattern ' while real-time examination and repair indicator lamp to light after examining-repairing instrument was waited for the echo message of receiving controller.At this moment examining-repairing instrument just is in the failure message that the controller of reception sends over always, and reports with the mode of voice.
Fault is reported as follows:
When receiving the bad Hall mistake that causes of motor Hall wiring, examining-repairing instrument is with regard to voice suggestion ' bad contact of motor Hall '.
When receiving the bad open-phase protection that causes of motor phase line wiring, examining-repairing instrument is with regard to voice suggestion ' bad contact of motor phase line '.
When receiving rotation-clogging protection ", examining-repairing instrument is with regard to voice suggestion ' bad contact of motor phase line or motor block '.
When receiving the overcurrent protection that the short circuit of motor phase line causes, examining-repairing instrument is with regard to voice suggestion ' motor phase line or load short circuits '.
When receiving the not clear overcurrent protection that causes of judging, examining-repairing instrument ' please check whether motor or each connector have bad contact ' with regard to voice suggestion.
When the overcurrent protection that the MOS puncture that receives controller causes, examining-repairing instrument is with regard to voice suggestion ' power tube damages please more changer controller '.
When the throttle orifice operation point mal that receives the controller internal circuit, examining-repairing instrument is with regard to voice suggestion ' controller has problem '.
When receiving bad driving protection of speed-regulating handle bar wiring or speed-regulating handle bar fault, examining-repairing instrument is with regard to voice suggestion ' speed-regulating handle bar bad contact '.
When receiving electric weight deficiency information, examining-repairing instrument is with regard to voice suggestion ' battery electric quantity deficiency '.
When receiving under-voltage protection information, examining-repairing instrument is with regard to voice suggestion ' battery is under-voltage '.
When receiving overvoltage protection information, examining-repairing instrument is with regard to voice suggestion ' cell pressure surpasses controller and allows voltage '.
Controller and examining-repairing instrument communication association instrument: controller and examining-repairing instrument adopt single-wire communication association instrument.Examining-repairing instrument is a main frame when static inspecting state, and controller is a slave.Examining-repairing instrument is always for receiving when dynamic inspecting state, and controller is always for sending.