WO2022121810A1 - 检测系统、t-box及车辆 - Google Patents

检测系统、t-box及车辆 Download PDF

Info

Publication number
WO2022121810A1
WO2022121810A1 PCT/CN2021/135520 CN2021135520W WO2022121810A1 WO 2022121810 A1 WO2022121810 A1 WO 2022121810A1 CN 2021135520 W CN2021135520 W CN 2021135520W WO 2022121810 A1 WO2022121810 A1 WO 2022121810A1
Authority
WO
WIPO (PCT)
Prior art keywords
current
speaker
audio
circuit
terminal
Prior art date
Application number
PCT/CN2021/135520
Other languages
English (en)
French (fr)
Inventor
卢慧奇
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022121810A1 publication Critical patent/WO2022121810A1/zh

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q11/00Arrangement of monitoring devices for devices provided for in groups B60Q1/00 - B60Q9/00
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q5/00Arrangement or adaptation of acoustic signal devices

Definitions

  • the present application relates to the technical field of detection circuits, and in particular, to a detection system, a T-BOX and a vehicle.
  • the car implements the audio function through a speaker circuit
  • the speaker circuit generally includes a processor, an audio module and a speaker which are connected in sequence.
  • the processor generates an audio signal and provides it to the speaker through the audio module, and the speaker converts the audio signal into a sound signal, so that sound can be realized.
  • the horns in the horn circuit may fail during automobile production, during transport assembly, and after users have used them for a certain period of time.
  • there may be a variety of faults such as: the speaker is short-circuited to ground, the speaker is short-circuited to the power supply, the speaker is open, and the speaker wire is short-circuited.
  • the existing detection method is usually to connect a resistor in series with the positive port of the speaker and pull it up to the test power supply, and the negative port in series with a resistor and pull down to the ground terminal, so that the speaker is used as a resistive load, and the principle of resistive voltage division is used to detect whether the speaker is faulty.
  • the existing detection method can only be applied to the situation when the audio module is not working.
  • the present application provides a detection system, a T-BOX and a vehicle, which achieve the purpose of detecting the fault of the speaker when the audio module is working, and can detect whether the speaker is short-circuited to the ground, the speaker is short-circuited to the power supply, or between the speaker wires. Short circuit, open horn and other faults.
  • a detection system is provided, the detection system is connected to a speaker, and the detection system includes: a connected processor and an audio module, and a detection circuit connected to both the processor and the audio module; the audio module includes an audio positive The audio power amplifier of the differential output terminal and the audio negative differential output terminal, the speaker has a positive terminal and a negative terminal, the audio positive differential output terminal is connected to the positive terminal, and the audio negative differential output terminal is connected to the negative terminal;
  • the detection circuit is used for collecting the first current transmitted between the audio positive differential output terminal and the positive terminal, and for collecting the second current transmitted between the negative terminal and the audio negative differential output terminal;
  • the detection circuit is further configured to provide first information to the processor according to the first current and the second current, and the first information is used for the processor to determine whether the speaker has a first fault.
  • the detection circuit in the detection system collects the first current transmitted between the audio positive differential output terminal of the audio power amplifier and the positive terminal of the speaker, and the first current transmitted between the audio negative differential output terminal and the negative terminal of the speaker The second current transmitted between the two, and then, according to the first current and the second current, the first information is provided to the processor, so that the processor can determine whether the speaker has a first fault.
  • the detection system when the audio module is working, the DC signal and the AC signal output by the audio power amplifier will not interfere with the current collection, so the detection system can realize the fault detection of the speaker when the audio module is working.
  • the detection system includes: a first current acquisition circuit connected in series between the audio positive differential output terminal and the positive terminal, and a second current acquisition circuit connected in series between the audio negative differential output terminal and the negative terminal Current acquisition circuit; the first current acquisition circuit is used to collect the first current transmitted between the audio positive differential output terminal and the positive terminal and provide it to the processor, and the second current acquisition circuit is used to collect the difference between the negative terminal and the audio negative differential output terminal. The second current is transferred between and provided to the processor.
  • the detection system further includes: a current comparison circuit having three connection ports, and the three connection ports of the current comparison circuit are respectively connected to the first current collection circuit, the second current collection circuit, and the processing
  • the current comparison circuit is used for determining the current difference between the first current and the second current, and correspondingly, the first information includes the current difference.
  • the current comparison circuit can be used to calculate the current difference between the first current and the second current. Therefore, the processor is only used to perform fault judgment according to the current difference obtained by the calculation, which reduces the processing time of the processor. The amount of calculation increases the processing efficiency.
  • the detection system further includes: a voltage collection circuit connected to the positive port and the negative port of the speaker; the voltage collection circuit is used to collect the voltage difference between the positive port and the negative port, and the corresponding Yes, the first information includes the first current, the second current and the voltage difference.
  • the processor combines the voltage difference with the first current and the second current to calculate the resistance value corresponding to the speaker according to the voltage difference value collected by the voltage acquisition circuit, so that the resistance value of the speaker can be more accurately calculated according to the resistance value of the speaker. Determine whether the speaker is faulty to improve the accuracy of the judgment.
  • the processor is further configured to generate a sub-audio signal and provide it to the speaker through an audio module, where the frequency of the sub-audio signal is different from the frequency of the audio signal.
  • the processor when the speaker is playing without sound, it can be determined whether the speaker is faulty by detecting the first current, the second current and the voltage difference collected when the sub-audio signal is transmitted, so that the audio module can be implemented in the audio module. When there is no audio signal output, the speaker circuit can also be detected.
  • the detection system further includes: a bias circuit, the bias circuit is respectively connected to the audio positive differential output terminal and the audio negative differential output terminal; when the audio module is not working, the bias circuit uses In order to apply a bias voltage to the circuit loop where the first current collection circuit, the speaker and the second current collection circuit are located, the processor is used to collect the first current and the second current collected by the first current collection circuit when the bias voltage is applied. The second current collected by the circuit and the voltage difference collected by the voltage collection circuit are used to determine whether the speaker has a first fault.
  • a bias voltage can be applied by the bias circuit to determine whether the speaker has the first fault.
  • the first current collection circuit includes: a first resistor and a first differential operational amplifier; the first resistor is connected in series between the audio positive differential output terminal and the positive terminal, and the first differential operational amplifier The two input terminals of the first resistor are respectively connected to both ends of the first resistor; the first differential operational amplifier is used to determine the first voltage difference across the first resistor and provide it to the processor, and the processor is used to determine the first voltage difference according to the first voltage difference and the first A resistor determines the first current.
  • the second current acquisition circuit includes: a second resistor and a second differential operational amplifier, the second resistor is equal to the first resistor; the second resistor is connected in series with the audio negative differential output end and the negative electrode Between the ports, the two input ends of the second differential operational amplifier are respectively connected with both ends of the second resistor; the second differential operational amplifier is used to determine the second voltage difference across the second resistor and provide it to the processor, and the processor uses for determining the second current according to the second voltage difference and the second resistance.
  • the current comparison circuit includes: a third differential operational amplifier; two input terminals of the third differential operational amplifier are respectively connected to the output terminal of the first differential operational amplifier and the output terminal of the second differential operational amplifier. The output terminal is connected; the third differential operational amplifier is used to determine the third voltage difference between the first voltage difference and the second voltage difference and provide it to the processor, and the processor is used to determine the third voltage difference according to the third voltage difference, the first resistance or a second resistor to determine the current difference.
  • the voltage acquisition circuit includes: a fourth differential operational amplifier, two input ends of the fourth differential operational amplifier are respectively connected to the positive port and the negative port of the speaker; the fourth differential operational amplifier uses The fourth voltage difference between the positive terminal and the negative terminal of the speaker is determined and provided to the processor.
  • the bias circuit includes: a bias voltage terminal, a first bias resistor, a second bias resistor, and a ground terminal; the first terminal of the first bias resistor is connected to the bias voltage The second end of the first bias resistor is connected to the audio positive differential output end, the first end of the second bias resistor is connected to the audio negative differential output end, and the second end of the second bias resistor is connected to the ground end .
  • the first fault includes a short circuit of the speaker to the power supply, a short circuit of the speaker to the ground, an open circuit of the speaker, or a short circuit between speaker wires.
  • an electronic device comprising a connected detection system and a speaker, wherein the detection system is the detection system provided in the first aspect or any possible implementation manner of the first aspect.
  • a T-BOX is provided, including the detection system provided in the first aspect or any possible implementation manner of the first aspect.
  • the T-BOX further includes a speaker connected to the detection system.
  • a vehicle including the T-BOX as provided in the third aspect or any possible implementation of the third aspect.
  • a vehicle comprising a connected T-BOX and a detection system, wherein the detection system is the detection system provided in the first aspect or any possible implementation manner of the first aspect.
  • the vehicle further includes a horn connected to the detection system.
  • the first current transmitted between the audio positive differential output terminal of the audio power amplifier and the positive terminal of the speaker is collected by the detection circuit in the detection system.
  • the second current transmitted between the speaker and the negative port of the speaker and then, the processor compares the magnitude of the first current and the second current to determine whether the speaker circuit is short-circuited to the ground or the speaker is short-circuited to the power supply.
  • the voltage difference between the terminals is used to detect whether the speaker circuit is open-circuited or short-circuited between speaker wires. Because, when the audio module is working, the DC signal and AC signal output by the audio power amplifier will not interfere with the collection of current and voltage, so the circuit can achieve the purpose of fault detection of the speaker circuit when the audio module is working.
  • the sub-audio signal and bias circuit are added to detect whether the speaker is faulty when the speaker has no sound playing and the audio module is not working, so as to increase the comprehensiveness of the detection.
  • FIG. 1 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of a T-BOX provided by an embodiment of the present application.
  • Fig. 3 is a kind of connection schematic diagram of existing detection system and horn
  • FIG. 4 is a schematic diagram of the connection between another existing detection system and a speaker
  • Fig. 5 is the connection schematic diagram of another kind of existing detection system and horn
  • FIG. 6 is a schematic diagram of the connection between a detection system and a speaker according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of the connection between another detection system and a speaker according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of the connection between another detection system and a speaker according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of the connection between another detection system and a speaker according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of the connection between another detection system and a speaker provided by an embodiment of the application.
  • FIG. 11 is a schematic diagram of the connection between another detection system and a speaker according to an embodiment of the application.
  • FIG. 12 is a schematic structural diagram of a first current collection circuit provided by an embodiment of the present application.
  • FIG. 13 is a schematic diagram of the equivalent structure of the speaker in FIG. 11 when the speaker is short-circuited to ground and the speaker is short-circuited to the power supply failure;
  • FIG. 14 is a schematic diagram of a connection between another detection system and a speaker according to an embodiment of the present application.
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implicitly indicating the number of indicated technical features.
  • a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature.
  • plural means two or more.
  • directional terms such as “left” and “right” may include, but are not limited to, definitions relative to the schematic placement of components in the accompanying drawings. It should be understood that these directional terms may be relative concepts, They are used for relative description and clarification, which may vary correspondingly depending on the orientation in which the components are placed in the drawings.
  • connection should be understood in a broad sense.
  • connection may be a fixed connection, a detachable connection, or an integrated body; it may be directly connected, or Can be indirectly connected through an intermediary.
  • electrically connected may be a means of electrical connection that enables signal transmission.
  • the “electrical connection” can be a direct electrical connection or an indirect electrical connection through an intermediate medium.
  • the terminal device in the embodiment of the present application may be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR)/virtual reality (VR) device, a notebook computer, and a super mobile personal computer (ultra-mobile personal computer, UMPC), netbook, personal digital assistant (personal digital assistant, PDA), etc.
  • AR augmented reality
  • VR virtual reality
  • PDA personal digital assistant
  • FIG. 1 shows a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • the terminal device 1 is provided with a detection system 2 and a plurality of speakers 200 connected to the detection system 2.
  • the detection system 2 includes a connected processor 110 and an audio module 120, and is connected to the processor 110 and audio
  • the modules 120 are all electrically connected to the detection circuit 20 , and the detection system 2 is used to detect the speaker 200 .
  • the audio module 120 and the speaker 200 are both connected. Therefore, the processor 110 can generate an audio signal and provide it to the speaker 200 through the audio module 120, and the speaker 200 can convert the audio signal into a sound signal, so as to realize the audio function. In this way, the user can use the terminal device 1 to listen to music or broadcasts Wait.
  • the processor 110, the audio module 120 and the detection circuit 20 in the detection system 2 may generally be arranged at the position of the center console in the vehicle, and the speaker 200 connected to the audio module 120 is installed in the vehicle. on the vehicle door.
  • the vehicle is provided with four speakers 200, which are respectively installed on the left and right front doors and the left and right rear doors of the vehicle.
  • the processor 110 generates audio signals and passes the audio signals through the audio module.
  • 120 is provided to the four speakers 200, so that the four speakers 200 located in different positions can be used to realize the audio function in the car, and can also form a good sound effect, which can improve the user's experience.
  • the number and setting positions of the horns on different vehicle models may be different, and the number and setting positions may be changed as required, which is not limited in this application.
  • the detection system 2 can be arranged in a telematics box (T-BOX) of the vehicle, while the speaker 200 connected to the detection system 2 is arranged outside the T-BOX, or the detection system 2 and The speakers 200 connected thereto may all be arranged in the T-BOX, or the detection system 2 may be arranged outside the T-BOX and only connected to the T-BOX.
  • T-BOX telematics box
  • FIG. 2 shows a schematic structural diagram of a T-BOX provided by an embodiment of the present application. Only one horn 200 is shown in FIG. 2 as an example.
  • the T-BOX includes a connected detection system 2 and a speaker 200
  • the detection system 2 includes a processor 110 and an audio module 120
  • a detection circuit 20 connected to both the processor 11 and the audio module 120
  • the audio module 120 may include an audio decoder 121 and an audio power amplifier 122 .
  • T-BOX is used to provide the second generation (2th generation, 2G) communication technology, the third generation (3th generation, 3G) communication technology, the fourth generation (4th generation, 4G) communication technology, the fifth generation (4th generation, 4G) communication technology applied in the vehicle.
  • Generation (5th generation, 5G) communication technology wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (wireless fidelity, Wi-Fi) network), Bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system) Satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the T-BOX may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the T-BOX can receive electromagnetic waves by the antenna, and filter and amplify the received electromagnetic waves.
  • the T-BOX can also amplify the modulated signal and radiate it into electromagnetic waves through the antenna.
  • the T-BOX may be one or more devices integrating at least one communication processing module.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural-network processing unit neural-network processing unit
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface and the like.
  • I2S integrated circuit sound
  • the I2S interface can be used for audio communication.
  • the processor 110 may contain multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 120 through an I2S bus to implement communication between the processor 110 and the audio module 120 .
  • the interface connection relationship between the modules illustrated in the embodiments of the present invention is only a schematic illustration, and does not constitute a structural limitation of the T-BOX.
  • the T-BOX may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the in-vehicle device realizes the audio function through the audio module 120, the speaker 200 and the application processor.
  • the audio module 120 is used for converting digital audio information into analog audio signal output, and can also be used for converting analog audio input into digital audio signal.
  • the audio module 120 may also be used to encode and decode audio signals, and/or to power amplify audio signals.
  • the audio module 120 may be provided in the processor 110, or some functional modules of the audio module 120 may be provided in the processor.
  • the speaker 200 also called a loudspeaker, has a positive terminal and a negative terminal for converting an audio signal into a sound signal.
  • the audio power amplifier 122 in the audio module 120 has an audio positive differential output terminal and an audio negative differential output terminal.
  • SPKP is used to represent the audio positive differential output terminal
  • SPKN is used to represent the audio negative differential output terminal.
  • the audio positive differential output terminal SPKP of the audio power amplifier 122 is electrically connected to the positive terminal of the speaker 200
  • the audio negative differential output terminal SPKN of the audio power amplifier 122 is electrically connected to the negative terminal of the speaker 200 .
  • the audio decoder 121 in the audio module 120 decodes the audio signal output by the processor 110, and provides the decoded audio signal to the audio power amplifier 122 for amplification, and then the audio power amplifier 122 passes the amplified audio signal through the audio signal.
  • the positive differential output terminal SPKP and the audio negative differential output terminal SPKN are provided to the positive terminal and the negative terminal of the speaker 200 , so that the speaker 200 converts the audio signal into a sound signal after receiving it for sounding.
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the T-BOX.
  • the T-BOX may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • a loudspeaker in a loudspeaker circuit composed of a processor, an audio module and a loudspeaker connected in sequence, or a loudspeaker used independently, may fail during the production process, during transportation and assembly, and after being used by the user for a certain period of time.
  • there may be a variety of faults such as the speaker is short-circuited to ground, the speaker is short-circuited to the power supply, the speaker wire is short-circuited, or the speaker is open-circuited.
  • the short-circuiting of the speaker to the ground means that the positive terminal of the speaker is short-circuited to the ground terminal or the negative terminal of the speaker is short-circuited to the ground terminal.
  • the speaker is short-circuited to the power supply, which means that the positive port of the speaker is short-circuited to the power supply or the negative port of the speaker is short-circuited to the power supply.
  • the short circuit between the speaker wires refers to the short circuit caused by the direct conduction between the positive terminal and the negative terminal of the speaker, and the open circuit of the speaker refers to the disconnection between the positive terminal and the negative terminal inside the speaker.
  • detection circuits 20 with various structures have been proposed, and the following description will be given by taking three detection circuits 20 as examples.
  • FIG. 3 shows a schematic diagram of the connection between the existing detection system 2 and the speaker 200 .
  • the detection circuit 20 in the detection system 2 is arranged between the audio power amplifier 122 and the speaker 200 .
  • the detection circuit 20 includes a resistor R1 and a switch SW. The first end of the resistor R1 is connected to the bias voltage terminal VCC, the second end is connected to the positive terminal of the speaker 200, and the first terminal of the switch SW is connected to the negative terminal of the speaker 200. port, the second end is connected to the ground terminal GND.
  • the switch SW When the switch SW is closed, a bias voltage is applied to the bias voltage terminal VCC, and the speaker 200 can be regarded as a load impedance RL, so that a voltage can be formed between the bias voltage terminal VCC and the ground terminal GND through the resistor R1 and the speaker resistor RL. a conducting loop.
  • a detection line can be connected from the positive port of the speaker 200 to detect the voltage obtained when the speaker 200 is used as a load impedance RL, and then according to the voltage obtained by the speaker 200, the speaker 200 can be detected. whether it is faulty.
  • the voltage value obtained by the detection line connected to the positive terminal of the speaker 200 can be calculated according to formula (1).
  • VDET0 represents the voltage value obtained by the detection line connected to the positive terminal of the speaker 200 .
  • the voltage value VDET should be an intermediate level between 0V and 1V; if a short circuit occurs between the two ends of the speaker 200, the speaker resistance RL1 will become smaller, and the voltage The value VDET will be close to 0V; if both ends of the speaker 200 are open, the magnitude of the voltage value VDET will be pulled up to 1V. In this way, it can be detected whether the corresponding state of the speaker is normal or whether a short-circuit or open-circuit fault has occurred between the lines by the principle of resistive voltage division.
  • FIG. 4 shows a schematic structural diagram of another existing detection system 2 .
  • the detection circuit 20 in the detection system 2 is arranged between the audio power amplifier 122 and the speaker 200 .
  • the detection circuit 20 includes a resistor R2, a resistor R3, a resistor R4, a resistor R5 and a resistor R6.
  • the first end of the resistor R2 is connected to the bias voltage terminal VCC, and the second end is connected to the first node P1; the first end of the resistor R3 is connected to the first node P1, and the second end is connected to the second node P2; the first end of the resistor R4 is connected to the first node P1.
  • the terminal is connected to the second node P2, the second terminal is connected to the positive port of the speaker, the first terminal of the resistor R5 is connected to the first node P1, and the second terminal is connected to the ground terminal GND; the first terminal of the resistor R6 is connected to the negative terminal of the speaker 200, The two terminals are connected to the ground terminal GND.
  • the resistor R2 and the resistor R5 form a first loop L1 connected between the bias voltage terminal VCC and the ground terminal GND;
  • the resistor R3, the resistor R4, the resistor RL2 and the resistor R6 corresponding to the speaker form a second loop L2 connected between the bias voltage terminal VCC and the ground terminal GND.
  • a detection line can be connected from the first node P1 to detect the voltage divided by the resistor R5; based on the second loop L2 shown, a detection line can be connected from the second node P2.
  • the voltage obtained by the resistor R4, the corresponding resistor RL2 and the resistor R6 of the speaker is detected. Then, by comparing the voltages measured at the first node P1 and the second node P2, it can be detected whether the speaker 200 is faulty.
  • the voltage value obtained from the first node P1 can be obtained according to formula (2), and the voltage value obtained from the second node P2 can be obtained according to formula (3).
  • VDET1 represents the voltage value obtained from the first node P1
  • VDET2 represents the voltage value obtained from the first node P1.
  • the voltage value VDET1 and the voltage value VDET2 should be an intermediate level between 0V and 10V, and the voltage value VDET1 should be greater than the voltage value VDET2; if When a short circuit occurs between the two ends of the speaker 200, the resistance value RL2 of the speaker will become smaller.
  • the corresponding voltage value VDET1 will remain unchanged when the line short circuit occurs, but the voltage value VDET2 will become smaller, and the voltage value The difference between VDET1 and the voltage value VDET2 will become larger; if both ends of the speaker 200 are open, the second loop L2 has no current, so the voltage value VDET2 will be equal to the voltage value VDET1 . Therefore, by comparing the voltages at the first node P1 and the second node P2, it can be detected whether the state corresponding to the speaker is normal or whether a short-circuit or open-circuit fault occurs between lines.
  • the two existing detection systems 2 shown in FIG. 3 and FIG. 4 are connected in series with the positive port of the speaker 200 and pulled up to the bias voltage terminal, and the negative port is pulled down to the ground terminal. Then, the speaker 200 is pulled up to the ground terminal. As a load impedance, the principle of resistive voltage division is used to detect whether the speaker 200 is faulty.
  • the detection circuit 20 shown in FIG. 3 and FIG. 4 can realize the detection of the connection state of the two ends of the speaker 200 , it is based on the situation that the audio module does not work. If the audio module 120 is working, the DC signal and the AC signal output by the audio positive differential output terminal SPKP and the audio negative differential output terminal SPKN of the audio power amplifier 122 in the audio module 120 will interfere with the detection.
  • the detection circuit 20 shown in FIG. 3 and FIG. 4 it is actually impossible to know whether it is the voltage output by the audio power amplifier 122 or the voltage corresponding to the voltage division of the speaker 200 as the load impedance, which leads to the above figure. 3 and the detection circuit 20 shown in FIG. 4 cannot be used for fault detection of the speaker 200 when the audio module 120 is working.
  • FIG. 5 shows a schematic diagram of the connection between another existing detection system 2 and a speaker 200 .
  • a part of the circuits in the detection circuit 20 in the detection system 2 has the same structure as the detection circuit 20 shown in FIG. 3 , and details are not repeated here.
  • the audio power amplifier 122 is used to judge whether the state corresponding to the speaker is a short circuit between lines or an open circuit. Then, the audio power amplifier 122 outputs the detection result from a port (such as port D shown in FIG. 5 ), This approach relies entirely on the diagnostic functions within the audio power amplifier 122 .
  • the two wires connecting the audio power amplifier 122 and the speaker 200 are also connected to the voltage acquisition circuit, and the voltage acquisition circuit is connected to the voltage comparison circuit.
  • the voltage acquisition circuit is used to collect the voltages corresponding to the positive port and the negative port of the speaker 200 respectively, and the voltage comparison circuit is used to compare the two voltages, so that the speaker can be detected according to the output result of the voltage comparison circuit when the bias voltage is applied. Whether there is a short-circuit to power or short-to-ground fault in the connection status of both ends.
  • FIG. 5 can detect more than two faults whether the speaker is short-circuited to the power supply or short-circuited to the ground compared with FIG. 3 and FIG. 4 , it is only applicable to the case where the audio module 120 is not working, and cannot be used when the audio module 120 is working. Check for speaker failure.
  • the present application provides a detection system, which collects the first current transmitted between the audio positive differential output terminal of the audio power amplifier and the positive terminal of the speaker through the detection circuit in the detection system, and collects the first current at the audio negative differential output terminal. and the second current transmitted between the speaker and the negative terminal of the speaker, and then provide first information to the processor according to the first current and the second current, so that the processor can determine whether the speaker circuit has a first fault.
  • the detection system when the audio module is working, the DC signal and the AC signal output by the audio power amplifier will not interfere with the current collection, so that the circuit can realize the fault detection of the speaker when the audio module is working.
  • the detection system 2 provided by the embodiments of the present application will be described in detail below with reference to FIGS. 6 to 14 .
  • FIG. 6 shows a schematic diagram of a connection between a detection system 2 and a speaker 200 provided in an embodiment of the present application.
  • the detection system 2 is connected to the speaker 200 .
  • the detection system 2 includes a connected processor 110 and an audio module 120, and a detection circuit 20 connected to both the processor 110 and the audio module 120.
  • the audio module 120 includes an audio positive differential output terminal SPKP and an audio
  • the audio power amplifier 122 of the negative differential output terminal SPKN, the speaker 200 has a positive terminal and a negative terminal, the audio positive differential output terminal SPKP is electrically connected to the positive terminal of the speaker 200, and the audio negative differential output terminal SPKN is electrically connected to the negative terminal of the speaker 200.
  • the processor 110 is used to generate an audio signal and provide it to the speaker 200 through the audio module 120, and the speaker 200 is used to convert the audio signal into a sound signal and play it.
  • the audio module 120 may generally further include an audio decoder 121 .
  • the input end of the audio decoder 121 is electrically connected to the processor 110 , and the output end is electrically connected to the audio power amplifier 122 .
  • the processor 110 is used to generate the audio signal and provide it to the audio decoder 121 for decoding, and then the audio signal is amplified by the audio power amplifier 122 and then transmitted to the speaker 200 .
  • the detection circuit 20 is used for collecting the first current transmitted between the audio positive differential output terminal SPKP and the positive terminal, and for collecting the second current transmitted between the negative terminal and the audio negative differential output terminal.
  • the detection circuit 20 is further configured to provide the processor 110 with first information according to the first current and the second current, and the first information is used for the processor 110 to determine whether the speaker circuit 10 has a first fault.
  • the first fault includes the short circuit of the speaker to the power supply or the short circuit of the speaker to the ground.
  • the detection circuit in the detection system collects the first current transmitted between the audio positive differential output terminal of the audio power amplifier and the positive terminal of the speaker, and the first current transmitted between the audio negative differential output terminal and the negative terminal of the speaker
  • the second current transmitted between the ports then provides first information to the processor according to the first current and the second current, so that the processor can determine whether the speaker circuit has a first fault.
  • the DC signal and the AC signal output by the audio power amplifier will not interfere with the current collection, so that the circuit can realize the fault detection of the speaker when the audio module is working.
  • the detection circuit 20 in FIG. 6 may include:
  • the first current acquisition circuit 210 is connected in series between the audio positive differential output terminal SPKP and the positive terminal, and the second current acquisition circuit 220 is connected in series between the audio negative differential output terminal SPKN and the negative terminal.
  • the first current collecting circuit 210 is used to collect the first current transmitted by the audio positive differential output terminal SPKP and the positive terminal and provide the first current to the processor 110 .
  • the second current collecting circuit 220 is configured to collect the second current transmitted between the negative terminal and the audio negative differential output terminal SPKN and provide the second current to the processor 110 .
  • the first information includes the first current and the second current.
  • the processor 110 can determine the first current and the second current according to the first current and the second current. Whether the horn circuit 10 has a first fault.
  • the circuit loop formed between the audio positive differential output terminal SPKP of the audio power amplifier 122 , the speaker 200 , and the audio negative differential output terminal SPKN will be turned on, and the speaker 200 can be used as In series with a load impedance RL in the circuit loop. Therefore, according to the principle of equal current everywhere, the direction of the first current transmitted between the audio positive differential output terminal SPKP and the positive terminal and the second current transmitted between the negative terminal and the audio negative differential output terminal SPKN should be opposite, and the current value should be equal, and both are not zero, and also equal to the current value passing through the speaker 200 .
  • a circuit loop in which the speaker 200 is connected to the ground terminal GND will be formed to form a current branch, so that the magnitude of the first current is greater than the second current.
  • the speaker 200 is short-circuited to the power supply, a circuit loop in which the power supply is connected to the speaker 200 will be formed, and the current will increase, so that the magnitude of the second current is greater than the first current.
  • the processor 110 can compare the first current collected by the first current collecting circuit 210 with the second current collected by the second current collecting circuit 220, so that when the audio module 120 is working, it can The magnitude of the current is used to determine whether the speaker 200 is short-circuited to ground or short-circuited to the power supply.
  • FIG. 7 shows a schematic diagram of the connection between another detection system 2 and a speaker 200 provided in an embodiment of the present application.
  • the detection circuit 20 further includes: a current comparison circuit 230 with three connection ports. Among them, as shown in FIG. 7 , the three connection ports are m1, m2 and m3 respectively.
  • the three connection ports of the current comparison circuit 230 are respectively electrically connected to the first current collection circuit 210 , the second current collection circuit 220 and the processor 110 .
  • the current comparison circuit 230 is used to determine the current difference between the first current and the second current and provide it to the processor 110, and the processor 110 is used to determine the speaker circuit according to the current difference between the first current and the second current 10 Whether the first failure occurs.
  • the first information is the current difference between the first current and the second current.
  • the audio module 120 when the audio module 120 is working, if the first current and the second current are in opposite directions and the current difference is zero, it means that the magnitude of the first current is equal to the second current and not zero. At this time, It can be judged that the speaker circuit 10 has no faults in which the speaker is short-circuited to ground and the speaker is short-circuited to the power supply.
  • the processor 110 can determine that the speaker is short-circuited to the ground; if the direction of the first current and the second current are opposite, the current difference is a negative value, and the magnitude of the first current is smaller than the second current, it means that there is an increase in the circuit. Therefore, the magnitude of the first current is smaller than that of the second current due to the current. Therefore, the processor 110 can determine that the speaker is short-circuited to the power supply.
  • the current comparison circuit 230 added in FIG. 7 can be used to calculate the current difference between the first current and the second current.
  • the processor 110 is only used to calculate the current difference according to the calculation.
  • the fault judgment is performed according to the value, which reduces the calculation amount of the processor 110 and improves the processing efficiency.
  • the current difference threshold range corresponding to different faults may also be preset in the processor 110, so that after the current difference value is determined by the current comparison circuit 230, the processor 110 can match the current difference value according to the current difference value.
  • the fault corresponding to the current difference is determined in the range of the threshold value, thereby improving the diagnosis efficiency.
  • the current difference threshold range can be set and modified as required, which is not limited in this application.
  • FIG. 8 shows a schematic diagram of a connection between another detection system 2 and a speaker 200 provided in an embodiment of the present application.
  • the detection circuit 20 further includes: a voltage collection circuit 240 connected to the positive terminal and the negative terminal of the speaker 200 .
  • the voltage collection circuit 240 is used to collect the voltage difference between the positive terminal and the negative terminal of the speaker 200, and the processor 110 is used to determine whether the speaker circuit has a first fault according to the first current, the second current and the voltage difference.
  • the first information includes the first current, the second current and the voltage difference.
  • the first fault may further include an open circuit of the speaker or a short circuit between speaker wires.
  • the second current acquisition circuit 220 makes the first current acquisition circuit 210 , the speaker 200 and the second acquisition circuit 220 form a series circuit loop, and the audio positive differential output terminal SPKP and the audio negative differential output terminal SPKN of the audio power amplifier 122 are connected to each other. The voltage between them is divided.
  • the voltage collected by the voltage collecting circuit 240 connected to the positive port and the negative port of the speaker 200 is not the voltage output by the audio power amplifier 122, but the voltage obtained when the speaker 200 is used as a load impedance. Therefore, when the audio module 120 is working, the voltage acquisition circuit 240 can accurately acquire the voltage obtained when the speaker 200 is used as a load impedance without being affected by the output of the audio power amplifier 122 .
  • the processor 110 can determine the speaker circuit 10. A short-circuit fault has occurred between the speaker wires; if the voltage difference is particularly large, even close to the voltage difference output by the audio module 120, it means that the speaker is open-circuited, and the processor 110 can determine that an open-circuit fault of the speaker has occurred; If the voltage difference is greater than zero but less than the voltage output by the audio module 120 , it means that the speaker is working normally, and the processor 110 can determine that the speaker is normal.
  • the resistance value is usually small. Judging by the voltage difference alone may not be able to distinguish between the normal operation of the speaker 200 and the short circuit between the speaker wires. Therefore, in order to detect more accurately, The voltage difference determined in FIG. 8 and the current difference determined in FIG. 6 or FIG. 7 can be combined for fault judgment.
  • the speaker 200 can be regarded as a resistor whose resistance value is less than the first threshold; if the speaker 200 is open-circuited, it can be considered that the circuit is still conducting, but the speaker 200 is regarded as a resistor whose resistance value is greater than the first threshold.
  • a resistor with two thresholds if the speaker 200 is working normally, the speaker 200 can be regarded as a resistor whose resistance is greater than the first threshold but less than the second threshold.
  • the processor 110 can calculate the ratio between the voltage difference and the first current, or calculate the voltage difference and the second current according to the measured voltage difference between the positive port and the negative port of the speaker 200.
  • the ratio of the current is regarded as the ratio of the voltage difference and the current value passing through the speaker 200, so as to obtain the speaker resistance value RL corresponding to the speaker 200, and then, according to the calculated size of the speaker resistance value RL, it is judged whether there is the first occurrence of the first Fault.
  • the calculated speaker resistance RL is greater than the second threshold, it means that an open-circuit fault of the speaker has occurred; if the calculated speaker resistance RL is less than the first threshold, it means that a short-circuit fault between speaker wires has occurred; if If the calculated speaker resistance RL is greater than the first threshold and less than the second threshold, it means that the speaker is working normally.
  • the sizes of the first threshold and the second threshold may be set and modified as required, which is not limited in this embodiment of the present application.
  • the processor 110 can determine whether there is a short-circuit of the speaker to the ground or the short-circuit of the speaker to the power supply according to the current difference between the first current and the second current, and then combined with the voltage difference, it can accurately determine whether there is a fault between the speaker wires. Short circuit or open horn fault.
  • the detection circuit 20 shown in FIG. 6 to FIG. 8 can solve various fault problems that may occur when the audio module 120 is working normally. However, when the audio module 120 is not working normally, for example, there is no audio signal input or no audio signal. When outputting, it is impossible to judge whether the speaker 200 has the first fault. Therefore, the embodiment of the present application provides a detection circuit 20 to solve this problem.
  • FIG. 9 shows a schematic structural diagram of still another detection system 2 and a speaker 200 provided by an embodiment of the present application.
  • the processor 110 in addition to generating the audio signal, the processor 110 is also configured to generate a sub-audio signal and output it to the speaker 200 through the audio module 120 .
  • the frequency of the sub-audio signal is different from the frequency of the audio signal.
  • the processor 110 can collect the first current collected by the first current collection circuit 210, the second current collected by the second current collection circuit 220, and the voltage collected according to the sub-audio signal transmission.
  • the voltage difference collected by the circuit 240 is used to determine whether the speaker has the first fault.
  • the frequency of the audio signal is generally between 200Hz and 4.3kHz.
  • the processor 110 When the processor 110 generates the audio signal and transmits it to the speaker 200 through the audio module 120, the speaker 200 can convert the sound that can be heard by the human ear, while the sub-audio signal is The frequency is generally less than 10 Hz or greater than 20 kHz.
  • the processor 110 transmits the generated sub-audio signal to the speaker 200 through the audio module 120, the human ear cannot perceive it.
  • the processor 110 in this embodiment of the present application may generate a sub-audio signal while generating an audio signal, or cause the processor 110 to generate a sub-audio signal when no sound is played.
  • the speaker 200 plays the sound signal converted from the audio signal, and the sub-audio signal will not cause interference; when the speaker 200 plays no sound, the audio module 120 has no audio signal input or no audio signal output at this time, but the sub-audio signal can still be used. Therefore, when the sub-audio signal is transmitted, the first current collected by the first current collection circuit 210, the second current collected by the second current collection circuit 220, and the voltage collected by the voltage collection module 240 can be detected. The voltage difference is used to judge whether the speaker has the first fault.
  • FIG. 10 shows a schematic diagram of the connection between still another detection system 2 and a speaker 200 provided in this embodiment of the present application.
  • the detection circuit 20 may further include: a bias circuit 250 .
  • the bias circuit 250 is electrically connected to the audio positive differential output terminal SPKP and the audio negative differential output terminal SPKN respectively.
  • the bias circuit 250 is used to apply a bias voltage to the circuit loop where the first current collection circuit 210 , the speaker 200 and the second current collection circuit 220 are located, and the processor 110 is used to When the bias voltage is applied, whether the speaker 200 has a first fault is determined according to the first current collected by the first current collection circuit 210 , the second current collected by the second current collection circuit 220 and the voltage difference collected by the voltage collection circuit 240 .
  • the audio positive differential output terminal SPKP of the audio power amplifier 122 and the audio negative output terminal SPKP can be made.
  • the circuit loop formed by the first current collection circuit 210 , the speaker 200 and the second current collection circuit 220 between the differential output terminals SPKN is conducted, so that the first current and the second current collected by the first current collection circuit 210 can be collected.
  • the second current collected by the circuit 220 and the voltage difference collected by the voltage collection circuit 240 are used to determine whether the speaker 200 has the first fault.
  • FIG. 6 to FIG. 9 for the process of determining whether the first fault occurs, reference may be made to the above descriptions of FIG. 6 to FIG. 9 , which are not repeated here for brevity.
  • FIG. 11 shows a schematic diagram of a connection between still another detection system 2 and a speaker 200 provided in an embodiment of the present application.
  • the first current collection circuit 210 in the detection circuit 20 includes: a first resistor R11 and a first differential operational amplifier OP1 .
  • the first resistor R11 is connected in series between the audio positive differential output terminal SPKP and the positive terminal, and the two input terminals of the first differential operational amplifier OP1 are respectively electrically connected to both ends of the first resistor R11; the first differential operational amplifier OP1 is used to determine The first voltage difference across the first resistor R11 is provided to the processor 110, and the processor 110 is used to determine the first current I_SPKP according to the first voltage difference and the first resistor R11.
  • the first voltage difference between the two ends of the first resistor R11 determined by the first differential operational amplifier OP1 is the divided voltage of the first resistor R11, and the ratio of the first voltage difference to the first resistor R11 is calculated according to Ohm’s law, That is, the current value passing through the first resistor R11 , that is, the first current I_SPKP transmitted between the audio positive differential output terminal SPKP and the positive terminal of the speaker 200 .
  • FIG. 12 shows a schematic structural diagram of a first current collection circuit 210 .
  • the first current collection circuit 210 may further include: a resistor R21 , a resistor R22 , a resistor R23 , a resistor R24 , a capacitor C1 , and a capacitor C2 .
  • the circuit formed by the resistor R21 , the resistor R22 , the resistor R23 , the resistor R24 , the capacitor C1 , the capacitor C2 and the first differential operational amplifier OP1 is referred to as the first operational amplifier circuit 211 .
  • the resistor R21 is connected in series between the first terminal a of the first resistor R11 and the inverting input terminal of the first differential operational amplifier OP1 (“-” as shown in FIG. 12 ), and the resistor R22 is connected in series with the first resistor Between the second terminal b of R11 and the non-inverting input terminal of the first differential operational amplifier OP1 (“+” as shown in FIG.
  • the resistor R23 is connected in series with the inverting input terminal and the output terminal of the first differential operational amplifier OP1 In between, the capacitor C1 is connected in parallel with the resistor R23, the resistor R24 is connected in series between the non-inverting input terminal of the first differential operational amplifier OP1 and the feedback voltage terminal VREF, and the capacitor C2 is connected in parallel with the resistor R24.
  • Va represents the voltage value at the first terminal a of the first resistor R11
  • V- represents the voltage value of the inverting input terminal of the first differential operational amplifier OP1
  • Vout represents the voltage value of the output terminal of the first differential operational amplifier OP1
  • Vb represents the voltage value at the second terminal b of the first resistor R11
  • V+ represents the voltage value of the non-inverting input terminal of the first differential operational amplifier OP1
  • Vref represents the voltage value of the feedback voltage terminal VREF.
  • Formula (8) can be obtained by combining formula (5), formula (6) and formula (7);
  • Vout Vb-Va+Vref (8)
  • the voltage value output by the output terminal of the first differential operational amplifier OP1 in the first operational amplifier circuit 211 is the first voltage difference across the first resistor R11 .
  • first operational amplifier circuit 211 is only an example of the first operational amplifier circuit 211 , and other structures with the same functions as the first operational amplifier circuit 211 will not be repeated here, but all belong to the protection scope of the present application.
  • the second current collection circuit 220 in the detection circuit 20 includes: a second resistor R12 and a second differential operational amplifier OP2 .
  • the second resistor R12 is equal to the first resistor R11.
  • the second resistor R12 is connected in series between the audio negative differential output terminal SPKN and the negative terminal, and the two input terminals of the second differential operational amplifier OP2 are respectively electrically connected to both ends of the second resistor R12;
  • the second differential operational amplifier OP2 is used to determine the second voltage difference across the second resistor R12 and provide it to the processor 110, and the processor 110 is used to determine the second current I_SPKN according to the second voltage difference and the second resistor R12.
  • the second voltage difference between the two ends of the second resistor R12 determined by the second differential operational amplifier OP2 is the divided voltage of the second resistor R12, and the ratio of the second voltage difference to the second resistor R12 is calculated according to Ohm's law, That is, the current value passing through the second resistor R12 , that is, the second current I_SPKN transmitted between the negative terminal of the speaker 200 and the audio negative differential output terminal SPKN.
  • the second current acquisition circuit 220 may further include other devices and form a second operational amplifier circuit with the second differential operational amplifier OP2 .
  • the second operational amplifier circuit is the same as that in FIG. 12 .
  • the structure of the first operational amplifier circuit 211 may be the same or different. If they are the same, the calculation principles of the two are the same, which will not be repeated here.
  • the following describes the specific process of the fault detection by the detection circuit 20 when the speaker 200 in FIG. 11 is short-circuited to ground and the speaker is short-circuited to the power supply fault with reference to FIG. 13 .
  • FIG. 13 shows an equivalent structural schematic diagram of the speaker 200 in FIG. 11 having a speaker short-circuit to ground fault.
  • the negative terminal of the speaker 200 is short-circuited to the ground, it is equivalent to connecting the negative terminal of the speaker 200 to the ground terminal GND.
  • the loss between the negative terminal and the ground terminal GND is equivalent to the first equivalent resistance RS1, and the current between the negative terminal and the ground terminal GND is recorded as I_S1.
  • the first current I_SPKP transmitted between the audio positive differential output terminal SPKP and the positive terminal of the speaker 200 is divided into two paths after passing through the speaker 200 , one is the negative port of the speaker 200 and the audio negative differential output.
  • FIG. 13 shows an equivalent structural schematic diagram of the speaker in FIG. 11 from a short-circuit of the speaker to a power failure.
  • the positive terminal of the speaker circuit 10 is short-circuited to the power supply BAT, it is equivalent to connecting the positive terminal of the speaker 200 to a high level.
  • the loss between the power source BAT and the positive port is equivalent to the second equivalent resistance RS2, and the current between the power source BAT and the positive port is denoted as I_S2.
  • the first current I_SPKP is combined with I_S2 before passing through the speaker 200, and then transmitted back to the audio negative differential output terminal SPKN after passing through the speaker 200, so that the following formula (11) can be obtained;
  • the current comparison circuit 230 in the detection circuit 20 includes: a third differential operational amplifier OP3 .
  • the two input terminals of the third differential operational amplifier OP3 are respectively electrically connected to the output terminal of the first differential operational amplifier OP1 and the output terminal of the second differential operational amplifier OP2.
  • the third differential operational amplifier OP3 is used to determine a third voltage difference between the first voltage difference and the second voltage difference and provide it to the processor 110, and the processor 110 is used to determine the third voltage difference according to the third voltage difference, the first resistance R11 or a second resistor R12 to determine the current difference.
  • the third voltage difference determined by the third differential operational amplifier OP3 is the difference between the voltage division of the first resistor R11 and the voltage division of the second resistor R12 .
  • the third voltage difference is a positive value, it means that the voltage division of the first resistor R11 is greater than that of the second resistor R12. Since the first resistor R11 is equal to the second resistor R12, the processor 110 calculates the third voltage according to Ohm's law The ratio of the difference to the first resistor R11 (or the second resistor R12 ) can obtain the current difference, and the current difference should be a positive value.
  • the current difference can be calculated according to the following formula (12):
  • ⁇ I represents the current difference
  • ⁇ V1 represents the first voltage difference
  • ⁇ V2 represents the second voltage difference
  • ⁇ V3 represents the third voltage difference.
  • the processor 110 calculates according to Ohm's law.
  • the ratio of the third voltage difference ⁇ V3 to the first resistor R11 (or the second resistor R12 ) can obtain the current difference ⁇ I, and the current difference ⁇ I is a negative value. Based on this, during subsequent detection, if the processor 110 determines that the current difference ⁇ I is a negative value according to the third voltage difference ⁇ V3 , it indicates that a fault occurs in which the speaker is short-circuited to the power supply.
  • the processor 110 determines that the current difference ⁇ I is zero according to the third voltage difference ⁇ V3, it means that the first fault does not occur.
  • the current comparison circuit 230 may further include other devices and form a third operational amplifier circuit with the third differential operational amplifier OP3 .
  • the structures of the operational amplifier circuits 211 may be the same or different. If they are the same, the calculation principles of the two are the same, which will not be repeated here.
  • the voltage acquisition circuit 240 may include: a fourth differential operational amplifier OP4 , two input ends of the fourth differential operational amplifier OP4 are respectively connected with the positive terminal of the speaker 200 and the positive terminal of the speaker 200 .
  • the negative terminal is electrically connected;
  • the fourth differential operational amplifier OP4 is used to determine a fourth voltage difference between the positive terminal and the negative terminal of the speaker 200 and provide it to the processor 110 .
  • the voltage collection circuit 240 may further include other devices and form a fourth operational amplifier circuit with the fourth differential operational amplifier OP4 .
  • the structures of the fourth operational amplifier circuit and the first operational amplifier circuit 211 in FIG. 12 may be the same or different. If they are the same, the calculation principles of the two are basically the same, which will not be repeated here.
  • FIG. 14 shows a schematic structural diagram of still another detection system 2 provided by an embodiment of the present application.
  • the bias circuit 250 in the detection circuit 20 includes: a bias voltage terminal VCC, a first bias resistor RT1 , a second bias resistor RT2 and a ground terminal GND.
  • the first terminal of the first bias resistor RT1 is electrically connected to the bias voltage terminal VCC
  • the second terminal of the first bias resistor RT1 is electrically connected to the audio positive differential output terminal SPKP
  • the first terminal of the second bias resistor RT2 is electrically connected to the audio positive differential output terminal SPKP.
  • the audio negative differential output terminal SPKN is electrically connected
  • the second end of the second bias resistor RT2 is electrically connected to the ground terminal GND.
  • a first switch SW1 may also be connected in series between the second end of the first bias resistor RT1 and the audio positive differential output end SPKP, and when the second bias resistor RT1
  • the first end of the resistor RT2 and the audio negative differential output end SPKN can also be connected in series with a second switch SW2.
  • the circuit loop between the bias voltage terminal VCC and the ground terminal GND through the speaker 200 can be turned on by controlling the first switch SW1 and the second switch SW2 to be closed at the same time, so that when the audio module 120 is not working, the The speaker circuit 10 performs the detection.
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the detection circuit 20 .
  • the detection circuit 20 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the detection system collects the first current transmitted between the audio positive differential output terminal of the audio power amplifier and the positive terminal of the speaker through the detection circuit in the detection system, and the first current between the audio negative differential output terminal and the negative terminal of the speaker is collected. Then, the processor compares the magnitude of the first current and the second current to determine whether the speaker is short-circuited to the ground or the speaker is short-circuited to the power supply, and then combined with the voltage difference between the two ends of the speaker to detect the speaker. Whether there is a fault in the open circuit of the speaker or the short circuit between the speaker wires. Because, when the audio module is working, the DC signal and AC signal output by the audio power amplifier will not interfere with the collection of current and voltage, so the circuit can achieve the purpose of fault detection of the speaker circuit when the audio module is working.
  • the sub-audio signal and bias circuit are added to detect whether the speaker is faulty when the speaker has no sound playing and the audio module is not working, so as to increase the comprehensiveness of the detection.
  • Embodiments of the present application also provide an electronic device, including a connected detection system and a speaker.
  • the detection system is the detection system provided by the embodiment of the present application.
  • the electronic device may be a mobile phone, a tablet computer, a wearable device, an in-vehicle device, an augmented reality (AR)/virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (ultra-mobile personal computer) computer, UMPC), netbook, personal digital assistant (personal digital assistant, PDA), etc.
  • AR augmented reality
  • VR virtual reality
  • UMPC ultra-mobile personal computer
  • netbook personal digital assistant
  • PDA personal digital assistant
  • the embodiments of the present application further provide a T-BOX, including the detection system provided by the embodiments of the present application.
  • the T-BOX also includes a speaker connected to the detection system.
  • Embodiments of the present application further provide a vehicle, where the vehicle includes the T-BOX provided by the embodiments of the present application.
  • Embodiments of the present application also provide a vehicle, including a connected T-BOX and a detection system.
  • the detection system is the detection system provided by the above embodiments of the present application.
  • the vehicle further includes a horn connected to the detection system.
  • an external interface is generally provided, and the external interface is electrically connected to the T-BOX.
  • the car manufacturer requires that the external interface can realize fault diagnosis and report in time when a fault occurs. Therefore, in the embodiment of the present application, after the detection system determines whether the speaker is faulty, the detection result can be reported through the external interface electrically connected to the T-BOX.
  • pre-setting and pre-defining may be implemented by pre-saving corresponding codes, tables, or other means that can be used to indicate relevant information in a device (for example, including a terminal device). , this application does not limit its specific implementation.

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

