Audio switching circuit and method
By using multi-knife and multi-throw switch and magnetic induction sensor to automatically switch the charging status and audio status at the charging interface of the wearable smart device, the problem of not being able to use the audio function when the Bluetooth headset is exhausted is solved, and the audio function is switched is realized, saving Cost and improve user experience and compatibility.
Patent Information
- Application Number
- CN202411038378.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-15
AI Technical Summary
Due to the wireless Bluetooth technology, wearable smart devices use wireless Bluetooth technology, users cannot use the audio function when the Bluetooth headset is exhausted, resulting in inconvenience in use.
Design an audio switching circuit, using multi-knife and multi-throw switch and magnetic induction sensor to automatically switch the charging status and audio state of the device at the charging interface, realize the switching of audio functions without adding audio interface, saving production costs and improving user experience .
Without adding an audio interface, switching of audio functions is achieved, saving production costs, and improving user experience and the compatibility of audio switching circuits.
Smart Images

Figure CN118972753A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wearable intelligent devices, and further to an audio switching circuit and method. Background Art
[0002] At present, most wearable smart devices are becoming more and more functional, resulting in increasingly tight structures. Therefore, wearable smart devices no longer provide traditional 3.5mm headphone jacks in design, but use wireless Bluetooth technology to transmit audio signals to achieve lightness and simplicity of the device. However, this design choice brings new challenges: when the Bluetooth headset runs out of power, users will face the dilemma of being unable to use it, which brings a lot of inconvenience to users. Summary of the invention
[0003] In order to solve the above technical problems, the present application provides an audio switching circuit and method to realize audio functions without adding an audio interface.
[0004] In a first aspect, the present application provides an audio switching circuit for a wearable smart device, comprising: a multi-pole multi-throw switch and a charging interface; the first common end of the multi-pole multi-throw switch is connected to the power end of the charging interface, and the second common end of the multi-pole multi-throw switch is connected to the ground end of the charging interface; the normally closed end corresponding to the first common end and the normally closed end corresponding to the second common end are both connected to the power charging circuit on the wearable smart device, and the normally open end corresponding to the first common end and the normally open end corresponding to the second common end are both connected to the audio codec circuit on the wearable smart device; when the audio line is connected to the charging interface, the first common end and the second common end are switched from the corresponding normally closed end to the normally open end, so that the wearable smart device switches from the charging state to the audio state; when the charging line is connected to the charging interface, the first common end and the second common end are switched from the corresponding normally open end to the normally closed end, so that the wearable smart device switches from the audio state to the charging state.
[0005] The above audio switching circuit uses a multi-pole multi-throw switch to switch the charging state and audio state of the wearable smart device when the audio line and the charging line are connected to the charging interface. Without adding an audio interface, the audio function is realized, which saves the production cost of the wearable smart device and improves the user experience.
[0006] In one implementation, a sensor for detecting magnetic induction intensity is installed on the wearable smart device; the sensor is used to send the collected magnetic induction intensity data at the charging interface to the processor of the wearable device; when the magnetic induction intensity data meets a first preset condition, a first instruction is generated; the first control input end and the second control input end of the multi-pole multi-throw switch respectively receive the first instruction, and the first instruction is used to switch the first common end and the second common end from the corresponding normally closed ends to the normally open ends, so that the wearable smart device switches from the charging state to the audio state.
[0007] In one implementation, the multi-pole multi-throw switch is a four-pole double-throw switch; the normally closed end corresponding to the first common end is connected to the power pin of the power charging circuit, and the normally open end corresponding to the first common end is connected to the left channel pin of the audio codec circuit; the normally closed end corresponding to the second common end is connected to the ground pin of the power charging circuit, and the normally open end corresponding to the second common end is connected to the ground pin of the audio codec circuit; the third common end of the four-pole double-throw switch is connected to the negative data transmission port of the charging interface, and the fourth common end of the four-pole double-throw switch is connected to the positive data transmission port of the charging interface; the normally closed end corresponding to the third common end is connected to the negative data transmission pin of the power charging circuit, and the normally open end corresponding to the third common end is connected to the right channel pin of the audio codec circuit; the normally closed end corresponding to the fourth common end is connected to the positive data transmission pin of the power charging circuit, and the normally open end corresponding to the fourth common end is connected to the microphone pin of the audio codec circuit.
[0008] In one implementation, when the magnetic induction intensity data meets a first preset condition, the first instruction is further used to switch the third common terminal and the fourth common terminal from corresponding normally closed terminals to normally open terminals.
[0009] The above audio switching circuit, when the number of ports of the charging interface is increased, uses a four-pole double-throw switch to switch the charging state and audio state of the wearable smart device, so as to realize the audio function of the wearable smart device, and further improves the compatibility of the audio switching circuit.
[0010] In one implementation, the multi-pole multi-throw switch is a double-pole double-throw switch.
[0011] In one implementation, the charging interface is a magnetic charging interface.
[0012] In one implementation, the wearable smart device is a smart watch.
[0013] In one implementation, when the magnetic induction intensity data meets a second preset condition, the processor generates a second instruction; the first control input terminal and the second control input terminal of the multi-pole multi-throw switch respectively receive the second instruction, and the second instruction is used to switch the first common terminal and the second common terminal from the corresponding normally open terminals to the normally closed terminals, so that the wearable smart device switches from the audio state to the charging state.
[0014] The above audio switching circuit uses a multi-pole multi-throw switch to switch the wearable smart device from the audio state to the charging state, thereby improving the compatibility and user experience of the audio switching circuit.
[0015] In one implementation, the sensor is a Hall sensor.
[0016] In a second aspect, the present application also provides an audio switching method, which is applied to any of the above-mentioned audio switching circuits, wherein a sensor for detecting magnetic induction intensity is installed on the wearable smart device, and the sensor is used to send the collected magnetic induction intensity data at the charging interface to the processor of the wearable smart device, including: receiving the magnetic induction intensity data collected by the sensor through the processor; judging whether the magnetic induction intensity data meets the first preset condition; if satisfied, controlling the processor to generate the first instruction, and sending the first instruction to the first control input terminal and the second control input terminal of the multi-pole multi-throw switch respectively; according to the first instruction, switching the first common terminal from the corresponding normally closed terminal to the normally open terminal through the first control input terminal, and switching the second common terminal from the corresponding normally closed terminal to the normally open terminal through the second control input terminal, so that the wearable smart device switches from the charging state to the audio state.
[0017] In one implementation, it also includes: when the magnetic induction intensity data meets a second preset condition, controlling the processor to generate a second instruction, and sending the second instruction to the first control input terminal and the second control input terminal respectively; according to the second instruction, switching the first common terminal from the corresponding normally open terminal to the normally closed terminal through the first control input terminal, and switching the second common terminal from the corresponding normally open terminal to the normally closed terminal through the second control input terminal, so that the wearable smart device switches from the audio state to the charging state.
[0018] Compared with the prior art, the present invention has at least one of the following beneficial effects:
[0019] 1. When the audio cable and charging cable are connected to the charging interface, a multi-pole multi-throw switch is used to switch the charging state and audio state of the wearable smart device. Without adding an audio interface, the audio function is realized, which saves the production cost of the wearable smart device and improves the user experience.
[0020] 2. When the number of ports of the charging interface is increased, the charging state and audio state of the wearable smart device can be switched by using a four-pole double-throw switch, so that the audio function of the wearable smart device can be realized, further improving the compatibility of the audio switching circuit.
[0021] 3. Use a multi-pole multi-throw switch to switch the wearable smart device from the audio state to the charging state, improving the compatibility of the audio switching circuit and user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention.
[0023] Figure 1 A schematic diagram of the structure of an audio switching circuit provided in an embodiment of the present application is shown;
[0024] Figure 2 A schematic diagram showing a charging interface definition provided in an embodiment of the present application is shown;
[0025] Figure 3 A schematic diagram showing the pin definition of an audio codec circuit provided in an embodiment of the present application is shown;
[0026] Figure 4 A schematic diagram of the structure of an audio switching circuit provided in an embodiment of the present application is shown;
[0027] Figure 5 A flow chart of an audio switching method provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.
[0029] In order to simplify the drawings, only the parts related to the invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".
[0030] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0031] In this document, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0032] In addition, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0033] It should be noted that the above embodiments can be freely combined as needed. The above are only preferred embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention.
[0034] In the design and use of wearable smart devices, in the face of diverse usage scenarios and functional requirements, the structure and component configuration of the device must be expanded and optimized accordingly. For example, in order to add health monitoring functions, it may be necessary to integrate biosensors such as heart rate monitors, blood oxygen saturation sensors, or skin temperature sensors; in order to enhance the interactivity between the device and the user, it may be necessary to add a touch screen; in order to improve the positioning and navigation capabilities of the device, it may be necessary to integrate a GPS module; for example, in order to realize audio functions, it may be necessary to integrate a Bluetooth module to support wireless communication.
[0035] In pursuit of portability, wearable smart devices tend to omit traditional headphone jacks in design and adopt wireless audio transmission technology instead. However, this method may cause the user's Bluetooth headset to run out of power and unable to use the audio function. To this end, the embodiment of the present application uses an audio switching circuit to automatically switch the charging state and audio state of the wearable smart device when the user's wired headset is connected to the charging interface, which can achieve at least one of the following beneficial effects: realizing the audio function without adding an audio interface, which not only saves production costs, but also improves the user experience; or improving the compatibility of the audio switching circuit.
[0036] The following is a detailed description with reference to the accompanying drawings:
[0037] Reference Figure 1, which shows a schematic diagram of the structure of an audio switching circuit provided in an embodiment of the present application, such as Figure 1 As shown, it includes: a multi-pole multi-throw switch and a charging interface; the first common terminal COM1 of the multi-pole multi-throw switch is connected to the power terminal 301 of the charging interface, and the second common terminal COM2 of the multi-pole multi-throw switch is connected to the ground terminal 302 of the charging interface; the normally closed terminal NC1 corresponding to the first common terminal COM1 and the normally closed terminal NC2 corresponding to the second common terminal COM2 are both connected to the power charging circuit 200 on the wearable smart device, and the normally open terminal NO1 corresponding to the first common terminal COM1 and the normally open terminal NO2 corresponding to the second common terminal COM2 are both connected to the audio codec circuit 100 on the wearable smart device; when the audio line is connected to the charging interface, the first common terminal COM1 and the second common terminal COM2 are switched from the corresponding normally closed terminals to the normally open terminals (the normally closed terminal NC1 corresponding to the first common terminal COM1 is switched to the normally open terminal NO1, and the normally closed terminal NC2 corresponding to the second common terminal COM2 is switched to the normally open terminal NO2), so that the wearable smart device switches from the charging state to the audio state. When the charging cable is connected to the charging interface, the first common terminal COM1 and the second common terminal COM2 are switched from the corresponding normally open terminals to the normally closed terminals (the normally open terminal NO1 corresponding to the first common terminal COM1 is switched to the normally closed terminal NC1, and the normally open terminal NO2 corresponding to the second common terminal COM2 is switched to the normally closed terminal NC2), so that the wearable smart device switches from the audio state to the charging state.
[0038] The charging interface is located on the wearable smart device, and the charging interface includes a power terminal 301 and a ground terminal 302, so the embodiment of the present application also removes the microphone pin on the audio codec circuit 100. The normally closed terminal NC1 corresponding to the first common terminal COM1 and the normally closed terminal NC2 corresponding to the second common terminal COM2 are both connected to the power charging circuit 200 on the wearable smart device. In the default state, the wearable smart device is in a charging state. When the user connects the audio cable to the charging interface, the first common terminal COM1 and the second common terminal COM2 are switched from the corresponding normally closed terminals to the normally open terminals, and the wearable smart device switches from the charging state to the audio state. When the user connects the charging cable to the charging interface, the first common terminal COM1 and the second common terminal COM2 are switched from the corresponding normally open terminals to the normally closed terminals, and the wearable smart device switches from the audio state to the charging state.
[0039] In the embodiment of the present application, when the audio cable and the charging cable are connected to the charging interface, a multi-pole multi-throw switch is used to switch the charging state and the audio state of the wearable smart device. The audio function is realized without adding an audio interface, which saves the production cost of the wearable smart device and improves the user experience.
[0040] In some embodiments of the present application, a sensor for detecting magnetic induction intensity is installed on the wearable smart device; the sensor is used to send the collected magnetic induction intensity data at the charging interface to the processor of the wearable device; when the magnetic induction intensity data meets the first preset condition, a first instruction is generated; the first control input terminal IN1 and the second control input terminal IN2 of the multi-pole multi-throw switch respectively receive the first instruction, and the first instruction is used to switch the first common terminal COM1 and the second common terminal COM2 from the corresponding normally closed terminal NC1 to the normally open terminal NO1 (the normally closed terminal NC1 corresponding to the first common terminal COM1 is switched to the normally open terminal NO1, and the normally closed terminal NC2 corresponding to the second common terminal COM2 is switched to the normally open terminal NO2), so that the wearable smart device switches from the charging state to the audio state.
[0041] The sensor collects magnetic induction intensity data at the charging interface and sends the magnetic induction intensity data to the processor. The processor determines whether the magnetic induction intensity data meets the conditions for switching the audio state. If not, the processor generates a charging instruction. The first control input terminal IN1 and the second control input terminal IN2 respectively receive the charging instruction sent by the processor, and the charging instruction instructs the first control input terminal IN1 and the second control input terminal IN2 not to perform the switching operation, so that the wearable smart device starts charging.
[0042] When the user connects the audio cable to the charging interface, the sensor collects the magnetic induction intensity data at the charging interface again and sends the magnetic induction intensity data to the processor. When the processor determines that the magnetic induction intensity data meets the conditions for switching the audio state, it generates a first instruction. The first control input terminal IN1 and the second control input terminal IN2 respectively receive the first instruction sent by the processor. Among them, the first control input terminal IN1 switches the first common terminal COM1 from the normally closed terminal NC1 to the normally open terminal NO1 according to the first instruction; the second control input terminal IN2 switches the second common terminal COM2 from the normally closed terminal NC2 to the normally open terminal NO2 according to the first instruction. In this way, the wearable smart device can be switched from the charging state to the audio state. In the embodiment of the present application, the user can also click on the charging state or the audio state on the display screen on the wearable smart device, so that the processor generates corresponding instructions to control the first control input terminal IN1 and the second control input terminal IN2 to complete the switching of the wearable smart device between the charging state and the audio state.
[0043] In some embodiments of the present application, when the magnetic induction intensity data meets the second preset condition, the processor generates a second instruction; the first control input terminal IN1 and the second control input terminal IN2 of the multi-pole multi-throw switch respectively receive the second instruction, and the second instruction is used to switch the first common terminal COM1 and the second common terminal COM2 from the corresponding normally open terminals to the normally closed terminals (the normally closed terminal NC1 corresponding to the first common terminal COM1 is switched to the normally open terminal NO1, and the normally closed terminal NC2 corresponding to the second common terminal COM2 is switched to the normally open terminal NO2) so that the wearable smart device switches from the audio state to the charging state.
[0044] In an embodiment of the present application, when the user disconnects the audio cable from the charging interface and connects the charging cable to the charging interface instead, the sensor collects magnetic induction intensity data again and sends the magnetic induction intensity data to the processor. When the processor determines that the magnetic induction intensity data meets the conditions for switching the charging state, the processor generates a second instruction. The first control input terminal IN1 and the second control input terminal IN2 respectively receive the second instruction sent by the processor. Among them, the first control input terminal IN1 switches the first common terminal COM1 from the normally open terminal NO1 to the normally closed terminal NC1 according to the second instruction; the second control input terminal IN2 switches the second common terminal COM2 from the normally open terminal NO2 to the normally closed terminal NC2 according to the second instruction. In this way, the wearable smart device can be switched from the audio state to the charging state.
[0045] The embodiment of the present application uses a multi-pole multi-throw switch to switch the wearable smart device from an audio state to a charging state, thereby improving the compatibility and user experience of the audio switching circuit.
[0046] The definition of the charging interface is the same as that of USB2.0. Figure 2 , which shows a schematic diagram of a charging interface definition provided by an embodiment of the present application. Figure 2 As shown, from top to bottom are the power supply terminal (VBUS) 301, the negative data transmission port (D-) 303, the positive data transmission port (D+) 304 and the ground terminal (GND) 302. When the negative data transmission port D- and the positive data transmission port D+ are added to the charging interface, the microphone pin on the audio codec circuit 100 can also be added accordingly.
[0047] There are many ways to correspond the pins on the audio codec circuit 100 to the ports on the charging interface. Figure 3 , which shows a schematic diagram of the pin definition of an audio codec circuit provided in an embodiment of the present application, such as Figure 3As shown, the power terminal 301 of the charging interface can correspond to the left channel pin of the audio codec circuit 100; the negative data transmission port 303 of the charging interface can correspond to the right channel pin of the audio codec circuit 100; the positive data transmission port 304 of the charging interface can correspond to the ground pin or microphone pin on the audio codec circuit 100; the ground terminal 302 of the charging interface can correspond to the microphone pin or ground pin on the audio codec circuit 100. Both of these corresponding relationships can realize the transmission of audio signals, thereby improving the compatibility of the audio switching circuit.
[0048] The following takes one of the corresponding relationships as an example. Figure 4 , which shows a schematic diagram of the structure of an audio switching circuit provided in an embodiment of the present application, such as Figure 4 As shown, the multi-pole multi-throw switch is a four-pole double-throw switch; the normally closed end NC1 corresponding to the first common end COM1 is connected to the power pin of the power charging circuit 200, and the normally open end NO1 corresponding to the first common end COM1 is connected to the left channel pin of the audio codec circuit 100; the normally closed end NC2 corresponding to the second common end COM2 is connected to the ground pin of the power charging circuit 200, and the normally open end NO2 corresponding to the second common end COM2 is connected to the ground pin of the audio codec circuit 100; the third common end COM3 of the four-pole double-throw switch is connected to the negative phase data transmission of the charging interface Port 303, the fourth common terminal COM4 of the four-pole double-throw switch is connected to the positive data transmission port 304 of the charging interface; the normally closed terminal NC3 corresponding to the third common terminal COM3 is connected to the negative data transmission pin of the power charging circuit 200, and the normally open terminal NO3 corresponding to the third common terminal COM3 is connected to the right channel pin of the audio codec circuit 100; the normally closed terminal NC4 corresponding to the fourth common terminal COM4 is connected to the positive data transmission pin of the power charging circuit 200, and the normally open terminal NO4 corresponding to the fourth common terminal COM4 is connected to the microphone pin of the audio codec circuit 100.
[0049] In the embodiment of the present application, the first control input terminal IN1 is used to control the switching between the first common terminal COM1 and the third common terminal COM3, and the second control input terminal IN2 is used to control the switching between the second common terminal COM2 and the fourth common terminal COM4.
[0050] The sensor collects the magnetic induction intensity data at the charging interface and sends the magnetic induction intensity data to the processor. When the processor determines that the magnetic induction intensity data meets the conditions for switching the audio state, it generates a first instruction. The first control input terminal IN1 and the second control input terminal IN2 respectively receive the first instruction sent by the processor. Among them, the first control input terminal IN1 switches the first common terminal COM1 from the normally closed terminal NC1 to the normally open terminal NO1, and switches the third common terminal COM3 from the normally closed terminal NC3 to the normally open terminal NO3 according to the first instruction; the second control input terminal IN2 switches the first common terminal COM2 from the normally closed terminal NC2 to the normally open terminal NO2, and switches the fourth common terminal COM4 from the normally closed terminal NC4 to the normally open terminal NO4 according to the first instruction. In this way, the wearable smart device can be switched from the charging state to the audio state.
[0051] Similarly, when the user disconnects the audio cable from the charging interface and connects the charging cable to the charging interface instead, the sensor collects magnetic induction intensity data again and sends the magnetic induction intensity data to the processor. When the processor determines that the magnetic induction intensity data meets the conditions for switching the charging state, the processor generates a second instruction. The first control input terminal IN1 and the second control input terminal IN2 respectively receive the second instruction sent by the processor. Among them, the first control input terminal IN1 switches the first common terminal COM1 from the normally open terminal NO1 to the normally closed terminal NC1, and switches the third common terminal COM3 from the normally open terminal NO3 to the normally closed terminal NC3 according to the second instruction; the second control input terminal IN2 switches the first common terminal COM2 from the normally open terminal NO2 to the normally closed terminal NC2, and the fourth common terminal COM4 from the normally open terminal NO4 to the normally closed terminal NC4 according to the second instruction. In this way, the wearable smart device can be switched from the audio state to the charging state.
[0052] Attached Figure 3 Another correspondence between the pins on the audio codec circuit 100 and the ports on the charging interface is shown in the figure. Its implementation method is the same as that in the embodiment of the present application, so it will not be repeated here.
[0053] In the embodiment of the present application, when the number of ports of the charging interface is increased, a four-pole double-throw switch is used to switch the charging state and the audio state of the wearable smart device, so as to realize the audio function of the wearable smart device and further improve the compatibility of the audio switching circuit.
[0054] In some embodiments of the present application, the multi-pole multi-throw switch may be a double-pole double-throw switch, the charging interface may be a magnetic charging interface, and the sensor may be a Hall sensor.
[0055] Reference Figure 5 , which shows a flow chart of an audio switching method provided by an embodiment of the present application, such as Figure 5 As shown, including:
[0056] S500: Receive magnetic induction intensity data collected by the sensor through a processor.
[0057] S510, determining whether the magnetic induction intensity data meets a first preset condition.
[0058] S520: If the conditions are met, the control processor generates a first instruction, and sends the first instruction to the first control input terminal and the second control input terminal of the multi-pole multi-throw switch respectively.
[0059] S530, according to the first instruction, switching the first common terminal from the corresponding normally closed terminal to the normally open terminal through the first control input terminal, and switching the second common terminal from the corresponding normally closed terminal to the normally open terminal through the second control input terminal, so that the wearable smart device switches from the charging state to the audio state.
[0060] The details of the embodiments of the present application have been described in detail in the aforementioned embodiments and will not be repeated here.
[0061] In some embodiments of the present application, it also includes: when the magnetic induction intensity data meets the second preset condition, the control processor generates a second instruction, and sends the second instruction to the first control input terminal and the second control input terminal respectively; according to the second instruction, the first common terminal is switched from the corresponding normally open terminal to the normally closed terminal through the first control input terminal, and the second common terminal is switched from the corresponding normally open terminal to the normally closed terminal through the second control input terminal, so that the wearable smart device switches from the audio state to the charging state.
[0062] The details of the embodiments of the present application have been described in detail in the aforementioned embodiments and will not be repeated here.
[0063] An embodiment of the present application also provides a smart watch, comprising the audio switching circuit described in any of the above embodiments.
[0064] An embodiment of the present application also provides an electronic device, comprising the audio switching circuit described in any of the above embodiments.
[0065] It should be noted that the above embodiments can be freely combined as needed. The above are only preferred embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention.
Claims
1. An audio switching circuit, characterized in that: For wearable smart devices, including: Multi-pole multi-throw switch, charging interface; The first common terminal of the multi-pole multi-throw switch is connected to the power supply terminal of the charging interface, and the second common terminal of the multi-pole multi-throw switch is connected to the ground terminal of the charging interface; The normally closed end corresponding to the first common end and the normally closed end corresponding to the second common end are both connected to the power charging circuit on the wearable smart device, and the normally open end corresponding to the first common end and the normally open end corresponding to the second common end are both connected to the audio codec circuit on the wearable smart device; When the audio line is connected to the charging interface, the first common terminal and the second common terminal are switched from the corresponding normally closed terminals to normally open terminals, so that the wearable smart device is switched from the charging state to the audio state; When the charging cable is connected to the charging interface, the first common terminal and the second common terminal are switched from corresponding normally open terminals to normally closed terminals, so that the wearable intelligent device is switched from an audio state to a charging state.
2. The audio switching circuit according to claim 1, characterized in that: The wearable smart device is provided with a sensor for detecting magnetic induction intensity; the sensor is used to send the collected magnetic induction intensity data at the charging interface to the processor of the wearable smart device; When the magnetic induction intensity data meets a first preset condition, generating a first instruction; The first control input terminal and the second control input terminal of the multi-pole multi-throw switch respectively receive the first instruction, and the first instruction is used to switch the first common terminal and the second common terminal from the corresponding normally closed terminals to normally open terminals, so that the wearable smart device switches from the charging state to the audio state.
3. The audio switching circuit according to claim 2, characterized in that: The multi-pole multi-throw switch is a four-pole double-throw switch; The normally closed end corresponding to the first common end is connected to the power pin of the power charging circuit, and the normally open end corresponding to the first common end is connected to the left channel pin of the audio codec circuit; The normally closed end corresponding to the second common end is connected to the ground pin of the power charging circuit, and the normally open end corresponding to the second common end is connected to the ground pin of the audio codec circuit; The third common terminal of the four-pole double-throw switch is connected to the negative-phase data transmission port of the charging interface, and the fourth common terminal of the four-pole double-throw switch is connected to the positive-phase data transmission port of the charging interface; The normally closed end corresponding to the third common end is connected to the negative data transmission pin of the power charging circuit, and the normally open end corresponding to the third common end is connected to the right channel pin of the audio codec circuit; The normally closed end corresponding to the fourth common end is connected to the positive data transmission pin of the power charging circuit, and the normally open end corresponding to the fourth common end is connected to the microphone pin of the audio codec circuit.
4. The audio switching circuit according to claim 3, characterized in that: When the magnetic induction intensity data meets a first preset condition, the first instruction is further used to switch the third common terminal and the fourth common terminal from corresponding normally closed terminals to normally open terminals.
5. The audio switching circuit according to claim 1, characterized in that: The multi-pole multi-throw switch is a double-pole double-throw switch, and the charging interface is a magnetic charging interface.
6. The audio switching circuit according to claim 2, characterized in that: When the magnetic induction intensity data meets a second preset condition, the processor generates a second instruction; The first control input terminal and the second control input terminal of the multi-pole multi-throw switch respectively receive the second instruction, and the second instruction is used to switch the first common terminal and the second common terminal from the corresponding normally open terminals to the normally closed terminals, so that the wearable smart device switches from the audio state to the charging state.
7. The audio switching circuit according to claim 2, characterized in that: The sensor is a Hall sensor.
8. The audio switching circuit according to claim 1, characterized in that: The wearable smart device is a smart watch.
9. An audio switching method, applied to the audio switching circuit according to any one of claims 1 to 8, characterized in that: The wearable smart device is provided with a sensor for detecting magnetic induction intensity, and the sensor is used to send the collected magnetic induction intensity data at the charging interface to the processor of the wearable smart device, including: Receiving the magnetic induction intensity data collected by the sensor through the processor; Determining whether the magnetic induction intensity data meets a first preset condition; If the conditions are met, controlling the processor to generate a first instruction, and sending the first instruction to a first control input terminal and a second control input terminal of the multi-pole multi-throw switch respectively; According to the first instruction, the first common terminal is switched from the corresponding normally closed terminal to the normally open terminal through the first control input terminal, and the second common terminal is switched from the corresponding normally closed terminal to the normally open terminal through the second control input terminal, so that the wearable smart device is switched from the charging state to the audio state.
10. The audio switching method according to claim 9, characterized in that: Also includes: When the magnetic induction intensity data meets a second preset condition, controlling the processor to generate a second instruction, and sending the second instruction to the first control input terminal and the second control input terminal respectively; According to the second instruction, the first common terminal is switched from the corresponding normally open terminal to the normally closed terminal through the first control input terminal, and the second common terminal is switched from the corresponding normally open terminal to the normally closed terminal through the second control input terminal, so that the wearable smart device switches from the audio state to the charging state.
