One kind being based on maglev dip measuring device and measurement method
Technical field
The present invention relates to field of measuring technique, especially angle detection field, and in particular to one kind is inclined based on maglev
Angle measuring device and measurement method.
Background technique
Obliquity sensor is also referred to as dipmeter, inclinometer, level meter or inclinometer, is frequently used for inclining for measurement tested surface
Angle, electric slope angle sensor of the obliquity sensor from past simple bubble obliquity sensor till now, is automation and electronics
The result of measuring technique development.Obliquity sensor as a kind of detection instrument, be widely used in be suitably applied factory, massif,
Railway, tunnel, ship industry, machinery, construction industry, medical industry, bridge laying, dam construction, automobile industry, nuclear industry and aviation boat
The industries such as its industry.
Traditional obliquity sensor, such as " solid pendulum " formula inertia device, " liquid pendulum " formula inertia device, " Liquid Pendulum " formula
Can inertia device be limited by sensitivity, therefore, further increase the sensitivity of obliquity sensor, extremely urgent.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is to provide one kind to be based on maglev sensitivity more
High dip measuring device and measurement method.
To achieve the above objectives, according to the first aspect of the invention, it provides a kind of based on the measurement of maglev inclination angle
Device comprising:
Pedestal, the pedestal is equipped with shell, and the pedestal defines a datum level;
At least two coil groups, each coil group includes two coils, and the coil group is set in the shell;
Suspending permanent magnet is used under the magnetive attraction of coil group be suspended in above the coil group;
Hall sensor is used to measure the offset of the suspending permanent magnet;
Control device controls each coil group coil using pulse-width modulation method according to the offset of suspending permanent magnet
Electric current be suspended in the suspending permanent magnet steadily in the shell, and the suspending permanent magnet with the datum level at pre-
If angle,
The control device is also used to control the average duty ratio in the current unit time according to each coil group coil
Calculate the angle of the straight line and horizontal plane on the datum level where each coil group.
It based on the above technical solution, include storage unit and computing unit in the control device;
The parameter for determining the calculation formula of the angle is at least stored in the storage unit:
θ=a*arcsin (p1/p2)+b,
Wherein θ is angle, and p1, p2 are respectively the average duty ratio in each coil group in two coil unit time, and a is
Proportionality coefficient, b are correction coefficient;
The computing unit calls the storage single according to the average duty ratio in each coil unit time in coil group
Corresponding calculation formula parameter in member, and calculated using the average duty ratio of each coil group coil control current unit time
The angle.
Based on the above technical solution, the computing unit is also connected with output unit,
The output unit output is as straight where each coil group on the calculated datum level of the computing unit
The angle of line and horizontal plane.
Based on the above technical solution, it is equipped with and is mounted on the pedestal for providing below the suspending permanent magnet
The auxiliary permanent magnets of suspending power, and Hall sensor is located at the center of the coil group.
Based on the above technical solution, the Hall sensor is linear hall sensor.
According to the second aspect of the invention, it provides one kind and is based on maglev inclination angle measurement method,
Hall sensor measurement is suspended in the offset of the suspending permanent magnet in coil group;
Control device controls each coil group coil using pulse-width modulation method according to the offset of suspending permanent magnet
Electric current is suspended in the suspending permanent magnet steadily in the coil group, and the suspending permanent magnet and the coil group plane
At preset angle;
The control device calculates institute also according to the average duty ratio of each coil group coil control current unit time
State the angle of the straight line and horizontal plane where each coil group in coil group plane.
Based on the above technical solution, output unit output is by the calculated each coil group institute of the control device
Straight line and horizontal plane angle.
Based on the above technical solution, the calculation method of the angle are as follows:
θ=a*arcsin (p1/p2)+b,
Wherein θ is angle, and p1, p2 are respectively the average duty ratio in each coil group in two coil unit time, and a is
Proportionality coefficient, b are correction coefficient.
Based on the above technical solution, the Hall sensor is linear hall sensor.
Compared with the prior art, the advantages of the present invention are as follows:
The present invention provides one kind based on maglev dip measuring device and measurement method, and magnetic suspension principle is applied and is being inclined
In angular measurement, in view of zero resistance of magnetic suspension, sufficiently small inclination angle can also destroy the equilibrium state of suspending permanent magnet, with the time
Accumulation, the offset of the suspending permanent magnet also gradually roll up biggish offset by small, will eventually be more than Hall sensor
Sensitivity, and then control device starts the electric current of control coil stablize the suspending permanent magnet in control device, that is, improves and incline
The sensitivity of angle measuring device;Control device is controlled relative to the offset of pedestal using pulse width modulation method each according to suspending permanent magnet
The electric current of coil group coil is suspended in the suspending permanent magnet steadily in the shell, and control device is according to control coil
Average duty ratio calculates inclination angle in the unit time of electric current.
Detailed description of the invention
Fig. 1 is a kind of based on maglev dip measuring device in the embodiment of the present invention.
Fig. 2 is a kind of electrical connection schematic diagram based on maglev dip measuring device in the embodiment of the present invention.
Fig. 3 is one of electric appliance connection schematic diagram of the control device in the embodiment of the present invention.
Fig. 4 is the two of the electric appliance connection schematic diagram of the control device in the embodiment of the present invention.
Fig. 5 is a kind of based on maglev dip measuring device in the embodiment of the present invention.
Fig. 6 is a kind of based on maglev dip measuring device in the embodiment of the present invention.
Fig. 7 is a kind of flow chart of the measurement method based on maglev dip measuring device in the embodiment of the present invention.
In figure: 1- pedestal, 10- shell, 2- coil group, 21- coil group one, 22- coil group two, 3- suspending permanent magnet, 4-
Hall sensor, 5- control device, 51- storage unit, 52- computing unit, 53- output unit, 6- auxiliary permanent magnets.
Specific embodiment
Clear, complete description is carried out below with reference to technical solution of the attached drawing to embodiment each in the present invention, it is clear that institute
The embodiment of description is only a part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiment of the present invention,
Those of ordinary skill in the art's obtained all other embodiment without making creative work belongs to this
Invent protected range.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical",
The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to
Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation,
It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " suspension ", " second ",
" third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, and example is according to may be fixed connection or may be dismantle connection, or integral connection;
It can be mechanical connection, be also possible to be electrically connected;It can be directly connected, can also indirectly connected through an intermediary, it can be with
It is the connection inside two elements.It should be pointed out that all attached drawings are illustrative expression.For the common skill of this field
For art personnel, the concrete meaning of above-mentioned term in the present invention can be understood with concrete condition.
The present invention is described in further detail below through specific implementation examples and in conjunction with the accompanying drawings.
As shown in Fig. 1~2, it includes pedestal 1, two-phase that one kind of the present embodiment, which is based on maglev dip measuring device,
Mutually vertical coil group 2, suspending permanent magnet 3, Hall sensor 4 and control device 5;The pedestal 1 is equipped with shell 10, and institute
It states pedestal 1 and defines a datum level A, for the pedestal 1 for being placed on tested surface, datum level A is parallel with tested surface;Coil group
2, suspending permanent magnet 3, Hall sensor 4 are mounted in the shell 10, wherein magnetive attraction of the suspending permanent magnet 3 in coil group 2
Under be suspended in 2 top of the coil group, two coil groups 2 are parallel to the horizontal plane for one in the present embodiment, another
The angle that a angle, that is, datum level A formed with the horizontal plane and the horizontal plane are formed;The Hall sensor 4 is located at institute
The center for stating coil group 2 is used to measure angle of the suspending permanent magnet 3 in 2 magnetic field of coil group, the Hall sensor
4 be linear hall sensor;The control device 5 is electrically connected with coil group 2 and Hall sensor 4, and according to suspending permanent magnet 3
Offset hang the suspending permanent magnet 3 steadily using the electric current that pulse-width modulation method controls each 2 coil of coil group
Float in the shell 10, and the suspending permanent magnet 3 and the datum level A, at preset angle, the control device 5 is also used
According to two coils on the average duty ratio calculating datum level in two 2 coil of coil group control current unit time
The angle of straight line and horizontal plane where group 2.
In the present embodiment, as shown in fig. 6, two coil groups 2 are respectively coil group 1 and coil group 2 22, control device
5 using pulse-width modulation method control the current induced magnetic field on each coil to make suspension permanent magnet body 3 keep suspended state,
The average duty ratio in the current unit time is controlled respectively according to the coil in two coil groups 2 of control to calculate coil group 1
With the angle on 2 22 direction of coil group with horizontal plane B;In the present embodiment, the control device 5 is single-chip microcontroller or DSP.
As shown in figs. 34, wherein Fig. 3 is one of electric appliance connection schematic diagram of the control device in the embodiment of the present invention 1,
Fig. 4 is the two of the electric appliance connection schematic diagram of the control device in the embodiment of the present invention 1.It is single comprising storage in the control device 5
Member 51 at least stores the parameter for determining the calculation formula of the angle in the storage unit 51:
θ=a*arcsin (p1/p2)+b,
Wherein θ is angle, and p1, p2 are respectively the average duty ratio in each coil group 2 in two coil unit time, a
For proportionality coefficient, b is correction coefficient.
It further, include computing unit 52 in the control device 5, the computing unit 52 is according in coil group 2
Average duty ratio in each coil control current unit time calls corresponding calculation formula parameter in the storage unit 51,
And the angle is calculated using the average duty ratio in each 2 coil of coil group control current unit time.
The computing unit 52 is also connected with output unit 53, and the output of output unit 53 is calculated by the computing unit 52
The angle of straight line and horizontal plane B on the datum level A out where each coil group 2, wherein the output unit 53 passes through
Interface is connected with the control device 5 or the output unit 53 is contained in the control device 5 and the computing unit 52
It is connected.
As shown in figure 5, preferred embodiments of the present invention are to provide one kind based on maglev dip measuring device, this implementation
Example it is similar with the structure of the above embodiments and working principle, and with the above embodiments the difference is that, the present embodiment
It is equipped with and is mounted on the pedestal 1 for providing the auxiliary permanent magnets 6 of suspending power below the suspending permanent magnet 3, and Hall passes
Sensor 4 is located at the center of the coil group 2.Auxiliary permanent magnets 6 are that suspending permanent magnet 3 provides suspending power, then for maintaining
The stabilization of suspending permanent magnet 3 need the electric current of flowing through coil group 2 just accordingly than no auxiliary permanent magnets 6 in the case where it is few,
To which more power saving is energy saving.
As described in Figure 7, a kind of to be based on maglev inclination angle measurement method, the inclination angle measurement method is applied to above-mentioned appoint
It anticipates in a kind of inclination angle sensing device;The measurement method includes step S1~S3:
Step S1: Hall sensor 4 measure the suspending permanent magnet 3 that is suspended in coil group 2 offset;
Step S2: control device 5 controls each coil group using pulse-width modulation method according to the offset of suspending permanent magnet 3
The electric current of 2 coils is suspended in the suspending permanent magnet 3 steadily in the coil group 2, and the suspending permanent magnet 3 and institute
The plane at 2 place of coil group is stated into preset angle, wherein 2 plane of coil group is parallel with the datum level A;
Step S3: the control device 5 controls the average duty in the current unit time according to each 2 coil of coil group
Than calculating the straight line at 2 place of each coil group in 2 plane of coil group and the angle of horizontal plane, the calculating side of the angle
Method are as follows:
θ=a*arcsin (p1/p2)+b,
Wherein θ is angle, and p1, p2 are respectively the average duty ratio in each coil group 2 in two coil unit time, a
For proportionality coefficient, b is correction coefficient.
In the present embodiment, the Hall sensor 4 is linear hall sensor.
As a kind of evolutionary approach of the present embodiment, the measurement method further includes step S4:
Step S4: the output of output unit 53 by where the calculated each coil group 2 of the control device 5 institute straight line and
The angle of horizontal plane.
Further, as shown in figs. 34, the control device 5 includes storage unit 51 and computing unit 52;It is described to deposit
The parameter for determining the calculation formula of the angle is stored in storage unit 51:
θ=a*arcsin (p1/p2)+b,
Wherein θ is angle, and p1, p2 are respectively the average duty ratio in each coil group (2) in two coil unit time,
A is proportionality coefficient, and b is correction coefficient;
Computing unit 52 is according to described in the average duty ratio calling in coil each in the coil group 2 control current unit time
Corresponding calculation formula parameter in storage unit 51, and utilize being averaged in every 2 coil of coil group control current unit time
Duty ratio calculates the angle.
Wherein, the proportionality coefficient and the correction coefficient are in the inclination angle sensing device using preceding being demarcated.
It is provided in this embodiment a kind of based on maglev dip measuring device and its measurement method, when pedestal 1 is placed on
When on tested surface, the suspending permanent magnet 3 and datum level A makes suspending permanent magnet 3 due to the variation in magnetic field at preset angle
Stable state destroy, therefore cause the suspending permanent magnet 3 can not in a stable state and shift, with
The offset of the accumulation of time, the suspending permanent magnet 3 also becomes larger, will eventually be more than Hall sensor 4 sensitivity, one
As for, since the sensitivity of sensor limits, common obliquity sensor will not be measured when inclination angle is very small, and this
In embodiment no matter pedestal inclination angle it is how small, suspending permanent magnet 3 will not automatically keep balance, it is necessary to using control device control
Just it is able to maintain balance, the time used in neutral buoyancy permanent magnet 3 is set as the unit time, and the control device 5 is according to suspension permanent magnet
The offset of iron 3 makes the suspending permanent magnet 3 steadily using the electric current of two coils in pulse-width modulation method control coil group 2
It is suspended in the shell 10, meanwhile, the control device 5 is accounted for also according to two coil being averaged for electric current of control in coil group 2
Angle of the sky than straight line and horizontal plane where calculating each coil group 2.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from
Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention
Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.