CN217560794U - Illuminance conventional test and point inspection calibration automatic switching device and test system - Google Patents

Illuminance conventional test and point inspection calibration automatic switching device and test system Download PDF

Info

Publication number
CN217560794U
CN217560794U CN202220484990.0U CN202220484990U CN217560794U CN 217560794 U CN217560794 U CN 217560794U CN 202220484990 U CN202220484990 U CN 202220484990U CN 217560794 U CN217560794 U CN 217560794U
Authority
CN
China
Prior art keywords
calibration
group
illuminance
interface
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202220484990.0U
Other languages
Chinese (zh)
Inventor
王宏森
孙晴晴
刘卫彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Intelligent Technology Co Ltd
Original Assignee
Goertek Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Intelligent Technology Co Ltd filed Critical Goertek Intelligent Technology Co Ltd
Priority to CN202220484990.0U priority Critical patent/CN217560794U/en
Application granted granted Critical
Publication of CN217560794U publication Critical patent/CN217560794U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)

Abstract

The utility model discloses an automatic switching device and a test system for illuminance conventional test and point inspection calibration, which comprises an insertion part, a channel switching module, a main control unit and two interfaces; the plug part is used for connecting an electronic product or a PCBA for calibration; the channel switching module is used for selectively transmitting the signals transmitted by the plug part through a group of switch channels; the main control unit is used for converting the illuminance signal from the PCBA for calibration transmitted through the first group of switch paths of the channel switching module into first interface data and transmitting the first interface data to the computer through a first interface, and transmitting a mode switching signal sent by the computer to the main control unit so as to control the channel switching module to gate one group of switch paths; the second interface is used for sending the illuminance signal from the electronic product transmitted through the second group of switch channels of the channel switching module to the computer, so that the automatic switching between the conventional illuminance test function and the point inspection calibration function can be realized, and the test operation is simplified.

Description

