[go: up one dir, main page]

CN205829601U - Switch module and audio decoder - Google Patents

Switch module and audio decoder Download PDF

Info

Publication number
CN205829601U
CN205829601U CN201620379255.8U CN201620379255U CN205829601U CN 205829601 U CN205829601 U CN 205829601U CN 201620379255 U CN201620379255 U CN 201620379255U CN 205829601 U CN205829601 U CN 205829601U
Authority
CN
China
Prior art keywords
hall sensors
knob
pcba
audio
magnetic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201620379255.8U
Other languages
Chinese (zh)
Inventor
何俊鸿
王子力
冯彬
邓声亮
张旭明
曹中
孙运雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201620379255.8U priority Critical patent/CN205829601U/en
Application granted granted Critical
Publication of CN205829601U publication Critical patent/CN205829601U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Rotary Switch, Piano Key Switch, And Lever Switch (AREA)

Abstract

The utility model discloses a kind of switch module and audio decoder, belong to control field, described switch module includes PCBA and the knob being oppositely arranged with PCBA, PCBA is provided with N number of Hall element, in knob, the side towards PCBA is provided with magnetic device, i-th Hall element in N number of Hall element is positioned at the magnetic field range of magnetic device, and other Hall elements in N number of Hall element are for being positioned at the magnetic field range of magnetic device in the rotary course of knob;Solve and use the switch of contact to need switch to stir the shorter problem in service life causing switch so that control circuit to be switched over;Reach to make different Hall elements be positioned at the magnetic field range of magnetic device by rotary knob, by the magnetoelectric effect of Hall element, different control circuits is turned on or off, without by toggle switch, control circuit is switched over, improve the service life of switch module.

Description

