[go: up one dir, main page]

CN110412387B - Device and method for measuring steering engine angle time - Google Patents

Device and method for measuring steering engine angle time Download PDF

Info

Publication number
CN110412387B
CN110412387B CN201910759731.7A CN201910759731A CN110412387B CN 110412387 B CN110412387 B CN 110412387B CN 201910759731 A CN201910759731 A CN 201910759731A CN 110412387 B CN110412387 B CN 110412387B
Authority
CN
China
Prior art keywords
controller
steering gear
touch screen
ball
resistive touch
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
CN201910759731.7A
Other languages
Chinese (zh)
Other versions
CN110412387A (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.)
Shanxi University
Original Assignee
Shanxi University
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 Shanxi University filed Critical Shanxi University
Priority to CN201910759731.7A priority Critical patent/CN110412387B/en
Publication of CN110412387A publication Critical patent/CN110412387A/en
Application granted granted Critical
Publication of CN110412387B publication Critical patent/CN110412387B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M99/00Subject matter not provided for in other groups of this subclass
    • G01M99/005Testing of complete machines, e.g. washing-machines or mobile phones
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Abstract

The invention discloses a device and a method for measuring the angle hitting time of a steering engine, wherein the measuring device comprises a bottom plate, a supporting structure, a control module and a power module are arranged on the bottom plate, the supporting structure comprises a supporting rod, a first universal joint and an acrylic plate which are sequentially arranged on the supporting rod, the supporting rod is vertically arranged at the center of the bottom plate, one end of the first universal joint is fixedly connected with the supporting rod, the other end of the first universal joint is fixedly connected with the center of the acrylic plate, and a resistance touch screen is fixed on the acrylic plate; the control module comprises an adjusting unit and a controller, the adjusting unit comprises a steering engine, a pull rod and a second universal joint which are sequentially connected, and the controller is respectively connected with the steering engine and the resistance touch screen; the power module supplies power for the controller and the steering engine. The measurement of the relevant parameters in the invention is obtained by the program processing of the controller, and the measurement process is simple and convenient.

Description

一种舵机打角时间的测量装置及测量方法A kind of measuring device and measuring method of steering gear hitting time

技术领域technical field

本发明涉及舵机测量技术领域,具体涉及一种舵机打角时间的测量装置及测量方法。The invention relates to the technical field of steering gear measurement, in particular to a measurement device and a measurement method for steering gear angle time.

背景技术Background technique

舵机是一种角度伺服的驱动器,在航模、车模和机器人行业中得到广泛的应用。舵机的角度是以脉冲占空比决定的,给舵机一个指定角度(占空比)时,舵机开始转动,到达指定角度后停止转动并保持角度位置,期间的时延称为舵机打角时间,是机器人机电系统控制效果的重要影响因素,因此快速测量舵机打角时间具有重要意义。Steering gear is a kind of angle servo driver, which is widely used in the aircraft model, car model and robot industry. The angle of the steering gear is determined by the pulse duty ratio. When the steering gear is given a specified angle (duty ratio), the steering gear starts to rotate. After reaching the specified angle, the steering gear stops rotating and maintains the angular position. The delay during this period is called the steering gear. The cornering time is an important factor affecting the control effect of the robot's electromechanical system, so it is of great significance to quickly measure the cornering time of the steering gear.

发明内容SUMMARY OF THE INVENTION

鉴于此,本发明的目的在于,提供一种舵机打角时间的测量装置及测量方法,旨在克服现有舵机使用中打角时间根据产品转速参数估算,精度不高的缺陷。In view of this, the purpose of the present invention is to provide a measuring device and measuring method for the angle of the steering gear, aiming to overcome the defect that the angle of the steering gear is estimated according to the product rotational speed parameters in the use of the existing steering gear, and the accuracy is not high.

为达到上述发明目的采取的技术方案如下:The technical scheme adopted in order to achieve the above-mentioned purpose of the invention is as follows:

一种舵机打角时间的测量装置,包括底板,所述底板上设有支撑结构、控制模块以及电源模块;A device for measuring the cornering time of a steering gear, comprising a base plate on which a support structure, a control module and a power supply module are arranged;

