CN108563341A - A kind of three-dimensional touch electronic pen and method with vibrotactile feedback - Google Patents
A kind of three-dimensional touch electronic pen and method with vibrotactile feedback Download PDFInfo
- Publication number
- CN108563341A CN108563341A CN201810336217.8A CN201810336217A CN108563341A CN 108563341 A CN108563341 A CN 108563341A CN 201810336217 A CN201810336217 A CN 201810336217A CN 108563341 A CN108563341 A CN 108563341A
- Authority
- CN
- China
- Prior art keywords
- electronic pen
- vibration
- module
- axis
- rotation
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0354—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
- G06F3/03545—Pens or stylus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/016—Input arrangements with force or tactile feedback as computer generated output to the user
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种三维触控电子笔及方法,应用于人机交互、教育信息化、虚拟现实交互控制等领域。The invention relates to a three-dimensional touch electronic pen and a method thereof, which are applied in the fields of human-computer interaction, education informatization, virtual reality interactive control and the like.
背景技术Background technique
近年来,如何为用户提供更具真实感和浸入感的交互体验成为了人机交互研究领域的主要问题,笔式交互作为一种将来主流的人机交互形式,更是成为了研究的热点。In recent years, how to provide users with a more realistic and immersive interactive experience has become a major issue in the field of human-computer interaction research. Pen-based interaction, as a mainstream form of human-computer interaction in the future, has become a research hotspot.
笔式交互是人机交互方式极具研究价值的一种,由于大多数人有长时间使用纸笔的经验,笔式操作也将符合其操作习惯,降低学习成本,提升操作的舒适度。电子笔作为输入及控制设备具有便携,灵活的特点,已经在现实产品中有了一些应用实例,如微软SurfacePro系列电脑就兼容专门设计的电子笔,可实现书写和橡皮擦除等常用笔式交互操作的模拟。另外,很多移动设备,如三星GalaxNote系列手机也配备了S-pen电子笔,方便用户进行书写等交互操作。Pen-based interaction is a human-computer interaction method with great research value. Since most people have long-term experience of using paper and pen, pen-based operation will also conform to their operating habits, reduce learning costs, and improve operating comfort. As an input and control device, the electronic pen is portable and flexible. There are already some application examples in real products. For example, Microsoft SurfacePro series computers are compatible with specially designed electronic pens, which can realize common pen-style interactions such as writing and erasing. Operational simulation. In addition, many mobile devices, such as Samsung Galaxy Note series mobile phones, are also equipped with S-pen electronic pens, which are convenient for users to perform interactive operations such as writing.
随着研究的进展,笔式交互空间已经逐步从二维平面至三维空间,交互操作的内容也在简单的书写,擦除等基本操作的基础上,新增了三维空间内特有的操作,如旋转等,在虚拟现实,教育信息化等领域中有着重要的应用潜力。然而,目前的研究主要侧重于三维空间内的定位及传感技术,对于用户交互体验方面的相关研究较少。与此同时,目前的交互技术虽然满足了基本的交互功能需求,比如点击,三位书写等,但是交互体验和交互精度都有待提高。在更广泛的实际应用场合中(如教学演示,娱乐功能等),很多场景需要用户进行复杂度和精度更高的交互操作,具体如触碰空间内特定的一块区域,以一定的速率、轴向和方向进行旋转,以一定的速率和方向进行拖拽等。对于上述交互操作,目前缺乏有效的反馈方式,指示用户交互体验较差,且交互完成精度较低。因此,对于三维空间中实现的各类笔式交互操作,按照一定的控制方法产生具有真实感的振动反馈,进而可以提升用户的交互体验和操作精度。With the progress of research, the pen-style interactive space has gradually changed from two-dimensional plane to three-dimensional space. The content of interactive operation is also based on basic operations such as simple writing and erasing, and new operations unique to three-dimensional space are added, such as Rotation, etc., have important application potential in fields such as virtual reality and education informatization. However, current research mainly focuses on positioning and sensing technology in three-dimensional space, and there are few related studies on user interaction experience. At the same time, although the current interactive technology meets the basic interactive functional requirements, such as clicking, three-digit writing, etc., the interactive experience and interactive accuracy need to be improved. In a wider range of practical applications (such as teaching demonstrations, entertainment functions, etc.), many scenarios require users to perform interactive operations with higher complexity and precision, such as touching a specific area in the space, with a certain speed, axis Rotate in direction and direction, drag at a certain speed and direction, etc. For the above-mentioned interactive operations, there is currently no effective feedback method, which indicates that the user's interactive experience is poor, and the accuracy of the interactive completion is low. Therefore, for all kinds of pen-style interactive operations realized in three-dimensional space, realistic vibration feedback can be generated according to a certain control method, thereby improving the user's interactive experience and operational accuracy.
中国专利申请“一种三维大空间多通道笔式交互系统”,申请号201611157044.0,公开了一种基于超声波定位的多通道三维笔式交互系统及方法,包括:微处理器、PVDF压电薄膜、MEMS六轴加速度/陀螺仪、麦克风、蓝牙通信芯片、压力传感器、按键等微型和小型多通道感知传感器及部件。支持电子笔的三维定位和姿态信息提取,并将相关数据处理后通过蓝牙芯片发送给主机。但该系统内未集成振动元件及相关驱动电路,不支持触觉反馈功能。Chinese patent application "a three-dimensional large-space multi-channel pen interactive system", application number 201611157044.0, discloses a multi-channel three-dimensional pen interactive system and method based on ultrasonic positioning, including: microprocessor, PVDF piezoelectric film, MEMS six-axis acceleration/gyroscope, microphone, Bluetooth communication chip, pressure sensor, button and other miniature and small multi-channel sensing sensors and components. Support the extraction of three-dimensional positioning and attitude information of the electronic pen, and send the relevant data to the host through the Bluetooth chip after processing. However, the system does not integrate vibration components and related drive circuits, and does not support the tactile feedback function.
发明内容Contents of the invention
本发明提供一种具有振动触觉反馈的三维触控电子笔及方法,以解决传统笔式交互系统不支持高真实感的振动反馈效果以及对于某些交互操作实现精度较低的问题。The present invention provides a three-dimensional touch electronic pen with vibration tactile feedback and its method to solve the problems that the traditional pen-type interactive system does not support vibration feedback effect with high sense of reality and realizes low precision for some interactive operations.
本发明采取的技术方案是:一种具有振动触觉反馈的三维触控电子笔,包括电源模块,九轴加速度陀螺仪传感器,按键模块,微处理器,超声定位模块,无线通信模块以及振动模块;其中振动模块:包括线性电机一和线性电机二,分别固定于电子笔两端,每个电机各有两个振动方向,使用微处理器对振动模块进行驱动,进而实现多维度振动反馈;The technical solution adopted by the present invention is: a three-dimensional touch electronic pen with vibration and tactile feedback, including a power supply module, a nine-axis acceleration gyroscope sensor, a key module, a microprocessor, an ultrasonic positioning module, a wireless communication module and a vibration module; Among them, the vibration module: includes linear motor 1 and linear motor 2, which are respectively fixed at both ends of the electronic pen. Each motor has two vibration directions, and the vibration module is driven by a microprocessor to realize multi-dimensional vibration feedback;
本发明所述九轴加速度陀螺仪传感器:用于提取加速度和角速度信号,包括获取任一时刻电子笔的线速度,角速度,线加速度,角加速度及姿态信息,并将提取的加速度和角速度信号传到微处理器;The nine-axis acceleration gyro sensor of the present invention: used for extracting acceleration and angular velocity signals, including obtaining the linear velocity, angular velocity, linear acceleration, angular acceleration and attitude information of the electronic pen at any moment, and transmitting the extracted acceleration and angular velocity signals to the microprocessor;
本发明所述按键模块:按键模块用于提供快捷功能;The button module of the present invention: the button module is used to provide shortcut functions;
本发明所述电源模块:包括电池101和升压电路102,为整个系统供电;The power module of the present invention: includes a battery 101 and a boost circuit 102 to supply power for the entire system;
本发明所述无线通信模块:采用蓝牙、ZigBee等。用于将电子笔的姿态、速度信息发送给上位机以及接收上位机发送的控制和配置信息;The wireless communication module of the present invention: adopts bluetooth, ZigBee etc. It is used to send the attitude and speed information of the electronic pen to the host computer and receive the control and configuration information sent by the host computer;
本发明所述微处理器:采用单片机、DSP等。用于实现静态波形通过存储和动态波形生成的两种振动驱动,同时也负责加速度陀螺仪传感器信号采集及处理、蓝牙通信芯片的控制、按键处理、与上位机之间的数据收发;Microprocessor of the present invention: adopt single-chip microcomputer, DSP etc. It is used to realize two kinds of vibration drives of static waveform through storage and dynamic waveform generation, and is also responsible for acceleration gyroscope sensor signal acquisition and processing, Bluetooth communication chip control, key processing, and data transmission and reception between the host computer;
本发明所述超声定位模块:包括超声发射模块,用于周期性发射超声波信号。The ultrasonic positioning module of the present invention includes an ultrasonic transmitting module for periodically emitting ultrasonic signals.
一种具有振动触觉反馈的三维触控电子笔的振动反馈控制方法,包括三维笔式交互中触碰,旋转和拖拽,其中:A vibration feedback control method of a three-dimensional touch electronic pen with vibration tactile feedback, including touch, rotation and drag in three-dimensional pen interaction, wherein:
(1)触碰的具体过程如下:(1) The specific process of touching is as follows:
1)、用户正常持握电子笔,通过按键操作进入触碰模式,定位信号模块开始周期性发射红外和超声信号,上位机利用超声定位原理得到电子笔实时三维坐标Pn(xn,yn,zn),其中n为当前定位周期;1), the user normally holds the electronic pen, enters the touch mode through key operation, the positioning signal module starts to emit infrared and ultrasonic signals periodically, and the host computer uses the principle of ultrasonic positioning to obtain the real-time three-dimensional coordinates P n (x n ,y n) of the electronic pen ,z n ), where n is the current positioning period;
2)、每个定位周期内,上位机利用电子笔空间坐标进行三维空间内与虚拟物体的碰撞检测,设空间内一虚拟立方体区域M为{m|xm1<x<xm2,ym1<y<ym2,zm1<z<zm2},若电子笔某一定位周期内坐标Pi(xi,yi,zi)位于M内,则视为当前周期内电子笔触碰到了某物体,此时上位机向电子笔发送相关指令,包括开始振动指令和调用的预存波形信息,若没有检测到碰撞,则向电子笔发送停止振动指令,2) In each positioning cycle, the upper computer uses the space coordinates of the electronic pen to detect the collision with the virtual object in the three-dimensional space. Let a virtual cubic area M in the space be {m|x m1 <x<x m2 , y m1 <y<y m2 , z m1 <z<z m2 }, if the coordinate P i (xi , y i , z i ) of the electronic pen is within M in a certain positioning period, it is considered that the electronic pen touches a certain position in the current period. Object, at this time, the host computer sends relevant instructions to the electronic pen, including the command to start vibration and the pre-stored waveform information called. If no collision is detected, the command to stop vibration is sent to the electronic pen.
3)、电子笔接收到上位机指令后,若为振动开始指令,则从预制波形库中调用与当前物体编号对应的波形进行输出,驱动信号使用正弦信号,三角信号或PWM信号,驱动电压峰峰值为Vpp,频率为fx;若为停止振动指令,则停止振动;3) After the electronic pen receives the instruction from the host computer, if it is a vibration start instruction, it will call the waveform corresponding to the current object number from the prefabricated waveform library for output. The driving signal uses a sinusoidal signal, a triangle signal or a PWM signal, and the driving voltage peak The peak value is V pp , and the frequency is f x ; if it is a stop vibration command, stop the vibration;
4)、若用户通过按键操作退出触碰模式,则定位模块停止发送定位信号,电子笔直接停止振动;4) If the user exits the touch mode through key operation, the positioning module stops sending positioning signals, and the electronic pen directly stops vibrating;
(2)旋转具体过程如下:(2) The specific process of rotation is as follows:
1)、用户正常持握电子笔,通过按键操作进入旋转模式,上位机向电子笔发送指令,开始进行振动反馈波形的动态生成和输出;1) The user normally holds the electronic pen, enters the rotation mode through key operation, and the host computer sends instructions to the electronic pen to start dynamic generation and output of vibration feedback waveforms;
2)、电子笔接收到旋转反馈指令后,首先根据九轴加速度陀螺仪传感器回传数据进行处理和判定,在此基础上生成动态驱动波形;2) After the electronic pen receives the rotation feedback command, it first processes and judges the data returned by the nine-axis acceleration gyroscope sensor, and generates a dynamic driving waveform on this basis;
3)、电子笔三维实际转动轴向可为三维空间内任意轴向,且可看做X,Y,Z三个轴向旋转的矢量和,因此,结合线性电机实现的振动方向,通过比较X,Y,Z三个轴向的角速度判断当前主要旋转轴向,并以此为依据选择线性电机振动方向,设该时刻电子笔绕X,Y,Z轴的角速度分别为ωx,ωy,ωz,若ωz<ωy,则认为电子笔主要旋转轴向为Y轴,取线性电机组振动方向为Z轴方向,驱动信号频率为f0;若ωz≥ωy,则认为电子笔主要旋转轴向为Z轴,取线性电机组振动方向为Y轴方向,驱动信号为频率为f1;3) The three-dimensional actual rotation axis of the electronic pen can be any axis in the three-dimensional space, and can be regarded as the vector sum of the three axial rotations of X, Y, and Z. Therefore, combined with the vibration direction realized by the linear motor, by comparing the X , Y, Z three axis angular velocity to determine the current main axis of rotation, and based on this to select the vibration direction of the linear motor, suppose the angular velocity of the electronic pen around the X, Y, Z axis at this moment is ωx, ωy, ωz, If ωz<ωy, the main rotation axis of the electronic pen is considered to be the Y axis, the vibration direction of the linear motor unit is taken as the Z axis direction, and the driving signal frequency is f0; if ωz≥ωy, the main rotation axis of the electronic pen is considered to be the Z axis , taking the vibration direction of the linear motor unit as the Y-axis direction, and the drive signal as the frequency f1;
4)、计算当前角速度的模并按照如下映射关系得出驱动信号电压峰峰值Vpp,将实时角速度到驱动电压峰峰值进行线性映射,Vpp1=k*ω,Vpp1是:按照线性映射计算得出的电压,k为比例系数,设定驱动电压阈值为Vmax,当Vpp1<Vmax时,Vpp=Vpp1;当Vpp1>Vmax时,Vpp=Vmax;4) Calculate the modulus of the current angular velocity And according to the following mapping relationship, the peak-to-peak value of the driving signal voltage V pp is obtained, and the real-time angular velocity is linearly mapped to the peak-to-peak value of the driving voltage, Vpp1=k*ω, Vpp1 is: the voltage calculated according to the linear mapping, k is a proportional coefficient, Setting the driving voltage threshold as V max , when Vpp1<V max , Vpp=Vpp1; when Vpp1>V max , Vpp=V max ;
5)、根据九轴加速度陀螺仪传感器信息判断出当前主要旋转轴向下的方向,顺时针或逆时针,确定电子笔中线性电机一和线性电机二各自的力模拟方向,进而确定驱动信号的极性;5) According to the information of the nine-axis acceleration gyroscope sensor, determine the downward direction of the current main rotation axis, clockwise or counterclockwise, determine the respective force simulation directions of linear motor 1 and linear motor 2 in the electronic pen, and then determine the direction of the drive signal polarity;
6)、输出动态驱动波形,其特点为振动方向垂直于主要旋转轴向,振动强度于旋转合角速度的模成正相关,两端线性电机一和线性电机二力模拟效果方向与主要旋转轴向上的旋转方向相同,以此模拟旋转过程中的力矩效果;6) Output dynamic driving waveform, which is characterized by the vibration direction perpendicular to the main axis of rotation, the vibration intensity is positively correlated with the modulus of the combined angular velocity of the rotation, and the direction of the simulation effect of linear motor 1 and linear motor 2 at both ends is upward to the main rotation axis The direction of rotation is the same to simulate the torque effect during the rotation process;
7)、若用通过按键操作退出旋转模式,电子笔直接停止振动;7) If the rotation mode is exited by key operation, the electronic pen will stop vibrating directly;
(3)拖拽具体过程如下:(3) The specific process of dragging is as follows:
1)、用户正常持握电子笔,通过按键操作进入拖拽模式,上位机向电子笔发送指令,开始进行振动反馈波形的动态生成和输出;1) The user normally holds the electronic pen and enters the drag mode through button operation, and the host computer sends instructions to the electronic pen to start dynamic generation and output of vibration feedback waveforms;
2)、电子笔接收到拖拽反馈指令后,首先根据九轴加速度陀螺仪传感器回传数据进行处理和判定,在此基础上生成动态驱动波形;拖拽模式下振动的驱动波形使用PWM波形,调节频率,脉宽;2) After the electronic pen receives the drag feedback command, it first processes and judges according to the data returned by the nine-axis acceleration gyroscope sensor, and generates a dynamic driving waveform on this basis; the driving waveform of the vibration in the drag mode uses a PWM waveform, Adjust frequency, pulse width;
3)、电子笔三维实际平动方向可为三维空间内任意方向,且可看做X,Y,Z三个方向平动的矢量和,因此,结合线性电机可实现的振动方向,通过比较X,Y,Z三个轴向的线速度判断当前主要平动方向,并以此为依据选择线性电机振动方向,利用九轴加速度陀螺仪传感器回传的加速度数据积分可得该时刻电子笔在X,Y,Z方向的线速度分别为vx,vy,vz,若vz<vy则认为电子笔主要拖拽方向为Y方向,线性电机组振动方向为Y轴方向,驱动信号频率为f1;若vz≥vy则认为电子笔主要拖拽方向为Z方向,线性电机组振动方向为Y轴方向,驱动信号频率为f1;3) The three-dimensional actual translation direction of the electronic pen can be any direction in the three-dimensional space, and can be regarded as the vector sum of translation in the three directions of X, Y, and Z. Therefore, combined with the vibration direction that can be realized by the linear motor, by comparing the X , Y, Z linear velocity in the three axes to determine the current main translation direction, and based on this to select the linear motor vibration direction, using the acceleration data returned by the nine-axis acceleration gyroscope sensor to integrate the electronic pen at the X , the linear velocities in the Y and Z directions are vx, vy, vz respectively, if vz<vy, it is considered that the main dragging direction of the electronic pen is the Y direction, the vibration direction of the linear motor unit is the Y axis direction, and the driving signal frequency is f1; if vz ≥vy means that the main dragging direction of the electronic pen is the Z direction, the vibration direction of the linear motor unit is the Y-axis direction, and the driving signal frequency is f1;
4)、计算当前线速度的模并按照如下映射关系得出PWM占空比,驱动信号占空比为DR,设定驱动信号占空比阈值为DRmax,将实时合线速度的模到PWM占空比进行线性映射,DR1=k*v,DR1是按照映射关系得到的占空比,k为比例系数,当DR1<DRmax时,DR=DRp1;当DR1≥DRmax时,DR=DRmax;4) Calculate the modulus of the current line speed And obtain the PWM duty ratio according to the following mapping relationship, the driving signal duty ratio is DR, set the driving signal duty ratio threshold as DRmax, and linearly map the modulus of the real-time closing speed to the PWM duty ratio, DR1=k *v, DR1 is the duty cycle obtained according to the mapping relationship, k is the proportional coefficient, when DR1<DRmax, DR=DRp1; when DR1≥DRmax, DR=DRmax;
5)、输出动态驱动波形,其特点为振动方向与主要拖拽方向同向,振动强度与拖拽合线速度的模成正相关,以此模拟拖拽过程中的摩擦效果;5) Output the dynamic driving waveform, which is characterized by the same direction of vibration as the main dragging direction, and the vibration intensity is positively correlated with the modulus of the dragging line speed, so as to simulate the friction effect during the dragging process;
6)、若用户通过按键操作退出拖拽模式,则电子笔直接停止振动。6) If the user exits the dragging mode through a button operation, the electronic pen stops vibrating directly.
其中:in:
触碰定义:用户正常持握电子笔,通过按键操作进入触碰模式,之后根据上位机提示,在三维空间中通过使用电子笔触碰三维空间中特定区域,同时上位机会显示对应该触碰操作的交互内容;Touch definition: the user normally holds the electronic pen, enters the touch mode through button operation, and then touches a specific area in the three-dimensional space with the electronic pen according to the prompts of the host computer, and the host computer displays the corresponding touch operation. interactive content;
旋转定义:用户正常持握电子笔,通过按键操作进入旋转模式,之后根据上位机提示,在三维空间中按照一定的方向、轴向和速度旋转电子笔,同时上位机会显示对应该旋转操作的交互内容;Rotation definition: the user holds the electronic pen normally, enters the rotation mode through button operation, and then rotates the electronic pen in a three-dimensional space according to a certain direction, axis and speed according to the prompts of the host computer, and the host computer displays the interaction corresponding to the rotation operation content;
拖拽定义:用户正常持握电子笔,通过按键操作进入旋转模式,之后根据上位机提示,在三维空间中按照一定的方向和速度拖拽电子笔,同时上位机会显示对应该拖拽操作的交互内容。Definition of drag and drop: the user normally holds the electronic pen, enters the rotation mode through button operation, and then drags the electronic pen in the three-dimensional space according to a certain direction and speed according to the prompt of the host computer, and the host computer displays the interaction corresponding to the drag operation content.
本发明提供一种三维触控电子笔触觉反馈控制方法,包括:通过按键操作和超声定位的结合实现操作模式的识别和特定操作的触发;通过静态波形调用的方式实现触碰操作的振动反馈;利用传感器回传角速度信息生成动态波形,实现旋转操作的振动反馈;利用传感器回传的线速度信息生成动态波形,实现拖拽操作的振动反馈。The present invention provides a tactile feedback control method of a three-dimensional touch electronic pen, including: realizing the identification of the operation mode and the triggering of a specific operation through the combination of button operation and ultrasonic positioning; realizing the vibration feedback of the touch operation through the static waveform call; The dynamic waveform is generated by using the angular velocity information returned by the sensor to realize the vibration feedback of the rotation operation; the dynamic waveform is generated by using the linear velocity information returned by the sensor to realize the vibration feedback of the drag operation.
本发明的优点在于:利用超声定位和按键操作完成当前交互操作的识别,并根据交互操作的类型,采用静态波形调用或动态波形生成的方法,结合电子笔当前运动信息,实现具有真实感和浸入感的振动反馈效果,可为三维空笔式交互中常用的触碰,旋转,拖拽等操作提供与之对应的振动反馈,提高交互操作的浸入感和真实感。The invention has the advantages of: using ultrasonic positioning and button operation to complete the identification of the current interactive operation, and according to the type of interactive operation, adopting the method of static waveform calling or dynamic waveform generation, combined with the current motion information of the electronic pen, to achieve a sense of reality and immersion Sensitive vibration feedback effect can provide corresponding vibration feedback for touch, rotate, drag and other operations commonly used in three-dimensional pen-style interaction, improving the immersion and realism of interactive operations.
附图说明Description of drawings
图1是本发明电子笔电路组成框图;Fig. 1 is a block diagram of electronic pen circuit of the present invention;
图2是本发明电子笔硬件组成示意图;Fig. 2 is a schematic diagram of the hardware composition of the electronic pen of the present invention;
图3是本发明超声定位原理图;Fig. 3 is a principle diagram of ultrasonic positioning of the present invention;
图4是本发明线性电机谐振频点特性示意图;Fig. 4 is a schematic diagram of the resonant frequency point characteristics of the linear motor of the present invention;
图5是本发明线性电机的一种非对称波形驱动示意图;Fig. 5 is a kind of asymmetric waveform driving schematic diagram of the linear motor of the present invention;
图6是本发明线性电机的PWM波形驱动示意图;Fig. 6 is the PWM waveform driving schematic diagram of the linear motor of the present invention;
图7是本发明触碰反馈流程图;Fig. 7 is a flow chart of touch feedback in the present invention;
图8是本发明旋转反馈流程图;Fig. 8 is a flow chart of rotation feedback of the present invention;
图9是本发明旋转反馈示意图;Fig. 9 is a schematic diagram of the rotation feedback of the present invention;
图10是本发明拖拽反馈流程图;Fig. 10 is a flow chart of drag feedback in the present invention;
图11是本发明拖拽反馈示意图。Fig. 11 is a schematic diagram of drag feedback in the present invention.
具体实施方式Detailed ways
一种具有振动触觉反馈的三维触控电子笔:A three-dimensional touch electronic pen with vibration and tactile feedback:
包括电源模块1,九轴加速度陀螺仪传感器2,按键模块3,微处理器4,超声定位模块5,无线通信模块6以及振动模块7;其中:Including power module 1, nine-axis acceleration gyro sensor 2, button module 3, microprocessor 4, ultrasonic positioning module 5, wireless communication module 6 and vibration module 7; where:
振动模块7:包括线性电机一701和线性电机二702,分别固定于电子笔两端,每个电机各有两个振动方向,使用微处理器对振动模块进行驱动,进而实现多维度振动反馈;Vibration module 7: including linear motor 1 701 and linear motor 2 702, which are respectively fixed at both ends of the electronic pen, each motor has two vibration directions, and the vibration module is driven by a microprocessor to realize multi-dimensional vibration feedback;
振动模块利用电流驱动产生振动效果的元件组合,如线性电机,压电陶瓷,偏心旋转质量等,其特点是具有一个或多个谐振频率,仅在谐振频率附近有较强的振动响应,且在不同谐振频率附近的振动方向不同;The vibration module uses the combination of components driven by current to produce vibration effects, such as linear motors, piezoelectric ceramics, eccentric rotating masses, etc., which are characterized by one or more resonant frequencies, and have strong vibration responses only near the resonant frequencies, and in The vibration directions near different resonance frequencies are different;
九轴加速度陀螺仪传感器2:用于提取加速度和角速度信号,包括获取任一时刻电子笔的线速度,角速度,线加速度,角加速度及姿态信息,并将提取的加速度和角速度信号传到微处理器;Nine-axis acceleration gyro sensor 2: used to extract acceleration and angular velocity signals, including obtaining the linear velocity, angular velocity, linear acceleration, angular acceleration and attitude information of the electronic pen at any time, and transmitting the extracted acceleration and angular velocity signals to the microprocessor device;
按键模块3:按键模块用于提供快捷功能,包括触碰、旋转、拖拽;Button module 3: The button module is used to provide shortcut functions, including touch, rotate, and drag;
电源模块1:包括电池101和升压电路102,为整个系统供电;Power supply module 1: including a battery 101 and a boost circuit 102, supplying power for the entire system;
无线通信模块6:可采用蓝牙、ZigBee等,用于将电子笔的姿态、速度信息发送给上位机以及接收上位机发送的控制和配置信息;Wireless communication module 6: Bluetooth, ZigBee, etc. can be used to send the attitude and speed information of the electronic pen to the host computer and receive control and configuration information sent by the host computer;
微处理器4:可采用单片机、DSP等,用于实现静态波形通过存储和动态波形生成的两种振动驱动,同时也负责加速度陀螺仪传感器信号采集及处理、蓝牙通信芯片的控制、按键处理、与上位机之间的数据收发;Microprocessor 4: Single-chip microcomputer, DSP, etc. can be used to realize two kinds of vibration drives through storage of static waveforms and dynamic waveform generation. It is also responsible for acceleration gyroscope sensor signal acquisition and processing, Bluetooth communication chip control, key processing, Data transmission and reception with the host computer;
微处理器支持下列两种驱动:The microprocessor supports the following two drivers:
静态波形存储及调用功能:可存储一定数据量的预制波形效果,比如触碰不同的虚拟物体时用于产生触觉反馈的驱动波形。Static waveform storage and recall function: It can store a certain amount of prefabricated waveform effects, such as driving waveforms used to generate tactile feedback when touching different virtual objects.
动态波形生成及缓存功能:用于动态波形的生成,可根据当前工作模式及微处理器获取的实时线速度,角速度,姿态等信息,生成实时驱动波形并写入缓存。Dynamic waveform generation and cache function: used for dynamic waveform generation, according to the current working mode and real-time linear velocity, angular velocity, attitude and other information obtained by the microprocessor, real-time driving waveforms can be generated and written into the cache.
(7)超声定位模块:包括红外发射模块和超声发射模块,用于周期性发射红外和超声波信号,由上位机超声波三维定位系统进行接收及计算,利用超声定位原理,可获取电子笔实时空间位置的三维坐标,并通过蓝牙通信等方式将定位信息回传至电子笔,进行进一步的处理或判定。(7) Ultrasonic positioning module: including an infrared emitting module and an ultrasonic emitting module, which are used to periodically emit infrared and ultrasonic signals, which are received and calculated by the ultrasonic three-dimensional positioning system of the upper computer. Using the principle of ultrasonic positioning, the real-time spatial position of the electronic pen can be obtained The three-dimensional coordinates of the computer, and the location information is sent back to the electronic pen through Bluetooth communication, etc., for further processing or judgment.
一种具有振动触觉反馈的三维触控电子笔的振动反馈控制方法,包括三维笔式交互中触碰,旋转和拖拽,通过预制波形调用或动态波形生成的方式,对振动元件组进行驱动,首先对三维空间笔式交互中常用操作进行如下定义:其中:A vibration feedback control method of a three-dimensional touch electronic pen with vibration tactile feedback, including touch, rotation and drag in three-dimensional pen interaction, and driving the vibration element group by calling a prefabricated waveform or generating a dynamic waveform, Firstly, the common operations in 3D space pen-style interaction are defined as follows: Among them:
触碰:用户正常持握电子笔,通过按键操作进入触碰模式,之后根据上位机提示,在三维空间中通过使用电子笔触碰三维空间中特定区域,同时上位机会显示对应该触碰操作的交互内容;Touch: The user normally holds the electronic pen, enters the touch mode through button operation, and then touches a specific area in the three-dimensional space with the electronic pen according to the prompts of the host computer, and the host computer displays the interaction corresponding to the touch operation content;
旋转:用户正常持握电子笔,通过按键操作进入旋转模式,之后根据上位机提示,在三维空间中按照一定的方向、轴向和速度旋转电子笔,同时上位机会显示对应该旋转操作的交互内容;Rotation: The user normally holds the electronic pen, enters the rotation mode through button operation, and then rotates the electronic pen in the three-dimensional space according to a certain direction, axis and speed according to the prompts of the host computer, and at the same time, the host computer displays the interactive content corresponding to the rotation operation ;
拖拽:用户正常持握电子笔,通过按键操作进入旋转模式,之后根据上位机提示,在三维空间中按照一定的方向和速度拖拽电子笔,同时上位机会显示对应该拖拽操作的交互内容;Drag and drop: The user holds the electronic pen normally, enters the rotation mode through button operation, and then drags the electronic pen in the three-dimensional space according to a certain direction and speed according to the prompt of the host computer, and at the same time, the host computer displays the interactive content corresponding to the drag operation ;
(1)触碰的具体过程如下:(1) The specific process of touching is as follows:
1)、用户正常持握电子笔,通过按键操作进入触碰模式,定位信号模块开始周期性发射红外和超声信号,上位机利用超声定位原理得到电子笔实时三维坐标Pn(xn,yn,zn),其中n为当前定位周期;1), the user normally holds the electronic pen, enters the touch mode through key operation, the positioning signal module starts to emit infrared and ultrasonic signals periodically, and the host computer uses the principle of ultrasonic positioning to obtain the real-time three-dimensional coordinates P n (x n ,y n) of the electronic pen ,z n ), where n is the current positioning cycle;
2)、每个定位周期内,上位机利用电子笔空间坐标进行三维空间内与虚拟物体的碰撞检测,设空间内一虚拟立方体区域M为{m|xm1<x<xm2,ym1<y<ym2,zm1<z<zm2},若电子笔某一定位周期内坐标Pi(xi,yi,zi)位于M内,则视为当前周期内电子笔触碰到了某物体,此时上位机向电子笔发送相关指令,包括开始振动指令和调用的预存波形信息,若没有检测到碰撞,则向电子笔发送停止振动指令,2) In each positioning cycle, the upper computer uses the space coordinates of the electronic pen to detect the collision with the virtual object in the three-dimensional space. Let a virtual cubic area M in the space be {m|x m1 <x<x m2 , y m1 <y<y m2 , z m1 <z<z m2 }, if the coordinate P i (xi , y i , z i ) of the electronic pen is within M in a certain positioning period, it is considered that the electronic pen touches a certain position in the current period. Object, at this time, the host computer sends relevant instructions to the electronic pen, including the command to start vibration and the pre-stored waveform information called. If no collision is detected, the command to stop vibration is sent to the electronic pen.
3)、电子笔接收到上位机指令后,若为振动开始指令,则从预制波形库中调用与当前物体编号对应的波形进行输出,驱动信号使用正弦信号,三角信号或PWM信号,驱动电压峰峰值为Vpp,频率为fx;若为停止振动指令,则停止振动;3) After the electronic pen receives the instruction from the host computer, if it is a vibration start instruction, it will call the waveform corresponding to the current object number from the prefabricated waveform library for output. The driving signal uses a sinusoidal signal, a triangle signal or a PWM signal, and the driving voltage peak The peak value is V pp , and the frequency is f x ; if it is a stop vibration command, stop the vibration;
4)、若用户通过按键操作退出触碰模式,则定位模块停止发送定位信号,电子笔直接停止振动;4) If the user exits the touch mode through key operation, the positioning module stops sending positioning signals, and the electronic pen directly stops vibrating;
(2)旋转具体过程如下:(2) The specific process of rotation is as follows:
1)、用户正常持握电子笔,通过按键操作进入旋转模式,上位机向电子笔发送指令,开始进行振动反馈波形的动态生成和输出;1) The user normally holds the electronic pen, enters the rotation mode through key operation, and the host computer sends instructions to the electronic pen to start dynamic generation and output of vibration feedback waveforms;
2)、电子笔接收到旋转反馈指令后,首先根据九轴加速度陀螺仪传感器回传数据进行处理和判定,在此基础上生成动态驱动波形;旋转操作振动触觉反馈驱动波形,使用非对称波形实现单侧力模拟效果,并结合电子笔前后电机组,使之产生相反方向的力模拟效果,2) After the electronic pen receives the rotation feedback command, it first processes and judges according to the data returned by the nine-axis acceleration gyroscope sensor, and then generates a dynamic driving waveform on this basis; the vibration and tactile feedback driving waveform of the rotation operation is realized by using an asymmetrical waveform One-sided force simulation effect, combined with the front and rear motor groups of the electronic pen, makes it produce the force simulation effect in the opposite direction,
3)、电子笔三维实际转动轴向可为三维空间内任意轴向,且可看做X,Y,Z三个轴向旋转的矢量和,因此,结合线性电机实现的振动方向,通过比较X,Y,Z三个轴向的角速度判断当前主要旋转轴向,并以此为依据选择线性电机振动方向,设该时刻电子笔绕X,Y,Z轴的角速度分别为ωx,ωy,ωz,若ωz<ωy,则认为电子笔主要旋转轴向为Y轴,取线性电机组振动方向为Z轴方向,驱动信号频率为f0;若ωz≥ωy,则认为电子笔主要旋转轴向为Z轴,取线性电机组振动方向为Y轴方向,驱动信号为频率为;3) The three-dimensional actual rotation axis of the electronic pen can be any axis in the three-dimensional space, and can be regarded as the vector sum of the three axial rotations of X, Y, and Z. Therefore, combined with the vibration direction realized by the linear motor, by comparing the X , Y, Z three axis angular velocity to determine the current main axis of rotation, and based on this to select the vibration direction of the linear motor, suppose the angular velocity of the electronic pen around the X, Y, Z axis at this moment is ωx, ωy, ωz, If ωz<ωy, it is considered that the main rotation axis of the electronic pen is the Y axis, the vibration direction of the linear motor unit is taken as the Z axis direction, and the frequency of the driving signal is f 0 ; if ωz≥ωy, the main rotation axis of the electronic pen is considered to be Z axis, take the vibration direction of the linear motor unit as the Y-axis direction, and the drive signal as the frequency;
4)、计算当前角速度的模并按照如下映射关系得出驱动信号电压峰峰值Vpp,将实时角速度到驱动电压峰峰值进行线性映射,Vpp1=k*ω,Vpp1是:按照线性映射计算得出的电压,k为比例系数,设定驱动电压阈值为Vmax,当Vpp1<Vmax时,Vpp=Vpp1;当Vpp1>Vmax时,Vpp=Vmax;4) Calculate the modulus of the current angular velocity And according to the following mapping relationship, the peak-to-peak value of the driving signal voltage V pp is obtained, and the real-time angular velocity is linearly mapped to the peak-to-peak value of the driving voltage, Vpp1=k*ω, Vpp1 is: the voltage calculated according to the linear mapping, k is a proportional coefficient, Setting the driving voltage threshold as V max , when Vpp1<V max , Vpp=Vpp1; when Vpp1>V max , Vpp=V max ;
5)、根据九轴加速度陀螺仪传感器信息判断出当前主要旋转轴向下的方向,顺时针或逆时针,确定电子笔中线性电机一701和线性电机二702各自的力模拟方向,进而确定驱动信号的极性;5) According to the information of the nine-axis acceleration gyro sensor, determine the downward direction of the current main rotation axis, clockwise or counterclockwise, determine the respective force simulation directions of the linear motor 1 701 and the linear motor 2 702 in the electronic pen, and then determine the drive the polarity of the signal;
6)、输出动态驱动波形,其特点为振动方向垂直于主要旋转轴向,振动强度于旋转合角速度的模成正相关,两端线性电机一701和线性电机二702力模拟效果方向与主要旋转轴向上的旋转方向相同,以此模拟旋转过程中的力矩效果;6) Output dynamic driving waveform, which is characterized by the vibration direction perpendicular to the main axis of rotation, the vibration intensity is positively correlated with the modulus of the rotational angular velocity, the direction of the force simulation effect of linear motor 1 and linear motor 2 702 at both ends is related to the main rotation axis The upward rotation direction is the same to simulate the torque effect during rotation;
7)、若用通过按键操作退出旋转模式,电子笔直接停止振动;7) If the rotation mode is exited by key operation, the electronic pen will stop vibrating directly;
(3)拖拽具体过程如下:(3) The specific process of dragging is as follows:
1)、用户正常持握电子笔,通过按键操作进入拖拽模式,上位机向电子笔发送指令,开始进行振动反馈波形的动态生成和输出;1) The user normally holds the electronic pen and enters the drag mode through button operation, and the host computer sends instructions to the electronic pen to start dynamic generation and output of vibration feedback waveforms;
2)、电子笔接收到拖拽反馈指令后,首先根据九轴加速度陀螺仪传感器回传数据进行处理和判定,在此基础上生成动态驱动波形;拖拽模式下振动的驱动波形使用PWM波形,调节频率,脉宽;2) After the electronic pen receives the drag feedback command, it first processes and judges according to the data returned by the nine-axis acceleration gyroscope sensor, and generates a dynamic driving waveform on this basis; the driving waveform of the vibration in the drag mode uses a PWM waveform, Adjust frequency, pulse width;
3)、电子笔三维实际平动方向可为三维空间内任意方向,且可看做X,Y,Z三个方向平动的矢量和,因此,结合线性电机可实现的振动方向,通过比较X,Y,Z三个轴向的线速度判断当前主要平动方向,并以此为依据选择线性电机振动方向,利用九轴加速度陀螺仪传感器回传的加速度数据积分可得该时刻电子笔在X,Y,Z方向的线速度分别为vx,vy,vz,若vz<vy则认为电子笔主要拖拽方向为Y方向,线性电机组振动方向为Y轴方向,驱动信号频率为f1;若vz≥vy则认为电子笔主要拖拽方向为Z方向,线性电机组振动方向为Y轴方向,驱动信号频率为f1;3) The three-dimensional actual translation direction of the electronic pen can be any direction in the three-dimensional space, and can be regarded as the vector sum of translation in the three directions of X, Y, and Z. Therefore, combined with the vibration direction that can be realized by the linear motor, by comparing the X , Y, Z linear velocity in the three axes to determine the current main translation direction, and based on this to select the linear motor vibration direction, using the acceleration data returned by the nine-axis acceleration gyroscope sensor to integrate the electronic pen at the X , the linear velocities in the Y and Z directions are vx, vy, vz respectively, if vz<vy, it is considered that the main dragging direction of the electronic pen is the Y direction, the vibration direction of the linear motor unit is the Y axis direction, and the driving signal frequency is f1; if vz ≥vy means that the main dragging direction of the electronic pen is the Z direction, the vibration direction of the linear motor unit is the Y-axis direction, and the driving signal frequency is f1;
4)、计算当前线速度的模并按照如下映射关系得出PWM占空比,驱动信号占空比DR,设定驱动信号占空比阈值为DRmax,将实时合线速度的模到PWM占空比进行线性映射,DR1=k*v,DR1是按照映射关系得到的占空比,k为比例系数,当DR1<DRmax时,DR=DRp1;当DR1≥DRmax时,DR=DRmax;4) Calculate the modulus of the current line speed According to the following mapping relationship, the PWM duty ratio and the driving signal duty ratio DR are obtained, and the threshold value of the driving signal duty ratio is set to DRmax, and the modulus of the real-time closing speed is linearly mapped to the PWM duty ratio, DR1=k* v, DR1 is the duty cycle obtained according to the mapping relationship, k is the proportional coefficient, when DR1<DRmax, DR=DRp1; when DR1≥DRmax, DR=DRmax;
5)、输出动态驱动波形,其特点为振动方向与主要拖拽方向同向,振动强度与拖拽合线速度的模成正相关,以此模拟拖拽过程中的摩擦效果;5) Output the dynamic driving waveform, which is characterized by the same direction of vibration as the main dragging direction, and the vibration intensity is positively correlated with the modulus of the dragging line speed, so as to simulate the friction effect during the dragging process;
6)、若用户通过按键操作退出拖拽模式,则电子笔直接停止振动。6) If the user exits the dragging mode through a button operation, the electronic pen stops vibrating directly.
下面结合附图1~11具体描述本发明。The present invention will be specifically described below in conjunction with accompanying drawings 1-11.
图1中电子笔包含九轴加速度陀螺仪传感器,按键模块,电源模块,微处理器,无线通信模块,超声定位模块以及振动模块。The electronic pen in Figure 1 includes a nine-axis acceleration gyro sensor, a button module, a power module, a microprocessor, a wireless communication module, an ultrasonic positioning module and a vibration module.
图2为电子笔硬件结构示意图。振动模块由分别固定于电子笔两端的两个线性电机组成。FIG. 2 is a schematic diagram of the hardware structure of the electronic pen. The vibration module consists of two linear motors respectively fixed at the two ends of the electronic pen.
图3为超声定位原理图,按下三个按键中任意一个后,超声波发射模块周期性发射红外和超声波信号。通过三个接收器分别接收超声波信号。以红外信号作为超声波传播时间测量的基准提取超声波的传播时间,在设定超声波传播速度后,用传播时间乘以传播速度得到电子笔到各个接收器的传播距离l1、l2、l3.最后利用几何定位,计算出超声波定位的三维坐标Pn(xn,yn,zn),其中n为当前定位周期。Fig. 3 is a principle diagram of ultrasonic positioning. After pressing any one of the three buttons, the ultrasonic transmitting module periodically transmits infrared and ultrasonic signals. Ultrasonic signals are respectively received by three receivers. Use the infrared signal as the basis for the measurement of ultrasonic propagation time to extract the propagation time of ultrasonic waves. After setting the propagation speed of ultrasonic waves, multiply the propagation time by the propagation speed to obtain the propagation distances l 1 , l 2 , and l 3 from the electronic pen to each receiver. Finally, geometric positioning is used to calculate the three-dimensional coordinates P n (x n , y n , z n ) of ultrasonic positioning, where n is the current positioning cycle.
图4中,在电子笔两端分别固定线性电机一701和线性电机二702,所用的的线性电机为长方体外形,具有两个谐振频点f0和f1,在谐振点附近具有较强的振动强度,当驱动信号频率偏离谐振频点较多时,振动强度有大幅衰减,其中,在谐振频点f0附近的振动方向为Z方向,在谐振频点f0附近的振动方向为Y方向。In Fig. 4, a linear motor 1 701 and a linear motor 2 702 are respectively fixed at both ends of the electronic pen. The linear motor used is in the shape of a cuboid with two resonant frequency points f 0 and f 1 , and has a strong Vibration intensity, when the frequency of the driving signal deviates from the resonant frequency point more, the vibration intensity will be greatly attenuated. Among them, the vibration direction near the resonant frequency point f 0 is the Z direction, and the vibration direction near the resonant frequency point f 0 is the Y direction.
图5中,采用如图所示的非对称波形,在谐振频点附近驱动线性电机时,由于其机械结构和性质,会产生两侧振动强度不对称的现象,以此为基础,可以模拟单向力效果。其中通过驱动信号频率控制电机振动方向,通过调节Vpp控制电机振幅即力模拟效果的强弱。In Fig. 5, when using the asymmetrical waveform as shown in the figure, when the linear motor is driven near the resonant frequency point, due to its mechanical structure and properties, the phenomenon of asymmetrical vibration intensity on both sides will occur. Based on this, a single Gravity effect. Among them, the vibration direction of the motor is controlled by the frequency of the driving signal, and the amplitude of the motor is controlled by adjusting V pp , that is, the strength of the force simulation effect.
图6中,在谐振频点附近,使用PWM波形进行驱动,在该种波形驱动下线性电机可产生对称振动,可用于模拟摩擦力等效果。通过驱动信号频率控制电机振动方向,通过调节占空比/脉宽可控制电机的振幅即摩擦模拟的强弱。再次模式下,驱动电压峰峰值Vpp通常取3V。In Figure 6, the PWM waveform is used for driving near the resonant frequency point. Under this kind of waveform driving, the linear motor can generate symmetrical vibration, which can be used to simulate effects such as friction. The vibration direction of the motor is controlled by the frequency of the driving signal, and the amplitude of the motor, that is, the strength of the friction simulation, can be controlled by adjusting the duty cycle/pulse width. In the secondary mode, the peak-to-peak value V pp of the driving voltage is usually 3V.
图7为触碰反馈原理图,上位机根据电子笔定位信息进行碰撞检测,判断电子笔是否触碰到三维空间内特定区域,触发触碰事件,并通过蓝牙通信的形式向电子笔发送相应指令,调用预制波形库内相应驱动波形,输出振动触觉反馈。具体预存波形可以为数字波形或模拟波形。Figure 7 is a schematic diagram of touch feedback. The host computer performs collision detection according to the positioning information of the electronic pen, judges whether the electronic pen touches a specific area in the three-dimensional space, triggers a touch event, and sends corresponding instructions to the electronic pen through Bluetooth communication , call the corresponding driving waveform in the prefabricated waveform library, and output vibration tactile feedback. The specific pre-stored waveform can be a digital waveform or an analog waveform.
图8为旋转反馈原理图,用户通过按键操作进入旋转模式,之后根据上位机提示,在三维空间中按照一定的方向、轴向和速度旋转电子笔,同时上位机会显示对应该旋转操作的交互内容。Figure 8 is a schematic diagram of the rotation feedback. The user enters the rotation mode through button operation, and then rotates the electronic pen in a three-dimensional space according to a certain direction, axis and speed according to the prompts of the host computer. At the same time, the host computer displays the interactive content corresponding to the rotation operation. .
图9为旋转反馈示意图,该图例中判定主要旋转轴向为Z轴,方向为顺时针,以此确定两个线性电机的振动方向及各自的力模拟方向,产生如图所示力模拟效果进行振动反馈。Figure 9 is a schematic diagram of rotation feedback. In this legend, it is determined that the main rotation axis is the Z axis, and the direction is clockwise, so as to determine the vibration direction of the two linear motors and their respective force simulation directions, and generate the force simulation effect as shown in the figure. Vibration feedback.
图10为拖拽反馈原理图,用户通过按键操作进入旋转模式,之后根据上位机提示,在三维空间中按照一定的方向和速度拖拽电子笔,同时上位机会显示对应该拖拽操作的交互内容。Figure 10 is a schematic diagram of drag feedback. The user enters the rotation mode through key operation, and then drags the electronic pen in the three-dimensional space according to a certain direction and speed according to the prompt of the host computer, and the host computer displays the interactive content corresponding to the drag operation .
图11为拖拽反馈示意图,该图例中判定主要拖拽方向为Y方向,以此确定线性电机的振动方向,产生如图所示摩擦模拟效果进行振动反馈。Figure 11 is a schematic diagram of drag feedback. In this legend, it is determined that the main drag direction is the Y direction, so as to determine the vibration direction of the linear motor, and generate the friction simulation effect as shown in the figure for vibration feedback.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810336217.8A CN108563341B (en) | 2018-04-13 | 2018-04-13 | A three-dimensional touch electronic pen with vibrotactile feedback and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810336217.8A CN108563341B (en) | 2018-04-13 | 2018-04-13 | A three-dimensional touch electronic pen with vibrotactile feedback and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108563341A true CN108563341A (en) | 2018-09-21 |
| CN108563341B CN108563341B (en) | 2020-12-04 |
Family
ID=63535115
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810336217.8A Active CN108563341B (en) | 2018-04-13 | 2018-04-13 | A three-dimensional touch electronic pen with vibrotactile feedback and method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108563341B (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109491526A (en) * | 2019-01-11 | 2019-03-19 | 桂林理工大学南宁分校 | With the electronic pen and implementation method for writing sense of touch |
| CN112433629A (en) * | 2021-01-28 | 2021-03-02 | 深圳市瑞立视多媒体科技有限公司 | Rigid body posture determination method and device of double-light-ball interactive pen and computer equipment |
| CN113467613A (en) * | 2021-06-17 | 2021-10-01 | 深圳市瑞立视多媒体科技有限公司 | Desktop interaction system, realization method and storage medium |
| CN113721796A (en) * | 2021-08-25 | 2021-11-30 | 读书郎教育科技有限公司 | Ultrasonic communication interactive pen equipment |
| CN114442796A (en) * | 2020-11-05 | 2022-05-06 | 上海艾为电子技术股份有限公司 | Vibration device, local vibration adjustment method thereof and electronic equipment |
| CN114543976A (en) * | 2020-11-25 | 2022-05-27 | 北京小米移动软件有限公司 | Linear motor testing method and device, electronic equipment and medium |
| CN114860078A (en) * | 2022-05-03 | 2022-08-05 | 吉林大学 | Haptic feedback rendering method and device for virtual knob of vehicle-mounted terminal interface |
| WO2024250304A1 (en) * | 2023-06-09 | 2024-12-12 | 广州视源电子科技股份有限公司 | Control method and apparatus for touch-control panel, and electronic device and storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150205367A1 (en) * | 2011-11-11 | 2015-07-23 | Benjamin D. Bandt-Horn | Device and user interface for visualizing, navigating, and manipulating hierarchically structured information on host electronic devices |
| CN207008556U (en) * | 2017-06-05 | 2018-02-13 | 深圳未来立体教育科技有限公司 | Intelligent wireless location tracking manipulates pen |
| CN107831892A (en) * | 2017-11-01 | 2018-03-23 | 东南大学 | A kind of dummy object 3D shape reproducting method based on finger cot type device |
-
2018
- 2018-04-13 CN CN201810336217.8A patent/CN108563341B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150205367A1 (en) * | 2011-11-11 | 2015-07-23 | Benjamin D. Bandt-Horn | Device and user interface for visualizing, navigating, and manipulating hierarchically structured information on host electronic devices |
| CN207008556U (en) * | 2017-06-05 | 2018-02-13 | 深圳未来立体教育科技有限公司 | Intelligent wireless location tracking manipulates pen |
| CN107831892A (en) * | 2017-11-01 | 2018-03-23 | 东南大学 | A kind of dummy object 3D shape reproducting method based on finger cot type device |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109491526A (en) * | 2019-01-11 | 2019-03-19 | 桂林理工大学南宁分校 | With the electronic pen and implementation method for writing sense of touch |
| CN109491526B (en) * | 2019-01-11 | 2024-05-28 | 桂林理工大学南宁分校 | Electronic pen with writing touch sense and implementation method |
| CN114442796A (en) * | 2020-11-05 | 2022-05-06 | 上海艾为电子技术股份有限公司 | Vibration device, local vibration adjustment method thereof and electronic equipment |
| CN114543976A (en) * | 2020-11-25 | 2022-05-27 | 北京小米移动软件有限公司 | Linear motor testing method and device, electronic equipment and medium |
| CN112433629A (en) * | 2021-01-28 | 2021-03-02 | 深圳市瑞立视多媒体科技有限公司 | Rigid body posture determination method and device of double-light-ball interactive pen and computer equipment |
| CN113467613A (en) * | 2021-06-17 | 2021-10-01 | 深圳市瑞立视多媒体科技有限公司 | Desktop interaction system, realization method and storage medium |
| CN115373513A (en) * | 2021-06-17 | 2022-11-22 | 深圳市瑞立视多媒体科技有限公司 | Desktop interaction system, realization method and storage medium |
| CN113721796A (en) * | 2021-08-25 | 2021-11-30 | 读书郎教育科技有限公司 | Ultrasonic communication interactive pen equipment |
| CN114860078A (en) * | 2022-05-03 | 2022-08-05 | 吉林大学 | Haptic feedback rendering method and device for virtual knob of vehicle-mounted terminal interface |
| WO2024250304A1 (en) * | 2023-06-09 | 2024-12-12 | 广州视源电子科技股份有限公司 | Control method and apparatus for touch-control panel, and electronic device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108563341B (en) | 2020-12-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108563341B (en) | A three-dimensional touch electronic pen with vibrotactile feedback and method | |
| US12353642B2 (en) | Multi-function stylus with sensor controller | |
| Dangxiao et al. | Haptic display for virtual reality: progress and challenges | |
| JP6651297B2 (en) | Haptic stylus | |
| CN101730874B (en) | Touch-free gesture-based input | |
| US7348968B2 (en) | Wireless force feedback input device | |
| US20130307829A1 (en) | Haptic-acoustic pen | |
| CN108431734B (en) | Haptic feedback for non-touch surface interaction | |
| JP6062621B2 (en) | Gesture recognition based on physical model | |
| US9430106B1 (en) | Coordinated stylus haptic action | |
| US20120127088A1 (en) | Haptic input device | |
| CN104898842B (en) | The wearable fingerstall type force haptic interaction device and implementation method of facing moving terminal | |
| CN105446481A (en) | Gesture based virtual reality human-machine interaction method and system | |
| CN110515459B (en) | Ultrasonic tactile feedback system and method for assisting blind person to perceive | |
| JP2015056183A (en) | Systems and methods for performing haptic conversion | |
| CN106598293B (en) | A three-dimensional large-space multi-channel pen-based interactive system | |
| JP2016186696A5 (en) | ||
| WO2022078495A1 (en) | Stylus and control method therefor, and electronic device | |
| KR101360980B1 (en) | Writing utensil-type electronic input device | |
| US20150177947A1 (en) | Enhanced User Interface Systems and Methods for Electronic Devices | |
| WO2017185502A1 (en) | Terminal, and method and apparatus for implementing tactile feedback on terminal | |
| US11086415B1 (en) | Haptic pen for an information handling system | |
| Nunez et al. | HapRing: A Wearable Haptic Device for 3D Interaction. | |
| CN115599229A (en) | Control method of touch pen and touch pen device | |
| KR101605740B1 (en) | Method for recognizing personalized gestures of smartphone users and Game thereof |
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 |