Switch assembly and audio decoder
Technical Field
The present disclosure relates to the field of control, and in particular, to a switch module and an audio decoder.
Background
The audio decoder is configured to convert a digital audio signal into an analog audio signal, and the audio decoder may receive the digital audio signal input by multiple sound sources (e.g., a CD, a computer, a mobile phone, etc.) in different audio input manners, for example, receive the digital audio signal input by the CD in a coaxial input manner, and receive the digital audio signal input by the computer in a USB (Universal Serial Bus) input manner; the audio decoder decodes the received digital audio signal to obtain an analog audio signal, and outputs the analog audio signal to different use scenes by using different audio output modes, for example, the analog audio signal is output to a sound box by using a line output mode, and the analog audio signal is output to an earphone jack by using an earphone low-gain output mode.
The audio decoder comprises a plurality of different control circuits, when the different control circuits are in conducting state, the audio decoder uses different audio input modes or audio output modes, and the audio decoder also comprises a switch for conducting or breaking the control circuits in the audio decoder. When the audio decoder works, the switch is connected into a certain control circuit to enable the control circuit to be in a conducting state, the audio decoder uses an audio input mode or an audio output mode corresponding to the control circuit, the switch is connected into another control circuit to conduct the other control circuit by toggling the switch, the audio decoder is switched to use another audio input mode or another audio output mode, for example, the control circuit A corresponds to a line output mode, the control circuit B corresponds to an earphone low-gain output mode, the switch is connected into the control circuit A, the audio decoder uses the line output mode to output an analog audio signal, the toggle switch enables the switch to be disconnected from the control circuit A and connected into the control circuit B, and the audio decoder uses the earphone low-gain output mode to output the analog audio signal.
The switch used in the audio decoder is in a contact type, when the control circuit in the audio decoder is switched, the switch is switched into different control circuits by shifting the switch handle, and the service life of the switch is short.
SUMMERY OF THE UTILITY MODEL
In order to solve the problem of short service life of a touch switch controlled by toggling a handle, the present disclosure provides a switch assembly and an audio decoder. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a switch assembly comprising:
a PCBA (Printed Circuit Board + Assembly) and a knob disposed opposite to the PCBA;
n Hall sensors are arranged in the PCBA, a magnetic device is arranged on one side, facing the PCBA, of the knob, the ith Hall sensor of the N Hall sensors is located within the magnetic field range of the magnetic device, other Hall sensors of the N Hall sensors are used for being located within the magnetic field range of the magnetic device in the rotating process of the knob, N is larger than or equal to 2, and i is larger than or equal to 1 and smaller than or equal to N.
Optionally, the knobs include a first knob and a second knob, the first knob being located below the PCBA and the second knob being located above the PCBA.
Optionally, the N hall sensors arranged in the PCBA include a first group of hall sensors and a second group of hall sensors, the first group of hall sensors includes N1 hall sensors, the second group of hall sensors includes N2 hall sensors, N1 is greater than or equal to 2, and N2 is greater than or equal to 2.
Optionally, a first magnetic device is arranged in the first knob, and a second magnetic device is arranged in the second knob;
the i1 th Hall sensor in the first group of Hall sensors is positioned in the magnetic field range of the first magnetic device, and other Hall sensors in the first group of Hall sensors are used for being positioned in the magnetic field range of the first magnetic device in the rotating process of the first knob, wherein i1 is more than or equal to 1 and is more than or equal to N1;
the i2 th Hall sensor in the second group of Hall sensors is located in the magnetic field range of the second magnetic device, and other Hall sensors in the second group of Hall sensors are used for being located in the magnetic field range of the second magnetic device in the rotating process of the second knob, wherein i2 is more than or equal to 1 and more than or equal to N2.
Optionally, the hall sensors included in the first group of hall sensors are used for accessing the control circuit corresponding to the audio input mode, and the hall sensors included in the second group of hall sensors are used for accessing the control circuit corresponding to the audio output mode;
or,
the Hall sensors in the first group of Hall sensors are used for being connected into the control circuits corresponding to the audio output modes, and the Hall sensors in the second group of Hall sensors are used for being connected into the control circuits corresponding to the audio input modes.
Optionally, the i1 th hall sensor is configured to send a first control signal to the processor when the hall sensor is located within the magnetic field range of the first magnetic device, where the first control signal is configured to instruct to receive an input audio signal according to an audio input mode indicated by a control circuit connected to the i1 th hall sensor;
the i2 Hall sensors are used for sending a second control signal to the processor when the Hall sensors are positioned in the magnetic field range of the second magnetic device, and the second control signal is used for indicating that an audio signal is output according to the audio output mode indicated by the control circuit connected with the i2 Hall sensors;
or,
the i1 Hall sensor is used for sending a second control signal to the processor when the Hall sensor is positioned in the magnetic field range of the first magnetic device, and the second control signal is used for indicating that an audio signal is output according to an audio output mode indicated by a control circuit connected with the i1 Hall sensor;
the i2 th Hall sensor is used for sending a first control signal to the processor when the sensor is positioned in the magnetic field range of the second magnetic device, and the first control signal is used for indicating that the input audio signal is received according to the audio input mode indicated by the control circuit connected with the i2 th Hall sensor.
Optionally, the switch assembly further comprises:
a potentiometer PCBA and a third knob;
the potentiometer PCBA comprises a potentiometer component;
the third knob is connected with a rotating shaft of a potentiometer component on the potentiometer PCBA;
and the third knob is used for triggering the potentiometer assembly to send a volume control signal to the processor by rotating the rotating shaft of the potentiometer assembly when receiving the rotating operation, and the volume control signal is used for indicating the adjustment of the volume of the output audio signal.
According to a second aspect of embodiments of the present disclosure, there is provided an audio decoder comprising: a processor and a switch assembly, wherein the switch assembly is connected to the processor,
the switch assembly is a switch assembly as in the first aspect.
Optionally, the processor is configured to receive a first control signal sent by the switch component, receive an input audio signal according to an audio input mode indicated by the first control signal, and/or receive a second control signal sent by the switch component, and output the audio signal according to an audio output mode indicated by the second control signal.
Optionally, the processor is further configured to receive a volume control signal sent by the switch component, and adjust the volume of the output audio according to the volume control signal.
The embodiment of the utility model provides a beneficial effect that technical scheme brought is:
the switch component comprises a PCBA and a knob arranged opposite to the PCBA, wherein N Hall sensors are arranged in the PCBA, a magnetic device is arranged on one side, facing the PCBA, of the knob, the ith Hall sensor in the N Hall sensors is located in the magnetic field range of the magnetic device, and other Hall sensors in the N Hall sensors are used for being located in the magnetic field range of the magnetic device in the rotating process of the knob; the problem that the service life of a switch is short due to the fact that the switch needs to be toggled to switch a control circuit when the contact switch is used is solved; the magnetic field that makes different hall sensor be located magnetic device through the rotatory knob has been reached, and the magnetoelectric effect through hall sensor switches on or breaks off different control circuit, and need not switch control circuit through toggle switch, has improved switch assembly's life.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating the construction of a switch assembly according to an exemplary embodiment;
FIG. 2 is a schematic diagram of a switch assembly according to another exemplary embodiment;
FIG. 3 is a schematic diagram of a switch assembly according to another exemplary embodiment;
FIG. 4 is a schematic top view of a switch assembly shown in accordance with another exemplary embodiment;
FIG. 5 is a schematic top view of a switch assembly shown in accordance with another exemplary embodiment;
fig. 6 is a schematic diagram illustrating the structure of an audio decoder according to an exemplary embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram illustrating the construction of a switch assembly according to an exemplary embodiment, the switch assembly 10 including: a PCBA (Printed Circuit Board + Assembly) 110 and a knob 120 disposed opposite to the PCBA 110.
PCBA110 is provided with N Hall sensors, N is greater than or equal to 2, and as shown in FIG. 1, PCBA110 is exemplarily provided with 3 Hall sensors, namely Hall sensor 111, Hall sensor 112 and Hall sensor 113.
A magnetic device 121 is disposed on a side of knob 120 facing PCBA110, and a magnetic device is disposed below knob 120 when knob 120 is positioned above PCBA 110; when knob 120 is positioned below PCBA110, magnetic devices are positioned above knob 120.
A schematic diagram of a configuration in which knob 120 is positioned above PCBA110 and magnetic device 121 is disposed below knob 120 is shown schematically in FIG. 1.
In the switch module shown in fig. 1, 3 hall sensors provided on PCBA110 are provided on the upper side of PCBA110 toward knob 120, but in other exemplary examples, 3 hall sensors provided on PCBA110 may be provided on the lower side of PCBA110, or a plurality of hall sensors may be provided on the upper side of PCBA110 and the other hall sensors may be provided on the lower side of PCBA110, and the present embodiment is not limited thereto.
The ith hall sensor of the N hall sensors is located within the magnetic field range of the magnetic device, and the other hall sensors of the N hall sensors are used for being located within the magnetic field range of the magnetic device in the rotation process of the knob, i is greater than or equal to 1 and less than or equal to N, wherein when the magnetic device is located above or below the ith hall sensor, the ith hall sensor is located within the magnetic field range of the magnetic device, and fig. 1 exemplarily shows that the hall sensor 112 is located within the magnetic field range of the magnetic device 121.
To sum up, the switch component provided by the embodiment of the present disclosure includes a PCBA and a knob disposed opposite to the PCBA, the PCBA is provided with N hall sensors, one side of the knob facing the PCBA is provided with a magnetic device, an ith hall sensor of the N hall sensors is located within a magnetic field range of the magnetic device, and other hall sensors of the N hall sensors are used for being located within the magnetic field range of the magnetic device during a rotation process of the knob; the problem that the service life of a switch is short due to the fact that the switch needs to be toggled to switch a control circuit when the contact switch is used is solved; the magnetic field that makes different hall sensor be located magnetic device through the rotatory knob has been reached, and the magnetoelectric effect through hall sensor switches on or breaks off different control circuit, and need not switch control circuit through toggle switch, has improved switch assembly's life.
Fig. 2 is a schematic structural diagram illustrating a switch assembly according to another exemplary embodiment, the switch assembly 20 including: PCBA 210, first knob 220, second knob 230, potentiometer PCBA240, and third knob 250.
In the present embodiment, the knobs disposed opposite the PCBA 210 include a first knob 220 and a second knob 230, the first knob 220 being located above the PCBA 210, the second knob 230 being located below the PCBA 210; alternatively, the first knob 220 is positioned below the PCBA 210 and the second knob 230 is positioned above the PCBA 210, as illustrated in fig. 2 by way of example with the first knob 220 positioned below the PCBA 210 and the second knob 230 positioned above the PCBA 210.
The switch assembly 20 also includes a light transmissive member 260 and a housing 270.
The first knob 220 is disposed on the housing 270 and can rotate, the housing 270 can be a plastic housing, a metal housing or a housing made of other materials, and the material and shape of the housing 270 are not limited in this embodiment.
The PCBA 210 is positioned above the first knob 220 and below the second knob 230, and the second knob 230 can be rotated.
Optionally, the potentiometer PCBA240 is a circular PCBA, the PCBA 210 is an annular PCBA, and outside the potentiometer PCBA240, the PCBA 210 and the potentiometer PCBA240 are located on the same plane, the PCBA 210 and the potentiometer PCBA240 are connected through an FPC (flexible circuit board), and both the PCBA 210 and the potentiometer PCBA240 are electrically connected to a processor, which is not shown in fig. 2.
The potentiometer PCBA240 and PCBA 210 may be located on different planes, and the potentiometer PCBA240 and PCBA 210 may have other shapes, which is not limited in this embodiment.
A third knob 250 is further disposed above the second knob 230, the third knob 250 can rotate, a light-transmitting member 260 is included between the second knob 230 and the third knob 250, and is used for realizing connection between the second knob 230 and the third knob 250, the light-transmitting member 260 can also be another component for structural connection, the third knob 250 can also be located below the second knob 230 or below the first knob 220, which is not limited in this embodiment, and only the structural schematic diagram shown in fig. 2 is used for description.
As shown in fig. 3, there is shown a schematic diagram of the structure of the portion of the switch assembly 20 including the second knob 230, the potentiometer PCBA240, the PCBA 210 and the first knob 220.
N hall sensors are arranged in the PCBA 210, the N hall sensors arranged in the PCBA 210 comprise a first group of hall sensors and a second group of hall sensors, the first group of hall sensors comprise N1 hall sensors, and the second group of hall sensors comprise N2 hall sensors. Optionally, N1 is more than or equal to 2, and N2 is more than or equal to 2.
The Hall sensors in the first group of Hall sensors are used for being connected into the control circuit corresponding to the audio input mode, and the Hall sensors in the second group of Hall sensors are used for being connected into the control circuit corresponding to the audio output mode; or the Hall sensors in the first group of Hall sensors are used for being connected into the control circuit corresponding to the audio output mode, and the Hall sensors in the second group of Hall sensors are used for being connected into the control circuit corresponding to the audio input mode.
It should be noted that the N hall sensors disposed in the PCBA 210 may all be disposed on one side of the PCBA 210, or a plurality of hall sensors are disposed on one side of the PCBA and the other hall sensors are disposed on the other side of the PCBA, in one possible implementation, the first group of hall sensors is disposed on one side of the PCBA facing the first knob, and the first group of hall sensors is disposed on the lower side of the PCBA 210; the second group of hall sensors is disposed on a side of the PCBA facing the second knob, and the second group of hall sensors is disposed on an upper side of the PCBA 210.
It should be noted that the switch assembly 20 may further include a plurality of PCBAs, one PCBA is provided with N1 hall sensors, and the other PCBA is provided with N2 hall sensors, which is not limited in this embodiment.
Alternatively, N-6, N1-2, and N2-4. In the present embodiment, the example in which all of the 6 hall sensors provided in the PCBA 210 are provided on the upper side of the PCBA 210 will be described.
The first knob 220 is provided with a first magnetic device, the second knob 230 is provided with a second magnetic device, in this embodiment, the first knob 220 is provided with a first magnetic device 221 at the upper part, and the second knob is provided with a second magnetic device 231 at the lower part, and the magnetic devices are magnetic metals such as iron, cobalt, nickel, and their alloys or other magnetic substances, which is not limited in this embodiment.
As shown in fig. 4, which illustratively shows a schematic top view of the PCBA 210, the first magnetic component 221 is located below the PCBA 210; as shown in fig. 5, which shows another schematic top view of the PCBA 210, the second magnetic device 231 is located above the PCBA 210, and in the embodiment shown in fig. 4 or 5, the hall sensors 211, 212, 213, 214, 215, and 216 are included in the first set of hall sensors.
The i1 th Hall sensor in the first group of Hall sensors is located in the magnetic field range of the first magnetic device, and other Hall sensors in the first group of Hall sensors are used for being located in the magnetic field range of the first magnetic device in the rotating process of the first knob, wherein i1 is more than or equal to 1 and is more than or equal to N1.
Optionally, the vertical distance between the first magnetic device 221 and the i1 th hall sensor is less than or equal to 3 mm, and when the first magnetic device is located below the i1 th hall sensor, the i1 th hall sensor is located within the magnetic field range of the first magnetic device.
Optionally, an included angle between any two hall sensors in the first group of hall sensors is greater than or equal to 30 degrees, so that when the i1 th hall sensor in the first group of hall sensors is located within the magnetic field range of the first magnetic device, the other hall sensors are not located within the magnetic field range of the first magnetic device, and during the rotation of the first knob, the rotation range of the first knob is within the angle range included by the first group of hall sensors, as shown in fig. 4, the first magnetic device 221 rotates within the included angle range between the hall sensor 211 and the hall sensor 212.
The i2 th Hall sensor in the second group of Hall sensors is located in the magnetic field range of the second magnetic device, and other Hall sensors in the second group of Hall sensors are used for being located in the magnetic field range of the second magnetic device in the rotating process of the second knob, wherein i2 is more than or equal to 1 and more than or equal to N2.
Optionally, the vertical distance between the second magnetic device 231 and the i2 th hall sensor is less than or equal to 3 mm, and when the second magnetic device is located above the i2 th hall sensor, the i2 th hall sensor is located within the magnetic field range of the second magnetic device.
Optionally, an included angle between any two hall sensors in the second group of hall sensors is greater than or equal to 30 degrees, so that when the i2 th hall sensor in the second group of hall sensors is located within the magnetic field range of the second magnetic device, the other hall sensors are not located within the magnetic field range of the second magnetic device, and during the rotation of the second knob, the knob range of the second knob is within the angle range included by the second group of hall sensors, as shown in fig. 5, the second magnetic device 231 rotates within the included angle range between the hall sensor 213 and the hall sensor 216.
Optionally, the vertical distance between the first magnetic device 221 and the second magnetic device 231 is greater than or equal to 5 mm to reduce magnetic interference between the first magnetic device 221 and the second magnetic device 231.
In a first possible implementation manner, the hall sensors included in the first group of hall sensors are used for accessing the control circuit corresponding to the audio input manner, the hall sensors included in the second group of hall sensors are used for accessing the control circuit corresponding to the audio output manner, and a connection manner of the control circuit is not shown in fig. 2.
The i1 th Hall sensor is used for sending a first control signal to the processor when the sensor is positioned in the magnetic field range of the first magnetic device, and the first control signal is used for indicating that the input audio signal is received according to the audio input mode indicated by the control circuit connected with the i1 th Hall sensor.
Optionally, the N1 hall sensors included in the first group of hall sensors are used for accessing to control circuits corresponding to different audio input modes, where the audio input mode includes at least one of a coaxial input mode, an optical fiber input mode and a USB (universal serial Bus) input mode, and the USB input mode further includes at least one of a PC (personal computer) input mode and a mobile terminal input mode, where the PC input mode is an input mode used by a portable computer, a desktop computer, or the like when inputting an audio signal, and the mobile terminal input mode is an input mode used by a mobile terminal such as a mobile phone, a tablet computer, or the like when inputting a signal.
In an exemplary embodiment, as shown in fig. 4, the hall sensor 211 is configured to be connected to a control circuit a corresponding to a coaxial input mode, the hall sensor 212 is configured to be connected to a control circuit B corresponding to a fiber input mode, the first magnetic device 221 is located below the hall sensor 211, the hall sensor 211 is located within a magnetic field range of the first magnetic device 221, the control circuit a is in an on state, when the first knob is rotated to rotate the first magnetic device to below the hall sensor 212, the hall sensor 211 is not located within the magnetic field range of the first magnetic substance 221, the control circuit a is off, and the hall sensor 212 is located within the magnetic field range of the first magnetic substance 221, so that the control circuit B is on.
The i2 th Hall sensor is used for sending a second control signal to the processor when the sensor is located in the magnetic field range of the second magnetic device, and the second control signal is used for indicating that an audio signal is output according to the audio output mode indicated by the control circuit connected with the i2 th Hall sensor.
Optionally, N2 hall sensors included in the second group of hall sensors are used for accessing to control circuits corresponding to different audio output modes, where the audio output mode includes at least one of a line output mode, an earphone low-gain output mode, an earphone gain output mode, and an earphone high-gain output mode.
In an exemplary embodiment, as shown in fig. 5, the hall sensor 214 is configured to be connected to the control circuit C corresponding to the low-gain output of the earphone, the hall sensor 216 is configured to be connected to the control circuit D corresponding to the high-gain output of the earphone, the second magnetic device 231 is located above the hall sensor 214, the hall sensor 214 is located within the magnetic field range of the second magnetic device, the control circuit C is in an on state, when the second knob is rotated to rotate the second magnetic device 231 to above the hall sensor 216, the hall sensor 214 is not located within the magnetic field range of the second magnetic device 231, the control circuit C is turned off, and the hall sensor 216 is located within the magnetic field range of the second magnetic substance 231 to turn on the control circuit D.
In a second possible implementation manner, the hall sensors included in the first group of hall sensors are used for accessing the control circuit corresponding to the audio output manner, the hall sensors included in the second group of hall sensors are used for accessing the control circuit corresponding to the audio input manner, and a connection manner of the control circuit is not shown in fig. 2.
The i1 Hall sensor is used for sending a second control signal to the processor when the Hall sensor is positioned in the magnetic field range of the first magnetic device, and the second control signal is used for indicating that an audio signal is output according to an audio output mode indicated by a control circuit connected with the i1 Hall sensor;
the i2 th Hall sensor is used for sending a first control signal to the processor when the sensor is positioned in the magnetic field range of the second magnetic device, and the first control signal is used for indicating that the input audio signal is received according to the audio input mode indicated by the control circuit connected with the i2 th Hall sensor.
The specific implementation manner may be combined with the first implementation manner, and this embodiment is not described in detail again.
As shown in fig. 4, a schematic top view of the potentiometer PCBA240 is also shown, the potentiometer PCBA240 includes a potentiometer component 241, the potentiometer component 241 includes a rotating shaft 242, the potentiometer component 241 is used for accessing a volume control circuit for outputting audio signals, and when the rotating shaft 242 is rotated to change the resistance of the potentiometer component 241, the volume of the output audio signals is controlled.
The third knob 250 of the switch assembly 20 shown in fig. 2 is connected to the rotating shaft 242 of the potentiometer assembly 241, and when the third knob 250 is rotated, the third knob 250 receives the rotation operation, and the rotating shaft 242 of the potentiometer assembly 241 is rotated to trigger the potentiometer assembly 241 to send a volume control signal to the processor, wherein the volume control signal is used for indicating the adjustment of the volume of the output audio signal.
It should be noted that the first knob, the second knob and the third knob are independent from each other.
To sum up, the switch component provided by the embodiment of the present disclosure includes a PCBA and a knob disposed opposite to the PCBA, the PCBA is provided with N hall sensors, one side of the knob facing the PCBA is provided with a magnetic device, an ith hall sensor of the N hall sensors is located within a magnetic field range of the magnetic device, and other hall sensors of the N hall sensors are used for being located within the magnetic field range of the magnetic device during a rotation process of the knob; the problem that the service life of a switch is short due to the fact that the switch needs to be toggled to switch a control circuit when the contact switch is used is solved; the magnetic field that makes different hall sensor be located magnetic device through the rotatory knob has been reached, and the magnetoelectric effect through hall sensor switches on or breaks off different control circuit, and need not switch control circuit through toggle switch, has improved switch assembly's life.
Fig. 6 is a schematic diagram illustrating a structure of an audio decoder according to an exemplary embodiment, where the audio decoder 60 includes: a switch assembly 610.
The switch module 610 is the switch module shown in fig. 1 or fig. 2, and fig. 6 illustrates the switch module 610 as shown in fig. 2.
The audio decoder 60 further includes a processor, not shown in fig. 6, electrically connected to the N hall sensors and the potentiometer assembly in the switch assembly 610.
Optionally, the processor included in the audio decoder 60 is an audio processing chip, or a combination of an audio processing chip and a processing circuit.
And the processor is used for receiving the first control signal sent by the switch component 610 and receiving an input audio signal according to an audio input mode indicated by the first control signal, and/or is used for receiving the second control signal sent by the switch component 610 and outputting the audio signal according to an audio output mode indicated by the second control signal.
And the processor is used for decoding the received input audio signal, generating an audio signal needing to be output and outputting the audio signal.
Optionally, the input audio signal received by the processor is a digital audio signal, and the audio signal generated by the processor and required to be output is an analog audio signal.
The processor is further configured to receive a volume control signal sent by the switch component 610, and adjust the volume of the output audio according to the volume control signal.
To sum up, the switch component in the audio decoder provided by the embodiment of the present disclosure includes a PCBA and a knob disposed opposite to the PCBA, the PCBA is provided with N hall sensors, one side of the knob facing the PCBA is provided with a magnetic device, an ith hall sensor of the N hall sensors is located within a magnetic field range of the magnetic device, and other hall sensors of the N hall sensors are used for being located within the magnetic field range of the magnetic device during the rotation process of the knob; the problem that the service life of a switch is short due to the fact that the switch needs to be toggled to switch a control circuit when the contact switch is used is solved; the magnetic field that makes different hall sensor be located magnetic device through the rotary knob has been reached, and the magnetoelectric effect through hall sensor switches on or breaks off different control circuit, and need not switch control circuit through toggle switch, has improved switch module's among the audio decoder life.
The above embodiment numbers of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the present invention, and any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention should be included within the protection scope of the present invention.