所述支撑结构包括支撑杆、依次设置在支撑杆上的第一万向节和亚克力板,所述支撑杆垂直设置在底板中心处,所述第一万向节的一端与支撑杆固定连接,另一端与亚克力板的中心处固定连接,所述亚克力板上固定有一电阻触摸屏;The support structure includes a support rod, a first universal joint and an acrylic plate sequentially arranged on the support rod, the support rod is vertically arranged at the center of the bottom plate, and one end of the first universal joint is fixedly connected to the support rod, The other end is fixedly connected to the center of the acrylic board, and a resistive touch screen is fixed on the acrylic board;

所述控制模块包括调节单元和控制器,所述调节单元包括舵机、拉杆和第二万向节,所述拉杆一端连接舵机,另一端固定设置有第二万向节,所述第二万向节与亚克力板固定连接,所述控制器分别与舵机、电阻触摸屏连接;The control module includes an adjustment unit and a controller, the adjustment unit includes a steering gear, a pull rod and a second universal joint, one end of the pull rod is connected to the steering gear, and the other end is fixedly provided with a second universal joint, the second universal joint. The universal joint is fixedly connected with the acrylic plate, and the controller is respectively connected with the steering gear and the resistive touch screen;

所述电源模块分别与控制器、舵机连接,并为其供电。The power module is respectively connected with the controller and the steering gear, and supplies power to them.

较佳的,所述舵机的信号线与控制器的相关DO管脚连接,所述控制器对电阻触摸屏的驱动信号由DO管脚提供,在电阻触摸屏上沿滚球运动方向形成等梯度电势,所述电阻触摸屏的输出信号与控制器的ADC模块AI管脚连接,通过AD转换得到滚球在电阻触摸屏上的实时位置。Preferably, the signal line of the steering gear is connected to the relevant DO pin of the controller, the drive signal of the controller to the resistive touch screen is provided by the DO pin, and an equal gradient potential is formed on the resistive touch screen along the direction of the ball movement. , the output signal of the resistive touch screen is connected to the AI pin of the ADC module of the controller, and the real-time position of the rolling ball on the resistive touch screen is obtained through AD conversion.

较佳的,所述控制器为内部集成有A/D模块的单片机。Preferably, the controller is a single-chip microcomputer with an A/D module integrated therein.

一种舵机打角时间的测量方法,包括以下步骤:A method for measuring the cornering time of a steering gear, comprising the following steps:

1)测量装置上电启动后,控制器复位,对控制器的外设模块进行初始化,控制舵机处于中间位置,带动亚克力板及电阻触摸屏处于水平状态,轻放滚球在电阻触摸屏上一侧中线处并保持静止;1) After the measuring device is powered on, the controller resets, initializes the peripheral modules of the controller, controls the steering gear in the middle position, drives the acrylic board and the resistive touch screen to a horizontal state, and gently puts the rolling ball on the side of the resistive touch screen at the midline and remain stationary;

2)通过控制器的TFT触屏输入偏转角θd2) Input the deflection angle θ d through the TFT touch screen of the controller;

3)触按控制器的TFT触屏上启动键,启动控制器定时器并记录初始时刻为t0,同时控制器输出舵机偏转θd相应的PWM信号,舵机以角速度ω旋转,带动电阻触摸屏倾斜,小球失去平衡沿电阻触摸屏斜面滚动;3) Press the start button on the TFT touch screen of the controller to start the timer of the controller and record the initial time as t 0 . At the same time, the controller outputs a PWM signal corresponding to the deflection θ d of the steering gear, and the steering gear rotates at an angular velocity ω, which drives the resistance When the touch screen is tilted, the ball loses its balance and rolls along the slope of the resistive touch screen;

舵机打角过程以匀角速度ω转动,因此倾斜角θ是时间变量,表示为:The steering gear rotates at a uniform angular velocity ω, so the inclination angle θ is a time variable, which is expressed as:

θ=ω·t (1)θ=ω·t (1)

式中,θ为触摸屏的倾斜角,ω为舵机旋转的角速度。In the formula, θ is the inclination angle of the touch screen, and ω is the angular velocity of the steering gear.

在倾角为θ的斜面上滚动的小球,加速度at为:A small ball rolling on an inclined plane with an inclination angle θ, the acceleration a t is:

at=g·sin(θ) (2)a t =g·sin(θ) (2)