一种检测系统(2)、T-BOX(100)及车辆,检测电路(20)用于采集音频正差分输出端(SPKP)与正极端口之间传输的第一电流(I_SPKP),以及用于采集负极端口与音频负差分输出端(SPKN)之间传输的第二电流(I_SPKN);检测电路(20)还用于根据第一电流(I_SPKP)和第二电流(I_SPKN)向处理器(110)提供第一信息,第一信息用于处理器(110)确定喇叭电路(10)是否出现第一故障。由于音频功率放大器(122)的音频正负差分输出端输出的直流信号和交流信号并不会干扰电流的采集,因此该检测系统(2)可以实现在音频模块(120)工作时,对喇叭(200)进行故障检测。

Description

检测系统、T-BOX及车辆
本申请要求于2020年12月09日提交国家知识产权局、申请号为202011461978.X、申请名称为“检测系统、T-BOX及车辆”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及检测电路技术领域,尤其涉及一种检测系统、T-BOX及车辆。
背景技术
汽车通过喇叭电路来实现音频功能,该喇叭电路一般包括依次连接的处理器、音频模块和喇叭。处理器生成音频信号并通过音频模块提供给喇叭,喇叭再将音频信号转换为声音信号,从而可以实现发声。
但是,在汽车生产过程中、运输装配中以及在用户使用了一定时间后,该喇叭电路中的喇叭都有可能出现故障。其中,出现的故障可能有多种情况,例如:喇叭短路到地、喇叭短路到电源、喇叭开路、喇叭线间短路等。
现有的检测方法通常是在喇叭的正极端口串联电阻并上拉到测试电源上,负极端口串联电阻并下拉到接地端,从而将喇叭作为一个电阻负载,利用电阻分压原理来检测喇叭是否故障,但是由于音频模块在工作时输出的直流信号和交流信号会对检测造成干扰,导致无法诊断,所以,现有的检测方法只能适用于音频模块不工作的情况。
因此,亟待一种在音频模块工作时,能对喇叭进行检测的检测系统。
发明内容
本申请提供了一种检测系统、T-BOX及车辆,实现了在音频模块工作时,对喇叭进行故障检测的目的,可以检测出喇叭是否出现喇叭短路到地、喇叭短路到电源、喇叭线间短路、喇叭开路等故障。
为达到上述目的,本申请采用如下技术方案:
第一方面,提供了一种检测系统,该检测系统与喇叭连接,检测系统包括:相连接的处理器和音频模块,以及与处理器和音频模块均连接的检测电路;音频模块包括具有音频正差分输出端和音频负差分输出端的音频功率放大器,喇叭具有正极端口和负极端口,音频正差分输出端与正极端口连接,音频负差分输出端与负极端口连接;
检测电路用于采集音频正差分输出端与正极端口之间传输的第一电流,以及用于采集负极端口与音频负差分输出端之间传输的第二电流;
检测电路还用于根据第一电流和第二电流向处理器提供第一信息,第一信息用于处理器确定喇叭是否出现第一故障。
第一方面提供的检测系统,通过检测系统中的检测电路采集音频功率放大器的音频正差分输出端和喇叭的正极端口之间传输的第一电流,以及在音频负差分输出端和喇叭的负极端口之间传输的第二电流,然后,根据第一电流和第二电流向处理器提供第一信息,以使得处理器可以判断喇叭是否出现第一故障。在该检测系统中,音频模块工作时,音频功率放大器输出的直流信号和交流信号并不会干扰电流的采集,从而 该检测系统可以实现在音频模块工作时,对喇叭进行故障检测。
在第一方面一种可能的实现方式中,检测系统包括:串联于音频正差分输出端与正极端口之间的第一电流采集电路,串联于音频负差分输出端与负极端口之间的第二电流采集电路;第一电流采集电路用于采集音频正差分输出端与正极端口之间传输的第一电流并提供给处理器,第二电流采集电路用于采集负极端口与音频负差分输出端之间传输的第二电流并提供给处理器。
在第一方面一种可能的实现方式中,检测系统还包括:具有三个连接端口的电流比较电路,电流比较电路的三个连接端口分别与第一电流采集电路、第二电流采集电路以及处理器连接;电流比较电路用于确定第一电流与第二电流之间的电流差值,相应的,第一信息包括电流差值。在该实现方式中,电流比较电路可用于计算第一电流和第二电流之间的电流差值,由此,处理器仅用于根据该计算得到电流差值进行故障判断,减少了处理器的计算量,提高了处理效率。
在第一方面一种可能的实现方式中,检测系统还包括:与喇叭的正极端口和负极端口连接的电压采集电路;电压采集电路用于采集正极端口和负极端口之间的电压差值,相应的,第一信息包括第一电流、第二电流和电压差值。在该实现方式中,处理器根据电压采集电路采集到的电压差值,将电压差值与第一电流、第二电流结合起来计算喇叭对应的阻值,从而可以根据喇叭阻值大小更准确的判断出喇叭是否出现故障,以提高判断的准确性。
在第一方面一种可能的实现方式中,处理器还用于生成亚音频信号并通过音频模块提供给喇叭,亚音频信号的频率与音频信号的频率不同。在该实现方式中,在喇叭无声音播放时,可以通过检测亚音频信号传输时,所采集到的第一电流、第二电流以及电压差值来判断喇叭是否出现故障,从而可实现在音频模块无音频信号输出时,也能对喇叭电路进行检测。
在第一方面一种可能的实现方式中,检测系统还包括:偏置电路,偏置电路分别与音频正差分输出端、音频负差分输出端连接;在音频模块未工作时,偏置电路用于给第一电流采集电路、喇叭及第二电流采集电路所在的电路回路施加偏置电压,处理器用于在施加偏置电压时,根据第一电流采集电路采集的第一电流、第二电流采集电路采集的第二电流以及电压采集电路采集的电压差值来确定喇叭是否出现第一故障。在该实现方式中,在音频模块不工作时,可以通过偏置电路施加偏置电压来判断喇叭是否出现第一故障。
在第一方面一种可能的实现方式中,第一电流采集电路包括:第一电阻和第一差分运算放大器;第一电阻串联于音频正差分输出端与正极端口之间,第一差分运算放大器的两个输入端分别与第一电阻的两端连接;第一差分运算放大器用于确定第一电阻两端的第一电压差值并提供给处理器,处理器用于根据第一电压差值和第一电阻确定第一电流。
在第一方面一种可能的实现方式中,第二电流采集电路包括:第二电阻和第二差分运算放大器,第二电阻与第一电阻相等;第二电阻串联于音频负差分输出端和负极端口之间,第二差分运算放大器的两个输入端分别与第二电阻的两端连接;第二差分运算放大器用于确定第二电阻两端的第二电压差值并提供给处理器,处理器用于根据第 二电压差值和第二电阻确定第二电流。
在第一方面一种可能的实现方式中,电流比较电路包括:第三差分运算放大器;第三差分运算放大器的两个输入端分别与第一差分运算放大器的输出端、第二差分运算放大器的输出端连接;第三差分运算放大器用于确定第一电压差值和第二电压差值之间的第三电压差值并提供给处理器,处理器用于根据第三电压差值、第一电阻或第二电阻来确定电流差值。
在第一方面一种可能的实现方式中,电压采集电路包括:第四差分运算放大器,第四差分运算放大器的两个输入端分别与喇叭的正极端口和负极端口连接;第四差分运算放大器用于确定喇叭的正极端口和负极端口之间的第四电压差值并提供给处理器。
在第一方面一种可能的实现方式中,偏置电路包括:偏置电压端、第一偏置电阻、第二偏置电阻和接地端;第一偏置电阻的第一端与偏置电压端连接,第一偏置电阻的第二端与音频正差分输出端连接,第二偏置电阻的第一端与音频负差分输出端连接,第二偏置电阻的第二端与接地端连接。
在第一方面一种可能的实现方式中,第一故障包括喇叭短路到电源、喇叭短路到地、喇叭开路或喇叭线间短路。
第二方面,提供了一种电子设备,包括相连接的检测系统和喇叭,其中,检测系统为如第一方面或第一方面的任意可能的实现方式中提供的检测系统。
第三方面,提供了一种T-BOX,包括如第一方面或第一方面的任意可能的实现方式中提供的检测系统。
在第三方面一种可能的实现方式中,T-BOX还包括与检测系统连接的喇叭。
第四方面,提供了一种车辆,包括如第三方面或第三方面的任意可能的实现方式中提供的T-BOX。
第五方面,提供了一种车辆,包括相连接的T-BOX和检测系统,其中,检测系统为如第一方面或第一方面的任意可能的实现方式中提供的检测系统。
在第五方面一种可能的实现方式中,该车辆还包括与检测系统连接的喇叭。
本申请提供的检测系统、T-BOX及车辆,通过检测系统中的检测电路采集在音频功率放大器的音频正差分输出端和喇叭的正极端口之间传输的第一电流,在音频负差分输出端和喇叭的负极端口之间传输的第二电流,然后,通过处理器比较第一电流和第二电流的大小来判断喇叭电路是否出现喇叭短路到地、喇叭短路到电源的故障,再结合喇叭两端的电压差值来检测喇叭电路是否出现喇叭开路、喇叭线间短路的故障。由于,在音频模块工作时,音频功率放大器输出的直流信号和交流信号并不会干扰电流、电压的采集,从而该电路可以实现在音频模块工作时,对喇叭电路进行故障检测的目的。
此外,还通过增加亚音频信号、偏置电路来检测喇叭无声音播放、音频模块不工作时喇叭是否出现故障,以增加检测的全面性。
附图说明
图1为本申请实施例提供的一种终端设备的结构示意图;
图2为本申请实施例提供的一种T-BOX的结构示意图;
图3为一种现有检测系统与喇叭的连接示意图;
图4为另一种现有检测系统与喇叭的连接示意图;
图5为又一种现有检测系统与喇叭的连接示意图;
图6为本申请实施例提供的一种检测系统与喇叭的连接示意图;
图7为本申请实施例提供的另一种检测系统与喇叭的连接示意图;
图8为本申请实施例提供的又一种检测系统与喇叭的连接示意图;
图9为本申请实施例提供的又一种检测系统与喇叭的连接示意图;
图10为本申请实施例提供的又一种检测系统与喇叭的连接示意图;
图11为本申请实施例提供的又一种检测系统与喇叭的连接示意图;
图12为本申请实施例提供的一种第一电流采集电路的结构示意图;
图13为图11中的喇叭出现喇叭短路到地、喇叭短路到电源故障的等效结构示意图;
图14为本申请实施例提供的又一种检测系统与喇叭的连接示意图。
附图标记:
1-终端设备;2-检测系统;20-检测电路;100-T-BOX;110-处理器;120-音频模块;121-音频解码器;122-音频功率放大器;200-喇叭;210-第一电流采集电路;211-第一运放电路;220-第二电流采集电路;230-电流比较电路;240-偏置电路;SPKP-音频正差分输出端;SKPN-音频负差分输出端;VCC-偏置电压端;GND-接地端;RL-喇叭电阻;R11-第一电阻;R12-第二电阻;I_SPKP-第一电流;I_SPKN-第二电流;OP1-第一差分运算放大器;OP2-第二差分运算放大器;OP3-第三差分运算放大器;OP4-第四差分运算放大器;RS1-第一等效电阻;RS2-第二等效电阻;RT1-第一偏置电阻;RT2-第二偏置电阻;SW1-第一开关;SW2-第二开关;BAT-电源。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“多个”是指两个或多于两个。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
此外,本申请中,“左”、“右”等方位术语可以包括但不限于相对附图中的部件示意置放的方位来定义的,应当理解到,这些方向性术语可以是相对的概念,它们用于相对性的描述和澄清,其可以根据附图中部件附图所放置的方位的变化而相应地发生变化。
在本申请中,除非另有明确的规定和限定,术语“连接”应做广义理解,例如,“连接”可以是固定连接,也可以是可拆卸连接,或成一体;可以是直接相连,也可以通过中间媒介间接相连。此外,术语“电连接”可以是实现信号传输的电性连接的方式。“电连接”可以是直接的电性连接,也可以通过中间媒介间接电性连接。
本申请实施例的技术方案可以应用于各种终端设备。例如,本申请实施例中的终端设备可以为手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等,本申请实施例对终端设备的具体类型不作任何限制。
以终端设备为车载设备为例,图1示出了本申请实施例提供的一种终端设备的结构示意图。如图1所示,终端设备1上设置有检测系统2和与检测系统2连接的多个喇叭200,该检测系统2包括相连接的处理器110和音频模块120,以及与处理器110和音频模块120均电连接的检测电路20,检测系统2用于对喇叭200进行检测。
其中,在该终端设备1中,音频模块120与喇叭200均连接。由此,处理器110可以生成音频信号并通过音频模块120提供给喇叭200,喇叭200再将音频信号转换为声音信号,从而可以实现音频功能,这样,用户可以利用终端设备1来收听音乐或广播等。
厂商在生产车辆时,一般可能会将检测系统2中的处理器110、音频模块120以及检测电路20会设置在车辆中的中控台位置处,而将与音频模块120连接的喇叭200安装在车辆车门上。如图1所示,该车辆上设置有四个喇叭200,分别安装在车辆的左右前车门、左右后车门上,这样,在使用过程中,处理器110生成音频信号并将音频信号通过音频模块120提供给四个喇叭200,从而利用该四个位于不同位置的喇叭200在车内实现音频功能,还能形成良好的音效,可以提高用户的体验。
当然,不同的车型上的喇叭数量和设置位置可以是不同的,该数量和设置位置可以根据需要进行更改,本申请对此不进行任何限制。
以下对图1中的检测系统2的结构进行说明。
应理解,该检测系统2可以设置在车辆的车载通讯盒子(telematics box,T-BOX)中,而与检测系统2连接的喇叭200则设置在T-BOX之外,或者,该检测系统2和与其连接的喇叭200可以均设置在T-BOX中,或者,该检测系统2还可以设置T-BOX之外,仅与T-BOX连接。
以检测系统2和与检测系统2连接的喇叭200均设置在T-BOX中为例,图2示出了本申请实施例提供的一种T-BOX的结构示意图。图2中仅画出了一个喇叭200以作为示例。
其中,如图2所示,T-BOX包括相连接的检测系统2和喇叭200,检测系统2包括处理器110和音频模块120,以及与处理器11和音频模块120均连接的检测电路20,音频模块120可以包括音频解码器121和音频功率放大器122。
T-BOX用于提供应用在车辆上的包括第二代(2th generation,2G)通信技术,第三代(3th generation,3G)通信技术,第四代(4th generation,4G)通信技术,第五代(5th generation,5G)通信技术,无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。T-BOX可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise  amplifier,LNA)等。T-BOX可以由天线接收电磁波,并对接收的电磁波进行滤波,放大等处理。T-BOX还可以将调制后的信号放大,经天线转为电磁波辐射出去。T-BOX可以是集成至少一个通信处理模块的一个或多个器件。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路内置音频(inter-integrated circuit sound,I2S)接口等。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块120耦合,实现处理器110与音频模块120之间的通信。
应理解,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对T-BOX的结构限定。在本申请另一些实施例中,T-BOX也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
车载设备通过音频模块120、喇叭200以及应用处理器等实现音频功能。
音频模块120用于将数字音频信息转换成模拟音频信号输出,也可以用于将模拟音频输入转换为数字音频信号。音频模块120还可以用于对音频信号编码和解码,和/或,对音频信号进行功率放大。在一些实施例中,音频模块120可以设置于处理器110中,或将音频模块120的部分功能模块设置于处理器中。
喇叭200,也叫扬声器,具有正极端口和负极端口,用于将音频信号转换为声音信号。
其中,结合图2所示,音频模块120中的音频功率放大器122具有音频正差分输出端和音频负差分输出端。其中,如图2所示,SPKP用于表示音频正差分输出端,SPKN用于表示音频负差分输出端。音频功率放大器122的音频正差分输出端SPKP和喇叭200的正极端口电连接,音频功率放大器122的音频负差分输出端SPKN和喇叭200的负极端口电连接。音频模块120中的音频解码器121对处理器110输出的音频信号进行解码,并将解码后的音频信号提供给音频功率放大器122进行放大,然后,音频功率放大器122将放大的音频信号再通过音频正差分输出端SPKP和音频负差分输出端SPKN提供给喇叭200的正极端口、负极端口,由此,喇叭200接收后将音频信号转换成声音信号进行发声。
应理解,本申请实施例示意的结构并不构成对T-BOX的具体限定。在本申请另一些实施例中,T-BOX可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
基于依次连接的处理器、音频模块和喇叭所组成的喇叭电路中的喇叭或者独立使用的喇叭,在生产过程中、运输装配中以及在用户使用了一定时间后,该喇叭都有可能出现故障。其中,出现的故障可能有多种情况,例如喇叭短路到地、喇叭短路到电源、喇叭线间短路或者喇叭开路等。此时,需要对喇叭进行检测,判断出现的是什么故障,从而方便于后续对故障进行针对性维修。
应理解,喇叭短路到地指的是喇叭的正极端口短路到接地端或者喇叭的负极端口短路到接地端。喇叭短路到电源指的是喇叭的正极端口短路到电源或者喇叭的负极端口短路到电源。喇叭线间短路指的是喇叭的正极端口和负极端口直接导通所导致的短路,喇叭开路指的是在喇叭内部正极端口和负极端口之间断开。
那么,为了对喇叭进行故障检测,在现有技术中,已提出多种结构的检测电路20,下面以三种检测电路20为例进行说明。
图3示出了一种现有检测系统2与喇叭200的连接示意图。如图3所示,该检测系统2中的检测电路20设置在音频功率放大器122和喇叭200之间。该检测电路20包括电阻R1和开关SW,电阻R1的第一端连接在偏置电压端VCC上,第二端连接在喇叭200的正极端口上,开关SW的第一端连接在喇叭200的负极端口,第二端连接在接地端GND上。
在开关SW闭合时,偏置电压端VCC上施加偏置电压,喇叭200可以看作是一个负载阻抗RL,从而经过电阻R1与喇叭电阻RL在偏置电压端VCC和接地端GND之间可形成一个导通回路。
基于所示导通回路,可以从喇叭200的正极端口外接一条检测线来检测喇叭200当作一负载阻抗RL时所分得的电压,进而根据喇叭200分得的电压大小,可以检测出喇叭200是否故障。
示例性的,当偏置电压端VCC上施加1V电压时,连接到喇叭200的正极端口上的检测线所获取的电压值可以根据公式(1)计算得到。
Figure PCTCN2021135520-appb-000001
其中,在公式(1),VDET0表示连接到喇叭200的正极端口上的检测线所获取的电压值。
根据公式(1)可知,若喇叭200正常,则电压值VDET的大小应为0V~1V之间的中间电平;若喇叭200两端发生线间短路,喇叭阻值RL1将变小,则电压值VDET将接近0V;若喇叭200两端开路,则电压值VDET的大小将被上拉至1V。由此,可以以电阻分压的原理检测出喇叭对应的状态是正常,还是发生了线间短路或开路故障。
图4示出了另一种现有检测系统2的结构示意图。如图4所示,该检测系统2中的检测电路20设置在音频功率放大器122和喇叭200之间。该检测电路20包括电阻 R2、电阻R3、电阻R4、电阻R5和电阻R6。其中,电阻R2的第一端连接偏置电压端VCC,第二端连接第一节点P1;电阻R3的第一端连接第一节点P1,第二端连接第二节点P2;电阻R4的第一端连接第二节点P2,第二端连接喇叭的正极端口,电阻R5的第一端连接第一节点P1,第二端连接接地端GND;电阻R6的第一端连接喇叭200的负极端口,第二端连接接地端GND。
在偏置电压端VCC上施加偏置电压时,若将喇叭200看作一个电阻RL,则电阻R2和电阻R5形成了接在偏置电压端VCC和接地端GND之间的第一回路L1;电阻R3、电阻R4、喇叭对应的电阻RL2和电阻R6形成了接在偏置电压端VCC和接地端GND之间的第二回路L2。
基于所示第一回路L1,可以从第一节点P1处外接一条检测线来检测电阻R5所分得的电压;基于所示第二回路L2,可以从第二节点P2处再外接一条检测线来检测电阻R4、喇叭对应的电阻RL2和电阻R6共同所分得的电压,进而通过比较第一节点P1和第二节点P2处测得的电压大小,可以检测出喇叭200是否故障。
示例性的,当偏置电压端VCC上施加10V电压时,从第一节点P1获取的电压值可以根据公式(2)得到,从第二节点P2获取的电压值可以根据公式(3)得到。
Figure PCTCN2021135520-appb-000002
Figure PCTCN2021135520-appb-000003
其中,公式(2)中,VDET1表示从第一节点P1获取的电压值,公式(3)中,VDET2表示从第一节点P1获取的电压值。
根据公式(2)和公式(3)可知,若喇叭200连接正常,则电压值VDET1和电压值VDET2应为0V~10V之间的中间电平,而且,电压值VDET1应大于电压值VDET2;若喇叭200两端发生线间短路,喇叭阻值RL2将变小,由此,相对于正常时,发生线间短路时对应的电压值VDET1将不变,但电压值VDET2将变小,并且电压值VDET1与电压值VDET2的差值将变大;若喇叭200两端开路,则第二回路L2无电流,由此,电压值VDET2将等于电压值VDET1。因此,通过比较第一节点P1和第二节点P2处的电压,就可以检测出喇叭对应的状态是正常还是发生了线间短路或开路故障。
上述图3和图4所示的两种现有的检测系统2都是通过在喇叭200的正极端口串联电阻并上拉到偏置电压端上,负极端口下拉到接地端,然后,将喇叭200作为一个负载阻抗,利用电阻分压原理来检测喇叭200是否故障。虽然图3和图4所示的检测电路20可以实现对喇叭200两端的连接状态的检测,但是都是基于音频模块不工作的情况下所进行的。如果音频模块120在工作,音频模块120中的音频功率放大器122的音频正差分输出端SPKP和音频负差分输出端SPKN输出的直流信号以及交流信号将会对检测造成干扰。按照图3和图4所示的检测电路20所获取到的检测电压,其实是无法得知是音频功率放大器122输出的电压还是喇叭200作为负载阻抗分压时所对应的电压,从而导致上述图3和图4所示的检测电路20无法在音频模块120工作时用于对喇叭200进行故障检测。
图5示出了另一种现有检测系统2与喇叭200的连接示意图。如图5所示,该检 测系统2中的检测电路20中的一部分电路与图3所示的检测电路20的结构相同,在此不再赘述。但是在检测时,是利用音频功率放大器122对喇叭对应的状态是否为线间短路、开路进行判断,然后,音频功率放大器122将检测结果从端口(例如图5中所示的端口D)输出,这种方式完全依赖于音频功率放大器122内部的诊断功能。
此外,音频功率放大器122与喇叭200连接的两线还与电压采集电路连接,电压采集电路与电压比较电路连接。电压采集电路用于采集喇叭200的正极端口和负极端口分别对应的电压,电压比较电路用于比较该两个电压,从而可以在施加偏置电压时,根据电压比较电路的输出结果,来检测喇叭两端的连接状态是否出现短路到电源或短路到地的故障。虽然上述图5相对于图3和图4,可以多检测出喇叭是否短路到电源或短路到地两种故障,但是,也只适用于音频模块120不工作的情况,无法在音频模块120工作时对喇叭故障进行检测。
因此,亟待一种可以在音频模块工作时,能对喇叭进行检测的检测系统。
有鉴于此,本申请提供了一种检测系统,通过检测系统中的检测电路采集音频功率放大器的音频正差分输出端和喇叭的正极端口之间传输的第一电流,以及在音频负差分输出端和喇叭的负极端口之间传输的第二电流,然后,根据第一电流和第二电流向处理器提供第一信息,以使得处理器可以判断喇叭电路是否出现第一故障。在该检测系统中,音频模块工作时,音频功率放大器输出的直流信号和交流信号并不会干扰电流的采集,从而该电路可以实现在音频模块工作时,对喇叭进行故障检测。
下面结合图6至图14对本申请实施例提供的检测系统2进行详细说明。
图6示出了本申请实施例提供的一种检测系统2与喇叭200的连接示意图。该检测系统2与喇叭200连接。
如图6所示,该检测系统2包括连接的处理器110和音频模块120,以及与处理器110和音频模块120均连接的检测电路20,音频模块120包括具有音频正差分输出端SPKP和音频负差分输出端SPKN的音频功率放大器122,喇叭200具有正极端口和负极端口,音频正差分输出端SPKP与喇叭200的正极端口电连接,音频负差分输出端SPKN与喇叭200的负极端口电连接,处理器110用于生成音频信号并通过音频模块120提供给喇叭200,喇叭200用于将音频信号转换为声音信号并播放。
在本申请实施例中,音频模块120一般还可以包括音频解码器121,音频解码器121的输入端与处理器110电连接,输出端与音频功率放大器122电连接。此时,处理器110用于生成音频信号并提供给音频解码器121进行解码,然后再经音频功率放大器122放大后传输给喇叭200。
检测电路20用于采集音频正差分输出端SPKP与正极端口之间传输的第一电流,以及用于采集负极端口与音频负差分输出端之间传输的第二电流。
检测电路20还用于根据第一电流和第二电流向处理器110提供第一信息,第一信息用于处理器110确定喇叭电路10是否出现第一故障。
可选地,在本申请实施例中,第一故障包括喇叭短路到电源或喇叭短路到地。
本申请实施例提供的检测系统,通过检测系统中的检测电路采集音频功率放大器的音频正差分输出端和喇叭的正极端口之间传输的第一电流,以及在音频负差分输出端和喇叭的负极端口之间传输的第二电流,然后,根据第一电流和第二电流向处理器 提供第一信息,以使得处理器可以判断喇叭电路是否出现第一故障。在该检测系统中,音频模块工作时,音频功率放大器输出的直流信号和交流信号并不会干扰电流的采集,从而该电路可以实现在音频模块工作时,对喇叭进行故障检测。
可选地,在本申请实施例中,图6中的检测电路20可以包括:
串联于音频正差分输出端SPKP和正极端口之间的第一电流采集电路210、以及串联于音频负差分输出端SPKN和负极端口之间的第二电流采集电路220。
第一电流采集电路210用于采集音频正差分输出端SPKP与正极端口传输的第一电流并提供给处理器110。第二电流采集电路220用于采集负极端口与音频负差分输出端SPKN之间传输的第二电流并提供给处理器110。
应理解,此时,第一信息包括第一电流和第二电流,检测电路20将第一电流和第二电流提供给处理器110后,处理器110根据第一电流、第二电流就可以确定喇叭电路10是否出现第一故障。
应理解,结合图6,当音频模块120工作时,音频功率放大器122的音频正差分输出端SPKP、喇叭200、音频负差分输出端SPKN之间形成的电路回路将导通,喇叭200可以当作串联于该电路回路中的一个负载阻抗RL。由此,根据电流处处相等的原理可知,音频正差分输出端SPKP与正极端口之间传输的第一电流与负极端口至音频负差分输出端SPKN之间传输的第二电流方向应相反,电流值应相等,并且均不为零,同时也等于经过喇叭200的电流值。
作为一种示例,若喇叭200短路到地,则会形成喇叭200连接到接地端GND的电路回路,形成电流分支,导致第一电流的大小大于第二电流。
作为另一种示例,若喇叭200短路到电源,则会形成电源连接到喇叭200的电路回路,增加电流,导致第二电流的大小大于第一电流。
因此,处理器110可以将第一电流采集电路210采集到的第一电流与第二电流采集电路220采集到的第二电流进行比较,从而在音频模块120工作时,可以根据第一电流和第二电流的大小来确定出喇叭200是否出现了短路到地或短路到电源的故障。
可选地,图7示出了本申请实施例提供的另一种检测系统2与喇叭200的连接示意图。如图7所示,在图6的基础上,该检测电路20还包括:具有三个连接端口的电流比较电路230。其中,如图7所示,三个连接端口分别为m1、m2和m3。
电流比较电路230的三个连接端口分别与第一电流采集电路210、第二电流采集电路220以及处理器110电连接。
电流比较电路230用于确定第一电流与第二电流之间的电流差值并提供给处理器110,处理器110用于根据第一电流和第二电流之间的电流差值来确定喇叭电路10是否出现第一故障。
应理解,此时,第一信息为第一电流和第二电流之间的电流差值。
应理解,结合图7,当音频模块120工作时,若第一电流与第二电流方向相反,电流差值为零,则说明第一电流的大小等于第二电流且不为零,此时,可以判断喇叭电路10没有发生喇叭短路到地和喇叭短路到电源的故障。
若第一电流与第二电流方向相反,电流差值为正值,第一电流的大小大于第二电流,则说明电路中电流被分流才可能导致第一电流的大小大于第二电流,由此,处理 器110可以判断喇叭发生了喇叭短路到地的故障;若第一电流与第二电流方向相反,电流差值为负值,第一电流的大小小于第二电流,则说明电路中增加了电流所以才导致第一电流的大小小于第二电流,由此,处理器110可以判断喇叭发生了喇叭短路到电源的故障。
在图6的基础上,图7中增加的电流比较电路230可以用于计算第一电流和第二电流之间的电流差值,此时,处理器110仅用于根据该计算得到的电流差值进行故障判断,减少了处理器110的计算量,提高了处理效率。
在本申请实施例中,还可以在处理器110中预设不同故障所对应的电流差值阈值范围,从而在电流比较电路230确定出电流差值后,处理器110可以根据电流差值所匹配的阈值范围确定出该电流差值所对应的故障,从而提高诊断效率。其中,电流差值阈值范围可以根据需要进行设定和修改,本申请对此不进行任何限制。
可选地,图8示出了本申请实施例提供的另一种检测系统2与喇叭200的连接示意图。如图8所示,在图7的基础上,该检测电路20还包括:喇叭200的正极端口和负极端口连接的电压采集电路240。
电压采集电路240用于采集喇叭200的正极端口和负极端口之间的电压差值,处理器110用于根据第一电流、第二电流和电压差值来确定喇叭电路是否出现第一故障。
应理解,此时,第一信息包括第一电流、第二电流和电压差值。
可选地,在本申请实施例中,第一故障还可以包括喇叭开路或喇叭线间短路。
应理解,由于在音频功率放大器122的音频正差分输出端SPKP和喇叭200的正极端口之间串联有第一电流采集电路210,在音频负差分输出端SPKN和喇叭200的负极端口之间串联有第二电流采集电路220,使得第一电流采集电路210、喇叭200和第二采集电路220形成了串联的电路回路,对音频功率放大器122的音频正差分输出端SPKP和音频负差分输出端SPKN之间的电压进行了分压。此时,在喇叭200的正极端口和负极端口上连接的电压采集电路240所采集到的电压并不是音频功率放大器122输出的电压,而是喇叭200当作一负载阻抗时所分得的电压。因此,在音频模块120工作时,该电压采集电路240可以准确采集到喇叭200当作一负载阻抗时所分得的电压,而不受音频功率放大器122的输出影响。
结合图8,在音频模块120工作时,若电压采集电路240采集到的电压差值接近于零,则说明喇叭200发生了短路导致电压差值特别小,由此,处理器110可以判断喇叭电路10发生了喇叭线间短路的故障;若电压差值特别大,甚至接近于音频模块120输出的电压差值,则说明喇叭发生了开路,由此,处理器110可以判断发生了喇叭开路故障;若电压差值大于零而小于音频模块120输出的电压,则说明喇叭正常工作,由此,处理器110可以判断喇叭正常。
由于喇叭200当作一负载阻抗时,阻值通常较小,单凭电压差值进行判断可能会无法区分出喇叭200正常工作和喇叭线间短路这两种状态,因此,为了检测的更准确,可以将图8所确定的电压差值和图6或图7中所确定的电流差值结合起来进行故障判断。
例如,假设喇叭200发生线间短路,则喇叭200可当作一阻值小于第一阈值的电阻;假设喇叭200发生开路,可认为电路依然导通,但将喇叭200当作一阻值大于第 二阈值的电阻;假设喇叭200正常工作,则喇叭200可当作一阻值大于第一阈值,但小于第二阈值的电阻。
结合图8,当音频模块120工作时,若第一电流采集电路210采集到的第一电流与第二电流采集电路220采集到的第二电流方向相反,大小相等,此时,也应等于经过喇叭200的电流值,因此,处理器110可以根据测量的喇叭200的正极端口和负极端口之间的电压差值,通过计算电压差值与第一电流的比值,或者计算电压差值与第二电流的比值来当作电压差值与经过喇叭200的电流值的比值,从而获取到喇叭200所对应喇叭阻值RL,然后,再根据计算出的喇叭阻值RL的大小来判断是否出现第一故障。
由此,若该计算得到的喇叭阻值RL大于第二阈值,则说明发生了喇叭开路故障;若该计算得到的喇叭阻值RL小于第一阈值,则说明发生了喇叭线间短路故障;若计算得到的喇叭阻值RL大于第一阈值而小于第二阈值,则说明喇叭正常工作。
在本申请实施例中,第一阈值和第二阈值的大小可以根据需要进行设置和修改,本申请实施例对此不进行任何限制。
结合上述例子,处理器110根据第一电流、第二电流的电流差值可以判断出是否出现喇叭短路到地、喇叭短路到电源的故障,再结合电压差值则可以准确判断是否出现喇叭线间短路或喇叭开路故障。
图6至图8的检测电路20可以解决在音频模块120正常工作时,检测喇叭所可能产生的各种故障问题,但是,当音频模块120非正常工作时,例如无音频信号输入或无音频信号输出时,则无法按照判断喇叭200是否出现第一故障,为此,本申请实施例又提供了一种检测电路20来解决此问题。
图9示出了本申请实施例提供的又一种检测系统2与喇叭200的结构示意图。如图9所示,处理器110除了生成音频信号,还用于生成亚音频信号并通过音频模块120输出至喇叭200,亚音频信号的频率与音频信号的频率不同。
由此,在喇叭200无声音播放时,处理器110可以根据亚音频信号传输时,第一电流采集电路210采集到的第一电流、第二电流采集电路220采集到的第二电流以及电压采集电路240采集到的电压差值来确定喇叭是否出现第一故障。
应理解,音频信号的频率一般在200Hz至4.3kHz之间,当处理器110生成音频信号并通过音频模块120传输给喇叭200时,喇叭200可以转换为人耳可以听见的声音,而亚音频信号的频率一般小于10Hz或者大于20kHz,当处理器110将生成的亚音频信号通过音频模块120传输给喇叭200时,人耳不可察觉。
基于此原理,本申请实施例中的处理器110在生成音频信号的同时可以生成亚音频信号,或者在无声音播放时使处理器110生成亚音频信号,这样,在音频模块120正常工作时,喇叭200将音频信号转换成的声音信号进行播放,亚音频信号不会造成干扰;当喇叭200无声音播放时,此时音频模块120无音频信号输入或无音频信号输出,但亚音频信号依然可正常传输,由此,可以通过检测亚音频信号传输时,第一电流采集电路210所采集到的第一电流、第二电流采集电路220所采集到的第二电流,以及电压采集模块240采集到的电压差值来判断喇叭是否出现第一故障。
可选地,图10示出了本申请实施例提供的又一种检测系统2与喇叭200的连接 示意图。如图10所示,在图8或图9的基础上,检测电路20还可以包括:偏置电路250,偏置电路250分别与音频正差分输出端SPKP、音频负差分输出端SPKN电连接。
结合图10,在音频模块120未工作时,偏置电路250用于给第一电流采集电路210、喇叭200及第二电流采集电路220所在的电路回路施加偏置电压,处理器110用于在施加偏置电压时,根据第一电流采集电路210采集的第一电流、第二电流采集电路220采集的第二电流以及电压采集电路240采集的电压差值来确定喇叭200是否出现第一故障。
应理解,若音频模块120首次上电,或者音频模块120出现故障保护、不工作时,偏置电路250上施加偏置电压后,可以使得音频功率放大器122的音频正差分输出端SPKP和音频负差分输出端SPKN之间的第一电流采集电路210、喇叭200及第二电流采集电路220所形成的电路回路导通,从而可根据第一电流采集电路210采集的第一电流、第二电流采集电路220采集的第二电流以及电压采集电路240采集的电压差值来确定喇叭200是否出现第一故障。此处,确定是否出现第一故障的过程可以参考上述对图6至图9的描述,为了简洁,在此不再赘述。
上述结合图6至图10对检测系统2的整体结构进行了说明,下面将结合图11至图14对检测电路20中的每部分结构进行详细的说明。
可选地,图11示出了本申请实施例提供的又一种检测系统2与喇叭200的连接示意图。如图11所示,检测电路20中的第一电流采集电路210包括:第一电阻R11和第一差分运算放大器OP1。
第一电阻R11串联于音频正差分输出端SPKP与正极端口之间,第一差分运算放大器OP1的两个输入端分别与第一电阻R11的两端电连接;第一差分运算放大器OP1用于确定第一电阻R11两端的第一电压差值并提供给处理器110,处理器110用于根据第一电压差值和第一电阻R11确定第一电流I_SPKP。
应理解,第一差分运算放大器OP1所确定的第一电阻R11两端的第一电压差值即为第一电阻R11的分压,根据欧姆定律计算第一电压差值与第一电阻R11的比值,即为经过第一电阻R11的电流值,也就是音频正差分输出端SPKP与喇叭200的正极端口之间传输的第一电流I_SPKP。
下面对图11中的第一电流采集电路210进行详细说明。图12示出了一种第一电流采集电路210的结构示意图。如图12所示,在图11的基础上,第一电流采集电路210还可以包括:电阻R21、电阻R22、电阻R23、电阻R24、电容C1、电容C2。该电阻R21、电阻R22、电阻R23、电阻R24、电容C1、电容C2与第一差分运算放大器OP1所构成的电路记为第一运放电路211。
其中,电阻R21串联在第一电阻R11的第一端a与第一差分运算放大器OP1的反相输入端(如图12中的所示的“-”)之间,电阻R22串联在第一电阻R11的第二端b与第一差分运算放大器OP1的同相输入端(如图12中的所示的“+”)之间,电阻R23串联在第一差分运算放大器OP1反相输入端与输出端之间,电容C1并联在电阻R23上,电阻R24串联在第一差分运算放大器OP1同相输入端与反馈电压端VREF之间,电容C2并联在电阻R24上。
下面对第一运放电路211的计算原理进行说明。
在图12所示的例子中,由虚断(假设第一差分运算放大器内部开路)可知,通过电阻R21的电流等于通过电阻R23的电流,同理通过电阻R22的电流等于电阻R24的电流,由此,可以列出如下公式(3)和公式(4):
Figure PCTCN2021135520-appb-000004
Figure PCTCN2021135520-appb-000005
公式(3)中,Va表示第一电阻R11的第一端a处的电压值,V-表示第一差分运算放大器OP1反相输入端的电压值,Vout表示第一差分运算放大器OP1输出端的电压值,公式(4)中,Vb表示第一电阻R11的第二端b处的电压值,V+表示第一差分运算放大器OP1同相输入端的电压值,Vref表示反馈电压端VREF的电压值。
如果设定R21=R23,化简公式(3)可得到公式(5);
Figure PCTCN2021135520-appb-000006
如果设定R22=R24,化简公式(4)可得到公式(6);
Figure PCTCN2021135520-appb-000007
而由虚短(假设第一差分运算放大器两个输入端之间短路)可得到公式(7);
V+=V-    (7)
结合公式(5)、公式(6)和公式(7)可得公式(8);
Vout=Vb-Va+Vref     (8)
若假设Vref的值为0,则简化公式(8)可得公式(9);
Vout=Vb-Va    (9)
根据该公式(9)可知,第一运放电路211中第一差分运算放大器OP1输出端输出的电压值即为第一电阻R11两端的第一电压差值。
应理解,上述仅仅是对第一运放电路211的举例说明,其它与第一运放电路211功能相同的结构在此不再一一赘述,但都应当属于本申请的保护范围。
可选地,在本申请实施例中,如图11所示,检测电路20中的第二电流采集电路220包括:第二电阻R12和第二差分运算放大器OP2。其中,第二电阻R12与第一电阻R11相等。
第二电阻R12串联于音频负差分输出端SPKN和负极端口之间,第二差分运算放大器OP2的两个输入端分别与第二电阻R12的两端电连接;
第二差分运算放大器OP2用于确定第二电阻R12两端的第二电压差值并提供给处理器110,处理器110用于根据第二电压差值和第二电阻R12确定第二电流I_SPKN。
应理解,第二差分运算放大器OP2所确定的第二电阻R12两端的第二电压差值即为第二电阻R12的分压,根据欧姆定律计算第二电压差值与第二电阻R12的比值,即为经过第二电阻R12的电流值,也就是喇叭200的负极端口与音频负差分输出端SPKN之间传输的第二电流I_SPKN。
应理解,类似于图12的第一电流采集电路210,第二电流采集电路220还可以包括其他器件并与第二差分运算放大器OP2组成第二运放电路,该第二运放电路与图 12中的第一运放电路211的结构可以相同,也可以不同,若相同时,两者的计算原理相同,在此不再赘述。
下面结合图13对图11中的喇叭200出现喇叭短路到地、喇叭短路到电源故障,检测电路20进行故障检测时的具体过程进行说明。
图13中的(a)示出了图11中的喇叭200出现喇叭短路到地故障的等效结构示意图。如图13中的(a)所示,若喇叭200的负极端口短路到地,则相当于将喇叭200的负极端口连接到了接地端GND上。将负极端口与接地端GND之间的损耗等效为第一等效电阻RS1,负极端口至接地端GND之间的电流记为I_S1。
结合图13中的(a),音频正差分输出端SPKP与喇叭200的正极端口之间传输的第一电流I_SPKP经过喇叭200之后分成了两路,一路为喇叭200的负极端口与音频负差分输出端SPKN与之间传输的第二电流I_SPKN,另一路负极端口与接地端GND之间传输的电流I_S1,由此可得如下公式(10);
I_SPKP=I_RL=I_SPKN+I_S1    (10)
根据公式(10)可知,当喇叭200的负极端口短路到地时,第一电流I_SPKP的大小将大于第二电流I_SPKN。应理解,当喇叭200的正极端口短路到地时,电路的等效结构示意图与上述喇叭的负极端口短路到地的示意图类似,第一电流I_SPKP的大小还是大于第二电流I_SPKN,在此不再赘述。
基于此,后续在检测时,若确定到第一电流I_SPKP大于第二电流I_SPKN,则说明出现了喇叭短路到地的故障。
图13中的(b)示出了图11中的喇叭出现喇叭短路到电源故障的等效结构示意图。如图13中的(b)所示,若喇叭电路10的正极端口短路到电源BAT,则相当于将喇叭200的正极端口连接到了高电平上。将电源BAT与正极端口之间的损耗等效为第二等效电阻RS2,电源BAT与正极端口之间的电流记为I_S2。
结合图13中的(b),第一电流I_SPKP经过喇叭200之前与I_S2合成一路,然后经过喇叭200后再传输回音频负差分输出端SPKN,由此可得如下公式(11);
I_SPKP+I_S2=I_RL=I_SPKN     (11)
根据公式(11)可知,当喇叭200的正极端口短路到电源时,第一电流I_SPKP的大小将小于第二电流I_SPKN。应理解,当喇叭200的负极端口短路到电源时,电路的等效结构示意图与上述喇叭200的负极端口短路到地的示意图类似,第一电流I_SPKP的大小还是小于第二电流I_SPKN,在此不再赘述。
基于此,后续在检测时,若确定到第一电流I_SPKP小于第二电流I_SPKN,则说明喇叭电路10出现了喇叭短路到电源的故障。
可选地,在本申请实施例中,如图11所示,检测电路20中的电流比较电路230包括:第三差分运算放大器OP3。
第三差分运算放大器OP3的两个输入端分别与第一差分运算放大器OP1的输出端、第二差分运算放大器OP2的输出端电连接。
第三差分运算放大器OP3用于确定第一电压差值和第二电压差值之间的第三电压差值并提供给处理器110,处理器110用于根据第三电压差值、第一电阻R11或第二电阻R12来确定电流差值。
应理解,第三差分运算放大器OP3所确定的第三电压差值即为第一电阻R11的分压与第二电阻R12的分压之间的差值。当第三电压差值为正值时,说明第一电阻R11的分压大于第二电阻R12的分压,由于第一电阻R11等于第二电阻R12,则处理器110根据欧姆定律计算第三电压差值与第一电阻R11(或第二电阻R12)的比值,即可得到电流差值,并且,该电流差值应该为正值。
该电流差值可以根据如下公式(12)计算得到:
Figure PCTCN2021135520-appb-000008
其中,△I表示电流差值,△V1表示第一电压差值,△V2表示第二电压差值,ΔV3表示第三电压差值。基于此,后续在检测时,若处理器110根据第三电压差值ΔV3确定到电流差值△I为正值,则说明出现了喇叭短路到地的故障。
同理,当第三电压差值为负值时,说明第一电阻R11的分压小于第二电阻R12的分压,由于第一电阻R11等于第二电阻R12,则处理器110根据欧姆定律计算第三电压差值△V3与第一电阻R11(或第二电阻R12)的比值,即可得到电流差值△I,并且,该电流差值△I为负值。基于此,后续在检测时,若处理器110根据第三电压差值△V3确定到电流差值△I为负值,则说明出现了喇叭短路到电源的故障。
当第三电压差值△V3为零时,则说明第一电阻R11的分压等于第二电阻R12的分压,此时,对应的电流差值△I应为零,基于此,后续在检测时,若处理器110根据第三电压差值△V3确定到电流差值△I为零,则说明未出现第一故障。
应理解,类似于图12的第一电流采集电路210,电流对比电路230还可以包括其他器件并与第三差分运算放大器OP3组成第三运放电路,该第三运放电路与图12第一运放电路211的结构可以相同,也可以不同,若相同时,两者的计算原理相同,在此不再赘述。
可选地,在本申请实施例中,如图11所示,电压采集电路240可以包括:第四差分运算放大器OP4,第四差分运算放大器OP4的两个输入端分别与喇叭200的正极端口和负极端口电连接;
第四差分运算放大器OP4用于确定喇叭200的正极端口和负极端口之间的第四电压差值并提供给处理器110。
应理解,在本申请实施例中,类似于图12中所示的第一电流采集电路210,电压采集电路240还可以包括其他器件并与第四差分运算放大器OP4组成第四运放电路,该第四运放电路与图12第一运放电路211的结构可以相同,也可以不同,若相同时,两者的计算原理基本相同,在此不再赘述。
可选地,图14示出了本申请实施例提供的又一种检测系统2的结构示意图。如图14所示,检测电路20中的偏置电路250包括:偏置电压端VCC、第一偏置电阻RT1、第二偏置电阻RT2和接地端GND。
第一偏置电阻RT1的第一端与偏置电压端VCC电连接,第一偏置电阻RT1的第二端与音频正差分输出端SPKP电连接,第二偏置电阻RT2的第一端与音频负差分输出端SPKN电连接,第二偏置电阻RT2的第二端与接地端GND电连接。
可选地,在本申请实施例中,如图14所示,在第一偏置电阻RT1的第二端与音 频正差分输出端SPKP之间还可以串联第一开关SW1,在第二偏置电阻RT2的第一端与音频负差分输出端SPKN还可以串联第二开关SW2。
需要检测故障时,可以通过控制第一开关SW1与第二开关SW2同时闭合来导通偏置电压端VCC经喇叭200至接地端GND之间的电路回路,从而可以在音频模块120不工作时对喇叭电路10进行检测。
应理解,本申请实施例示意的结构并不构成对检测电路20的具体限定。在本申请另一些实施例中,检测电路20可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
本申请提供的检测系统,通过检测系统中的检测电路采集在音频功率放大器的音频正差分输出端和喇叭的正极端口之间传输的第一电流,在音频负差分输出端和喇叭的负极端口之间传输的第二电流,然后,通过处理器比较第一电流和第二电流的大小来判断喇叭是否出现喇叭短路到地、喇叭短路到电源的故障,再结合喇叭两端的电压差值来检测喇叭电路是否出现喇叭开路、喇叭线间短路的故障。由于,在音频模块工作时,音频功率放大器输出的直流信号和交流信号并不会干扰电流、电压的采集,从而该电路可以实现在音频模块工作时,对喇叭电路进行故障检测的目的。
此外,还通过增加亚音频信号、偏置电路来检测喇叭无声音播放、音频模块不工作时喇叭是否出现故障,以增加检测的全面性。
本申请实施例还提供一种电子设备,包括相连接的检测系统和喇叭。其中,检测系统为本申请实施例所提供的检测系统。
例如,该电子设备可以为手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等,本申请实施例对电子设备的具体类型不作任何限制。
本申请实施例还提供一种T-BOX,包括本申请实施例提供的检测系统。
可选地,该T-BOX还包括与检测系统连接的喇叭。
本申请实施例还提供一种车辆,该车辆包括本申请实施例提供的T-BOX。
本申请实施例还提供一种车辆,包括相连接的T-BOX和检测系统。其中,该检测系统为上述本申请实施例提供的检测系统。
可选地,车辆还包括与检测系统连接的喇叭。
应理解,对于车载设备来说,一般会提供一个外接接口,该外接接口与T-BOX电连接,车厂要求该外接接口可以实现故障诊断,并在故障发生时能及时上报。由此,在本申请实施例中,检测系统确定出喇叭是否出现了故障后,可通过与T-BOX电连接的外接接口将检测结果进行上报。
应理解,上述只是为了帮助本领域技术人员更好地理解本申请实施例,而非要限制本申请实施例的范围。本领域技术人员根据所给出的上述示例,显然可以进行各种等价的修改或变化,例如,上述检测方法的各个实施例中某些步骤可以是不必须的,或者可以新加入某些步骤等。或者上述任意两种或者任意多种实施例的组合。这样的修改、变化或者组合后的方案也落入本申请实施例的范围内。
还应理解,上文对本申请实施例的描述着重于强调各个实施例之间的不同之处,未提到的相同或相似之处可以互相参考,为了简洁,这里不再赘述。
还应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
还应理解,本申请实施例中,“预先设定”、“预先定义”可以通过在设备(例如,包括终端设备)中预先保存相应的代码、表格或其他可用于指示相关信息的方式来实现,本申请对于其具体的实现方式不做限定。
还应理解,本申请实施例中的方式、情况、类别以及实施例的划分仅是为了描述的方便,不应构成特别的限定,各种方式、类别、情况以及实施例中的特征在不矛盾的情况下可以相结合。
还应理解,在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (18)

  1. 一种检测系统,其特征在于,所述检测系统与喇叭连接,所述检测系统包括:相连接的处理器和音频模块,以及与所述处理器和所述音频模块均连接的检测电路;
    所述音频模块包括具有音频正差分输出端和音频负差分输出端的音频功率放大器,所述喇叭具有正极端口和负极端口,所述音频正差分输出端与所述正极端口连接,所述音频负差分输出端与所述负极端口连接;
    所述检测电路用于采集所述音频正差分输出端与所述正极端口之间传输的第一电流,以及用于采集所述负极端口与所述音频负差分输出端之间传输的第二电流;
    所述检测电路还用于根据所述第一电流和所述第二电流向所述处理器提供第一信息,所述第一信息用于所述处理器确定所述喇叭是否出现第一故障。
  2. 根据权利要求1所述的检测系统,其特征在于,所述检测电路包括:
    串联于所述音频正差分输出端与所述正极端口之间的第一电流采集电路、以及串联于所述音频负差分输出端与所述负极端口之间的第二电流采集电路;
    所述第一电流采集电路用于采集所述音频正差分输出端与所述正极端口之间传输的第一电流并提供给所述处理器;
    所述第二电流采集电路用于采集所述负极端口与所述音频负差分输出端之间传输的第二电流并提供给所述处理器。
  3. 根据权利要求2所述的检测系统,其特征在于,所述检测电路还包括:具有三个连接端口的电流比较电路,所述电流比较电路的三个连接端口分别与所述第一电流采集电路、所述第二电流采集电路以及所述处理器连接;
    所述电流比较电路用于确定所述第一电流与所述第二电流之间的电流差值;
    相应的,所述第一信息包括所述电流差值。
  4. 根据权利要求1至3任一项所述的检测系统,其特征在于,所述检测电路还包括:与所述喇叭的所述正极端口和所述负极端口连接的电压采集电路;
    所述电压采集电路用于采集所述正极端口和所述负极端口之间的电压差值;
    相应的,所述第一信息包括所述第一电流、所述第二电流和所述电压差值。
  5. 根据权利要求4所述的检测系统,其特征在于,所述处理器还用于生成亚音频信号并通过所述音频模块提供给所述喇叭,所述亚音频信号的频率与所述音频信号的频率不同。
  6. 根据权利要求4或5所述的检测系统,其特征在于,所述检测电路还包括:偏置电路,所述偏置电路分别与所述音频正差分输出端和所述音频负差分输出端连接;
    在所述音频模块未工作时,所述偏置电路用于给所述第一电流采集电路、所述喇叭及所述第二电流采集电路所在的电路回路施加偏置电压;
    所述处理器用于在施加所述偏置电压时,根据所述第一电流、所述第二电流以及所述电压差值来确定所述喇叭是否出现所述第一故障。
  7. 根据权利要求2至6中任一项所述的检测系统,其特征在于,所述第一电流采集电路包括:第一电阻和第一差分运算放大器;
    所述第一电阻串联于所述音频正差分输出端与所述正极端口之间,所述第一差分 运算放大器的两个输入端分别与所述第一电阻的两端连接;
    所述第一差分运算放大器用于确定所述第一电阻两端的第一电压差值并提供给所述处理器,所述处理器用于根据所述第一电压差值和所述第一电阻确定所述第一电流。
  8. 根据权利要求7所述的检测系统,其特征在于,所述第二电流采集电路包括:第二电阻和第二差分运算放大器,所述第二电阻与所述第一电阻相等;
    所述第二电阻串联于所述音频负差分输出端和所述负极端口之间,所述第二差分运算放大器的两个输入端分别与所述第二电阻的两端连接;
    所述第二差分运算放大器用于确定所述第二电阻两端的第二电压差值并提供给所述处理器,所述处理器用于根据所述第二电压差值和所述第二电阻确定所述第二电流。
  9. 根据权利要求8所述的检测系统,其特征在于,所述电流比较电路包括:第三差分运算放大器;
    所述第三差分运算放大器的两个输入端分别与所述第一差分运算放大器的输出端、所述第二差分运算放大器的输出端连接;
    所述第三差分运算放大器用于确定所述第一电压差值和所述第二电压差值之间的第三电压差值并提供给所述处理器,所述处理器用于根据所述第三电压差值、所述第一电阻或所述第二电阻来确定所述电流差值。
  10. 根据权利要求4所述的检测系统,其特征在于,所述电压采集电路包括:第四差分运算放大器,所述第四差分运算放大器的两个输入端分别与所述喇叭的所述正极端口和所述负极端口连接;
    所述第四差分运算放大器用于确定所述喇叭的所述正极端口和所述负极端口之间的第四电压差值并提供给所述处理器。
  11. 根据权利要求6所述的检测系统,其特征在于,所述偏置电路包括:偏置电压端、第一偏置电阻、第二偏置电阻和接地端;
    所述第一偏置电阻的第一端与所述偏置电压端连接,所述第一偏置电阻的第二端与所述音频正差分输出端连接,所述第二偏置电阻的第一端与所述音频负差分输出端连接,所述第二偏置电阻的第二端与所述接地端连接。
  12. 根据权利要求1所述的检测系统,其特征在于,所述第一故障包括喇叭短路到电源、喇叭短路到地、喇叭开路或喇叭线间短路。
  13. 一种电子设备,其特征在于,包括相连接的检测系统和喇叭,其中,所述检测系统为如权利要求1-12任一项所述的检测系统。
  14. 一种T-BOX,其特征在于,包括如权利要求1-12任一项所述的检测系统。
  15. 根据权利要求14所述的T-BOX,其特征在于,所述T-BOX还包括与所述检测系统连接的喇叭。
  16. 一种车辆,其特征在于,包括如权利要求14或15所述的T-BOX。
  17. 一种车辆,其特征在于,包括相连接的T-BOX和检测系统,其中,所述检测系统为如权利要求1-12任一项所述的检测系统。
  18. 根据权利要求17所述的车辆,其特征在于,所述车辆还包括与所述检测系统 连接的喇叭。