Claims (10)

1. A switch assembly, comprising:
assembling a printed circuit board PCBA and a knob arranged opposite to the PCBA;
the rotary knob is characterized in that N Hall sensors are arranged in the PCBA, a magnetic device is arranged on one side, facing the PCBA, of the rotary knob, the ith Hall sensor of the N Hall sensors is located in the magnetic field range of the magnetic device, other Hall sensors of the N Hall sensors are used for being located in the magnetic field range of the magnetic device in the rotating process of the rotary knob, N is larger than or equal to 2, and i is larger than or equal to 1 and smaller than or equal to N.
2. The switch assembly of claim 1, wherein the knob comprises a first knob and a second knob, the first knob being located below the PCBA and the second knob being located above the PCBA.
3. The switch assembly of claim 2,
the N Hall sensors arranged in the PCBA comprise a first group of Hall sensors and a second group of Hall sensors, the first group of Hall sensors comprise N1 Hall sensors, the second group of Hall sensors comprise N2 Hall sensors, N1 is more than or equal to 2, and N2 is more than or equal to 2.
4. The switch assembly of claim 3, wherein the first knob has a first magnetic device disposed therein and the second knob has a second magnetic device disposed therein;
the i1 th Hall sensor in the first group of Hall sensors is positioned in the magnetic field range of the first magnetic device, and other Hall sensors in the first group of Hall sensors are used for being positioned in the magnetic field range of the first magnetic device in the rotating process of the first knob, wherein i1 is more than or equal to 1 and is more than or equal to N1;
the i2 th Hall sensor in the second group of Hall sensors is located in the magnetic field range of the second magnetic device, and other Hall sensors in the second group of Hall sensors are used for being located in the magnetic field range of the second magnetic device in the rotating process of the second knob, wherein i2 is more than or equal to 1 and is more than or equal to N2.
5. The switch assembly of claim 4,
the Hall sensors in the first group of Hall sensors are used for being connected into the control circuit corresponding to the audio input mode, and the Hall sensors in the second group of Hall sensors are used for being connected into the control circuit corresponding to the audio output mode;
or,
the Hall sensors in the first group of Hall sensors are used for being accessed into the control circuits corresponding to the audio output modes, and the Hall sensors in the second group of Hall sensors are used for being accessed into the control circuits corresponding to the audio input modes.
6. The switch assembly of claim 5,
the i1 Hall sensors are used for sending a first control signal to the processor when the Hall sensors are positioned in the magnetic field range of the first magnetic device, and the first control signal is used for indicating that the input audio signals are received according to the audio input mode indicated by the control circuit connected with the i1 Hall sensors;
the i2 Hall sensors are used for sending a second control signal to the processor when the Hall sensors are located in the magnetic field range of the second magnetic device, and the second control signal is used for indicating that an audio signal is output according to an audio output mode indicated by a control circuit connected with the i2 Hall sensors;
or,
the i1 Hall sensors are used for sending a second control signal to the processor when the Hall sensors are positioned in the magnetic field range of the first magnetic device, and the second control signal is used for indicating that an audio signal is output according to an audio output mode indicated by a control circuit connected with the i1 Hall sensors;
the i2 th Hall sensor is used for sending a first control signal to the processor when the sensor is located in the magnetic field range of the second magnetic device, and the first control signal is used for indicating that the input audio signal is received according to the audio input mode indicated by the control circuit connected with the i2 th Hall sensor.
7. The switch assembly of claim 1, further comprising:
a potentiometer PCBA and a third knob;
the potentiometer PCBA comprises a potentiometer component;
the third knob is connected with a rotating shaft of a potentiometer component on the potentiometer PCBA;
and the third knob is used for triggering the potentiometer assembly to send a volume control signal to the processor by rotating the rotating shaft of the potentiometer assembly when receiving the rotating operation, and the volume control signal is used for indicating the volume of the output audio signal to be adjusted.
8. An audio decoder, characterized in that the audio decoder comprises: a processor and a switch component, wherein the switch component is connected with the processor,
the switch assembly is as claimed in any one of claims 1 to 7.
9. Audio decoder according to claim 8,
the processor is configured to receive a first control signal sent by the switch component and receive an input audio signal according to an audio input mode indicated by the first control signal, and/or receive a second control signal sent by the switch component and output an audio signal according to an audio output mode indicated by the second control signal.
10. Audio decoder according to claim 8,
the processor is further configured to receive a volume control signal sent by the switch component, and adjust the volume of the output audio according to the volume control signal.
CN201620379255.8U 2016-04-28 2016-04-28 Switch module and audio decoder Active CN205829601U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201620379255.8U CN205829601U (en) 2016-04-28 2016-04-28 Switch module and audio decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201620379255.8U CN205829601U (en) 2016-04-28 2016-04-28 Switch module and audio decoder