式中,g为重力加速度。where g is the acceleration of gravity.

将(1)式带入(2)式有:Putting (1) into (2), we have:

at=g·sin(ωt) (3)a t =g·sin(ωt) (3)

打角到位后即偏转到目标偏转角θd后,舵机轴停止转动,倾斜角保持在目标偏转角θd不变,小球运动保持在匀加速状态,此时加速度为固定值:After the angle is in place, that is, after it is deflected to the target deflection angle θd , the steering gear shaft stops rotating, the inclination angle remains unchanged at the target deflection angle θd, and the ball motion remains in a state of uniform acceleration. At this time, the acceleration is a fixed value:

at=g·sin(θd) (4)a t =g·sin(θ d ) (4)

4)在定时采样时刻,控制器通过AD转换测量小球在电阻触摸屏滚动方向的瞬时坐标位置,并通过差分运算计算小球滚动的瞬时速度、加速度;4) At the timing of sampling, the controller measures the instantaneous coordinate position of the ball in the rolling direction of the resistive touch screen through AD conversion, and calculates the instantaneous speed and acceleration of the ball rolling through differential operations;

5)前后两次的加速度差值为0时说明电阻触摸屏偏转到指定倾斜角度即舵机偏转到位,记录此刻时钟为t1,与测量启动时刻t0相减,得到本次指定偏转角度θd对应的打角时间并显示,完成一次测量。5) When the acceleration difference between the two times before and after is 0, it means that the resistive touch screen is deflected to the specified inclination angle, that is, the steering gear is deflected into position. Record the clock at this moment as t 1 , and subtract it from the measurement start time t 0 to obtain the specified deflection angle θ d this time. The corresponding cornering time is displayed and a measurement is completed.

本发明的有益效果是:本发明通过舵机偏转使屏幕倾斜进而使滚球滚动,电阻触摸屏不断向控制器反馈滚球滚动过程中的位置信息,控制器精准计时并处理滚球的位置信息,计算出滚球在采样时刻的的瞬时滚动加速度,并根据相邻采样时刻的加速度差值判断打角到位时刻。本发明中相关参数的测量都由控制器处理得到,一方面由于控制器计时精度高,另一方面由于控制器通过AD转换得到的滚球位置精度也很高,也可适当选择AD转换位数更高控制器,使对滚球位置的测量精度得到进一步提升,进而提高了所测打角时间的精确度;而且本发明的装置结构简单、使用方便、易于操作。The beneficial effects of the present invention are: the present invention tilts the screen through the deflection of the steering gear to make the ball roll, the resistive touch screen continuously feeds back the position information during the rolling process of the ball to the controller, and the controller accurately timed and processed the position information of the ball, Calculate the instantaneous rolling acceleration of the ball at the sampling time, and judge the time when the angle is in place according to the acceleration difference between adjacent sampling times. The measurement of the relevant parameters in the present invention is processed by the controller. On the one hand, due to the high timing accuracy of the controller, and on the other hand, since the ball position accuracy obtained by the controller through AD conversion is also high, the AD conversion digits can also be appropriately selected. The higher controller further improves the measurement accuracy of the rolling ball position, thereby improving the accuracy of the measured hitting time; and the device of the present invention is simple in structure, convenient in use and easy to operate.

附图说明Description of drawings

构成本申请的一部分的附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings constituting a part of the present application are used to provide further understanding of the present invention, and the exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the attached image:

图1为本发明一种舵机打角时间的测量装置的立体结构示意图;Fig. 1 is the three-dimensional structure schematic diagram of the measuring device of a kind of steering gear angle time of the present invention;

图2为本发明一种舵机打角时间的测量方法的测量原理示意图,(a)为小球打角过程中的示意图;(b)为小球在打角到位后的示意图。FIG. 2 is a schematic diagram of the measurement principle of a method for measuring the cornering time of a steering gear according to the present invention, (a) is a schematic diagram of a small ball in the process of cornering; (b) is a schematic diagram of a small ball after the cornering is in place.

具体实施方式Detailed ways

下面将参考附图并结合实施例来详细说明本发明。The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to make those skilled in the art better understand the solutions of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application.

实施例1Example 1