PCT/CN2021/135520 2020-12-09 2021-12-03 检测系统、t-box及车辆 WO2022121810A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011461978.XA CN114604173B (zh) 2020-12-09 2020-12-09 检测系统、t-box及车辆
CN202011461978.X 2020-12-09

Publications (1)

Publication Number Publication Date
WO2022121810A1 true WO2022121810A1 (zh) 2022-06-16

Family

ID=81856719

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/135520 WO2022121810A1 (zh) 2020-12-09 2021-12-03 检测系统、t-box及车辆

Country Status (2)

Country Link
CN (1) CN114604173B (zh)
WO (1) WO2022121810A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2741828Y (zh) * 2004-06-01 2005-11-23 戴文胜 车用警报器
JP2007235526A (ja) * 2006-03-01 2007-09-13 Matsushita Electric Ind Co Ltd パルス変調型電力増幅器
JP2008085476A (ja) * 2006-09-26 2008-04-10 Patoraito:Kk 警報音発生装置
WO2013118250A1 (ja) * 2012-02-07 2013-08-15 三菱電機株式会社 車両接近通報装置、およびその故障診断方法
CN109546978A (zh) * 2019-01-15 2019-03-29 上海艾为电子技术股份有限公司 一种喇叭的电流检测电路

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3545228B2 (ja) * 1998-11-13 2004-07-21 三洋電機株式会社 電力増幅回路の異常検出回路
JP5298169B2 (ja) * 2011-07-27 2013-09-25 アンデン株式会社 車両接近通報装置
JP5500147B2 (ja) * 2011-09-17 2014-05-21 株式会社デンソー 車両運行通知音発生用スピーカ回路の異常検出装置
JP5731993B2 (ja) * 2012-01-26 2015-06-10 株式会社東芝 電力増幅装置およびオーディオシステム
JP6484814B2 (ja) * 2013-09-20 2019-03-20 パナソニックIpマネジメント株式会社 音響装置、音響システム、移動体装置、および音響システムの故障診断方法
CN109963247A (zh) * 2017-12-25 2019-07-02 长城汽车股份有限公司 喇叭组件检测电路及喇叭组件检测方法
CN111263288A (zh) * 2020-03-20 2020-06-09 深圳市元征科技股份有限公司 一种喇叭状态的诊断系统、方法、装置及介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2741828Y (zh) * 2004-06-01 2005-11-23 戴文胜 车用警报器
JP2007235526A (ja) * 2006-03-01 2007-09-13 Matsushita Electric Ind Co Ltd パルス変調型電力増幅器
JP2008085476A (ja) * 2006-09-26 2008-04-10 Patoraito:Kk 警報音発生装置
WO2013118250A1 (ja) * 2012-02-07 2013-08-15 三菱電機株式会社 車両接近通報装置、およびその故障診断方法
CN109546978A (zh) * 2019-01-15 2019-03-29 上海艾为电子技术股份有限公司 一种喇叭的电流检测电路