Publications (1)

Publication Number Publication Date
CN205829601U true CN205829601U (en) 2016-12-21

Family

ID=58149113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201620379255.8U Active CN205829601U (en) 2016-04-28 2016-04-28 Switch module and audio decoder

Country Status (1)

Country Link
CN (1) CN205829601U (en)

Similar Documents

Publication Publication Date Title
JP4712524B2 (en) Input device and electronic equipment
CN101424954B (en) Magnetic audio volume control, connector system and method
US20090011793A1 (en) Flash Memory Cell Phone With Integrated Male And Female Connectors
WO2009056916A1 (en) Electronic device utilizing impedance and/or resistance identification to identify an accessory device
US20090195502A1 (en) Pointing Device
JP2009514129A (en) Socket assembly
US8070494B2 (en) Universal connector and electronic device using the same
US20070263884A1 (en) Audio Mixer Apparatus
JP4995008B2 (en) Input device and electronic device using the same
CN205829601U (en) Switch module and audio decoder
CN103096208B (en) Stereo microphone device
US8407496B2 (en) Computer system with a host power switch mounted on a monitor thereof
US9411368B2 (en) External module, electronic device and method for driving external module
CN101750850B (en) Switching mechanism and electronic device with the switching mechanism
US20080227503A1 (en) Mobile communication device and method of controlling the same
CN204066710U (en) A kind of rotary large power, electrically musical instrument emitter
EP1696313B1 (en) An audio signal switching apparatus
CN105491481A (en) Audio equipment
CN101645946A (en) Rotating element of mobile telephone, mobile telephone and method for applying rotating element to mobile telephone
CN101995950A (en) Portable electronic device and external keyboard
KR100953967B1 (en) Method and apparatus for controlling encoder switch of notebook computer
CN212874984U (en) Bidirectional data sharing transmission line
JP3168525U (en) Input devices that can be connected in multiple switches
JP4379142B2 (en) Multidirectional operation switch and remote control transmitter using the same
JP4397295B2 (en) Input device

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Patentee after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Patentee before: Guangzhou KuGou Networks Co., Ltd.