Summary of the invention
This utility model provides a kind of player with direction-pointing function.
According to an aspect of this utility model, the player of band direction-pointing function is provided, comprising:
Microcontroller,
Program that is connected with microcontroller and solid-state data storage store player operation control sequence and reach and the relevant data of direction navigation,
The magnetic direction detecting unit, its detection input to said microcontroller with the relevant data of player magnetic direction of living in,
The MP3 processor receives the data of the current direction of living in of player that said microcontroller obtains according to the relevant data of said magnetic direction functionally, calls navigating audio data relevant with this bearing data in said program and the solid-state data storage,
Audio port output circuit interface, the navigating audio data that the receive said MP3 processor line output of going forward side by side.
In some embodiments, the magnetic direction detecting unit comprises geomagnetic sensor.
In some embodiments, the magnetic direction detecting unit also comprises the acceleration of gravity pick off.
In some embodiments, also comprise: lithium battery, electric power management circuit and battery charge interface, electric power management circuit is connected with battery charge interface, lithium battery, and electric power management circuit is connected with MP 3 processors.
In some embodiments, also comprise: USB interface that is connected with the MP3 processor and operation push-button circuit.
The player of this utility model is gathered the residing bearing data information of player through micro-control unit and magnetic direction detecting unit; Carry out navigation processing by MP 3 processors; By the inner audio power amplifying circuit of MP 3 processors simulated audio signal being amplified the back again exports from audio signal output circuit interface; Drive the acoustical signal that earphone can be discerned simulated audio signal conversion adult ear, thereby the new mode that realizes guide through voice suggestion is provided.
The specific embodiment
As shown in Figure 1; Be the structural representation of the player of band direction-pointing function in this utility model one embodiment, the player of band direction-pointing function comprises: magnetic direction detecting unit 1, microcontroller 2, MP3 processor 3, audio port output circuit interface 4 and program and solid-state data storage 5.
MP 3 processors 3 are connected with microcontroller 2, audio port output circuit interface 4 and program and solid-state data storage 5.Microcontroller 2 is connected with magnetic direction detecting unit 1.The data terminal of MP 3 processors 3 is connected with the data output end of microcontroller 2, receives the bearing data of the output of microcontroller 2.The data terminal of MP3 processor 3 is connected with the data terminal of program and solid-state data storage 5, from program and solid-state data storage 5, calls speech data.The audio signal output end of MP3 processor 3 is connected with the input of audio port output circuit interface 4, realizes the broadcast to voice data through playback equipments such as earphones.
In one embodiment, magnetic direction detecting unit 2 comprises geomagnetic sensor 11, and to detect the magnetic direction data of player, promptly player is with respect to the angle orientation data message in magnetic field of the earth.
In addition and since player on user installation or wear and possibly have different positions or direction, for example be worn over head when lasting, can cause the magnetic direction data also can change along with the pitching variation of head.For overcome that such variation causes to the user detection deviation of magnetic direction practically, magnetic direction detecting unit 2 also can comprise acceleration of gravity pick off 12.What acceleration transducer 12 was gathered is the inclination data information of player, and the correction of magnetic direction is promptly carried out in the skew of the level orientation angle-data that the geomagnetic sensor that tilts to cause because of player in order to assisted calibration or compensation is gathered.
Microcontroller 2 adopts 16 single-chip microcomputers of RL78/G13 series of Renesas.Receive the image data of magnetic direction detecting unit 1.In this example, by acceleration of gravity pick off 11, the geomagnetic sensor 12 common collections of accomplishing the bearing data of player.
Geomagnetic sensor 12 can adopt the digital compass HMC5883L of Honeywell company.Acceleration transducer 12 can adopt the acceleration transducer BMA150 of BOSCH company.Stored the required application data of player button operation in program and the solid-state data storage 5, like the necessary program of player work, solid-state data (like multi-medium data and speech data).Microcontroller 2 will be sent to MP3 processor 3 travel direction navigation processing after will being handled by the bearing data that magnetic direction detecting unit 1 is gathered.
A kind of processing method of microcontroller 2 is: obtain the geomagnetic field component X of three directions of reading device position from geomagnetic sensor 11, and Y, Z obtains the magnetic field amount X of three directions from acceleration of gravity pick off 12
1, Y
1, Z
1,
X2=X*CosQ+Y*SinQ*SinP-Z*CosP*SinQ
Y2=Y*CosP+Z*SinP
θ=tan
-1(Y2/X2)
θ be reading device with respect to the positive arctic of earth deflection angle in the clockwise direction, span is 0~359 degree, θ is after overcorrect, it is the positive east of 90 degree representatives that 0 degree represent direct north, θ, θ is that represent Due South, θ be 270 to spend and represent positive wests to 180 degree.
For example: obtain X from geomagnetic sensor 11, Y, Z magnetic-field component difference 175 ,-40,87 gets X1 from acceleration of gravity pick off 12, Y1, Z1 magnetic field amount difference 0.0004 ,-0.0004,1.0004, the first step is calculated the elevation angle Q of reading device on the locus and is rolled angle P
Substitution calculates:
Q=0.00039984
P=0.00039984;
Second step was revised geomagnetic sensor 331 at X, the magnetic-field component on the Y direction
X2=X*cosQ+Y*sinP*sinQ-Z*cosP*sinQ
Y2=Y*cosP+Z*sinP
The substitution data get:
X2=0.01919232
Y2=39.96521
The 3rd step was calculated orientation, reading device place
θ=tan
-1(Y2/X2)
θ=-1.570316 (radian value)
θ=θ*180/3.14
θ=-90.01812
θ=-90 degree
If θ<0
θ=360+ θ then
θ=269.9819
The substitution updating formula:
θ=(359-θ+90)%360
θ=179.0181
The face that draws the user according to the angle of θ is towards south.
If X2=0, Y2>0
Then the θ value is 90
The substitution updating formula:
θ=(359-θ+90)%360
θ=0
The face that draws the user according to the angle of θ is towards direct north.
If X2=0, Y2<0
Then the θ value is 270
The substitution updating formula:
θ=(359-θ+90)%360
θ=180
The face that draws the user according to the angle of θ towards Due South to.
The ATJ331X family chip of MP 3 processors 3 employing Zhuhai square power IC design company limiteies.The voice data information that the bearing data information that microcontroller 2 sends MP3 processor 3 to and program and solid-state data storage are 5 li is corresponding one by one.The real-time bearing data information that MP 3 processors 3 transmit according to microcontroller 2 is called to be kept at correspondingly in program and the solid-state data storage 5 has a voice data that direction is described content; This voice data can be through 4 outputs of audio output circuit interface; Convert audio signal (analogue signal) to after the processing through MP3 processor 3 inside, export through audio output circuit interface 4 by MP 3 processors 3 inner audio power amplifying circuits again.This audio signal also can be changed the acoustical signal that adult's ear can be discerned through voice playing device such as earphone, mikes, thereby has realized having the broadcast that direction is described the voice data of content.
In addition, the player of band direction-pointing function also can further comprise: the electric power management circuit 6, USB interface 9 and the operation push-button circuit 10 that are connected with MP 3 processors 3.Electric power management circuit 6 can adopt the mu balanced circuit of 3.3V and the Charge Management integrated circuit that model is KB4540, is connected with lithium battery 7 and battery charge interface 8.
If when MP 3 processors 3 sent the instruction of confirming direction, MP 3 processors 3 were confirmed direction to microcontroller 2 requests to the user through operation push-button circuit 10.Microcontroller 2 control acceleration of gravity pick offs 11 and geomagnetic sensor 12 carry out the collecting work of data.
USB interface 9 provides interface for player and updating data.Operation push-button circuit 10 by resistor voltage divider circuit with touch button and form.Operation push-button circuit 10 interfaces are handled port with the MP3 processor data and are linked to each other, and the user can import instruction thus, thereby realize the operation of user to the player corresponding function.
As shown in Figure 2, lithium battery 7 is microcontroller 2, magnetic direction detecting unit 1 and 3 power supplies of MP 3 processors through electric power management circuit 6.
Above-described only is some embodiments of this utility model; Should be pointed out that for the person of ordinary skill of the art, under the prerequisite of the creation design that does not break away from this utility model; Can also make other distortion or improvement, these all belong to the protection domain of this utility model.