CN102095896B - Portable intelligent speedometer tester and using method thereof - Google Patents
Portable intelligent speedometer tester and using method thereof Download PDFInfo
- Publication number
- CN102095896B CN102095896B CN 201010557730 CN201010557730A CN102095896B CN 102095896 B CN102095896 B CN 102095896B CN 201010557730 CN201010557730 CN 201010557730 CN 201010557730 A CN201010557730 A CN 201010557730A CN 102095896 B CN102095896 B CN 102095896B
- Authority
- CN
- China
- Prior art keywords
- dsp
- speedometer
- unit
- circuit
- tester
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
Description
技术领域 technical field
本发明一种便携式速度表智能测试仪及其使用方法,属于自动化检测技术领域,具体涉及一种能够同时检测飞机、轮船、火车、汽车等多台速度表的智能测试仪器。 The invention relates to a portable speedometer intelligent tester and a method for using the same, belonging to the technical field of automatic detection, and in particular to an intelligent tester capable of simultaneously detecting multiple speedometers such as airplanes, ships, trains and automobiles.
背景技术 Background technique
车用速度表是监视车辆行驶的重要仪表,其完好与准确程度,直接关系到车辆的行驶安全。为保证机动车行车安全,避免因车速表失准而引发道路交通事故,根据《中华人民共和国计量法》第九条、《中华人民共和国计量法实施细则》第二十五条的规定,在用计量器具时必须依法实施周期校验,校验周期最长不超过一年。目前的研究虽然很多,但一般都是在实验台上进行,即在实验台上以同轴的标准速度表的速度指示校验待测速度表,使用校验台校准时必须将机动车辆上的速度表拆下来,工作复杂、劳动强度大,另外还存在携带不方便、工作效率低、校准精度低等问题。如吴正斌、杨晓松介绍的《智能型数显汽车速度表校验台》采用双轮—双滚筒式结构,让汽车的驱动桥车轮与试验台测量滚筒可靠接合,那么汽车车轮的线速度就等于测量滚筒的线速度,以此来对速度表进行校验。谭次民介绍的《LSY一302智能型机车速度表柴油机转速表两用校验台》主要由同步皮带传动机构,智能标准表和可控硅无级调速装置等组成,它们分别安装在一个板金结构的控制柜内,对校验台的几个关键部件,在设计中作了精心选型。如采用同步皮带传动机构,大大简化了结构,降低了自重和噪声,用可控硅无级调速装置调速,保证了调节宽度,达到了调节稳定的目的。但上述校验台主要都由同步皮带传动机构传动,转速表(或传感器)装在曲轴端、凸轮轴端还是其他轴端,还必须有交流调速装置,结构复杂成本高。
The vehicle speedometer is an important instrument to monitor the driving of the vehicle, and its integrity and accuracy are directly related to the driving safety of the vehicle. In order to ensure the driving safety of motor vehicles and avoid road traffic accidents caused by inaccurate speedometers, according to
笔者也曾在《DesigR for the SYstem of Speedometer TestiRg Set》一文中介绍过一款校验装置,是用MCS51单片机开发的,用来校验电力机车上的速度表,它是针对特殊对象用途的,能发出电力机车使用的DF16光电编码器的编码脉冲,使速度表显示达到校验的目的。此文的校验装置未能取回速度表的实际值,因而给不出偏差数,且适用范围局限性很大。 The author also introduced a verification device in the article "DesigR for the SYstem of Speedometer TestiRg Set", which was developed with MCS51 single-chip microcomputer and used to verify the speedometer on the electric locomotive. It is for special purposes. It can send out the code pulse of DF16 photoelectric encoder used in electric locomotives, so that the speedometer display can achieve the purpose of verification. The verification device in this article cannot retrieve the actual value of the speedometer, so it cannot give the deviation number, and the scope of application is very limited.
发明内容 Contents of the invention
本发明一种便携式速度表智能测试仪及其使用方法,目的在于针对上述已公开校验台的局限性,提供一种不需要将待测速度表旋转就能对其校验的装置,它省去了各种轴、调速装置、皮带传动机构和滚筒等设备,能实现同时对多台速度表的自动校验,并能实时采集待测速度表的实测值,以对其误差进行记录和分析,通过参数的实时维护可实现各种旋转机械使用速度表的校验,以解决现有校验台应用范围窄、携带不方便、劳动强度大、工作效率低等问题,本发明是基于DSP的便携式速度表测试仪及其使用方法的技术方案。 The present invention is a portable speedometer intelligent tester and its use method, aiming at the limitations of the above-mentioned disclosed calibration platform, providing a device that can be calibrated without rotating the speedometer to be tested, which saves Various shafts, speed regulating devices, belt transmission mechanisms, rollers and other equipment have been removed, and the automatic calibration of multiple speedometers can be realized at the same time, and the measured values of the speedometers to be tested can be collected in real time to record and monitor their errors. Analysis, through the real-time maintenance of parameters, the verification of various rotating machinery speedometers can be realized, so as to solve the problems of narrow application range, inconvenient portability, high labor intensity and low work efficiency of the existing verification platform. The present invention is based on DSP A technical solution of a portable speedometer tester and a method of use thereof.
本发明一种便携式速度表智能测试仪,其特征在于是一种基于DSP的便携式速度表测试仪,该测试仪所采取的技术方案主要由微控制器单元、通信接口单元、信号调理单元、键盘显示单元和时钟单元组成,其中: A portable speedometer intelligent tester of the present invention is characterized in that it is a portable speedometer tester based on DSP, and the technical scheme adopted by the tester is mainly composed of a microcontroller unit, a communication interface unit, a signal conditioning unit, a keyboard Composed of a display unit and a clock unit, where:
所述的微控制器单元包括DSPCPU、片外RAM、电源、晶振电路、JTAG接口电路,LCD指示灯及和跳线; Described microcontroller unit comprises DSPCPU, off-chip RAM, power supply, crystal oscillator circuit, JTAG interface circuit, LCD indicator light and and jumper wire;
所述的通信接口单元包括RS-232驱动电路; The communication interface unit includes an RS-232 drive circuit;
所述的信号调理单元包括脉冲信号输入调理电路和脉冲信号输出调理电路; The signal conditioning unit includes a pulse signal input conditioning circuit and a pulse signal output conditioning circuit;
所述的键盘显示单元包括键盘接口电路和LCD显示电路; The keyboard display unit includes a keyboard interface circuit and an LCD display circuit;
所述的时钟单元包括电平转换缓冲电路; The clock unit includes a level conversion buffer circuit;
对上所述的各模块,通信接口单元通过串口通信接口模块SCI与微控制器连接,信号调理单元、键盘显示单元、时钟单元通过I/O口与微控制器连接; For each module mentioned above, the communication interface unit is connected to the microcontroller through the serial port communication interface module SCI, and the signal conditioning unit, keyboard display unit, and clock unit are connected to the microcontroller through the I/O port;
对上所述的微控制器单元中的片外RAM通过16位的地址数据总线及片选线与DSP连接; The off-chip RAM in the above-mentioned microcontroller unit is connected with the DSP through a 16-bit address data bus and a chip select line;
对上所述的通信接口单元DSP的串口通信模块通过驱动芯片MAX3232与上位机相连接; The serial port communication module of the above-mentioned communication interface unit DSP is connected with the host computer through the driver chip MAX3232;
对上所述的信号调理单元的脉冲信号输入通过隔离缓冲电路与DSP的IO口连接,从DSP IO口输出的脉冲信号经过光电隔离后送入被校验的速度表; The pulse signal input of the above-mentioned signal conditioning unit is connected to the IO port of the DSP through the isolation buffer circuit, and the pulse signal output from the DSP IO port is sent to the speedometer to be verified after being photoelectrically isolated;
对上所述的信号调理单元中从DSP IO口输出的脉冲信号经过光电隔离后送入被校验的速度表,速度表数字量信号的输出通过隔离缓冲电路与DSP的IO口连接,速度表模拟量信号经调理与DSP的ADC连接,。 The pulse signal output from the DSP IO port in the above-mentioned signal conditioning unit is sent to the speedometer to be verified after being photoelectrically isolated. The output of the digital signal of the speedometer is connected to the IO port of the DSP through an isolation buffer circuit. The analog signal is conditioned and connected to the ADC of the DSP.
对上所述的键盘显示单元中的矩阵式键盘端线与DSP的IO口连接,LCD通过电平转换模块与 DSP的并行IO连接; The matrix keyboard terminal line in the above-mentioned keyboard display unit is connected to the IO port of the DSP, and the LCD is connected to the parallel IO of the DSP through a level conversion module;
对上所述的时钟单元是通过电平转换缓冲电路与DSP的IO连接。 The above-mentioned clock unit is connected to the IO of the DSP through a level conversion buffer circuit.
上述的一种便携式速度表智能测试仪的使用方法,其特征在于实施步骤如下: The above-mentioned method for using a portable speedometer intelligent tester is characterized in that the implementation steps are as follows:
、设置参数给出各种命令 , set parameters to give various commands
速度表在设备运行时接收来自光电式速度传感器的光电脉冲,使用时将其接在外轮缘,即每转一周为K个脉冲,输出波形为方波,且占空比为50%±2%,输出幅度为高电平≥UH,低电平≤UL,此信号是经过隔离的,驱动速度表显示,根据上述参数设计出能输出同样信号的代替传感器的输出系统;通过小键盘功能键设置参数,并可给出操作命令,其中包括: The speedometer receives the photoelectric pulse from the photoelectric speed sensor when the device is running, and connects it to the outer rim when in use, that is, K pulses per revolution, the output waveform is a square wave, and the duty cycle is 50%±2%. , the output amplitude is high level ≥ U H , low level ≤ U L , this signal is isolated, and the driving speedometer shows that an output system that can output the same signal instead of the sensor is designed according to the above parameters; through the small keyboard function key to set parameters and give operation commands, including:
设置车轮直径,设置一圈发出的光电编码个数,显示车轮直径,显示速度值,给定速度,校验,检测数据存储并发送到上位机。 Set the wheel diameter, set the number of photoelectric codes sent in one circle, display the wheel diameter, display the speed value, set the speed, check, store the detection data and send it to the host computer.
、校验 ,check
对于每一块速度表,由于旋转轮直径的不同,每一次都要将其输入DSP以发出与线速度相应的脉冲数,由于要将测试数据、偏差和时间的信息全部记录在片外的RAM并传给上位机,所以本系统有日历和时钟芯片DS12887,通过设置日历和时钟初值,DS12887自动开始记时和记日;待完成上述参数的输入及整定后,输入一个速度值,按一下键盘的“开始”, DSP便开始根据所设参数计算出定时时间,并一直以此时间为周期给速度表发送脉冲,速度表显示速度值,直到再键入下一速度值,DSP重复计算、输出和校验的过程;车轮转一周速度传感器发K个脉冲,转R周KR个脉冲,若旋转轮直径为D毫米,给定速度为R公里/小时,即为(106R)/(3600)毫米/秒,即(106R)/(3600πD)周/秒,也就是(106R)×K /(3600πD)脉冲数/秒,则脉冲周期T=(3600πD) / ( (106R)×K)秒,由于速度表的脉冲信号占空比为1/2,故定时时间取T/2;晶振为30MHZ,定时初始值Y应满足:(65535-Y)·12/(30×106)=(1/2)·(3600πD) / ( (106R)×K),所以Y=65535- 4500πD /(R×K),每当定时时间到,则产生定时中断,执行中断服务程序,在中断服务程序中对输出端取反,这样就得到了高低电平相隔均匀的脉冲波形,且输出电压高电平为12V,即隔离电源的电压值,根据速度传感器输出幅度可调整,TTL低电平值为0.3V,与速度传感器的输出信号完全吻合,此信号通过带光电隔离的I/O口与软性连接器相连输出给速度表,使速度表显示,以此对速度表进行校验; For each speedometer, due to the difference in the diameter of the rotating wheel, it must be input into the DSP every time to send out the number of pulses corresponding to the linear speed. Since the information of the test data, deviation and time must be recorded in the off-chip RAM and It is transmitted to the upper computer, so this system has a calendar and clock chip DS12887. By setting the initial value of the calendar and clock, DS12887 automatically starts to record the time and date; after completing the input and adjustment of the above parameters, input a speed value and press the keyboard "Start", the DSP will start to calculate the timing time according to the set parameters, and send pulses to the speedometer with this time as a cycle, the speedometer will display the speed value until the next speed value is entered, and the DSP will repeat the calculation, output and The process of verification; the speed sensor sends K pulses for one revolution of the wheel, and KR pulses for R revolutions. If the diameter of the rotating wheel is D mm, the given speed is R km/h, which is (10 6 R)/(3600) mm/s, that is (10 6 R)/(3600πD) cycle/s, that is (10 6 R)×K/(3600πD) pulse number/s, then the pulse period T=(3600πD) / ( (10 6 R )×K) seconds, since the pulse signal duty ratio of the speedometer is 1/2, the timing time is T/2; the crystal oscillator is 30MHZ, and the timing initial value Y should satisfy: (65535-Y)·12/(30× 10 6 )=(1/2)·(3600πD) / ( (10 6 R)×K), so Y=65535- 4500πD /(R×K), whenever the timing time is up, a timing interrupt will be generated to execute the interrupt In the service program, the output terminal is reversed in the interrupt service program, so that a pulse waveform with a uniform interval between high and low levels is obtained, and the high level of the output voltage is 12V, that is, the voltage value of the isolated power supply, which can be adjusted according to the output amplitude of the speed sensor , the TTL low-level value is 0.3V, which is completely consistent with the output signal of the speed sensor. This signal is connected to the speedometer through the I/O port with photoelectric isolation and the soft connector, so that the speedometer can be displayed. check the table;
、记录查询分析 , record query analysis
数据记录、查询、分析部分由上位机PC机实现,此功能是利用SQL Server 2008 数据库在PowerBuilder11.5平台上开发的,有系统维护、数据接收管理、数据接收信息补充管理、数据接收查询等模块组成,本发明多台速度表的实时数据通过DSP的I/O口采集,在发出脉冲信号后读取速度表的实际数值,并记录在片外RAM中,为后续传到上位机后进行必要的分析。 Data recording, query, and analysis are partly realized by the upper computer PC. This function is developed on the PowerBuilder11.5 platform using the SQL Server 2008 database. There are modules such as system maintenance, data receiving management, data receiving information supplementary management, and data receiving query. Composition, the real-time data of a plurality of speedometers of the present invention is collected by the I/O mouth of DSP, reads the actual value of speedometer after sending out pulse signal, and records in the off-chip RAM, carries out necessary after being passed on to the upper computer for follow-up. analysis.
一种便携式速度表智能测试仪及其使用方法的优点在于:由于对校验台的结构进行了改进,并结合CPU技术,只要带上该校准仪上车,与速度表连上电缆,即可开始测试,而不必拆下速度表,解决了现有校验台携带不方便、劳动强度大和工作效率低等问题,与现有校验台相比,其主要的优点与积极效果在于: The advantages of a portable speedometer intelligent tester and its use method are: due to the improvement of the structure of the calibration platform and the combination of CPU technology, as long as the calibrator is taken on the car and connected to the speedometer with a cable, the Start the test without removing the speedometer, which solves the problems of inconvenient portability, high labor intensity and low work efficiency of the existing calibration table. Compared with the existing calibration table, its main advantages and positive effects are:
(1)完全用CPU和数字技术实现了速度表的校验,不需要复杂的皮带传动机构、曲轴、凸轮轴、交流调速装置等结构,产品更集成化、便携化、可靠性高、成本低、使用寿命长; (1) The calibration of the speedometer is realized completely by CPU and digital technology, without the need for complex structures such as belt transmission mechanism, crankshaft, camshaft, AC speed control device, etc. The product is more integrated, portable, high in reliability and low in cost. Low, long service life;
(2) 适用范围广,所有参数可实时输入,包括旋转轮直径、每转一圈发出的光电编码个数、光电脉冲的幅度,以适应不同类型、不同应用场合的速度表校验; (2) It has a wide range of applications, and all parameters can be input in real time, including the diameter of the rotating wheel, the number of photoelectric codes sent per revolution, and the amplitude of photoelectric pulses, so as to adapt to the speedometer calibration of different types and applications;
(3)功能强大,可同时校验16台速度表; (3) Powerful functions, capable of calibrating 16 speedometers at the same time;
(4)系统结构清晰、易操作性强、校验结果显示直观; (4) The system structure is clear, easy to operate, and the calibration results are intuitively displayed;
(5)校验速度快,自动化程度高,精度高;本发明在脉冲信号的产生方面,不是计算信号的频率,而是计算脉冲的周期,由于DSP的晶振频率较高,所以其定时时间可到微秒级,因此得出的周期精度高,测量速度的分辨率很高,而且测量范围很广,可达数万公里/小时的速度量程,脉冲信号通过光电隔离送到I/O口,I/O口可同时输出16路,同时对数块速度表进行测试;
(5) The verification speed is fast, the degree of automation is high, and the precision is high; the present invention does not calculate the frequency of the signal, but the period of the pulse in terms of the generation of the pulse signal. Since the frequency of the crystal oscillator of the DSP is relatively high, the timing time can be adjusted. to the microsecond level, so the obtained cycle accuracy is high, the resolution of the measurement speed is high, and the measurement range is very wide, which can reach a speed range of tens of thousands of kilometers per hour. The pulse signal is sent to the I/O port through photoelectric isolation. The I/O port can
附图说明 Description of drawings
图1是本发明基于DSP的速度表智能校准仪的原理框图; Fig. 1 is the functional block diagram of the speedometer intelligent calibrator based on DSP of the present invention;
图2是本发明微控制器原理图; Fig. 2 is a schematic diagram of microcontroller of the present invention;
图3是本发明通信接口原理图; Fig. 3 is a schematic diagram of the communication interface of the present invention;
图4是本发明16路脉冲信号产生原理图; Fig. 4 is 16 road pulse signal generation schematic diagrams of the present invention;
图5是本发明16台速度表输出信号采集原理图; Fig. 5 is 16 speedometer output signal acquisition principle diagrams of the present invention;
图6是本发明键盘接口电路原理图; Fig. 6 is a schematic diagram of the keyboard interface circuit of the present invention;
图7是本发明显示电路原理图; Fig. 7 is a schematic diagram of the display circuit of the present invention;
具体实施方式 Detailed ways
结合附图对本发明的具体实施方式做出进一步的详细说明如下: The specific embodiment of the present invention is described in further detail in conjunction with accompanying drawing as follows:
如图1所述,本发明一种基于DSP的便携式速度表校准仪,包括微控制器单元、通信接口单元、信号调理单元、键盘显示单元,其中: As shown in Figure 1, a kind of DSP-based portable speedometer calibrator of the present invention comprises microcontroller unit, communication interface unit, signal conditioning unit, keyboard display unit, wherein:
所述的微控制器单元,即DSP的最小系统包括CPU、片外RAM、电源、晶振电路、JTAG接口电路,LCD指示灯及必要的跳线; Described microcontroller unit, the minimum system of DSP comprises CPU, off-chip RAM, power supply, crystal oscillator circuit, JTAG interface circuit, LCD indicator light and necessary jumper;
所述的通信接口单元包括RS-232驱动电路; The communication interface unit includes an RS-232 drive circuit;
所述的信号调理单元包括脉冲信号输入调理电路和脉冲信号输出调理电路; The signal conditioning unit includes a pulse signal input conditioning circuit and a pulse signal output conditioning circuit;
所述的键盘显示单元包括键盘接口电路和LCD显示电路; The keyboard display unit includes a keyboard interface circuit and an LCD display circuit;
对上所述的各模块,通信接口单元通过串口通信接口模块(SCI)与微控制器连接,信号调理单元、键盘显示单元通过I/O口与微控制器连接。 For the modules mentioned above, the communication interface unit is connected to the microcontroller through the serial communication interface module (SCI), and the signal conditioning unit and the keyboard display unit are connected to the microcontroller through the I/O port.
如图2所述,微控制器单元CPU采用TI公司的TMS320LF2407 DSP芯片,扩展了一片64×16bit 的RAM,采用CYpress公司的 CY7C1021CV33芯片,它通过16位的地址数据总线、片选线、读写线与DSP相连,使用(选通数据空间)和(选通程序空间)相与作为RAM的选通线。仿真器通过JTAG仿真接口与DSP连接,以便于调试DSP硬件和软件。电源模块是采用12V的开关电源经过L7805三端稳压器转换成5V直流电。电压转换采用TI公司的5V/3V高性能稳压芯片TPS7333Q将+5V转换成+3.3V供DSP使用,为了保证芯片的稳定工作和提高核心板的抗干扰能力,模数电压和模数地之间分别采用10mH电感和0电阻进行隔离,在芯片的每个电源输入引脚处都连接了去耦电容。复位电路采用MAXIM公司具有人工复位功能的MAX811芯片,实现对电压的精密监控,提供掉电复位、上电复位及电压跌落复位等多种功能。时钟电路采用晶振方式,由锁相环时钟电路和晶振电路组成,锁相环时钟电路设计了由0.015F、0.68F电容及11的电阻组成的PLL滤波电路,晶振选用10M的有源晶振,其4脚接3.3V电压,2脚接地,在3脚接DSP的CLKIR引脚,经DSP内部4倍频即后获得40MHz的系统时钟。 As shown in Figure 2, the microcontroller unit CPU adopts TMS320LF2407 DSP chip of TI Company, expands a 64×16bit RAM, adopts CY7C1021CV33 chip of CYpress Company, it uses 16-bit address data bus, chip selection line, read and write line connected to the DSP, use the (gated data space) and (Strobe Program Space) Phase AND acts as a strobe line for RAM. The emulator is connected with DSP through JTAG emulation interface, so as to debug DSP hardware and software. The power module adopts 12V switching power supply and converts it into 5V DC through L7805 three-terminal voltage regulator. The voltage conversion uses TI's 5V/3V high-performance voltage regulator chip TPS7333Q to convert +5V into +3.3V for DSP use. In order to ensure the stable operation of the chip and improve the anti-interference ability of the core board, the analog-to-digital voltage and between 10mH inductor and 0 Resistors are used for isolation, and decoupling capacitors are connected to each power input pin of the chip. The reset circuit adopts the MAX811 chip with manual reset function of MAXIM Company, which realizes precise monitoring of the voltage and provides various functions such as power-down reset, power-on reset and voltage drop reset. The clock circuit adopts the crystal oscillator mode, which is composed of the phase-locked loop clock circuit and the crystal oscillator circuit. The phase-locked loop clock circuit is designed by 0.015 F, 0.68 F capacitance and 11 A PLL filter circuit composed of resistors, the crystal oscillator uses a 10M active crystal oscillator, its 4 pins are connected to 3.3V voltage, 2 pins are grounded, and 3 pins are connected to the CLKIR pin of DSP, and the 40MHz system is obtained after 4 frequency multiplication inside the DSP. clock.
如图3所述,SCI通信接口单元采用了符合RS-232标准的低耗驱动芯片MAX3232,实现TTL电平和PC电平之间的转换,通过Modbus协议实现DSP和上位机之间的通信。 As shown in Figure 3, the SCI communication interface unit adopts the low-consumption drive chip MAX3232 conforming to the RS-232 standard to realize the conversion between TTL level and PC level, and realize the communication between DSP and the host computer through the Modbus protocol.
如图4和图5所述,信号调理单元中16路速度表的数字量输出经光电TLP521-4隔离、SR74LS244R缓冲后与DSP的IO口连接,16路IO口输出的脉冲信号经光电TLP521-4隔离送入被校准的16台速度表。 As shown in Figure 4 and Figure 5, the digital output of the 16-way speedometer in the signal conditioning unit is isolated by the photoelectric TLP521-4, buffered by the SR74LS244R and connected to the IO port of the DSP, and the pulse signal output by the 16-way IO port is passed by the photoelectric TLP521- 4 isolated feeds into 16 speedometers to be calibrated.
如图6和图7所述,键盘显示单元中键盘接口电路设计了功能键和数字键,如速度表个数设置、速度设定、轮缘直径设定、每转一圈发出的光电编码个数设定。所使用的键盘是一个4×3的12键键盘,设置上档键功能,即功能键和数字键复用,键盘引出的7个脚分别与DSP的IOPB0-IOPB6相连。IOPB4~IOPA6分别对应键盘的第1~3行,IOPB0~IOPB3分别对应键盘的第1~4行,同时键盘行的4个脚分别通过上拉电阻与3.3V连接。显示电路液晶模块采用CM128640-10SLYB液晶显示器,其通过读写线、片选线、数据总线和DSP相连,DSP数据接口(3.3V)与LCD(5V)数据接口之间使用TI公司的电平转换器SR74LVC4245DB进行总线电平转换,使用20KΩ的滑动变阻器以调节液晶显示的对比度。 As shown in Figure 6 and Figure 7, the keyboard interface circuit in the keyboard display unit is designed with function keys and number keys, such as the number setting of speedometer, speed setting, wheel rim diameter setting, and the number of photoelectric codes sent per revolution. number setting. The keyboard used is a 4×3 12-key keyboard. The function of the shift key is set, that is, the function key and the number key are multiplexed. The 7 pins drawn from the keyboard are connected to the IOPB0-IOPB6 of the DSP respectively. IOPB4~IOPA6 correspond to the 1st~3rd row of the keyboard, IOPB0~IOPB3 correspond to the 1st~4th row of the keyboard, and the 4 pins of the keyboard row are respectively connected to 3.3V through pull-up resistors. The display circuit liquid crystal module adopts CM128640-10SLYB liquid crystal display, which is connected to DSP through read-write line, chip select line, data bus, and the level conversion of TI company is used between DSP data interface (3.3V) and LCD (5V) data interface The device SR74LVC4245DB performs bus level conversion, and uses a 20KΩ sliding rheostat to adjust the contrast of the liquid crystal display.
使用时,首先安装智能校准检测仪,其所述技术领域的人员都能够实现。其次是智能校准检测仪的使用操作方法。 When in use, at first install the intelligent calibration detector, which can be realized by those in the technical field. The second is the operation method of the intelligent calibration detector.
本系统可给出速度表所需的脉冲信号,从而实现了速度表的静态检测问题。系统分两大部分,即速度表测试部分及数据记录、查询、分析部分。 This system can give the pulse signal required by the speedometer, thus realizing the static detection problem of the speedometer. The system is divided into two parts, that is, the speedometer test part and the data record, query and analysis part.
一、速度表校验由DSP实现,通过小键盘功能键设置参数,并可给出各种操作命令,其中包括: 1. The speedometer verification is realized by DSP, and the parameters can be set through the function keys of the small keyboard, and various operation commands can be given, including:
F1:设置车轮直径,依次输入四位数值,不足四位,前面补0,并有“CL”标识; F1: Set the wheel diameter, input the four-digit value one by one, if it is less than four digits, add 0 in front, and have "CL" logo;
F2:给定速度,依次输入三位数值,不足三位,前面补0,每设一次,按下“开始”键,便开始根据设置的参数、速度计算出脉冲数,通过I/O口输给速度表; F2: Given speed, input three-digit values one by one, if less than three digits, add 0 in front, press the "Start" button every time you set it, and start to calculate the number of pulses according to the set parameters and speed, and input them through the I/O port give the speedometer;
F3:设置一圈发出的光电编码个数,依次输入四位数值,不足四位,前面补0,并有“SL”标识; F3: Set the number of photoelectric codes sent out in one circle, input four-digit values in sequence, if less than four digits, add 0 in front, and have "SL" logo;
F4:显示车轮直径,在键盘上显示四位数值,并有“ZJ”标识; F4: Display the wheel diameter, display the four-digit value on the keyboard, and have a "ZJ" logo;
F5:显示速度值,在键盘上显示三位数值,并有“SD”标识; F5: display speed value, display three-digit value on the keyboard, and have "SD" mark;
F6: 发送,将记忆在综合板内存RAM中记录上传到PC机,同时将RAM清零; F6: Send, upload the memory in the integrated board memory RAM to the PC, and clear the RAM at the same time;
二、数据记录、查询、分析部分由上位机(PC机)实现。此功能是利用SQL Server 2008 数据库在PowerBuilder11.5平台上开发的,有系统维护、数据接收管理、数据接收信息补充管理、数据接收查询等模块组成。 2. The data recording, query and analysis are realized by the host computer (PC). This function is developed on the PowerBuilder11.5 platform using SQL Server 2008 database, and consists of modules such as system maintenance, data receiving management, data receiving information supplementary management, and data receiving query.
系统维护是对人员等信息的汉字录入,为以后使用提供方便,并保证其录入的唯一性。进入数据接收管理后,先点击“接收数据”按扭,再按CPU综合功能板的F键发送,出现接收屏幕,等待数据发完后,即PC机接收完毕,点击接收屏幕右上角的“X”退出,再点击“转换数据”,接收回的数据便显示在下面的数据窗口中,最后点击“入总库”,这些记录便进入总库,同时数据窗口的内容消失。 System maintenance is the entry of personnel and other information in Chinese characters, which provides convenience for future use and ensures the uniqueness of its entry. After entering the data receiving management, first click the "Receive Data" button, and then press the F key on the CPU integrated function board to send, and the receiving screen will appear. " Exit, and then click "Convert Data", the received data will be displayed in the data window below, and finally click "Into General Database", these records will enter the general database, and the content of the data window will disappear at the same time.
然后进入数据接收信息补充管理模块,补充测试人等信息。首先输入起始日期和终止日期,回车后此日期段内的全部记录便显示在下面的数据窗口中,选择测试人后,全部记录均添加上此测试人,也可点击每一条的测试人处逐条加入或修改测试人,同时还可添加确认人或备注信息等。 Then enter the data receiving information supplement management module to supplement the tester and other information. First enter the start date and end date. After pressing Enter, all records in this date range will be displayed in the data window below. After selecting the tester, all records will be added to this tester. You can also click on each tester Add or modify testers one by one, and also add confirmers or remarks.
数据接收查询模块是为查询数据信息而设的,点击小方块,即选上此条件,凡选上的条件是“与”的关系。点击“条件选定”,则满足条件的记录便显示在下面的数据窗口中。点击“全部查询”,则全部记录又都显示出来。而且还可对相关信息(确认人、备注)进行修改,修改完后点击“修改完成”,则出现密码输入窗口,若输对了修改生效,否则不予生效。 The data receiving and query module is designed for querying data information. Click the small box to select this condition, and the selected condition is the relationship of "and". Click "Condition Selected", and the records meeting the conditions will be displayed in the data window below. Click "All Query", all records will be displayed again. And you can also modify the relevant information (confirmer, remarks). After the modification, click "Modification Complete", and the password input window will appear. If the input is correct, the modification will take effect, otherwise it will not take effect.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010557730 CN102095896B (en) | 2010-11-20 | 2010-11-20 | Portable intelligent speedometer tester and using method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010557730 CN102095896B (en) | 2010-11-20 | 2010-11-20 | Portable intelligent speedometer tester and using method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102095896A CN102095896A (en) | 2011-06-15 |
CN102095896B true CN102095896B (en) | 2013-05-08 |
Family
ID=44129075
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010557730 Expired - Fee Related CN102095896B (en) | 2010-11-20 | 2010-11-20 | Portable intelligent speedometer tester and using method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102095896B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102360202A (en) * | 2011-07-20 | 2012-02-22 | 平湖市电子有限公司 | Portable digital temperature compensating type crystal oscillator chip reader-writer and reading/writing method thereof |
CN106291317B (en) * | 2016-07-28 | 2019-06-04 | 袁伟家 | A kind of track circuit shunting parameter intelligent tester and its implementation |
CN106708011A (en) * | 2016-12-05 | 2017-05-24 | 河南辉煌科技股份有限公司 | Locomotive simulation apparatus based on DSP |
CN110211524B (en) * | 2019-06-04 | 2022-07-08 | 格力电器(郑州)有限公司 | Speed-adjustable automatic display method and device for nixie tube |
CN112235153A (en) * | 2020-09-04 | 2021-01-15 | 国网湖北省电力有限公司电力科学研究院 | Multifunctional Carrier Module Tester |
CN112067849B (en) * | 2020-09-23 | 2022-07-22 | 广州广电计量检测股份有限公司 | Speedometer sensor calibration system |
CN112505246B (en) * | 2020-11-11 | 2023-05-02 | 山西科致成科技有限公司 | Digital mining gas sensor calibration and verification device and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2625905Y (en) * | 2003-06-19 | 2004-07-14 | 武汉理工大学 | On-line detector for locomotive speed sensor |
CN201107324Y (en) * | 2007-11-07 | 2008-08-27 | 龙宋华 | New type motor vehicle speed meter |
CN101312362A (en) * | 2007-05-25 | 2008-11-26 | 江苏林洋电子有限公司 | Power line carrier and radio frequency bi-network electrical energy meter, communication method thereof |
JP3150952U (en) * | 2009-03-23 | 2009-06-04 | 住友精密工業株式会社 | Angle / angular velocity measuring device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01172757A (en) * | 1987-12-28 | 1989-07-07 | Aisin Aw Co Ltd | Correlation type speedometer also used in measurement of friction coefficient |
-
2010
- 2010-11-20 CN CN 201010557730 patent/CN102095896B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2625905Y (en) * | 2003-06-19 | 2004-07-14 | 武汉理工大学 | On-line detector for locomotive speed sensor |
CN101312362A (en) * | 2007-05-25 | 2008-11-26 | 江苏林洋电子有限公司 | Power line carrier and radio frequency bi-network electrical energy meter, communication method thereof |
CN201107324Y (en) * | 2007-11-07 | 2008-08-27 | 龙宋华 | New type motor vehicle speed meter |
JP3150952U (en) * | 2009-03-23 | 2009-06-04 | 住友精密工業株式会社 | Angle / angular velocity measuring device |
Non-Patent Citations (2)
Title |
---|
JP特开平1-172757A 1989.07.07 |
曹广忠等.基于DSP的汽车转速测量新方法及仪器研制.《深圳特区科技》.2005,(第00(2005年)期),28-32. * |
Also Published As
Publication number | Publication date |
---|---|
CN102095896A (en) | 2011-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102095896B (en) | Portable intelligent speedometer tester and using method thereof | |
CN106442888B (en) | Automobile environment-protection exhaust pollution analyte detection chassis dynamometer integrated correction system | |
CN102680077A (en) | Outside noise quick measurement system during vehicle acceleration | |
CN104809762A (en) | Multifunctional taximeter verification system | |
CN108627191A (en) | Position sensor automatic detection device and detection method | |
CN103292872B (en) | A kind of air flow meter performance detecting system | |
CN201215492Y (en) | Synthetic check instrument for combined instrument of car and motocycle | |
CN1862233A (en) | Analogue speed signal generator | |
CN203502042U (en) | Multifunctional self-test instrument for automobile | |
CN104848987A (en) | Automobile exhaust pollutant test chassis dynamometer calibration system | |
CN106483950A (en) | PLD detection method and device | |
CN202083559U (en) | Vehicle safety and environmental protection testing equipment verification system based on wireless data transmission | |
CN109029537A (en) | A kind of pointer-type sync bit indicator test device and its application method | |
CN206146380U (en) | Set module degree of a beating detecting system is hatched to full -automatic chemiluminiscence tester | |
CN201555605U (en) | A vehicle mileage verification device for an automobile meter | |
CN201408204Y (en) | Vehicular device for calibrating automotive speed instrument | |
CN204142175U (en) | A kind of portable spindle rotation error measuring instrument | |
CN202582716U (en) | Rapid measurement system of automobile exterior noise during automobile acceleration running | |
CN209728072U (en) | A kind of amusement facility over-speed protection function detection system | |
CN2160111Y (en) | Portable intelligent temperature detection calibrator | |
CN201203533Y (en) | EFI Gasoline Engine Management System Test and Diagnosis Instrument | |
CN220542963U (en) | Speed sensor test platform | |
CN208092178U (en) | A kind of insulation resistance measuring device | |
CN2842446Y (en) | Be applied to the GPS locating device of railway locomotive | |
CN208012790U (en) | A kind of automobile engine dynamic testing power instrument |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130508 |
|
CF01 | Termination of patent right due to non-payment of annual fee |