Illuminance conventional test and point inspection calibration automatic switching device and test system
Technical Field
The utility model belongs to the technical field of components and parts capability test, specifically speaking relates to a test system for detecting environment light sensor performance.
Background
In the function development process of intelligent electronic products with display screens, such as mobile phones, intelligent watches, tablet computers and the like, the functions of sensing the intensity of light around the electronic products through an ambient light sensor and informing a processing chip to automatically adjust the backlight brightness of the display screen according to the ambient light intensity so as to reduce the power consumption of the products are generally designed. In order to realize accurate adjustment of the backlight brightness of the display screen and improve the satisfaction degree of the use of consumers, in the production test process of the electronic products, the performance test of the configured ambient light sensor is required.
At present, the conventional method for performing performance test on an ambient light sensor is as follows: under standard ambient light intensity, whether the ambient light sensor reaches the standard or not is judged by reading the range of the sampling value (generally, the Lux value) of the ambient light sensor. In the testing process, the real illumination of the ambient light source needs to be periodically checked and calibrated to ensure the consistency of the ambient illumination intensity.
At present, the general illuminance spot inspection calibration method mainly comprises the following processes:
as shown in fig. 1, a calibration circuit board PCBA is developed, and a sensor chip of the same type as the ambient light sensor used in the electronic product is mounted on the calibration PCBA, and the mounting position of the sensor chip on the calibration PCBA is the same as the arrangement position of the ambient light sensor used in the electronic product on the product circuit board. Using USB-I 2 C adapter connection calibration PCBA for I output of sensor chip 2 The C bus data is converted into USB data to facilitate connection and communication with a computer PC.
When testing the ambient light sensor in the electronic product, firstly, the PCBA for calibration is placed on the testing machine table, and the USB-I is used 2 The C adapter is connected to a PC. Running a calibration program through a PC, reading a Lux value output by a PCBA for calibration, and calibrating a ring according to the Lux valueThe ambient light source reaches standard illuminance.
Pulling USB-I out of PC 2 And the adapter C is connected with a test port of the electronic product by using four probes configured on the test machine, and sends the Lux value sensed and output by an ambient light sensor in the electronic product under the irradiation of a calibrated ambient light source to the PC in the form of a USB signal. And the PC runs a test program to judge whether the performance of the ambient light sensor reaches the standard or not.
The existing testing technology of the ambient light sensor is due to the USB-I used by the PCBA for calibration 2 The C adapter is independent of the test machine, when point calibration is carried out each time, a circuit is interfered with the test machine, and the whole test process needs to execute the plugging operation of the adapter and the connection operation of the probe, so that the C adapter is very inconvenient and the test efficiency is influenced.
Disclosure of Invention
An object of the utility model is to provide a conventional test of illuminance examines calibration automatic switching control equipment with the point to simplify test operation.
In order to solve the technical problem, the utility model discloses a following technical scheme realizes:
in one aspect, the utility model provides an illuminance conventional test and point inspection calibration automatic switching device, which comprises an insertion part, a channel switching module, a main control unit, a first interface and a second interface; the plug-in part is used for connecting an electronic product or a PCBA for calibration, and the electronic product and the PCBA for calibration output light illumination signals according to the ambient light intensity; the channel switching module is connected with the plug part and comprises a plurality of groups of switch paths for selectively transmitting the signals transmitted by the plug part through one group of switch paths; the main control unit is connected with a first group of switch paths of the channel switching module and used for converting the illuminance signals from the PCBA for calibration, which are transmitted through the first group of switch paths, into first interface data; the first interface is connected with the main control unit and is used for being externally connected with a computer; the first interface is used for transmitting the first interface data to a computer, transmitting a mode switching signal sent by the computer to the main control unit, and controlling the channel switching module to gate one group of switch paths through the main control unit; the second interface is connected with a second group of switch paths of the channel switching module and is used for sending the illuminance signals from the electronic product transmitted by the second group of switch paths to the computer.
In some embodiments of the present application, four probes may be configured in the socket, wherein a first probe is used to transmit power; the second probe and the third probe are used for transmitting a light illumination signal; the fourth probe is used for connecting the ground wire. The four probes are adopted to design the plug-in part, so that the connection requirement of an electronic product can be met, the connection requirement of the PCBA for calibration can be met, the connection operation is convenient, the time and the labor are saved, and the efficiency is high.
In some embodiments of the present application, an analog switch chip may be configured in the channel switching module to switch the transmission channel of the illuminance signal output by the electronic product and the calibration PCBA. The analog switch chip comprises the first group of switch paths and the second group of switch paths and receives a channel selection signal generated by the main control unit according to the mode switching signal; the first group of switch paths and the second group of switch paths have two same common ends and are respectively and correspondingly connected with the second probe and the third probe; the first group of switch paths comprise two gating ends which are respectively connected with the main control unit; the second group of switch paths comprises two gating ends which are respectively connected with the second interface; two gating ends of the first group of switch paths are correspondingly communicated with the two public ends when the channel selection signal is at a first electric potential; and the two gating ends of the second group of switch paths are correspondingly communicated with the two public ends when the channel selection signal is at the second electric potential.
In some embodiments of the present application, an intermediate relay may be configured in the channel switching module to switch the on-off states of the power and ground circuits of the electronic product and the calibration PCBA. The intermediate relay comprises two groups of normally closed contacts and two groups of normally open contacts; a first set of normally closed contacts may be connected in series between the 5V power supply and the first probe, and a second set of normally closed contacts may be connected in series between the 5V power supply ground and the fourth probe; connecting a first group of normally open contacts between a 3.3V power supply and the first probe in series, and connecting a second group of normally open contacts between a 3.3V power supply ground and the fourth probe in series; one end of a coil of the intermediate relay can be connected with a 5V power supply, and the other end of the coil of the intermediate relay is connected with a pin of the main control unit for outputting the channel selection signal. The main control unit changes the open-close states of the two groups of normally closed contacts and the two groups of normally open contacts by controlling the coil of the intermediate relay to be electrified or powered off.
In some embodiments of the present application, in order to control the accurate switching of the channel switching module, the channel selection signal output by the main control unit may be processed by the optical coupling isolation circuit and then transmitted to the analog switch chip and the intermediate relay, so as to eliminate interference.
In some embodiments of the present application, the illumination signal output by the calibration PCBA is generally I 2 And the bus signal C can be transmitted to the main control unit, converted into serial port data and then output to the computer through the first interface, wherein the first interface is a serial port. Namely, the main control unit is configured to communicate with the serial port of the computer.
In some embodiments of the present application, the illuminance signal output by the electronic product is generally a USB signal, and the second interface is configured as a USB interface for transmitting the USB signal output by the electronic product to a computer through the USB interface.
In some embodiments of the present application, since the calibration PCBA usually requires 3.3V power supply, a voltage stabilizing circuit may be configured in the auto-switching device, and an input terminal of the voltage stabilizing circuit is connected to a 5V power supply provided by the computer through the USB interface, and then is converted into a 3.3V power supply, and the calibration PCBA is powered through the plug part.
In another aspect, the present invention further provides a testing system, which includes an ambient light source, a computer, and an automatic switching device for conventional illuminance testing and spot inspection calibration; the automatic switching device for the illuminance conventional test and the point inspection calibration comprises a plug-in part, a channel switching module, a main control unit, a first interface and a second interface; the plug-in part is used for connecting an electronic product or a PCBA for calibration, and the electronic product and the PCBA for calibration output light illumination signals according to the ambient light intensity; the channel switching module is connected with the plug part and comprises a plurality of groups of switch paths for selectively transmitting the signals transmitted by the plug part through one group of switch paths; the main control unit is connected with a first group of switch paths of the channel switching module and is used for converting the illuminance signals from the PCBA for calibration transmitted through the first group of switch paths into first interface data; the first interface is connected with the main control unit and the computer; the first interface is used for transmitting the first interface data to a computer, transmitting a mode switching signal sent by the computer to the main control unit, and controlling the channel switching module to gate one group of switch paths through the main control unit; the second interface is connected with a second group of switch paths of the channel switching module and the computer and is used for sending the illuminance signal from the electronic product transmitted through the second group of switch paths to the computer.
In some embodiments of the present application, a testing machine is further configured in the testing system, the ambient light source, the computer and the illuminance conventional testing and point inspection calibration automatic switching device may be disposed on the testing machine, and a mounting position for placing a PCBA for calibration and a mounting position for placing an electronic product may be configured on the testing machine, so as to facilitate testing operations.
Compared with the prior art, the utility model discloses an advantage mainly embodies with positive effect:
(1) The utility model discloses to electron product and calibration with the grafting portion that PCBA design is shared, when satisfying the signal transmission requirement, can simplify the wiring operation, raise the efficiency, solved among the prior art USB-I 2 The problem of interference between the adapter and the test machine is solved, and the use is convenient;
(2) The utility model discloses configuration channel switching module selects the switching to electronic product and signal transmission path of PCBA for calibration, can realize the automatic switch of conventional test function of illuminance and point inspection calibration function from this, has improved the test efficiency of electronic product;
(3) The utility model discloses dispose main control unit and outside computer communication, the mode switching signal that the receiving computer sent for carry out gating control to the multiunit switch access in the passageway switching module, can realize automatic control to the passageway switching module from this, and be convenient for integrate calibration procedure and test program in the computer, in order to simplify the operation of tester to the computer.
Other features and advantages of the present invention will become more apparent from the following detailed description of embodiments of the invention, which is to be read in connection with the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments will be briefly described below, it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic block circuit diagram of one embodiment of a prior art ambient light sensor testing system;
fig. 2 is a schematic block circuit diagram of an embodiment of the testing apparatus proposed by the present invention;
FIG. 3 is a schematic block circuit diagram of one embodiment of the automatic switching apparatus of FIG. 2;
FIG. 4 is a schematic wiring diagram of one embodiment of the docking station of FIG. 3;
FIG. 5 is a circuit schematic of one embodiment of the channel switch module of FIG. 3;
FIG. 6 is a circuit schematic of one embodiment of the master control unit of FIG. 3;
FIG. 7 is a circuit schematic of one embodiment of the first interface of FIG. 3;
FIG. 8 is a schematic wiring diagram of one embodiment of the second interface of FIG. 3;
FIG. 9 is a circuit schematic of one embodiment of a voltage regulator circuit.
Detailed Description
The following describes embodiments of the present invention in further detail with reference to the accompanying drawings.
It should be noted that in the description of the present invention, the terms "mounted," "connected," and "connected" are to be construed broadly unless otherwise explicitly specified or limited. For example, it may be a fixed connection, a detachable connection or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Furthermore, the terms "first," "second," "third," and "fourth" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
The present embodiment designs a test system for performance test requirements of an ambient light sensor in an electronic product, as shown in fig. 2, which mainly includes an ambient light source, a computer PC, and an automatic switching device for illuminance conventional test and point inspection calibration (hereinafter referred to as an automatic switching device).
The environment light source is used for providing environment light with standard illumination intensity for an environment light sensor in an electronic product, and can be directly arranged on the test machine platform or independently positioned on the test machine platform.
Two mounting positions can be preset on the testing machine platform, wherein one mounting position is used for positioning the PCBA for calibration, and the other mounting position is used for positioning the electronic product to be tested. In order to simplify the wiring operation, in this embodiment, it is preferable to arrange a general insertion part on the test machine, which can be connected to both the PCBA for calibration and the test port of the electronic product, thereby solving the problem of complicated operation caused by replacing the connector.
In some embodiments, the socket may be four probes, as shown in fig. 2, when performing point calibration on the ambient light source, the sensor chip on the calibration PCBA is connected, on one hand, power is supplied to the sensor chip, and the sensor chip is grounded to the circuit in the test system; and on the other hand, the illuminance signal which is output by the sensor chip and reflects the intensity of the ambient light is transmitted to the test system so as to be used for calibrating the ambient light source. When the illuminance conventional test is carried out on the electronic product, four probes can be connected to a test port on the electronic product, on one hand, a power supply is transmitted to the electronic product, and a system circuit in the electronic product and a circuit in a test system are grounded together; on the other hand, the illuminance signal acquired and output by the electronic product under the standard illuminance intensity is transmitted to the test system so as to test whether the ambient light sensor in the electronic product reaches the standard or not.
Whether the illumination intensity of the ambient light source keeps a standard value or not and whether the illumination value read from the electronic product reaches the standard or not are judged by the computer PC. In this embodiment, the PC may be disposed on the testing machine, or may be externally connected to the testing machine. The computer PC runs a calibration program and a test program, displays the received measurement data and can automatically generate a judgment result.
The illuminance signal output by the calibration PCBA and the illuminance signal output by the electronic product need to be transmitted to the computer PC via different paths. In order to realize the automatic switching and gating of the two signal transmission paths, the automatic switching device is designed in the embodiment to be connected with the computer PC, and automatically select a signal transmission path matched with the signal transmission path to be communicated according to a working mode (a calibration mode or a test mode) running in the computer PC or different functional programs, so that the illuminance signal output by the PCBA or the electronic product for calibration is transmitted to the computer PC, and the automatic switching of the conventional illuminance test function and the point inspection calibration function is realized.
In some embodiments, the automatic switching device is preferably disposed on the testing machine, as shown in fig. 3, and includes a channel switching module, a main control unit, a first interface, a second interface, and other main components. The above-described plug-in part can also be a component of the automatic switching device.
The channel switching module is provided with a plurality of groups of switch paths which are mainly used for selecting and switching signal transmission paths and selectively communicating different power supply circuits and grounding circuits. The channel switching module is connected with the plug part, and different switch channels are selected to be conducted according to different connection objects (PCBA or electronic products for calibration) of the plug part so as to change the transmission direction of signals and switch between different power supplies.
For example, when the calibration PCBA is connected to the socket, the switch path connecting the 3.3V power supply and the ground line is selectively turned on, and +3.3V dc power is supplied to the calibration PCBA. Meanwhile, a switch passage connected with the main control unit is conducted, and the illuminance signal output by the PCBA for calibration is transmitted to the main control unit to be subjected to communication protocol conversion processing and then is transmitted to the computer PC through the first interface. When the plug-in connection part is connected with an electronic product, a switch path for connecting a 5V power supply and a ground wire can be selected to be conducted, and +5V direct current power supply is provided for the electronic product. Meanwhile, a switch path connected with the second interface is conducted, and the illuminance signal output by the electronic product is sent to the computer PC through the second interface.
In some embodiments, the 5V power can be transmitted to the automatic switching device through the second interface by the computer PC, and the power is supplied to the electronic product through the plug-in unit while the power requirement of the automatic switching device is met. Meanwhile, a voltage stabilizing circuit can be arranged in the automatic switching device and used for converting the 5V power supply into a 3.3V power supply so as to meet the power consumption requirement of the PCBA for calibration.
In the case of designing the socket P1 with four probes, the four probes may be defined functionally, as shown in fig. 4, for example: the first probe Pin can be used as a power probe for transmitting power, such as 5V power and 3.3V power; the second probe Pin2 and the third probe Pin3 can be used as signal probes for transmitting illuminance signals from the PCBA for calibration and the electronic product; the fourth probe Pin4 serves as a ground probe for connecting ground lines, such as a 5V power ground and a 3.3V power ground. Of course, the 5V power ground and the 3.3V power ground may be common ground.
In order to realize the selective switching of the signal transmission path and the power and ground paths, the channel switching module of the present embodiment is configured with an analog switch chip U3 and an intermediate relay KA, as shown in fig. 5. The analog switch chip U3 is used for selectively switching signal transmission paths; the intermediate relay KA is used for selectively switching a power supply path and a grounding path.
In some embodiments, the analog switch chip U3 may include two sets of switch paths, as shown in fig. 5, selectively communicating with two common terminals COM1 and COM2 of the analog switch chip U3, respectively. In this embodiment, the first common terminal COM1 may be connected to the second probe Pin2, the second common terminal COM2 may be connected to the third probe Pin2, and the illuminance signal (for example, I) from the PCBA for calibration may be received through the two common terminals COM1 and COM2 2 C bus signal) and a light level signal (e.g., USB signal) from the electronic product. Two gating ends NO1 and NO2 of the first group of switch paths are respectively connected with pins P1.5 and P1.4 of the main control unit U1 and are respectively used for transmitting I 2 Clock signal SCL and data signal SDA of the C-bus. The two gate terminals NC1, NC2 of the second set of switch paths are connected to the differential data pins USB _ D-, USB _ D + of the second interface P2, respectively, and are used to transmit USB differential data signals D +, as shown in fig. 8.
In this embodiment, the second interface P2 may directly use a universal USB interface, as shown in fig. 8, and includes a power pin USB _ VCC, a differential data pin USB _ D-, a USB _ D +, a plug detection pin USB _ ID, and a ground pin USB _ GND.
In practical use, the second interface P2 may be connected to a USB interface of the computer PC, the +5V power provided by the computer PC is introduced into the auto-switching device through the power pin USB _ VCC, and the ground pin USB _ GND is connected to the system ground of the computer PC.
And connecting the power supply end V + of the analog switch chip U3 to a +5V power supply, and receiving a working power supply provided by the computer PC. Two control ends IN1 and IN2 of the analog switch chip U3 are connected to the main control unit, and are used for receiving a channel selection signal IN output by the main control unit, and selecting one group of switch channels to be conducted according to different potentials of the channel selection signal IN so as to adjust the transmission direction of the illuminance signal.
In this embodiment, the intermediate relay KA may include two sets of normally closed contacts and two sets of normally open contacts, as shown in fig. 5. The first set of normally closed contacts can be connected in series between the 5V power supply and the first probe Pin1, and the second set of normally closed contacts can be connected in series between the 5V power supply ground GND _5V and the fourth probe Pin 4. And the first set of normally open contacts can be connected in series between the 3.3V power supply and the first probe Pin1, and the second set of normally open contacts can be connected in series between the 3.3V power supply ground GND _3.3V and the fourth probe Pin 4.
As a preferred embodiment, the 3.3V power supply can be generated by converting a 5V power supply by using a voltage stabilizing circuit, as shown in FIG. 9. Can lay voltage regulation chip U5 in automatic switching device, be connected to 5V power with voltage regulation chip U5's input Vin, configuration filter capacitor C1, C2 carries out the filtering process back to 5V power, carry to voltage regulation chip U5 and convert 3.3V power into, output via voltage regulation chip U5's output Vout, and through filter capacitor C3, C4 carries out the filtering process back to 3.3V power, transmit to the first set of normally open contact of auxiliary relay KA.
The 3.3V power ground GND _3.3V may be common to the 5V power ground GND _5V to ensure that the electronic product or the calibration PCBA can be common to the auto-switching device and the system circuits in the computer PC during the conventional test and calibration of illuminance.
IN order to automatically switch between two sets of power supplies and a power ground, one end of the coil of the intermediate relay KA is connected to a 5V power supply, and the other end of the coil is connected to the main control unit, and receives a channel selection signal IN output by the main control unit. And the coil of the intermediate relay KA is subjected to on-off control by utilizing a channel selection signal IN, so that the opening and closing states of the two groups of normally closed contacts and the two groups of normally open contacts are changed.
In some embodiments, the main control unit may be formed by connecting a single chip microcomputer U1 with a peripheral circuit, as shown in fig. 6. The singlechip U1 outputs the channel selection signal IN through a P2.5 pin thereof. IN this embodiment, the channel selection signal IN is preferably a switching value signal.
IN order to improve the anti-interference capability of the channel selection signal IN, the optical coupling isolation circuit can be used for carrying out photoelectric isolation processing on the switching value signal output by the singlechip U1 to generate the channel selection signal IN with stable waveform.
Specifically, an optocoupler isolator U4 may be provided in the optocoupler isolation circuit, a P2.5 pin of the singlechip U1 is connected to a cathode of a light emitting diode in the optocoupler isolator U4, and an anode of the light emitting diode is connected to a 5V power supply through a current limiting resistor R1. And an emitting electrode of a light receiving triode IN the optical coupler isolator U4 is grounded, and a collector electrode is connected with a 5V power supply through a pull-up resistor R2 and serves as an output end of the channel selection signal IN.
When the switching value signal output by the pin P2.5 of the single chip microcomputer U1 is at a high level, for example +5V, the light emitting diode IN the optocoupler isolator U4 is IN a turn-off non-light emitting state, at this time, the light receiving triode is turned off, and the channel selection signal IN is at a high level. On the contrary, when the switching value signal output by the P2.5 pin of the single chip U1 is at a low level, for example, 0V, the light emitting diode IN the opto-isolator U4 is IN a conducting and light emitting state, at this time, the light receiving triode is IN saturated conduction, and the channel selection signal IN is at a low level.
IN some embodiments, the light emitting diode D1 may be connected IN series between the anode of the light emitting diode IN the optocoupler isolator U4 and the 5V power supply to indicate the high and low state of the channel selection signal IN.
In this embodiment, the first interface preferably adopts a serial port U2, that is, the main control unit is configured to communicate with a serial port of a computer PC. Specifically, a group of sending pin T1IN and receiving pin R1OUT of the serial port U2 may be connected to pins P3.0 and P3.1 of the single chip microcomputer U1 for interacting serial port data.
Meanwhile, the automatic switching device can also receive +5V power supply provided by the computer PC through a power supply pin VCC of the serial port U2.
The following describes the specific operation principle of the test system and the automatic switching device thereof in detail with reference to fig. 2 to 9.
The calibration PCBA and the electronic product are installed on the corresponding installation positions of the test machine, and the first interface (serial port U2) and the second interface P2 (USB interface) of the automatic switching device are connected with the computer PC.
Firstly, a point inspection calibration process of the ambient light source is performed.
The ambient light source is turned on and the four probes of the socket P1 are used to connect the PCBA for calibration.
The computer PC is operated to enter a calibration mode, and generates a mode switching signal (the mode switching signal corresponding to the calibration mode can be represented by different level states or different data) and sends the mode switching signal to the singlechip U1 through the serial port U2.
The singlechip U1 configures the potential of a pin P2.5 according to the received mode switching signal, and then generates a channel selection signal IN of a first potential through the optical coupling isolator U4. For example, when the single chip microcomputer U1 recognizes a system operation calibration mode according to the mode switching signal, the pin P2.5 thereof is set to a high level, and a channel selection signal IN of the high level is output to the channel switching module through the opto-isolator U4.
IN the channel switching module, after receiving a high-level channel selection signal IN, two control terminals IN1, IN2 of an analog switch chip U3 control two gate terminals NO1 and NO2 of a first group of switch paths thereof to be respectively IN corresponding conduction with two common terminals COM1 and COM2 of the analog switch chip U3. Meanwhile, the coil of the intermediate relay KA is powered off, the two groups of normally closed contacts keep in an attraction state, and the two groups of normally open contacts keep in a disconnection state. At this time, the 5V power supply and the power ground GND _5V which connect the two sets of normally closed contacts are respectively communicated with the first probe Pin1 and the fourth probe Pin4 of the plug part P1 to supply power to the calibration PCBA, and the calibration PCBA is connected with the test system in common.
After the PCBA for calibration is powered on and operated, the sensor chip on the PCBA senses the illumination intensity of the ambient light source to generate I 2 The illuminance signal in the form of the C bus is transmitted to the common terminals COM1 and COM2 of the analog switch chip U3 through the second probe Pin2 and the third probe Pin3 of the plug part P1, and then is sent to the pins P1.4 and P1.5 of the single chip microcomputer U1 through the two gating terminals NO1 and NO2 of the first group of switched paths that are turned on.
The singlechip U1 receives the I 2 The C bus signals SDA and SCL are converted into serial port data, and the serial port data are sent to the computer PC through the serial port U2.
And the computer PC judges whether the illumination intensity of the environment light source is standard or not according to the received serial port data, and if not, adjusts the illumination intensity of the environment light source to reach a standard value so as to ensure the consistency of the illumination intensity in the test process.
The point check calibration process of the ambient light source ends.
Next, a process of testing the illuminance of the electronic product is performed.
And irradiating the electronic product by using an environment light source with standard illumination intensity, and connecting the four probes of the plug part P1 to a test port of the electronic product.
The computer PC is operated to enter a test mode, the computer PC generates a mode switching signal (the mode switching signal corresponding to the test mode can be represented by different level states or different data), and the mode switching signal is sent to the singlechip U1 through the serial port U2.
The singlechip U1 configures the potential of a pin P2.5 according to the received mode switching signal, and then generates a channel selection signal IN of a second potential through the optical coupling isolator U4. For example, when the single chip microcomputer U1 recognizes a system operation test mode according to the mode switching signal, the pin P2.5 thereof is set to a low level, and a channel selection signal IN of the low level is output to the channel switching module through the opto-isolator U4.
IN the channel switching module, after receiving a low-level channel selection signal IN, two control terminals IN1, IN2 of the analog switch chip U3 control two gate terminals NC1 and NC2 of the second group of switch paths to be respectively IN corresponding conduction with two common terminals COM1 and COM2 of the analog switch chip U3. Meanwhile, a coil of the intermediate relay KA is electrified, two groups of normally closed contacts are disconnected, and two groups of normally open contacts are attracted. At this time, the 3.3V power supply and the power ground GND _3.3V which are connected with the two groups of normally open contacts are respectively communicated with the first probe Pin1 and the fourth probe Pin4 of the plug-in part P1 to supply power to the electronic product, and the electronic product and the test system are grounded.
After the electronic product is powered on and operated, an ambient light sensor in the electronic product senses the illumination intensity of an ambient light source, generates a light illumination signal in a USB bus form, transmits the light illumination signal to the common terminals COM1 and COM2 of the analog switch chip U3 through the second probe Pin2 and the third probe Pin3 of the plug-in part P1, and further transmits the light illumination signal to the differential data pins USB _ D-, USB _ D + of the second interface P2 (USB interface) through the two gating terminals NC1 and NC2 of the conducted second group of switch paths, and transmits the light illumination signal to the computer PC through the second interface P2.
The computer PC judges whether the illumination intensity value acquired by the ambient light sensor is within a preset numerical range according to the received USB data D & lt + & gt and D & lt- & gt, and if so, the ambient light sensor is judged to reach the standard; otherwise, the ambient light sensor is judged not to reach the standard, and the electronic product needs to be replaced by the ambient light sensor.
And ending the illuminance testing process of the electronic product.
The embodiment designs the automatic switching device in the test system to selectively switch the transmission path of the illuminance signal from the PCBA for calibration and the electronic product, thereby not only realizing the automatic switching of the conventional illuminance test function and the point inspection calibration function, improving the test efficiency of the electronic product, but also realizing the compatible connection of the PCBA for calibration and the electronic product by only one plug-in part, simplifying the wiring operation and avoiding the interference problem of circuits and test machines.
Of course, the above description is not intended to limit the present invention, and the present invention is not limited to the above examples, and the changes, modifications, additions or substitutions made by those skilled in the art within the scope of the present invention should also belong to the protection scope of the present invention.

