CN106444732B - A kind of speed tach signal transmitter and control method for EPS debugging - Google Patents

A kind of speed tach signal transmitter and control method for EPS debugging Download PDF

Info

Publication number
CN106444732B
CN106444732B CN201611236660.5A CN201611236660A CN106444732B CN 106444732 B CN106444732 B CN 106444732B CN 201611236660 A CN201611236660 A CN 201611236660A CN 106444732 B CN106444732 B CN 106444732B
Authority
CN
China
Prior art keywords
speed
signal
module
microprocessor
pwm
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
CN201611236660.5A
Other languages
Chinese (zh)
Other versions
CN106444732A (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.)
Hunan Dongjia Intelligent Technology Co.,Ltd.
Original Assignee
ZHUZHOU YILIDA ELECTROMECHANICAL CO Ltd
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 ZHUZHOU YILIDA ELECTROMECHANICAL CO Ltd filed Critical ZHUZHOU YILIDA ELECTROMECHANICAL CO Ltd
Priority to CN201611236660.5A priority Critical patent/CN106444732B/en
Publication of CN106444732A publication Critical patent/CN106444732A/en
Application granted granted Critical
Publication of CN106444732B publication Critical patent/CN106444732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols

Abstract

The invention discloses a kind of speed tach signal transmitters and control method for EPS debugging.The transmitter includes power management module, microprocessor, the speed adjustment module connecting respectively with microprocessor, engine speed adjustment module, CAN module and output signal control module;The power management module provides power supply for microprocessor, and the speed adjustment module, engine speed adjustment module provide adjustable speed value signal, adjustable engine speed value signal to microprocessor respectively;The microprocessor sends out speed CAN signal and revolving speed CAN signal by CAN module;The output signal control module provides the selection signal of the control signal and CAN signal agreement whether speed tach signal exports to microprocessor.The present invention can not only send speed revolving speed CAN signal, speed revolving speed pwm signal, and can save computer resource, easy to carry, easy to operate, realize visualization.

Description

A kind of speed tach signal transmitter and control method for EPS debugging
Technical field
The present invention relates to commissioning device technical fields, more particularly, to a kind of speed tach signal for EPS debugging Transmitter and control method.
Background technique
As shown in Figure 1, EPS controller operates normally the rotation angle of torque signal for needing torque sensor, power supply, the point of vehicle Fiery signal and CAN speed tach signal and motor signal.If controller is mounted on vehicle, normal operation is that there is no problem , because vehicle can be supplied to the required all signals of controller work.But EPS controller is adjusted in laboratory environments When examination, due to the environment departing from vehicle, although the rotation angle of torque signal of torque sensor, power supply, ignition signal can be supplied to And motor signal, but lack speed tach signal, controller cisco unity malfunction and influence to debug.
The prior art is that CAN speed tach signal is sent by computer CAN software to guarantee that controller operates normally.In this way It sends CAN signal and needs a channel CAN, since debugging monitoring software variable is also to be carried out by the channel CAN, adjust Examination monitoring is also required to the channel CAN.But a computer only allows channel CAN to exist, so make in this way into Row debugging control device needs to prepare two computers, and one is used to send CAN speed tach signal, and one is used to monitoring software and becomes Amount.It is excessive so to occupy computer resource, and use is also inconvenient.
Summary of the invention
To solve the above-mentioned problems, the present invention provides a kind of speed tach signal that can send and gives EPS controller, and speed turns The fast freely adjustable speed tach signal transmitter for EPS debugging.
A kind of speed tach signal transmitter for EPS debugging, including power management module, microprocessor are provided, point Speed adjustment module, engine speed adjustment module, CAN module and the output signal control mould not connect with microprocessor Block;The power management module provides power supply, the speed adjustment module, engine speed adjustment module difference for microprocessor Adjustable speed value signal, adjustable engine speed value signal are provided to microprocessor;The microprocessor passes through CAN Module sends out speed CAN signal and revolving speed CAN signal;The output signal control module is used to provide vehicle to microprocessor The selection signal of control signal and CAN signal agreement whether fast tach signal exports.
After the present invention is powered on by power management module, vehicle speed value is adjusted by speed adjustment module, passes through hair Tachometer value is adjusted in motivation rotational speed regulation module, and vehicle speed value and revolving speed value signal are sent to microprocessor;Micro process Device handles vehicle speed value and tachometer value, and the type of the CAN signal agreement selected by output signal control module, according to Respective protocol is sent to CAN module for signal is handled, to export corresponding speed CAN signal and revolving speed CAN signal.
It further, further include PWM module, the microprocessor exports speed pwm signal by PWM module outward and turns Fast pwm signal.The present invention, by the setting of PWM module, can also send vehicle other than it can send CAN speed tach signal Fast revolving speed pwm signal can be adapted for the EPS debugging of different type speed tach signal.
It further, further include for showing current vehicle speed speed revolution value, current CAN protocol type and signal output shape The display module of state.
Further, the power management module external direct current power supply or battery convert electrical energy into 5V and supply electricity to micro- place Manage device.
Further, the speed adjustment module and engine speed adjustment module are variable resistance module.
Further, the CAN module is CAN signal transceiver, using the TJA1051 of NXP.
Further, the output control module is keyboard or selection switch.
It is further preferred that the output control module is toggle switch, including toggle switch one and toggle switch two.Institute Stating toggle switch one is 8 sections of toggle switch, for selecting CAN signal protocol type, highest can support 256 it is different types of CAN protocol can correspond to 256 kinds of different vehicles.The toggle switch two is 4 sections of toggle switch, is used for regulation speed CAN signal Whether signal, speed pwm signal whether output, whether the output of revolving speed CAN signal export, whether the output of revolving speed pwm signal.
Another object of the present invention is to provide a kind of controlling parties of speed tach signal transmitter for EPS debugging Method, comprising the following steps: acquisition CAN protocol type information, speed revolving speed control information and speed speed revolution value information;Micro- place It manages device and determines that protocol type and the signal of output signal are CAN signal or pwm signal according to information, and CAN signal is sent out Mistake and PWM wave abnormal signal is sent to be detected;It sends the signal numerical value and state of output in display module and shows.
Further, specific steps are as follows:
S1. system clock, I/O, ADC, PIT, PWM and LCD display module are initialized;
S2. opening program interrupts, and recycles into while (1);
S3.bMainCtrlBegin variable is interrupted with the PIT of 10ms as cycle period, carries out period calling, is obtained following Information,
S31. vehicle is obtained, transmission makes to can control and speed, rotary speed information function GetConfigInfo ();
S32. speed, revolving speed output function velSpdandEngSpdOutput ();
S33. vehicle, speed, revolving speed and fault message function DisplayInfo () are shown;
S34. fault detection function can_Monitor ();
S35. with FreeMaster communication function FMSTR_Poll () and FMSTR_Fprg ();
S4. this circulation terminates, and removes bMainCtrlBegin flag bit, and waiting enters to be recycled next time.
Compared with prior art, the invention has the following advantages:
The present invention devises a kind of speed tach signal transmitter for EPS debugging in a creative way, can not only provide Speed revolving speed CAN signal can also provide speed revolving speed pwm signal, keep its scope of application wider;Also, it can be up to 256 kinds built-in CAN protocol type supports the CAN signal of multiple vehicle factors to match;Computer resource can be saved simultaneously, and easy to carry, operation Simply, visualization is realized.
Detailed description of the invention
Fig. 1 is EPS controller signals connection schematic diagram;
Fig. 2 is speed tach signal emitter structures schematic diagram of the present invention.
Fig. 3 is invention software structure chart.
Fig. 4 is invention software flow diagram.
Specific embodiment
The present invention is further illustrated With reference to embodiment.Wherein, attached drawing only for illustration, What is indicated is only schematic diagram, rather than pictorial diagram, should not be understood as the limitation to this patent;Reality in order to better illustrate the present invention Example is applied, the certain components of attached drawing have omission, zoom in or out, and do not represent the size of actual product;To those skilled in the art For, the omitting of some known structures and their instructions in the attached drawings are understandable.
Embodiment 1
As shown in Fig. 2, the present embodiment provides a kind of speed tach signal transmitter for EPS debugging, including power supply pipe Manage module, microprocessor, the speed adjustment module being connect respectively with microprocessor, engine speed adjustment module, CAN module with And output signal control module;The power management module provides power supply, the speed adjustment module, engine for microprocessor Rotational speed regulation module provides adjustable speed value signal, adjustable engine speed value signal to microprocessor respectively;Institute It states microprocessor and speed CAN signal and revolving speed CAN signal is sent out by CAN module;The output signal control module to Microprocessor provides the selection signal of control signal and CAN signal agreement whether speed tach signal exports.
It is powered by external 12V DC power supply or battery, inputs into power management module and be converted into 5V to microprocessor and its He powers at peripheral circuit.
Speed adjustment module and engine speed adjustment module are variable resistance module.The adjustable range 0 of speed to 150km/h, the adjustable range of revolving speed are 0 to 5000rpm.
For CAN module using the TJA1051 of NXP as CAN signal transceiver, transmission rate can reach 1Mkb/s.
Output control module includes 8 sections of toggle switch one, and the selection as CAN signal agreement switchs, and highest can support 256 A different types of CAN protocol, that is to say, that 256 kinds of different vehicles can be corresponded to;It further include 4 sections of toggle switch two, as vehicle Fast revolving speed output control switch, respectively regulation speed CAN signal output whether, revolving speed CAN signal output whether, speed PWM letter Number output whether, revolving speed pwm signal output whether.
Using LCD5110 liquid crystal display real-time display current vehicle speed speed revolution value, and show current CAN protocol type and Signal output state, LCD5110 are connect by SPI serial communication with microprocessor.
In the present embodiment, PWM module is carried using microprocessor, by level conversion at the PWM wave of required level, speed Speed revolution value is reacted by PWM frequency.
The speed tach signal transmitter software configuration of the present embodiment is as shown in figure 3, can be divided into application layer, middle layer and drive Dynamic layer.Application layer include data acquisition module, LCD MODULE, signal output module, fault processing module and Freemaster debugging module.
Data acquisition module mainly acquires the switch state of toggle switch one (CAN protocol type selection switch), dial-up is opened Close the switch state of two (speed revolving speed output control switch), the numerical value of speed adjustment module, engine speed adjustment module.Liquid Brilliant display module uses the dot matrix LCD of 84x48, can show 4 row Chinese characters, be led to using serial line interface and primary processor Letter, transmission rate are up to 4Mbps, display data, N-free diet method time can be written at full speed.LCD screen can be sought by the way that the level of V=0 is arranged Location and V=1 vertically address.Signal output module is divided into the output of two parts CAN signal and pwm signal output.Microprocessor collects It can be to send CAN according to information decision after CAN protocol type information, speed revolving speed control information and speed speed revolution value information Signal or pwm signal, the signal of transmission are the agreements of which corresponding vehicle factor.Fault processing module is mainly used to monitor CAN Signal sends mistake and PWM wave abnormal signal.Freemaster debugging module is mainly used for the use of programmer's debugging software, monitoring Software variable.
Software operational process is illustrated in fig. 4 shown below, and mainly executes following steps:
S1. system clock, I/O, ADC, PIT, PWM and LCD display module are initialized;
S2. opening program interrupts, and recycles into while (1);
S3.bMainCtrlBegin variable is interrupted with the PIT of 10ms as cycle period, carries out period calling, is obtained following Information,
S31. vehicle is obtained, transmission makes to can control and speed, rotary speed information function GetConfigInfo ();
S32. speed, revolving speed output function velSpdandEngSpdOutput ();
S33. vehicle, speed, revolving speed and fault message function DisplayInfo () are shown;
S34. fault detection function can_Monitor ();
S35. with FreeMaster communication function FMSTR_Poll () and FMSTR_Fprg ();
S4. this circulation terminates, and removes bMainCtrlBegin flag bit, and waiting enters to be recycled next time.
Obviously, above-described embodiment is only intended to clearly illustrate technical solution of the present invention example, and is not Restriction to embodiments of the present invention.For those of ordinary skill in the art, on the basis of the above description also It can make other variations or changes in different ways.It is done within the spirit and principles of the present invention it is any modification, etc. With replacement and improvement etc., should be included within the protection of the claims in the present invention.