如图1所示,一种舵机打角时间的测量装置,包括底板1,所述底板1上设有支撑结构、控制模块以及电源模块2;As shown in FIG. 1 , a device for measuring the cornering time of a steering gear includes a base plate 1, and the base plate 1 is provided with a support structure, a control module and a power supply module 2;

所述支撑结构包括支撑杆41、依次设置在支撑杆41上的第一万向节42和亚克力板43,所述支撑杆41垂直设置在底板1中心处,所述第一万向节42的一端与支撑杆41固定连接,另一端与亚克力板43的中心处固定连接,所述亚克力板43与底板1平行设置,所述亚克力板43上固定有一电阻触摸屏5;The support structure includes a support rod 41, a first universal joint 42 and an acrylic plate 43 sequentially arranged on the support rod 41. The support rod 41 is vertically arranged at the center of the bottom plate 1, and the first universal joint 42 One end is fixedly connected with the support rod 41, and the other end is fixedly connected with the center of the acrylic plate 43, the acrylic plate 43 is arranged in parallel with the bottom plate 1, and a resistive touch screen 5 is fixed on the acrylic plate 43;

所述控制模块包括调节单元32和控制器31,所述调节单元32至少设有一组,所述调节单元32包括舵机321、拉杆322和第二万向节323,所述拉杆322与支撑杆41平行设置,且其一端连接舵机321,另一端固定设置有第二万向节323,所述第二万向节323与亚克力板43固定连接,所述控制器31分别与舵机321、电阻触摸屏5连接;The control module includes an adjustment unit 32 and a controller 31. The adjustment unit 32 is provided with at least one group. The adjustment unit 32 includes a steering gear 321, a pull rod 322 and a second universal joint 323. The pull rod 322 is connected to a support rod. 41 are arranged in parallel, and one end is connected to the steering gear 321, and the other end is fixedly provided with a second universal joint 323, the second universal joint 323 is fixedly connected to the acrylic plate 43, and the controller 31 is respectively connected to the steering gear 321, Resistive touch screen 5 connection;

所述电源模块2分别与控制器31、舵机321连接,并为其供电。The power module 2 is respectively connected to the controller 31 and the steering gear 321 and supplies power to them.

所述舵机321包括舵机321主体、舵机321支架、铜柱和舵机321臂,所述舵机321主体通过舵机321支架与铜柱固定在底板1上,所述舵机321臂与拉杆322连接。The steering gear 321 includes a main body of the steering gear 321, a bracket of the steering gear 321, a copper column and an arm of the steering gear 321. The main body of the steering gear 321 is fixed on the base plate 1 through the bracket of the steering gear 321 and the copper column. The arm of the steering gear 321 is Connect with the pull rod 322 .

所述舵机321的信号线与控制器31的相关I/O口连接,所述控制器31对电阻触摸屏5提供驱动信号,所述电阻触摸屏5的输出信号与控制器31的ADC相关端口连接。The signal line of the steering gear 321 is connected to the relevant I/O port of the controller 31 , the controller 31 provides driving signals to the resistive touch screen 5 , and the output signal of the resistive touch screen 5 is connected to the ADC related port of the controller 31 . .

实施例2Example 2

基于实施例1的结构基础上,在实施例2中,所述控制器31为MSP430单片机。Based on the structure of Embodiment 1, in Embodiment 2, the controller 31 is an MSP430 single-chip microcomputer.

实施例3Example 3

一种舵机打角时间的测量方法,包括以下步骤:A method for measuring the cornering time of a steering gear, comprising the following steps:

1)测量装置上电启动后,控制器31复位,对控制器31的外设模块进行初始化,控制舵机321处于中间位置,带动亚克力板43及电阻触摸屏5处于水平状态,轻放滚球在电阻触摸屏5上一侧中线处并保持静止;1) After the measuring device is powered on and started, the controller 31 is reset, the peripheral modules of the controller 31 are initialized, the steering gear 321 is controlled to be in the middle position, the acrylic plate 43 and the resistive touch screen 5 are driven in a horizontal state, and the rolling ball is placed in the horizontal state. The resistance touch screen 5 is placed at the center line of the upper side and remains stationary;

2)通过控制器31的TFT触屏输入偏转角θd,TFT触屏为本领域技术人员所常用的控制器TFT触屏;2) Input the deflection angle θ d through the TFT touch screen of the controller 31, and the TFT touch screen is a controller TFT touch screen commonly used by those skilled in the art;