Claims (10)

1. An automatic switching device for illuminance conventional test and point inspection calibration, comprising:
the plug-in part is used for connecting an electronic product or a PCBA for calibration, and the electronic product and the PCBA for calibration output illuminance signals according to the ambient light intensity;
the channel switching module is connected with the plug-in part, comprises a plurality of groups of switch paths and is used for selectively transmitting the signals transmitted by the plug-in part through one group of switch paths;
the main control unit is connected with the first group of switch paths of the channel switching module and is used for converting the illumination signals from the PCBA for calibration, which are transmitted through the first group of switch paths, into first interface data;
the first interface is connected with the main control unit and is used for being externally connected with a computer; the first interface is used for transmitting the first interface data to a computer, transmitting a mode switching signal sent by the computer to the main control unit, and controlling the channel switching module to gate one group of switch paths through the main control unit;
and the second interface is connected with the second group of switch paths of the channel switching module and is used for sending the illuminance signals from the electronic product transmitted by the second group of switch paths to the computer.
2. An illumination intensity conventional test and point inspection calibration automatic switching device according to claim 1, characterized in that four probes are configured in the insertion part, respectively:
a first probe for transmitting power;
a second probe and a third probe for transmitting a light intensity signal;
and a fourth probe for connecting the ground line.
3. The apparatus of claim 2, wherein the channel switching module comprises:
the analog switch chip comprises the first group of switch paths and the second group of switch paths and receives a channel selection signal generated by the main control unit according to the mode switching signal; the first group of switch paths and the second group of switch paths have two same common ends and are respectively and correspondingly connected with the second probe and the third probe; the first group of switch paths comprises two gating ends which are respectively connected with the main control unit; the second group of switch paths comprises two gating ends which are respectively connected with the second interface; two gating ends of the first group of switch paths are correspondingly communicated with the two public ends when the channel selection signal is at a first electric potential; and the two gating ends of the second group of switch paths are correspondingly communicated with the two public ends when the channel selection signal is at the second electric potential.
4. The automatic switching device for illuminance conventional test and point inspection calibration as claimed in claim 3, wherein the channel switching module further comprises:
the intermediate relay comprises two groups of normally closed contacts and two groups of normally open contacts; the first group of normally closed contacts are connected between a 5V power supply and the first probe in series, and the second group of normally closed contacts are connected between a 5V power supply ground and the fourth probe in series; the first group of normally open contacts are connected between a 3.3V power supply and the first probe in series, and the second group of normally open contacts are connected between a 3.3V power supply ground and the fourth probe in series; and one end of a coil of the intermediate relay is connected with a 5V power supply, and the other end of the coil of the intermediate relay is connected with a pin of the main control unit for outputting the channel selection signal.
5. The automatic switching device for illuminance conventional test and point inspection calibration as claimed in claim 4, wherein the channel selection signal outputted by the main control unit is transmitted to the analog switch chip and the intermediate relay via an optical coupling isolation circuit.
6. The automatic switching device for illuminance conventional test and point inspection calibration as claimed in any one of claims 1 to 5, wherein the illuminance signal output by the calibration PCBA is I 2 And the bus signal C is transmitted to the main control unit, converted into serial port data and output through the first interface, wherein the first interface is a serial port.
7. The apparatus as claimed in claim 6, wherein the illuminance signal outputted from the electronic product is a USB signal and outputted via the second interface, and the second interface is a USB interface.
8. The automatic switching device for illuminance conventional test and spot check calibration according to claim 7, further comprising:
and the input end of the voltage stabilizing circuit is connected with a 5V power supply provided by a computer through the USB interface, is converted into a 3.3V power supply, and supplies power to the calibration PCBA through the plug part.
9. A test system, comprising an ambient light source, a computer and an automatic switching device for illuminance routine test and spot check calibration as claimed in any one of claims 1 to 8; the automatic switching device for the illuminance conventional test and the point inspection calibration is connected with the computer through a first interface and a second interface.
10. The test system of claim 9, further comprising:
the test machine platform is provided with the ambient light source, the computer and an automatic switching device for the conventional illuminance test and the point inspection calibration; the testing machine table is further provided with an installation position for placing the PCBA for calibration and an installation position for placing an electronic product.
CN202220484990.0U 2022-03-08 2022-03-08 Illuminance conventional test and point inspection calibration automatic switching device and test system Active CN217560794U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202220484990.0U CN217560794U (en) 2022-03-08 2022-03-08 Illuminance conventional test and point inspection calibration automatic switching device and test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202220484990.0U CN217560794U (en) 2022-03-08 2022-03-08 Illuminance conventional test and point inspection calibration automatic switching device and test system

Publications (1)

Publication Number Publication Date
CN217560794U true CN217560794U (en) 2022-10-11

Family

ID=83468621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202220484990.0U Active CN217560794U (en) 2022-03-08 2022-03-08 Illuminance conventional test and point inspection calibration automatic switching device and test system

Country Status (1)

Country Link
CN (1) CN217560794U (en)

Similar Documents

Publication Publication Date Title
CN110531998B (en) Optical module and firmware programming method thereof
CN111487952B (en) Multichannel signal switching and coupling device and signal testing system
CN1888920B (en) Method and apparatus for testing CAN bus antielectromagnetic interference ability
CN108806565B (en) Display screen lighting test device and method
CN113030645B (en) Active cable test programming integrated comprehensive test method and tester
CN105372536A (en) Aviation electronic universal test platform
CN113064052A (en) Chip aging test circuit and chip aging test system
CN109189620A (en) A kind of serial ports verifying attachment
CN217560794U (en) Illuminance conventional test and point inspection calibration automatic switching device and test system
CN207488442U (en) A kind of POS machine mainboard automatic test circuit
CN208188289U (en) A kind of test macro of circuit power consumption
CN110907806A (en) ICC multifunctional integrated test system
CN105743166A (en) Programmable power supply and electronic equipment detection system
CN107577574B (en) Debugging switching circuit and debugging circuit board
CN211878440U (en) Communication switching module and equipment testing system
CN102095997B (en) Automatic detecting device and method for short-circuit exception of interior circuit and shell of optical module
CN203800194U (en) Connector/terminal base switching adapter
CN205210211U (en) General test platform of avionics
CN219715566U (en) Intelligent probe for oscilloscope and oscilloscope
CN212275954U (en) Electric energy meter testing device
CN219348922U (en) Unit universal debugging fixture
CN220323395U (en) DTU test fixture
CN220629336U (en) Optical module test board
CN101552391B (en) Connecting apparatus and its linker
CN220141673U (en) Electrocardiogram recorder testing device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant