Linear motor, method and device for detecting oscillation starting direction of linear motor and electronic equipment

文档序号:365105 发布日期:2021-12-07 浏览:22次 中文

阅读说明:本技术 线性马达及其起振方向检测方法、装置和电子设备 (Linear motor, method and device for detecting oscillation starting direction of linear motor and electronic equipment ) 是由 罗斌 于 2021-10-11 设计创作,主要内容包括:本申请公开了一种线性马达及其起振方向检测方法、装置和电子设备,属于电子设备技术领域。其中,线性马达包括壳体、振动单元、驱动线圈及感应线圈,所述振动单元、所述驱动线圈及所述感应线圈均位于所述壳体内;所述驱动线圈及所述感应线圈沿所述振动单元的振动方向的相对两侧设置;所述线性马达还包括位于所述壳体内的弹性件,所述振动单元通过所述弹性件连接所述壳体,且所述振动单元通过所述弹性件在所述壳体内振动;当所述振动单元振动时,所述感应线圈与所述振动单元共同作用产生感应电动势,所述感应电动势用于确定所述振动单元的振动方向。(The application discloses a linear motor, a method and a device for detecting the starting vibration direction of the linear motor and electronic equipment, and belongs to the technical field of electronic equipment. The linear motor comprises a shell, a vibration unit, a driving coil and an induction coil, wherein the vibration unit, the driving coil and the induction coil are all positioned in the shell; the driving coil and the induction coil are arranged along two opposite sides of the vibration direction of the vibration unit; the linear motor also comprises an elastic piece positioned in the shell, the vibration unit is connected with the shell through the elastic piece, and the vibration unit vibrates in the shell through the elastic piece; when the vibration unit vibrates, the induction coil and the vibration unit act together to generate induced electromotive force, and the induced electromotive force is used for determining the vibration direction of the vibration unit.)

1. A linear motor is characterized by comprising a shell, a vibration unit, a driving coil and an induction coil, wherein the vibration unit, the driving coil and the induction coil are all positioned in the shell;

the driving coil and the induction coil are arranged along two opposite sides of the vibration direction of the vibration unit;

the linear motor also comprises an elastic piece positioned in the shell, the vibration unit is connected with the shell through the elastic piece, and the vibration unit vibrates in the shell through the elastic piece;

when the vibration unit vibrates, the induction coil and the vibration unit act together to generate induced electromotive force, and the induced electromotive force is used for determining the vibration direction of the vibration unit.

2. The linear motor of claim 1, wherein the induction coil comprises a first flexible circuit board having a looped trace;

the linear motor further includes a second flexible circuit board connected to the driving coil.

3. The linear motor of claim 2, wherein the housing comprises a bottom plate and a housing fastened to the bottom plate, the first flexible circuit board is disposed on a top of the housing, and the second flexible circuit board is disposed on a side of the bottom plate facing the housing.

4. The linear motor of claim 1, wherein the vibration unit further comprises a mass, the magnet is fixed within the mass, and the mass is connected to the housing through the elastic member.

5. A linear motor start-up direction detection method for detecting a start-up direction of a linear motor according to any one of claims 1 to 5, the method comprising:

applying a driving signal of a preset period to the linear motor;

acquiring induced electromotive force data of two ends of the induction coil;

and determining the starting vibration direction of the linear motor according to the induced electromotive force data.

6. The method of claim 5, wherein obtaining induced electromotive force data across the induction coil comprises:

after the driving signal stops, acquiring the direction and the waveform of the detected induced electromotive force at the two ends of the induction coil;

determining the starting direction of the linear motor according to the induced electromotive force, comprising:

determining the starting direction of the linear motor to be a first direction under the condition that the direction and the waveform of the detected induced electromotive force are the same as those of a preset electromotive force;

and under the condition that the direction and the waveform of the detected induced electromotive force are different from those of the preset electromotive force, determining that the starting vibration direction of the linear motor is a second direction.

7. A linear motor oscillation starting direction detection device, which is applied to an electronic apparatus including at least two linear motors according to any one of claims 1 to 4;

the device comprises:

the driving module is used for applying a driving signal with a preset period to the linear motor;

the acquisition module is used for acquiring induced electromotive force data at two ends of the induction coil;

and the determining module is used for determining the starting vibration direction of the linear motor according to the induced electromotive force data.

8. The detection apparatus according to claim 7, wherein the obtaining module is specifically configured to obtain a direction and a waveform of a detected induced electromotive force at two ends of the induction coil after the driving signal is stopped;

the determining module is specifically configured to determine that the starting direction of the linear motor is a first direction when the direction and the waveform of the detected induced electromotive force are the same as those of a preset electromotive force; and determining the starting direction of the linear motor to be a second direction under the condition that the direction and the waveform of the detected induced electromotive force are different from those of the preset electromotive force.

9. An electronic device comprising at least two linear motors according to any one of claims 1 to 4, further comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the linear motor start-up direction detection method according to any one of claims 6 to 8.

10. A readable storage medium storing thereon a program or instructions which, when executed by a processor, implement the steps of the linear motor start-up direction detection method according to claims 5 to 6.

Technical Field

The application belongs to the technical field of electronic equipment control, and particularly relates to a linear motor, a method and a device for detecting the starting vibration direction of the linear motor, and electronic equipment.

Background

With the development of communication technology, portable electronic products gradually enter people's lives.

The portable electronic products generally use a micro vibration motor for system feedback, such as incoming call prompt of mobile phone, vibration feedback of game machine, etc. Among them, the linear vibration motor is more and more popular with the terminal products because of the advantages of fine vibration, low noise, strong vibration, fast response time, etc.

To improve the vibration experience of electronic devices in the aspect of games and the like, more and more electronic devices use a dual linear motor. However, due to the limitation of factors such as the manufacturing process, the directions of the oscillation starting of the linear motors in the prior art are likely to be different, and the stereoscopic and directional experience of the vibration sense of the electronic device with the dual linear motors is poor.

The prior art does not have good improvement measures for the problems.

Disclosure of Invention

The embodiment of the application aims to provide a linear motor, a method and a device for detecting the starting direction of the linear motor and electronic equipment, and the problems that the starting direction of each linear motor in the electronic equipment cannot be effectively determined, the starting direction is inconsistent easily, and the stereoscopic property and the directivity of the vibration sense of the electronic equipment are influenced in the prior art can be solved.

In order to solve the technical problem, the present application is implemented as follows:

in a first aspect, an embodiment of the present application provides a linear motor, which includes a housing, a vibration unit, a driving coil, and an induction coil, where the vibration unit, the driving coil, and the induction coil are all located in the housing;

the driving coil and the induction coil are arranged along two opposite sides of the vibration direction of the vibration unit;

the linear motor also comprises an elastic piece positioned in the shell, the vibration unit is connected with the shell through the elastic piece, and the vibration unit vibrates in the shell through the elastic piece;

when the vibration unit vibrates, the induction coil and the vibration unit act together to generate induced electromotive force, and the induced electromotive force is used for determining the vibration direction of the vibration unit.

In a second aspect, an embodiment of the present application provides a linear motor start direction detection method, which is used for performing start direction detection on the above-mentioned linear motor, where the method includes:

applying a driving signal of a preset period to the linear motor;

acquiring induced electromotive force data of two ends of the induction coil;

and determining the starting vibration direction of the linear motor according to the induced electromotive force data.

In a third aspect, the embodiments of the present application provide a linear motor oscillation starting direction detection method, which is applied to an electronic device, where the electronic device includes at least two linear motors as described above;

the device comprises:

the driving module is used for applying a driving signal with a preset period to the linear motor;

the acquisition module is used for acquiring induced electromotive force data at two ends of the induction coil;

and the determining module is used for determining the starting vibration direction of the linear motor according to the induced electromotive force data.

In a fourth aspect, the present application provides an electronic device, which includes at least two linear motors as described above, and further includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.

In a fifth aspect, the present embodiments provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.

In a sixth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.

In the embodiment of the application, the linear motor comprises a shell, a vibration unit, a driving coil and an induction coil, wherein the vibration unit, the driving coil and the induction coil are all positioned in the shell; the driving coil and the induction coil are arranged along two opposite sides of the vibration direction of the vibration unit; the linear motor also comprises an elastic part positioned in the shell, the vibration unit is connected with the shell through the elastic part, and the vibration unit vibrates in the shell through the elastic part; when the vibration unit vibrates, the induction coil and the vibration unit act together to generate induced electromotive force, and the induced electromotive force is used for determining the vibration direction of the vibration unit. Among the above-mentioned mode linear motor, increase induction coil in the casing, and this induction coil sets up the relative both sides in the vibration direction of vibration unit respectively with the drive coil of drive vibration unit vibration, therefore can be when vibration unit vibrates, induction coil can produce induced electromotive force with vibration unit combined action, can determine vibration unit's vibration direction through this induced electromotive force, also can confirm linear motor's the direction of starting to vibrate, and then through regulation and control drive signal, can accurate control linear motor's vibration. Therefore, the method solves the problems that the prior art cannot effectively determine the starting vibration direction of each linear motor in the electronic equipment, the starting vibration direction is easily inconsistent, and the stereoscopic property and the directivity of the vibration sense of the electronic equipment are influenced.

Drawings

Fig. 1 is a schematic overall structural diagram of a linear motor provided in an embodiment of the present application;

fig. 2 is an explosion effect diagram of the linear motor in the embodiment of the present application;

FIG. 3 is a schematic diagram of the induced electromotive force generated in the induction coil in the embodiment of the present application;

FIG. 4 is a schematic diagram of the vibration displacement of the vibration unit after one cycle of the sinusoidal driving signal in the embodiment of the present application;

FIG. 5 is a flowchart illustrating steps of a method for detecting a start-up direction of a linear motor according to an embodiment of the present disclosure;

fig. 6 is a schematic structural diagram of a linear motor oscillation starting direction detection device according to an embodiment of the present application;

fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.

The apparent linear motor provided by the embodiment of the present application is described in detail by specific embodiments and application scenarios thereof with reference to the accompanying drawings.

Referring to fig. 1-2, the linear motor 10 includes a housing 11, a vibration unit 12, a driving coil 13 and an induction coil 14, wherein the vibration unit 12, the driving coil 13 and the induction coil 14 are all located in the housing;

the linear motor 10 further includes an elastic member 15 located in the housing 11, the vibration unit 12 is connected to the housing 11 through the elastic member 15, and when the vibration unit 12 is vibrated back and forth by an acting force in the same direction as or opposite to the elastic deformation direction of the elastic member 15, the elastic member can buffer the acting force, so that the vibration unit 12 can be vibrated stably in the housing 11;

in the present embodiment, the vibration unit 12 may be driven to vibrate when the driving coil 13 is energized. Specifically, the vibration unit 12 includes a magnet 121, and when the driving coil 13 is energized with an alternating current, the magnet 121 interacts with the driving coil 13 to deform the elastic member 15, and the vibration unit 12 vibrates in the housing 11 through the elastic member 15. Because the vibration unit 12 includes the magnet 121, when the driving coil 13 is energized with ac power, according to the left-hand rule, the driving coil 13 will generate an alternating electromagnetic field, and the magnetic field of the magnet 121 and the electromagnetic field generated by the driving coil 13 act to make the magnet 121 reciprocate, and drive the vibration unit 12 to overcome the resistance of the elastic member 15 to vibrate in the housing 11 to generate vibration, so as to make the elastic member 15 generate reciprocating deformation.

Optionally, the elastic element 15 includes a first elastic sheet 151 fixed on two sides of the mass by laser spot welding or the like, and a second elastic sheet 152 cooperating with the first elastic sheet 151 and fixed on the housing 11 by laser spot welding or the like. The elastic element 15 may be a spring, a leaf spring, or the like.

As shown in fig. 1, when the vibration unit 12 is in the motor stop state at the intermediate position, the vibration unit 12 is in the motor vibration state by being shifted from the intermediate position.

In the linear motor provided in the embodiment of the present application, the driving coil 13 and the induction coil 14 are disposed along two opposite sides of the vibration direction of the vibration unit 12, so that when the vibration unit 12 vibrates under the action of the electromagnetic field generated by the action of the driving coil 13, the induction coil 14 passively cuts the magnetic induction lines of the vibration unit 12, specifically, passively cuts the magnetic induction lines of the magnet 121 in the vibration unit 12. According to the law of electromagnetic induction, as shown in fig. 3, a part of the conductor of the closed circuit makes a cutting magnetic induction line motion in a magnetic field, and an induced electromotive force is generated in the conductor, so that when the vibration unit 12 vibrates, the induction coil 14 and the magnet 121 in the vibration unit 12 cooperate to generate an induced electromotive force.

Wherein, according to Faraday's law of electromagnetic induction formula: where E is induced electromotive force (V), n is the number of turns of the induction coil, and Δ Φ/Δ t is the rate of change of magnetic flux.

Since the magnet 121 in the linear motor 10 is fixed, the internal magnetic field strength is also uniform, and after the driving coil 13 stops supplying power, electromotive force is generated at both ends of the induction coil 14, the direction and waveform of the induced electromotive force are detected, and compared with the waveform of electromotive force preset in the storage medium, the starting direction of the linear motor can be detected.

Here, since the electromagnetic field generated by the driving coil 13 is the same when the driving voltage signals are the same, the magnetic body 121 and the vibration unit 12 are also acted the same, so that the vibration unit 12 vibrates in the same direction and amplitude; the induced electromotive force of the induction coil 14 is generated by the movement of the magnet 121, so that when the driving coil 13 receives the same driving voltage signal, the direction and magnitude of the induced electromotive force at the two ends of the induction coil 14 are also the same; when the driving voltage signals are different, the electromagnetic field generated by the driving coil 13 is different, and the action on the magnet 121 and the vibration unit 12 is different, so that the direction and amplitude of the vibration unit 12 are different, and the direction and magnitude of the induced electromotive force generated by the induction coil 14 under the action of the movement of the magnet 121 are different. Therefore, the vibration direction of the vibration unit 12 can be determined using the induced electromotive force generated on the induction coil 14.

Specifically, after the sinusoidal driving signal provided to the linear motor 10 for one cycle is stopped, the vibration unit 12 will continue to reciprocate for a period of time due to inertia, and the closed loop circuit in the induction coil 14 still cuts the magnetic induction line, so that induced electromotive force will be generated at both ends of the induction coil 14, and the starting direction of the linear motor 10 can be confirmed by detecting the direction and waveform of the induced electromotive force generated at both ends of the induction coil 14 during the residual vibration and comparing the detected direction and waveform with the direction and waveform of the electromotive force preset in the storage medium; if the oscillation starting requirement is not met, the direction of the driving voltage signal is synchronously adjusted, so that the oscillation starting direction of the linear motor 10 can be adjusted.

After a sinusoidal driving signal of one period is provided to the linear motor 10, the driving coil 13 generates an electromagnetic field and interacts with the magnet 121, so as to drive the linear motor 10 to drive the vibration unit 12 to move left and right or up and down to generate reciprocating vibration, and the vibration displacement calculation formula of the vibration unit is as follows:

wherein A is the maximum amplitude of the vibration unit, omega is the vibration angular velocity,is the phase.

After stopping the driving signal, the linear motor 10 enters into residual vibration, that is, the vibration unit 121 stops vibrating slowly from the maximum vibration amplitude due to inertia and damping. The residual vibration motion is damping vibration, and the vibration displacement can be calculated according to the following formula:

wherein A is the maximum amplitude of the vibration unit, omega is the vibration angular velocity,to the phase, δ is the attenuation coefficient.

In particular, referring to fig. 4, a schematic diagram of the vibration displacement of the vibration unit after supplying a sinusoidal driving signal of one cycle to the linear motor is shown.

In the residual vibration process of the linear motor 10, the induction coil 14 and the magnet 121 find out the relative displacement, that is, the induction coil 14 continuously cuts the magnetic induction line, and according to the law of electromagnetic induction, induced electromotive force is generated at the two ends of the induction coil 14, because in the residual vibration process, the displacement is attenuated along with cosine, the induced electromotive force is attenuated accordingly, and the calculation formula is as follows:

ζ=nBSωe-δtsinωt

wherein n is the number of turns of the induction coil, B is the magnetic field intensity of the magnet, S is the area of the induction coil for cutting the magnetic induction line, omega is the vibration angular velocity,to the phase, δ is the attenuation coefficient.

In the linear motor 10, the induction coil 4 is additionally arranged in the housing 11, the induction coil 14 and the driving coil 13 for driving the vibration unit 12 to vibrate are respectively arranged at two opposite sides of the vibration unit 12 in the vibration direction, therefore, when the vibration unit 12 vibrates, the induction coil 14 and the magnet 121 in the vibration unit 12 cooperate to generate an induced electromotive force, the vibration direction of the vibration unit 12, that is, the starting direction of the linear motor 10, can be determined by the induced electromotive force, and thus by regulating the driving signal, the vibration of the linear motor 10 can be accurately controlled, and the electronic device can separately process the driving signal and the feedback signal, thereby increasing the reaction speed, therefore, the problems that the prior art can not effectively determine the starting vibration direction of each linear motor in the electronic equipment, the starting vibration direction is inconsistent easily, and the stereoscopic property and the directivity of the vibration sense of the electronic equipment are influenced are solved.

Optionally, in an implementation manner, in the linear motor 10 provided in the embodiment of the present application, the induction coil 14 is a first flexible circuit board having a loop-shaped trace. That is, the flexible circuit board in a ring shape is used to generate induced electromotive force by interaction with the magnet 121 in the vibration unit 12, and the flexible circuit board is used to detect the direction and waveform of the induced electromotive force, so as to determine the starting direction of the linear motor 10.

Optionally, in an embodiment, the linear motor 10 further includes a second flexible circuit board 16, and the second flexible circuit board 16 is connected to the driving coil 13 and is configured to energize the driving coil 13 according to the received driving signal, so that the driving coil 13 generates an electromagnetic field, and the electromagnetic field is used to interact with the magnet 121 in the vibration unit 12 to vibrate the vibration unit 12. Specifically, the driving coil 13 is fixed to the second flexible circuit board 16 along the plane direction of the second flexible circuit board 16 by means of glue or the like, and the lead of the driving coil 13 is connected to the pad of the second flexible circuit board 16 by means of spot welding or the like.

Optionally, in an embodiment, the vibration unit 12 further includes a mass 122, the magnet 121 is fixed in the mass 122, and the mass 122 is connected to the housing 11 through the elastic member 15, so that the vibration inductance can be improved by the mass 122. Specifically, a hollow area is formed in the middle of the mass block 122, the magnet 121 is fixed in the hollow area by glue, and a pole piece 123 is fixed on the top of the mass block 122 by laser spot welding.

Alternatively, in one embodiment, the housing 11 includes a bottom plate 111 and a housing 112 fastened to the bottom plate 111, the first flexible circuit board is disposed on the top of the housing 112, and the second flexible circuit board 16 is disposed on the side of the bottom plate 111 facing the housing 112, so that the driving coil 13 and the induction coil 14 can be disposed along opposite sides of the vibration direction of the vibration unit 12, and interference of an electromagnetic field generated by the driving coil 13 with an induced electromotive force generated by the induction coil 14 can be minimized.

Optionally, in order to limit the vibration of the vibration unit 12 and avoid damage to the linear motor 10 due to an excessive vibration amplitude, limiting blocks 113 are further fixed to two ends of the bottom plate 111 by laser spot welding or the like.

The linear motor start-up direction detection method provided by the embodiment of the present application is used for detecting the start-up direction of the linear motor, where please refer to fig. 5, which shows a schematic flow diagram of the linear motor start-up direction detection method provided by the embodiment of the present application. As shown in fig. 5, the method may include steps 100 to 300.

In an embodiment of the present application, the method is applied to an electronic device, the electronic device includes the linear motor, and the electronic device may be a mobile electronic device such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a Personal Digital Assistant (PDA), or may be a non-mobile electronic device such as a Personal Computer (PC), a Television (TV), a teller machine, or a self-service machine, as long as the electronic device is provided with the linear motor.

Step 100, applying a driving signal with a preset period to the linear motor.

In this step, an ac voltage signal with a preset period is applied to the linear motor, so that the driving coil is supplied with ac power and generates an electromagnetic field, and thus the magnet in the vibration unit is displaced, the vibration unit is driven to be displaced as a whole, and the induction coil is driven to cut the magnetic induction line of the magnet, thereby generating induced electromotive force at the two ends of the induction coil.

And 200, acquiring induced electromotive force data of two ends of the induction coil.

In this step, when the vibration of the vibration motor is continuously detected by using a chip or the like, the direction and waveform of the induced electromotive force at both ends of the induction coil are determined, thereby determining the induced electromotive force data at both ends of the induction coil.

And 300, determining the starting vibration direction of the linear motor according to the induced electromotive force data.

In this step, because the induced electromotive force data is directly related to the vibration direction of the linear motor, the induced electromotive force generated by the induction coil can be used to determine the vibration direction of the vibration unit at each moment, that is, the vibration starting direction of the linear motor.

In the method for detecting the starting vibration direction of the linear motor provided by the embodiment of the application, induced electromotive force is generated at two ends of an additionally arranged induction coil through the whole process of detecting the vibration of the vibration unit, and the mode and the waveform of the induced electromotive force are obtained, so that the vibration direction of each moment of the vibration unit is determined based on the induced electromotive force data, and the starting vibration direction of the linear motor can also be determined.

Optionally, in an embodiment, the step 100 specifically includes: a sinusoidal drive signal is applied to the drive coil for one period.

In the above embodiment, because the linear motor is supplied with a driving signal for one cycle, the motor vibration can reach the maximum vibration value, and then the residual vibration motion is entered, that is, the vibration is stopped slowly from the maximum vibration amplitude due to the inertia and the damping effect. Therefore, the vibration direction of the linear motor can be determined based on the induced electromotive force data only by applying a cycle of positive selection driving signals to the driving coil and detecting and acquiring the direction and the waveform of the induced electromotive force generated at the two ends of the induction coil when the vibration unit vibrates.

Specifically, after a drive signal for one period of the linear motor is stopped, the vibration unit continuously reciprocates for a period of time due to inertia, a closed loop circuit in the induction coil still passively cuts the magnetic induction line, induced electromotive force is generated at two ends of the induction coil, and the starting vibration direction of the linear motor can be confirmed by detecting the direction and waveform of the induced electromotive force generated at two ends of the induction coil in the residual vibration process and comparing the direction and waveform with the direction and waveform of the electromotive force preset in a storage medium; if the oscillation starting requirement is not met, the direction of the driving voltage signal is synchronously adjusted, and the oscillation starting direction of the linear motor can be adjusted.

Optionally, in an implementation manner, in the linear motor start-up direction detection method provided in this embodiment of the present application, the step 200 includes a step 201, and the step 300 includes steps 301 to 302.

And step 201, after the driving signal stops, acquiring the direction and waveform of the detected induced electromotive force at the two ends of the induction coil.

In this step, after the driving signal of the preset period to the linear motor is stopped, the vibration unit continuously reciprocates for a period of time due to inertia, and the closed loop circuit in the induction coil still passively cuts the magnetic induction line, and induced electromotive forces are generated at the two ends of the induction coil, so that the direction and waveform of the detected induced electromotive forces at the two ends of the induction coil can be obtained by a chip and the like after the driving signal is stopped.

Step 301, determining the starting direction of the linear motor as a first direction under the condition that the direction and the waveform of the detected induced electromotive force are the same as those of a preset electromotive force;

and 302, determining the starting direction of the linear motor to be a second direction under the condition that the direction and the waveform of the detected induced electromotive force are different from those of preset electromotive force.

In the above steps 301 and 302, the direction and waveform of the induced electromotive force generated at the two ends of the induction coil during the residual vibration process are detected and compared with the direction and waveform of the electromotive force preset in the storage medium, so as to confirm the starting direction of the linear motor.

For example, if the direction and waveform of the detected induced electromotive force are the same as those of the preset electromotive force, the start-up direction of the linear motor may be marked as positive start-up (+); if the direction and waveform of the detected induced electromotive force are different from those of the preset electromotive force, the starting direction of the linear motor can be marked as negative direction starting (-).

If the starting vibration direction of the corresponding linear motor is judged not to accord with the starting vibration requirement, the starting vibration direction of the linear motor can be adjusted by adjusting the direction of the driving voltage signal.

In the above embodiment, the direction and waveform of the detected induced electromotive force at both ends of the induction coil are detected only after the driving signal is stopped, and the direction and waveform of the detected induced electromotive force are compared with the direction and waveform of the preset electromotive force, so that the starting direction of the linear motor can be detected quickly.

It should be noted that, in the linear motor start-up direction detection method provided in the embodiment of the present application, the execution main body may be an electronic device, or a linear motor start-up direction detection module in the electronic device, for executing the linear motor start-up direction detection method. In the embodiment of the present application, a method for controlling loading performed by an electronic device is taken as an example to describe the method for detecting the starting vibration direction of a linear motor provided in the embodiment of the present application.

Referring to fig. 6, a schematic structural diagram of a linear motor start-up direction detection apparatus provided in the embodiment of the present application is shown, and as shown in fig. 6, a linear motor start-up direction detection apparatus 60 provided in the embodiment of the present application is applied to an electronic device, where the electronic device includes at least two linear motors, and the apparatus includes:

a driving module 61 for applying a driving signal of a preset period to the linear motor;

an obtaining module 62, configured to obtain induced electromotive force data at two ends of the induction coil;

and the determining module 63 is configured to determine the starting vibration direction of the linear motor according to the induced electromotive force data.

Optionally, in the apparatus, the driving module 61 is specifically configured to apply a sinusoidal driving signal of one cycle to the driving coil.

Optionally, in the apparatus, the obtaining module 62 is specifically configured to obtain a direction and a waveform of a detected induced electromotive force at two ends of the induction coil after the driving signal stops;

the determining module 63 is specifically configured to determine that the oscillation starting direction of the linear motor is the first direction when the direction and the waveform of the detected induced electromotive force are the same as those of a preset electromotive force; and determining the starting direction of the linear motor to be a second direction under the condition that the direction and the waveform of the detected induced electromotive force are different from those of the preset electromotive force.

The linear motor oscillation starting direction detection device 60 in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.

The linear motor start-up direction detection device 60 in the embodiment of the present application may be a device having an operation system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.

The linear motor oscillation starting direction detection device 60 provided in the embodiment of the present application can implement each process implemented by the linear motor oscillation starting direction detection device in the method embodiment of fig. 5, and is not described here again to avoid repetition.

In the embodiment of the application, the induced electromotive force is generated at the two ends of the additionally arranged induction coil through the whole process of detecting the vibration of the vibration unit, and the mode and the waveform of the induced electromotive force are obtained, so that the vibration direction of each moment of the vibration unit is determined based on the induced electromotive force data, and the starting vibration direction of the linear motor can also be determined.

Optionally, an embodiment of the present application further provides an electronic device, including at least two linear motors as described above, and further including a processor, a memory, and a program or an instruction stored in the memory and executable on the processor, where the program or the instruction is executed by the processor to implement each process of the embodiment of the linear motor oscillation starting direction detection method, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here.

It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.

Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

The electronic device 700 includes, but is not limited to: a radio frequency unit 7001, a network module 7002, an audio output unit 7003, an input unit 7004, a sensor 7005, a display unit 7006, a user input unit 7007, an interface unit 7008, a memory 7009, a processor 7010, and the like.

Those skilled in the art will appreciate that the electronic device 700 may further comprise a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 7010 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.

Wherein, the sensor 7005, in the present embodiment, comprises a linear motor;

a processor 7010 for applying a driving signal of a preset period to the linear motor; acquiring induced electromotive force data of two ends of the induction coil; and determining the starting vibration direction of the linear motor according to the induced electromotive force data.

According to the electronic device provided by the embodiment of the application, whether the power amplifier is in an unstable working state is judged through the feedback signal of the coupler and the input power of the power amplifier in real time, and when the power amplifier is determined to be in the unstable working state, the power amplifier is supplied with power according to an average power tracking power supply mode, and/or the input power of the power amplifier is reduced, so that the power amplifier is free from the unstable working state, and the power amplifier is prevented from being damaged due to overload work. Therefore, the method solves the problem that the prior art cannot effectively prevent the power amplifier from being damaged due to overload work of the power amplifier caused by the change of the working environment in the ET power supply mode.

Optionally, the processor 7010 is specifically configured to apply a sinusoidal driving signal of one cycle to the driving coil.

Optionally, the processor 7010 is specifically configured to obtain, after the driving signal stops, a direction and a waveform of the detected induced electromotive force at the two ends of the induction coil; determining the starting direction of the linear motor to be a first direction under the condition that the direction and the waveform of the detected induced electromotive force are the same as those of a preset electromotive force; and under the condition that the direction and the waveform of the detected induced electromotive force are different from those of the preset electromotive force, determining that the starting vibration direction of the linear motor is a second direction.

The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the linear motor start-up direction detection method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.

The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.

The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the embodiment of the linear motor oscillation starting direction detection method, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.

It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.

While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电磁动力装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!