3)触按控制器31的TFT触屏上启动键,如图2(b)所示,启动控制器31定时器小球在A点为初始点,记录初始时刻为t0,同时控制器31输出舵机321偏转θd相应的PWM信号,舵机321以角速度ω旋转,带动电阻触摸屏5倾斜,小球失去平衡沿电阻触摸屏5斜面滚动;3) Press the start button on the TFT touch screen of the controller 31, as shown in Figure 2(b), start the timer ball of the controller 31 at point A as the initial point, record the initial time t 0 , and at the same time the controller 31 The PWM signal corresponding to the deflection θd of the steering gear 321 is output, and the steering gear 321 rotates at an angular velocity ω, which drives the resistive touch screen 5 to tilt, and the ball loses its balance and rolls along the slope of the resistive touch screen 5;

舵机321打角过程以匀角速度ω转动,因此倾斜角θ是时间变量,表示为:The steering gear 321 rotates at a constant angular velocity ω during the angling process, so the inclination angle θ is a time variable, expressed as:

θ=ω·t (1)θ=ω·t (1)

在倾角为θ的斜面上滚动的小球,加速度at为:A small ball rolling on an inclined plane with an inclination angle θ, the acceleration a t is:

at=g·sin(θ) (2)a t =g·sin(θ) (2)

将(1)式带入(2)式有:Putting (1) into (2), we have:

at=g·sin(ωt) (3)a t =g·sin(ωt) (3)

如图2(b)所示,小球在B点时打角到位,即电阻触摸屏5偏转到目标偏转角θd,舵机321轴停止转动,记录打角到位时刻为t1,倾斜角保持在目标偏转角θd不变,小球运动保持在匀加速状态,此时加速度为固定值:As shown in Figure 2(b), when the ball hits the angle at point B, that is, the resistive touch screen 5 is deflected to the target deflection angle θd, the axis of the steering gear 321 stops rotating, and the time when the ball hits the angle in place is t 1 , and the inclination angle remains at The target deflection angle θd remains unchanged, and the motion of the ball remains in a state of uniform acceleration. At this time, the acceleration is a fixed value:

at=g·sin(θd) (4)a t =g·sin(θ d ) (4)

4)在定时采样时刻,控制器31通过AD转换测量小球在电阻触摸屏5滚动方向的瞬时坐标位置,并通过差分运算计算小球滚动的瞬时速度、加速度;4) at the timing sampling moment, the controller 31 measures the instantaneous coordinate position of the ball in the rolling direction of the resistive touch screen 5 by AD conversion, and calculates the instantaneous speed and acceleration of the ball rolling by differential operation;

5)前后两次的加速度差值为0时说明电阻触摸屏5偏转到指定倾斜角度即舵机321偏转到位,记录此刻时钟为t1,t1与测量启动时刻t0相减,得到本次指定偏转角度θd对应的打角时间并显示,完成一次测量。 5 ) When the acceleration difference between the two times before and after is 0 , it means that the resistive touch screen 5 is deflected to the specified inclination angle, that is, the steering gear 321 is deflected into position. The cornering time corresponding to the deflection angle θ d is displayed and a measurement is completed.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进或组合等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement or combination made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (3)

1.一种舵机打角时间的测量装置,包括底板,所述底板上设有支撑结构、控制模块以及电源模块,其特征在于:1. a measuring device for steering gear hitting time, comprises a base plate, and is provided with a support structure, a control module and a power supply module on the base plate, it is characterized in that: 所述支撑结构包括支撑杆、依次设置在支撑杆上的第一万向节和亚克力板,所述支撑杆垂直设置在底板中心处,所述第一万向节的一端与支撑杆固定连接,另一端与亚克力板的中心处固定连接,所述亚克力板上固定有一电阻触摸屏;The support structure includes a support rod, a first universal joint and an acrylic plate sequentially arranged on the support rod, the support rod is vertically arranged at the center of the bottom plate, and one end of the first universal joint is fixedly connected to the support rod, The other end is fixedly connected to the center of the acrylic board, and a resistive touch screen is fixed on the acrylic board; 所述控制模块包括调节单元和控制器,所述调节单元包括舵机、拉杆和第二万向节,所述拉杆一端连接舵机,另一端固定设置有第二万向节,所述第二万向节与亚克力板固定连接,所述控制器分别与舵机、电阻触摸屏连接;The control module includes an adjustment unit and a controller, the adjustment unit includes a steering gear, a pull rod and a second universal joint, one end of the pull rod is connected to the steering gear, and the other end is fixedly provided with a second universal joint, the second universal joint. The universal joint is fixedly connected with the acrylic plate, and the controller is respectively connected with the steering gear and the resistive touch screen; 所述电源模块分别与控制器、舵机连接,并为其供电;The power module is respectively connected with the controller and the steering gear, and supplies power to them; 其中,所述控制器通过舵机偏转使屏幕倾斜进而使滚球滚动,所述电阻触摸屏不断向控制器反馈滚球滚动过程中的位置信息,控制器精准计时并处理滚球的位置信息,计算出滚球在采样时刻的瞬时滚动加速度,并根据相邻采样时刻的加速度差值判断打角到位时刻;其测量方法:包括以下步骤:The controller tilts the screen through the deflection of the steering gear to make the ball roll, and the resistive touch screen continuously feeds back the position information during the rolling process of the ball to the controller. The controller accurately timed and processed the position information of the ball to calculate The instantaneous rolling acceleration of the ball at the sampling moment is obtained, and the moment when the angle is in place is judged according to the acceleration difference between the adjacent sampling moments; the measurement method includes the following steps: 1)测量装置上电启动后,控制器复位,对控制器的外设模块进行初始化,控制舵机处于中间位置,带动亚克力板及电阻触摸屏处于水平状态,轻放滚球在电阻触摸屏上一侧中线处并保持静止;1) After the measuring device is powered on, the controller resets, initializes the peripheral modules of the controller, controls the steering gear in the middle position, drives the acrylic board and the resistive touch screen to a horizontal state, and gently puts the rolling ball on the side of the resistive touch screen at the midline and remain stationary; 2)通过控制器的TFT触屏输入偏转角θd;2) Input the deflection angle θd through the TFT touch screen of the controller; 3)触按控制器的TFT触屏上启动键,启动控制器定时器并记录初始时刻为t0,同时输出舵机偏转θd相应的PWM信号,舵机带动电阻触摸屏倾斜,小球开始沿电阻触摸屏斜面滚动;3) Press the start button on the TFT touch screen of the controller, start the timer of the controller and record the initial time as t 0 , at the same time output the PWM signal corresponding to the deflection θd of the steering gear, the steering gear drives the resistance touch screen to tilt, and the ball begins to move along the resistance Touch screen bevel scrolling; 4)在定时采样时刻,控制器通过AD转换测量小球在电阻触摸屏滚动方向的瞬时坐标位置,并通过差分运算计算小球滚动的瞬时速度、加速度;4) At the timing of sampling, the controller measures the instantaneous coordinate position of the ball in the rolling direction of the resistive touch screen through AD conversion, and calculates the instantaneous speed and acceleration of the ball rolling through differential operations; 5)前后两次的加速度差值为0时说明电阻触摸屏偏转到指定倾斜角度即舵机偏转到位,记录此刻时钟为t1,与测量启动时刻t0相减,得到本次指定偏转角度θd对应的打角时间并显示,完成一次测量。5) When the acceleration difference between the two times before and after is 0, it means that the resistive touch screen is deflected to the specified inclination angle, that is, the steering gear is deflected into position. The clock at this moment is recorded as t 1 , which is subtracted from the measurement start time t 0 to obtain the corresponding deflection angle θd this time. and display the cornering time to complete a measurement. 2.根据权利要求1所述的一种舵机打角时间的测量装置,其特征在于:所述舵机的信号线与控制器的相关D0管脚连接,所述电阻触摸屏的驱动信号由控制器D0管脚提供,所述电阻触摸屏的输出信号与控制器的A/D模块AI输入端连接。2. the measuring device of a kind of steering gear angle time according to claim 1, it is characterized in that: the signal line of described steering gear is connected with the relevant D0 pin of controller, and the drive signal of described resistive touch screen is controlled by The D0 pin of the controller is provided, and the output signal of the resistive touch screen is connected to the AI input end of the A/D module of the controller. 3.根据权利要求1所述的一种舵机打角时间的测量装置,其特征在于:所述控制器为内部集成有A/D模块的单片机。3 . The device for measuring the angle-taking time of a steering gear according to claim 1 , wherein the controller is a single-chip microcomputer with an A/D module integrated therein. 4 .
CN201910759731.7A 2019-08-16 2019-08-16 Device and method for measuring steering engine angle time Active CN110412387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910759731.7A CN110412387B (en) 2019-08-16 2019-08-16 Device and method for measuring steering engine angle time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910759731.7A CN110412387B (en) 2019-08-16 2019-08-16 Device and method for measuring steering engine angle time