Claims (5)

1. a kind of speed tach signal transmitter for EPS debugging, which is characterized in that including power management module, micro process Device, the speed adjustment module being connect respectively with microprocessor, engine speed adjustment module, CAN module, PWM module, output letter Number control module and display module;The power management module provides power supply, the speed adjustment module, hair for microprocessor Motivation rotational speed regulation module provides adjustable speed value signal, adjustable engine speed value letter to microprocessor respectively Number;The CAN module is signal transceiver, using the TJA1051 of NXP;The microprocessor sends out vehicle by CAN module Fast CAN signal and revolving speed CAN signal;The microprocessor exports speed pwm signal and revolving speed PWM letter by PWM module outward Number;The output signal control module is toggle switch, including toggle switch one and toggle switch two;The toggle switch one is 8 sections of toggle switch, for selecting CAN signal protocol type;The toggle switch two is 4 sections of toggle switch, for sending speed Signal whether CAN signal exports, whether the output of revolving speed CAN signal;The display module for show current vehicle speed tachometer value, Current CAN protocol type and signal output state.
2. the speed tach signal transmitter according to claim 1 for EPS debugging, which is characterized in that the power supply Management module external direct current power supply or battery convert electrical energy into 5V and supply electricity to microprocessor.
3. the speed tach signal transmitter according to claim 1 for EPS debugging, which is characterized in that the speed Adjustment module and engine speed adjustment module are variable resistance module.
4. a kind of controlling party of the speed tach signal transmitter applied to claims 1 to 3 any one for EPS debugging Method, which comprises the following steps: acquisition CAN protocol type information, speed revolving speed control information and speed revolving speed number Value information;Microprocessor according to information determine output signal protocol type and signal be CAN signal or pwm signal, and Mistake is sent to CAN signal and PWM wave abnormal signal detects;Display module is sent by the signal numerical value and state of output In shown.
5. the control method for the speed tach signal transmitter of EPS debugging according to claim 4, which is characterized in that Specific steps are as follows:
S1. system clock, I/O, ADC, PIT, PWM and LCD display module are initialized;
S2. opening program interrupts, and recycles into while (1);
S3.bMainCtrlBegin variable is interrupted with the PIT of 10ms as cycle period, is carried out period calling, is obtained following information,
S31. vehicle is obtained, transmission makes to can control and speed, rotary speed information function GetConfigInfo ();
S32. speed, revolving speed output function velSpdandEngSpdOutput ();
S33. vehicle, speed, revolving speed and fault message function DisplayInfo () are shown;
S34. fault detection function can_Monitor ();
S35. with FreeMaster communication function FMSTR_Poll () and FMSTR_Fprg ();
S4. this circulation terminates, and removes bMainCtrlBegin flag bit, and waiting enters to be recycled next time.
CN201611236660.5A 2016-12-28 2016-12-28 A kind of speed tach signal transmitter and control method for EPS debugging Active CN106444732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611236660.5A CN106444732B (en) 2016-12-28 2016-12-28 A kind of speed tach signal transmitter and control method for EPS debugging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611236660.5A CN106444732B (en) 2016-12-28 2016-12-28 A kind of speed tach signal transmitter and control method for EPS debugging

Publications (2)

Publication Number Publication Date
CN106444732A CN106444732A (en) 2017-02-22
CN106444732B true CN106444732B (en) 2019-10-29

Family

ID=58215959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611236660.5A Active CN106444732B (en) 2016-12-28 2016-12-28 A kind of speed tach signal transmitter and control method for EPS debugging

Country Status (1)

Country Link
CN (1) CN106444732B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100262571B1 (en) * 1995-12-30 2000-08-01 정몽규 Field performance test apparatus for electronic power steering
KR20030060577A (en) * 2002-01-10 2003-07-16 주식회사 만도 Apparatus for testing fail-safety and diagnosis by hils(hardware-in-the-loop-simulation) for eps(electronic power steering) system
CN101215994A (en) * 2007-12-28 2008-07-09 天津汽车检测中心 Car engine electronic air throttle control system and its control method
DE202011050806U1 (en) * 2011-07-26 2011-10-26 Dspace Digital Signal Processing And Control Engineering Gmbh Remote controlled steering tester
CN202495966U (en) * 2012-03-07 2012-10-17 陕西科技大学 Embedded configurable multi-protocol communication network converter
CN103092195A (en) * 2013-02-28 2013-05-08 重庆三祥汽车电控系统有限公司 On-board signal simulation generator based on electric power steering system engine control unit (ECU)
CN103454093A (en) * 2013-08-22 2013-12-18 深圳市特尔佳科技股份有限公司 Handheld type retarder general-purpose tester
CN105719455A (en) * 2016-01-29 2016-06-29 安澳智能系统(南京)股份有限公司 Intelligent remote control system
CN105865506A (en) * 2016-04-01 2016-08-17 湖北工程学院 Detection method and apparatus of national-IV-standard commercial vehicle combination instrument

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100262571B1 (en) * 1995-12-30 2000-08-01 정몽규 Field performance test apparatus for electronic power steering
KR20030060577A (en) * 2002-01-10 2003-07-16 주식회사 만도 Apparatus for testing fail-safety and diagnosis by hils(hardware-in-the-loop-simulation) for eps(electronic power steering) system
CN101215994A (en) * 2007-12-28 2008-07-09 天津汽车检测中心 Car engine electronic air throttle control system and its control method
DE202011050806U1 (en) * 2011-07-26 2011-10-26 Dspace Digital Signal Processing And Control Engineering Gmbh Remote controlled steering tester
CN202495966U (en) * 2012-03-07 2012-10-17 陕西科技大学 Embedded configurable multi-protocol communication network converter
CN103092195A (en) * 2013-02-28 2013-05-08 重庆三祥汽车电控系统有限公司 On-board signal simulation generator based on electric power steering system engine control unit (ECU)
CN103454093A (en) * 2013-08-22 2013-12-18 深圳市特尔佳科技股份有限公司 Handheld type retarder general-purpose tester
CN105719455A (en) * 2016-01-29 2016-06-29 安澳智能系统(南京)股份有限公司 Intelligent remote control system
CN105865506A (en) * 2016-04-01 2016-08-17 湖北工程学院 Detection method and apparatus of national-IV-standard commercial vehicle combination instrument

Also Published As

Publication number Publication date
CN106444732A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN102323905B (en) Remote monitoring system for Godson main board
CN102402477A (en) Chip with computer system environment information monitoring module and computer system
Han et al. The designing of serial communication based on RS232
CN106444732B (en) A kind of speed tach signal transmitter and control method for EPS debugging
CN103941617A (en) Remote control device and equipment through network
CN202711093U (en) Intelligent temperature controller applied to computer or server
CN206584221U (en) The control system of servomotor
CN201637426U (en) Control and display system used for engineering machinery
CN102043433B (en) Electronic device with function of switching displaying chip and peripheral element control method thereof
CN203673180U (en) Novel display screen temperature controlling device
CN203012590U (en) Machine vision system
CN205318311U (en) Intelligence radiator fan
CN207396696U (en) The lithium battery state acquisition of electric vehicle and abnormal alarm equipment
CN204830672U (en) Be used for many mode control of cooling water set system
CN205827188U (en) Interactive communication system based on auspicious sa MCU
CN104486126A (en) System management method based on AST2400 chip
CN109537178A (en) A kind of control function automatic switchover system, sewing machine control and sewing machine
CN203899773U (en) Control panel of centrifuge
CN108958733B (en) Power secondary equipment human-computer interface design method based on universal data interface
CN214067696U (en) Portable device for wirelessly transmitting servo driver technological parameters
CN102722127A (en) Digital combined instrument of engineering machinery
CN104102148A (en) Embedded system-based 32-bit robot controller
CN211375590U (en) CPCI case monitoring device and system
CN210864389U (en) General control equipment of vehicle-mounted electronic actuator
CN207423928U (en) A kind of SF6 monitors display system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210204

Address after: 412000 Room 201, 100 Hangkong Road, Lusong District, Zhuzhou City, Hunan Province

Patentee after: Hunan Dongjia Intelligent Technology Co.,Ltd.

Address before: 412000 No.100 Hangkong Avenue, high tech park, Dongjia section, Lusong District, Zhuzhou City, Hunan Province

Patentee before: ZHUZHOU ELITE ELECTRO MECHANICAL Co.,Ltd.