Also Published As

Publication number Publication date
CN114604173A (zh) 2022-06-10
CN114604173B (zh) 2024-05-17

Similar Documents

Publication Publication Date Title
KR101646964B1 (ko) 휴대용 단말기에서 이어폰 인식 회로 장치
US9384726B2 (en) Feedback microphones encoder modulators, signal generators, mixers, amplifiers, summing nodes
US20120023344A1 (en) Semiconductor apparatus
CN107462773A (zh) 负载检测器
US20170223449A1 (en) Electronic device, earphone, and electronic device system
US10720140B2 (en) Digital active road noise control method and system
CN101673551A (zh) 信息处理装置和信息处理方法
JP2019180043A (ja) オーディオアンプ、それを用いたオーディオ出力装置および電子機器
WO2022121810A1 (zh) 检测系统、t-box及车辆
US20170078815A1 (en) Electronic device, earphone, and electronic device system
CN107438222A (zh) 一种面向耳机/耳麦喇叭断线与短路检测电路及方法
CN205793346U (zh) 一种面向耳机/耳麦喇叭断线与短路检测电路
US20080317262A1 (en) Microphone Having an Output Signal Amplifier
CN214228452U (zh) 音频电路及电子设备
JP2024512018A (ja) カーオーディオシステム及びそのスピーカーの開回路検出方法
CN211352430U (zh) 音频功率放大模组及汽车音响系统
CN111724802A (zh) 一种听诊仪去噪电路
JP2018125614A (ja) オーディオ回路、それを用いた電子機器および車載オーディオシステム、異常検出方法
CN117478080A (zh) 音频功率放大器、汽车音响系统及汽车
JPWO2013179332A1 (ja) オーディオ装置
KR101470232B1 (ko) 자동차용 멀티미디어 시스템의 제어 장치 및 방법
CN220447814U (zh) 音频控制系统和车辆
CN111816201B (zh) 一种电子设备及语音信号处理方法
JP2008199334A (ja) オーディオ再生装置およびオーディオ回路
JP2014107834A (ja) D/a変換回路、ゼロクロス点検出方法、それを用いた車載用オーディオ装置、オーディオコンポーネント装置、電子機器

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21902517

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21902517

Country of ref document: EP

Kind code of ref document: A1