Publications (2)

Publication Number Publication Date
CN110412387A CN110412387A (en) 2019-11-05
CN110412387B true CN110412387B (en) 2022-05-20

Family

ID=68367563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910759731.7A Active CN110412387B (en) 2019-08-16 2019-08-16 Device and method for measuring steering engine angle time

Country Status (1)

Country Link
CN (1) CN110412387B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2605580Y (en) * 2002-08-27 2004-03-03 卢骥 Time constant on-line observer for asynchronous motor rotor
US7440844B2 (en) * 2001-08-29 2008-10-21 Delphi Technologies, Inc. Vehicle rollover detection and mitigation using rollover index
CN101413991A (en) * 2007-10-15 2009-04-22 通用电气公司 Method and system for remotely predicting remaining life of an AC motor system
CN101682276A (en) * 2007-06-22 2010-03-24 法雷奥电机设备公司 Rotary electric machine and method for controlling same
CN103727939A (en) * 2013-12-31 2014-04-16 清华大学 Biaxial rotating attitude measurement system and measuring method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7440844B2 (en) * 2001-08-29 2008-10-21 Delphi Technologies, Inc. Vehicle rollover detection and mitigation using rollover index
CN2605580Y (en) * 2002-08-27 2004-03-03 卢骥 Time constant on-line observer for asynchronous motor rotor
CN101682276A (en) * 2007-06-22 2010-03-24 法雷奥电机设备公司 Rotary electric machine and method for controlling same
CN101413991A (en) * 2007-10-15 2009-04-22 通用电气公司 Method and system for remotely predicting remaining life of an AC motor system
CN103727939A (en) * 2013-12-31 2014-04-16 清华大学 Biaxial rotating attitude measurement system and measuring method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
作品3;全国大学生电子设计竞赛组委会;《第十三届全国大学生电子设计竞赛获奖作品选编(2017)》;20190228;第38-46页 *

Also Published As

Publication number Publication date
CN110412387A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CN106730751B (en) A kind of intelligent tennis ball ball serving device
CN208077464U (en) A kind of physics facility based on level detection
CN110412387B (en) Device and method for measuring steering engine angle time
CN106327967A (en) Presentation device for angular momentum conservation
CN103499416A (en) Quick monocular rotational inertia measuring method and quick monocular rotational inertia measuring device
CN202939111U (en) Device for measuring liquid viscosity coefficient
CN206434822U (en) A kind of intelligent tennis ball ball serving device
CN106080036B (en) Robot structure with steering wheel control
CN204576902U (en) A kind of club balance control device for experimental teaching
CN110346277A (en) A kind of measuring device and measuring method of coefficient of friction
CN103823481B (en) Method for compensating unbalanced interference moment of photoelectric tracking system on inclined platform
CN201364223Y (en) Fully-automatic rider type force calibration machine
CN221527500U (en) A kind of aiming device detection training equipment
CN108680496A (en) A kind of friction test device
CN220751584U (en) Accelerator pedal detection device
CN211293437U (en) Telescope with automatic level device
CN111859579A (en) Temporomandibular joint motion simulation device
CN101194829A (en) Dynamic Pedal Device of Human Balance Function Test System
CN103091040B (en) The servicing unit of rotation inerttia
CN212302299U (en) High-precision antenna deformation and displacement analog generator
CN203191155U (en) Auxiliary apparatus for rotary inertia measurement
CN113240980B (en) Gravity acceleration measuring device and measuring method thereof
CN213688223U (en) Precise testing device of IPMC flexible driver
CN112885203A (en) Novel gravitational acceleration measuring device based on rotational inertia
CN108267376A (en) A kind of skid twisting experimental device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant