Self-adaptive light supplementing system and traditional Chinese medicine lingual face diagnosis intelligent equipment

By designing an adaptive fill light system in the intelligent equipment for tongue and facial diagnosis of traditional Chinese medicine, using multiple light sensors and the main control unit to automatically adjust the brightness of the fill light, the problem of inconsistent images under different ambient lights is solved and the true restoration of the image is achieved. and accuracy of diagnostic information, improving equipment usage efficiency and patient comfort.

CN119342638APending Publication Date: 2025-01-21YOU BEN JIAN KANG KE JI (GUANG DONG) YOU XIAN GONG SI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411459189.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

The existing traditional Chinese medicine tongue-face diagnosis smart devices collect tongue and facial images under different ambient brightness are not uniform, resulting in inaccurate diagnostic information and cumbersome adjustment of the brightness of the fill light, which affects image quality and patient comfort.

Method used

An adaptive fill light system is designed, including a first light sensor, a second light sensor, a third light sensor, a main control unit, a relay module, an amplification circuit module and a fill light. Through the cooperative work of these components, the brightness of the fill light is automatically adjusted to ensure that the patient's tongue and face are under standard brightness during image acquisition.

Benefits of technology

It realizes the automatic adjustment of fill light brightness in different scenarios to ensure the true restoration of images and the accuracy of diagnostic information, simplifies the use process of the equipment, and improves the efficiency of tongue and facial diagnosis and the comfort of patients.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342638A_ABST
    Figure CN119342638A_ABST
Patent Text Reader

Abstract

The invention discloses a self-adaptive light supplementing system and a traditional Chinese medicine lingual face diagnosis intelligent device.In the self-adaptive light supplementing system, a first illumination sensor is arranged in a shell of the device and serves as a reference sensor, a second illumination sensor is back on to an image acquisition unit, and a third illumination sensor and the image acquisition unit are arranged on the front face of the shell together; the main control unit is used for carrying out operation according to a preset algorithm on the basis of level data corresponding to illumination intensity obtained by the three illumination sensors, an operation result is transmitted to the digital potentiometer, and the output voltage of the light supplement lamp is regulated and controlled according to an operation analysis result, so that the brightness of the light supplement lamp is automatically adjusted according to the ambient light brightness in different scenes; the main control unit controls the work of the relay module through the IO port to trigger the on / off of the light supplement lamp, the complicated manual on / off and brightness adjustment steps are not needed, the equipment is more intelligent, the light supplement lamp has a standard standard color temperature specification and is arranged around the display screen, the light receiving intensity is uniform, and the discomfort of a patient caused by direct strong light is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image acquisition and light supplementation for traditional Chinese medicine tongue and face diagnosis, and in particular to an adaptive light supplementation system and intelligent equipment for traditional Chinese medicine tongue and face diagnosis. Background Art

[0002] Tongue and facial diagnosis in Traditional Chinese Medicine is a method used by doctors to diagnose a patient's physical health condition based on the patient's tongue and facial images. The intelligent device for tongue and facial diagnosis in Traditional Chinese Medicine uses the device to do the work for the doctor. It uses the image acquisition unit to capture images of the patient's face and tongue, performs data analysis on the acquired facial and tongue images, and obtains diagnostic information corresponding to the facial and tongue images, thus realizing intelligent medical consultation.

[0003] Since the patient's tongue and facial images are the basic basis for diagnosis, the acquired images need to restore the patient's true tongue and facial conditions as much as possible. An important factor affecting image acquisition is image brightness. If image acquisition is performed directly without using a fill light solution, it will be affected by ambient light, resulting in inconsistent image data collected in different scenes. The collected images do not match the facial or tongue entities, and accurate diagnostic information cannot be obtained. For example, there may be certain differences between images collected in backlit environments and frontlit environments, and the image color temperature may also be abnormal in backlit environments.

[0004] The existing technology often requires patients to undergo tongue and face image acquisition in a dark box environment, and then use a fill light to fill in the light of the patient's tongue and face during the process. The fill light is adjusted to an appropriate brightness based on the image performance to determine whether the patient's true tongue and facial conditions can be restored sufficiently. If the brightness of the fill light is too high, the obtained image will be abnormally distorted, resulting in misjudgment in subsequent analysis and diagnosis, and the strong light will make the patient uncomfortable. If the brightness of the fill light is insufficient, the patient's face and tongue cannot be fully and clearly displayed in the image, the dark area of ​​the image cannot provide effective information, and the necessary information required for data analysis is missing. Therefore, the adjustment process of this type of solution is relatively cumbersome.

[0005] It is necessary to propose a new technical solution to automatically adjust the output brightness of the fill light according to the ambient light brightness in different scenes, so that the patient's tongue and face are exposed to the required standard brightness, so that the collected images can fully and truly restore the patient's true tongue and facial conditions, and ensure that accurate diagnostic information can be provided after data analysis. Summary of the invention

[0006] In view of this, the purpose of the present invention is to provide an adaptive fill light system and a smart device for traditional Chinese medicine tongue and face diagnosis to solve the above problems.

[0007] In order to achieve the above-mentioned purpose, the present invention adopts the following technical solutions:

[0008] The present invention provides an adaptive fill light system for a traditional Chinese medicine tongue and face diagnosis intelligent device, which comprises a first light sensor, a second light sensor, a third light sensor, a main control unit, a relay module, an amplification circuit module and a fill light.

[0009] The intelligent device for tongue and face diagnosis of traditional Chinese medicine also includes a shell and an image acquisition unit arranged on the front side of the shell. The fill light is also located on the front side of the shell. The shell forms a closed internal accommodating space. The first light sensor is arranged in the shell of the intelligent device for tongue and face diagnosis of traditional Chinese medicine. The second light sensor is arranged on the back side of the shell, facing away from the image acquisition unit. The third light sensor is arranged on the front side of the shell. The main control unit controls the operation of the relay module through its IO port, and the relay module triggers the turning on or off of the fill light. The first light sensor, the second light sensor and the third light sensor are respectively connected to the main control unit. The main control unit is used to perform calculation and analysis on the data received from the first light sensor, the second light sensor and the third light sensor according to a preset algorithm, and transmit the calculation and analysis results to a digital potentiometer that communicates with the main control unit. The digital potentiometer adjusts the output voltage of the fill light through the amplification circuit module according to the calculation and analysis results to adjust the brightness of the fill light.

[0010] Preferably, the main control unit includes a main control chip and a crystal oscillator, the main control chip is provided with pin VBAT, pin PD0-OSC_IN, pin PA0-WKUP, pin PA1, pin PA2, pin PA4, pin PA5, pin PA6, pin VSS_1, pin VDD_1, pin VSS_2, pin VDD_2, pin PB3, pin VSS_3 and pin VDD_3, the crystal oscillator is provided with a three-state control pin, a ground pin, an output pin and a power pin, the pin VBAT and pin VDD_3 are connected to the chip power supply V33M, the pin PD0-OSC_IN is connected to the output pin of the crystal oscillator, the pin PA0-WKUP is connected to the pin PA0 set at the first light sensor through the PA0 channel, the pin PA1 is connected to the pin PA1 set at the second light sensor through the PA1 channel, and the pin P A2 is connected to pin PA2 of the third light sensor through the PA2 channel, the pin PA4 is connected to pin CS# of the digital potentiometer through the PA4 channel, the pin PA5 is connected to pin SCK of the digital potentiometer through the PA5 channel, the pin PA6 is connected to pin SI of the digital potentiometer through the channel PA6, the pin VSS_1 is connected to the chip power supply V33M, the pin VDD_1 is grounded, the pin VSS_2 is grounded, the pin VDD_2 is connected to the chip power supply V33M, the pin PB3 is connected to the channel PB3, the relay module is provided with a first operational amplifier, the non-inverting input terminal of the first operational amplifier is grounded through the channel PB3 via the resistor R3, the pin VSS_3 is grounded, the three-state control pin of the crystal oscillator is connected to the chip power supply V33M through the resistor R7, and the power pin of the crystal oscillator is connected to the chip power supply V33M.

[0011] Preferably, the first light sensor includes a first sensor needle holder, the first sensor needle holder is provided with five pins, the first pin of the first sensor needle holder is connected to the sensor power supply V33C, the second pin of the first sensor needle holder is the pin PA0 connected to the main control chip pin PA0-WKUP through the channel PA0, the third pin of the first sensor needle holder is grounded, the fourth pin of the first sensor needle holder is grounded through the channel CN1, and the fifth pin of the first sensor needle holder is grounded; the second light sensor includes a second sensor needle holder, the second sensor needle holder is provided with five pins, the first pin of the second sensor needle holder is connected to the sensor power supply V33C, the second pin of the second sensor needle holder is connected to the sensor power supply V33C, The pin PA1 is connected to the pin PA1 of the main control chip through the channel PA1, the third pin of the second sensor needle holder is grounded, the fourth pin of the second sensor needle holder is grounded through the channel CN2, and the fifth pin of the second sensor needle holder is grounded; the third light sensor includes a third sensor needle holder, and the third sensor needle holder is provided with five pins. The first pin of the third sensor needle holder is connected to the sensor power supply V33C, the second pin of the third sensor needle holder is connected to the pin PA2 of the main control chip through the channel PA2, the third pin of the third sensor needle holder is grounded, the fourth pin of the third sensor needle holder is grounded through the channel CN2, and the fifth pin of the third sensor needle holder is grounded.

[0012] Preferably, the digital potentiometer is provided with eight pins, the first pin of the digital potentiometer is pin CS#, the second pin of the digital potentiometer is pin SCK, the third pin of the digital potentiometer is pin SI, the fourth pin and the fifth pin of the digital potentiometer are grounded, the sixth pin of the digital potentiometer is pin PW0 connected to channel VDD_M, the seventh pin of the digital potentiometer is pin PB0, the eighth pin of the digital potentiometer is connected to chip power supply V33M, and the node between the eighth pin of the digital potentiometer and the chip power supply V33M is also connected to channel VDD_M through resistor R1.

[0013] Preferably, the amplification loop module includes a second operational amplifier, the non-inverting input terminal of the second operational amplifier is grounded through a channel VDD_M via a resistor R2, the inverting input terminal of the second operational amplifier is grounded via a resistor R4, the output terminal of the second operational amplifier is connected to the fill light power supply VCC_LED, the node between the output terminal of the second operational amplifier and the fill light power supply VCC_LED is also connected to the node between the inverting input terminal of the second operational amplifier and the resistor R4 through a channel U5.1, the positive power supply contact of the second operational amplifier is connected to the input power supply VCC_IN, and the negative power supply contact of the second operational amplifier is grounded.

[0014] Preferably, the fill light includes a fill light pin socket, which is provided with four pins. The first pin of the fill light pin socket is connected to the channel LED+ through the channel LEDA+ via the 0 ohm resistor R8, the second pin of the fill light pin socket is connected to the channel LED- through the channel LEDA- via the 0 ohm resistor R9, the third pin of the fill light pin socket is grounded through the channel CN4, and the fourth pin of the fill light pin socket is grounded.

[0015] Preferably, the relay module also includes a relay socket with eight pins, the first pin of the relay socket is connected to the relay power supply VCC_GDQ, the first pin of the relay socket is connected to the eighth pin of the relay socket through an electromagnet, the eighth pin of the relay socket is grounded, the second pin and the seventh pin of the relay socket are static contacts in the same group, the third pin and the sixth pin of the relay socket are moving contacts, the fourth pin and the fifth pin of the relay socket are static contacts in another group, the third pin of the relay socket is connected to the fill light power supply VCC_LED, the fourth pin of the relay socket is connected to the channel LED+, the fifth pin of the relay socket is connected to the channel LED-, and the sixth pin of the relay socket is grounded; the inverting input terminal of the first operational amplifier is grounded via resistor R5, the output terminal of the first operational amplifier is connected to the relay power supply VCC_GDQ, and the output terminal of the first operational amplifier is also connected to the node between the inverting input terminal of the first operational amplifier and the resistor R5 via resistor R6.

[0016] Preferably, the adaptive fill light system also includes a power module for supplying power to the main control unit, the first light sensor, the second light sensor and the third light sensor, the power module includes a power interface, a first power converter chip and a second power converter chip, the power interface is provided with four pins, the first pin of the power interface is connected to the input power supply VCC_IN, the second pin of the power interface is grounded, the third pin of the power interface is grounded through a channel CN3, and the fourth pin of the power interface is grounded; the first power converter chip is provided with five pins, the first pin of the first power converter chip is a power input pin, connected to the input power supply VCC_IN, the node between the first pin of the first power converter chip and the input power supply VCC_IN is grounded through a capacitor C2, the second pin of the first power converter chip is a ground pin, the third pin of the first power converter chip is an enable pin, connected to the node between the first pin of the first power converter chip and the input power supply VCC_IN, and the first power The fourth pin of the source converter chip is unconnected, the fifth pin of the first power converter chip is a power output pin, the output is connected to the chip power V33M, and the node between the fifth pin of the first power converter chip and the chip power V33M is grounded through a capacitor C3; the second power converter chip is provided with five pins, the first pin of the second power converter chip is a power input pin, connected to the input power VCC_IN, the node between the first pin of the second power converter chip and the input power VCC_IN is grounded through a capacitor C4, the second pin of the second power converter chip is a ground pin, the third pin of the second power converter chip is an enable pin, connected to the node between the first pin of the second power converter chip and the input power VCC_IN, the fourth pin of the second power converter chip is unconnected, the fifth pin of the second power converter chip is a power output pin, the output is connected to the sensor power V33C, and the node between the fifth pin of the second power converter chip and the sensor power V33C is grounded through a capacitor C5.

[0017] The present invention also provides an intelligent device for traditional Chinese medicine tongue and face diagnosis, which includes the adaptive fill light system, a shell and an image acquisition unit as described above, wherein the fill light, a third light sensor and the image acquisition unit of the adaptive fill light system are all arranged in the same direction on the front of the shell, and the third light sensor is adjacent to the image acquisition unit.

[0018] Preferably, the intelligent device for traditional Chinese medicine tongue and face diagnosis further comprises a display screen arranged on the front side of the shell, and the fill light is arranged around the display screen, and the color temperature of the fill light is 6500K.

[0019] The technical effects achieved by the technical solution of the present invention include:

[0020] A first light sensor as a reference sensor is placed inside the housing of the intelligent device for tongue and face diagnosis of traditional Chinese medicine, a second light sensor is arranged on the back of the housing facing away from the image acquisition unit, and a third light sensor is arranged together with the image acquisition unit on the front of the housing. The main control unit uses a preset algorithm to calculate the corresponding level data of the light intensity obtained by the three light sensors, and the result of the calculation is transmitted to the digital potentiometer. The digital potentiometer adjusts the output voltage of the fill light through the amplification loop module according to the calculation and analysis result, so as to realize automatic regulation of the brightness of the fill light. It can automatically adjust the output brightness of the fill light according to the ambient light brightness in different scenes, so that the tongue and face of the patient are under the required standard brightness, ensuring that the collected image can fully and truly restore the real tongue and facial conditions of the patient, and the main control unit controls the operation of the relay module through its IO port, and the relay module triggers the opening or closing of the fill light, thereby eliminating the need for complicated manual switching and brightness adjustment steps, making the device more intelligent and improving the efficiency of tongue and face diagnosis;

[0021] Use fill lights with standard color temperature specifications, close to the reasonable color temperature of standard daylight, to avoid the impact of abnormal color temperature on image acquisition. Fill lights are arranged around the display screen, and cooperate with the main control unit to control the voltage and current of the fill lights to adjust the light intensity. This is conducive to uniform light intensity when filling light on the face, avoiding direct exposure of excessive light to the patient, and preventing the patient from feeling uncomfortable during image acquisition. Soft light settings can be further performed to improve the patient experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a three-dimensional diagram of an intelligent device for traditional Chinese medicine tongue and face diagnosis provided by an embodiment of the present invention;

[0023] Figure 2 A stereoscopic image of the intelligent device for traditional Chinese medicine tongue and face diagnosis from another viewing angle;

[0024] Figure 3 This is a structural block diagram of the adaptive fill light system of the TCM tongue and face diagnosis intelligent device;

[0025] Figure 4 A circuit diagram of a main control unit in the adaptive fill light system;

[0026] Figure 5 A circuit diagram of a first light sensor in the adaptive fill light system;

[0027] Figure 6 A circuit diagram of a second light sensor in the adaptive fill light system;

[0028] Figure 7 A circuit diagram of a third light sensor in the adaptive fill light system;

[0029] Figure 8 A circuit diagram of a digital potentiometer in the adaptive fill light system;

[0030] Fig. 9 A circuit diagram of an amplification loop module in the adaptive fill light system;

[0031] Fig.10 A circuit diagram of a fill light in the adaptive fill light system;

[0032] Fig.11 A circuit diagram of a relay module in the adaptive fill light system;

[0033] Fig.12 A circuit diagram of a power interface in a power module;

[0034] Fig.13 A circuit diagram of a first power converter chip in a power module;

[0035] Fig.14 is a circuit diagram of a second power converter chip in the power module. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical scheme and advantages of the present invention clearer, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Examples of these preferred embodiments are illustrated in the accompanying drawings. The embodiments of the present invention shown in the accompanying drawings and described according to the accompanying drawings are merely exemplary, and the present invention is not limited to these embodiments.

[0037] In order to avoid obscuring the present invention due to unnecessary details, only structures and / or processing steps closely related to the solutions according to the present invention are shown in the drawings, while other irrelevant details are omitted.

[0038] Combination Figures 1 to 3 As shown, an embodiment of the present invention provides an adaptive fill light system for a Chinese medicine tongue and face diagnosis intelligent device, which includes a first light sensor 1, a second light sensor 2, a third light sensor 3, a main control unit 4, a relay module 5, an amplification circuit module 6 and a fill light 7.

[0039] like Figure 1 and Figure 2As shown, the intelligent device for tongue and face diagnosis of traditional Chinese medicine also includes a shell 100 and an image acquisition unit 101 arranged on the front side 10a of the shell 100, the fill light 7 is also located on the front side 10a of the shell 100, and the shell 100 constitutes a closed internal accommodating space, the first light sensor 1 is arranged in the shell 100 of the intelligent device for tongue and face diagnosis of traditional Chinese medicine, the second light sensor 2 is arranged on the back side 10b of the shell 100, facing away from the image acquisition unit 101, and the third light sensor 3 is arranged on the front side 10a of the shell 100.

[0040] Reference Figure 3 As shown, the main control unit 4 controls the operation of the relay module 5 through its IO port, and the relay module 5 triggers the turning on or off of the fill light 7. The first light sensor 1, the second light sensor 2 and the third light sensor 3 are respectively connected to the main control unit 4. The main control unit 4 is used to perform calculation and analysis on the data received from the first light sensor 1, the second light sensor 2 and the third light sensor 3 according to a preset algorithm, and transmit the calculation and analysis results to the digital potentiometer 8 that communicates with the main control unit 4. The digital potentiometer 8 adjusts the output voltage of the fill light 7 through the amplification circuit module 6 according to the calculation and analysis results to adjust the brightness of the fill light 7.

[0041] When the above-mentioned adaptive fill light system is working, the first light sensor 1, the second light sensor 2 and the third light sensor 3 each convert the acquired light intensity into a level corresponding to the value. The first light sensor 1 is located inside the housing 100 of the intelligent device for tongue and face diagnosis of traditional Chinese medicine as a reference sensor. The closed internal accommodation space constitutes a dark environment. The acquired value is the initial value of the sensor when it is not affected by the external ambient light, which can provide a reference level for the other two sensors to eliminate errors. The image acquisition unit 101 and the third light sensor 3 are also arranged on the front 10a of the housing 100, and the second light sensor 2 is arranged on the back 10b of the housing 100, facing away from the image acquisition unit 101. Therefore, by comparing the level values ​​acquired by the second light sensor 2 and the third light sensor 3, it can be known whether the image is in the direct light or the reverse light, whether it is in a dark environment such as a cloudy day, and it can be judged whether the surrounding environment brightness meets the normal image acquisition brightness requirement predetermined by the image acquisition unit 101 according to the level values ​​of the two.

[0042] Therefore, the main control unit 4 collects the level data of the above three light sensors respectively, and then performs calculation and analysis on these data according to the preset algorithm, and determines whether the generated calculation and analysis results meet the requirements of turning on the fill light 7 according to the preset judgment rules, and controls the operation of the relay module 5 through its IO port, and the relay module 5 triggers the turning on or off of the fill light 7. In this embodiment, for example, when the difference between the level value obtained by the third light sensor 3 and the level value of the second light sensor 2 is too large, greater than the preset level difference threshold, the difference between the brightness of the patient's face and the background brightness in the image obtained by the image acquisition unit 101 is large, and it is necessary to fill light on the patient's face to reduce the brightness difference, then the relay module 5 is controlled to trigger the turning on of the fill light 7; or the difference between the level values ​​obtained by the third light sensor 3 and the second light sensor 2 is not greater than the preset level difference threshold, but lower than the preset minimum level threshold, indicating that the current ambient light is weak, and it is necessary to fill light on the patient's face to avoid the image being too dark and unable to distinguish the details of the patient's face and tongue, the main control unit 4 controls the relay module 5 to trigger the turning on of the fill light 7.

[0043] Similarly, based on the obtained three sensor level values, the corresponding calculation and analysis results are transmitted to the digital potentiometer 8 that performs SPI communication with the main control unit 4. The digital potentiometer 8 adjusts the output voltage of the fill light 7 through the amplification circuit module 6 according to the calculation and analysis results, so as to realize automatic regulation of the brightness of the fill light 7, and automatically adjusts the output brightness of the fill light according to the ambient light brightness in different scenes, so that the tongue and face of the patient are under the required standard brightness, ensuring that the collected image fully and truly restores the patient's real tongue and facial conditions. The budget algorithm or preset judgment rule specifically adopted by the main control unit 4 can be written by itself according to actual needs, and it only needs to be able to realize automatic control of the brightness and switch of the fill light 7 according to the values ​​obtained by the three sensors. The preset minimum level threshold and the preset level difference threshold can be determined based on multiple experiments to determine the optimal values ​​that meet the threshold point.

[0044] Specifically, refer to Figure 4 As shown, the main control unit 4 includes a main control chip 41 and a crystal oscillator 42. The main control chip 41 is provided with a pin VBAT, a pin PD0-OSC_IN, a pin PA0-WKUP, a pin PA1, a pin PA2, a pin PA4, a pin PA5, a pin PA6, a pin VSS_1, a pin VDD_1, a pin VSS_2, a pin VDD_2, a pin PB3, a pin VSS_3 and a pin VDD_3. The crystal oscillator 42 is provided with a tri-state control pin, a ground pin, an output pin and a power pin.

[0045] The pins VBAT and VDD_3 are connected to the chip power supply V33M, the pin PD0-OSC_IN is connected to the output pin of the crystal oscillator 42, the pin PA0-WKUP is connected to the pin PA0 set at the first light sensor 1 through the PA0 channel, the pin PA1 is connected to the pin PA1 set at the second light sensor 2 through the PA1 channel, the pin PA2 is connected to the pin PA2 set at the third light sensor 3 through the PA2 channel, the pin PA4 is connected to the pin CS# set at the digital potentiometer 8 through the PA4 channel, and the pin P A5 is connected to the pin SCK set by the digital potentiometer 8 through the PA5 channel, the pin PA6 is connected to the pin SI set by the digital potentiometer 8 through the channel PA6, the pin VSS_1 is connected to the chip power supply V33M, the pin VDD_1 is grounded, the pin VSS_2 is grounded, the pin VDD_2 is connected to the chip power supply V33M, the pin PB3 is connected to the channel PB3, the relay module 5 is provided with a first operational amplifier 51, the non-inverting input terminal of the first operational amplifier 51 is grounded through the channel PB3 via the resistor R3, the pin VSS_3 is grounded,

[0046] The tri-state control pin of the crystal oscillator 42 is connected to the chip power supply V33M through the resistor R7, and the power pin of the crystal oscillator 42 is connected to the chip power supply V33M.

[0047] The above-mentioned main control chip 41 is an STM32F103C8T6 single-chip microcomputer, which collects the level values ​​of three light sensors through the ADC channel. The main control chip 41 is provided with 48 pins, the first pin is pin VBAT, which is used for backup power supply. When the system is powered off, the backup power supply can power the internal RTC clock and backup register. Pin PD0-OSC_IN is the fifth pin, which is used for crystal oscillator input. Pins 10 to 12 and pins 14 to 16, pins PA0-WKUP, pin PA1, pin PA2, pin PA0-WKUP, pin PA and pin PA2 are IO ports.

[0048] When there is external interference to the sensor such as people or objects swaying in front of the sensor, there may be a difference in the light intensity collection, which will affect the brightness adjustment of the fill light 7. Therefore, the sensor can provide the main control unit 4 with an accurate light intensity corresponding level value without interference through program delay judgment. The specific delay time can be set according to actual needs. Therefore, the intelligent device for Chinese medicine tongue and face diagnosis provided by the present invention is suitable for scenes such as indoor hospitals or research institutes. The frequency of changes in scene light intensity is low, and the brightness of the fill light 7 does not need to be adjusted too much, and is relatively stable.

[0049] Reference Figure 5As shown, the first light sensor 1 includes a first sensor needle holder 11, and the first sensor needle holder 11 is provided with five pins. The first pin of the first sensor needle holder 11 is connected to the sensor power supply V33C, the second pin of the first sensor needle holder 11 is the pin PA0 connected to the main control chip pin PA0-WKUP through the channel PA0, the third pin of the first sensor needle holder 11 is grounded, the fourth pin of the first sensor needle holder 11 is grounded through the channel CN1, and the fifth pin of the first sensor needle holder 11 is grounded.

[0050] Reference Figure 6 As shown, the second light sensor 2 includes a second sensor needle holder 21, and the second sensor needle holder 21 is provided with five pins. The first pin of the second sensor needle holder 21 is connected to the sensor power supply V33C, the second pin of the second sensor needle holder 21 is the pin PA1 connected to the main control chip pin PA1 through the channel PA1, the third pin of the second sensor needle holder 21 is grounded, the fourth pin of the second sensor needle holder 21 is grounded through the channel CN2, and the fifth pin of the second sensor needle holder 21 is grounded;

[0051] Reference Figure 7 As shown, the third light sensor 3 includes a third sensor needle holder 31, and the third sensor needle holder 31 is provided with five pins. The first pin of the third sensor needle holder 31 is connected to the sensor power supply V33C, the second pin of the third sensor needle holder 31 is the pin PA2 connected to the main control chip pin PA2 through the channel PA2, the third pin of the third sensor needle holder 31 is grounded, the fourth pin of the third sensor needle holder 31 is grounded through the channel CN2, and the fifth pin of the third sensor needle holder 31 is grounded.

[0052] The first sensor needle seat 11 , the second sensor needle seat 21 and the third sensor needle seat 31 are HC-1.25-3PWT needle seats.

[0053] Reference Figure 8 As shown, the digital potentiometer 8 is provided with eight pins, the first pin of the digital potentiometer 8 is pin CS#, the second pin of the digital potentiometer 8 is pin SCK, the third pin of the digital potentiometer 8 is pin SI, the fourth pin and the fifth pin of the digital potentiometer 8 are grounded, the sixth pin of the digital potentiometer 8 is pin PW0 connected to channel VDD_M, the seventh pin of the digital potentiometer 8 is pin PB0, the eighth pin of the digital potentiometer 8 is connected to chip power supply V33M, and the node between the eighth pin of the digital potentiometer 8 and the chip power supply V33M is also connected to channel VDD_M through resistor R1.

[0054] The digital potentiometer 8 is a MCP41010T-I / SN potentiometer.

[0055] Reference Fig. 9 As shown, the amplification loop module 6 includes a second operational amplifier 61, the in-phase input terminal of the second operational amplifier 61 is grounded through the channel VDD_M via the resistor R2, the inverting input terminal of the second operational amplifier 61 is grounded via the resistor R4, the output terminal of the second operational amplifier 61 is connected to the fill light power supply VCC_LED, the node between the output terminal of the second operational amplifier 61 and the fill light power supply VCC_LED is also connected to the node between the inverting input terminal of the second operational amplifier 61 and the resistor R4 through the channel U5.1, the positive power supply contact of the second operational amplifier 61 is connected to the input power supply VCC_IN, and the negative power supply contact of the second operational amplifier 61 is grounded.

[0056] Reference Fig.10 As shown, the fill light 7 includes a fill light pin holder 71, and the fill light pin holder 71 is provided with four pins. The first pin of the fill light pin holder 71 is connected to the channel LED+ through the channel LEDA+ via a 0 ohm resistor R8, the second pin of the fill light pin holder 71 is connected to the channel LED- through the channel LEDA- via a 0 ohm resistor R9, the third pin of the fill light pin holder 71 is grounded through the channel CN4, and the fourth pin of the fill light pin holder 71 is grounded. The fill light pin holder adopts a HC-1.25-2PLT pin holder.

[0057] Reference Fig.11 As shown, the relay module 5 also includes a relay seat 52 with eight pins, the first pin of the relay seat 52 is connected to the relay power supply VCC_GDQ, the first pin of the relay seat 52 is connected to the eighth pin of the relay seat 52 through an electromagnet, the eighth pin of the relay seat 52 is grounded, the second pin and the seventh pin of the relay seat 52 are static contacts of the same group, the third pin and the sixth pin of the relay seat 52 are moving contacts, the fourth pin and the fifth pin of the relay seat 52 are static contacts of another group, the third pin of the relay seat 52 is connected to the fill light power supply VCC_LED, the fourth pin of the relay seat 52 is connected to the channel LED+, the fifth pin of the relay seat 52 is connected to the channel LED-, and the sixth pin of the relay seat 52 is grounded;

[0058] The inverting input terminal of the first operational amplifier 51 is grounded via a resistor R5, the output terminal of the first operational amplifier 51 is connected to the relay power supply VCC_GDQ, and the output terminal of the first operational amplifier 51 is also connected to the node between the inverting input terminal of the first operational amplifier 51 and the resistor R5 via a resistor R6.

[0059] The relay seat 52 is a G6K-2F-Y-5V type relay.

[0060] Combination Figure 1 As shown, the adaptive fill light system also includes a power module 9, which is used to power the main control unit 4, the first light sensor 1, the second light sensor 2 and the third light sensor 3. The power module 9 includes a power interface 91, a first power converter chip 92 and a second power converter chip 93 to convert the voltage of the input power supply VCC_IN into a 3.3V voltage suitable for the chip power supply V33M and the sensor power supply V33C respectively.

[0061] Combination Fig.12 As shown, the power interface 91 is provided with four pins, the first pin of the power interface 91 is connected to the input power supply VCC_IN, the second pin of the power interface 91 is grounded, the third pin of the power interface 91 is grounded through the channel CN3, and the fourth pin of the power interface 91 is grounded;

[0062] Combination Fig.13 As shown, the first power converter chip 92 is provided with five pins, the first pin of the first power converter chip 92 is a power input pin, connected to the input power VCC_IN, the node between the first pin of the first power converter chip 92 and the input power VCC_IN is grounded through a capacitor C2, the second pin of the first power converter chip 92 is a ground pin, the third pin of the first power converter chip 92 is an enable pin, connected to the node between the first pin of the first power converter chip 92 and the input power VCC_IN, the fourth pin of the first power converter chip 92 is vacant, the fifth pin of the first power converter chip 92 is a power output pin, the output is connected to the chip power V33M, and the node between the fifth pin of the first power converter chip 92 and the chip power V33M is grounded through a capacitor C3;

[0063] Combination Fig.14As shown, the second power converter chip 93 is provided with five pins, the first pin of the second power converter chip 93 is a power input pin, connected to the input power VCC_IN, the node between the first pin of the second power converter chip 93 and the input power VCC_IN is grounded through a capacitor C4, the second pin of the second power converter chip 93 is a ground pin, the third pin of the second power converter chip 93 is an enable pin, connected to the node between the first pin of the second power converter chip 93 and the input power VCC_IN, the fourth pin of the second power converter chip 93 is unconnected, the fifth pin of the second power converter chip 93 is a power output pin, the output is connected to the sensor power V33C, and the node between the fifth pin of the second power converter chip 93 and the sensor power V33C is grounded through a capacitor C5.

[0064] The first power converter chip 92 and the second power converter chip 93 are RT9013-33GB-MS chips.

[0065] Except for the 0 ohm resistor, the resistance values ​​of the other resistors are determined according to the circuit requirements. For example, in this embodiment, R1 = 10KΩ, R2 = 1KΩ, R3 = 1KΩ, R4 = 1KΩ, R5 = 1KΩ, R6 = 1KΩ, and R7 = 100Ω. Similarly, the capacitor sizes are, for example, C2 = 1μF, C3 = 1μF, C4 = 1μF, and C5 = 1μF.

[0066] An embodiment of the present invention provides an intelligent device for tongue and face diagnosis in traditional Chinese medicine, comprising the adaptive fill light system, a shell 100 and an image acquisition unit 101 as described above, wherein the fill light 7, the third light sensor 3 and the image acquisition unit 101 of the adaptive fill light system are all arranged in the same direction on the front side 10a of the shell 100, and the third light sensor 3 is adjacent to the image acquisition unit 101.

[0067] The intelligent device for tongue and face diagnosis of traditional Chinese medicine also includes a display screen 102 arranged on the front side 10a of the housing 100, and the fill light 7 is arranged around the display screen 102. Since the display screen 102 corresponds to the face and is the display area for the face preview image during image acquisition, multiple fill light 7 light strips are arranged around the display screen 102, which is conducive to uniform light intensity when filling light for the face. The main control unit 4 controls the voltage and current of the fill light 7 to adjust the light intensity, so that uniform light intensity per square centimeter can be achieved. In addition, it can avoid direct exposure of excessive light to the patient and prevent the patient from feeling uncomfortable during the image acquisition process. Furthermore, the fill light 7 can be set to soft light, such as setting a soft light cover on the fill light 7 and other methods to improve the patient's experience.

[0068] The color temperature of the fill light 7 is 6500K. 6500K color temperature is the standard daylight under the D65 specification of the International Commission on Illumination (CIE). The fill light 7 is selected based on the color temperature value of the fill light 7. After the fill light is filled, the image of the patient's face and tongue is captured, which is close to the normal light color temperature under standard daylight, which helps to capture the image and truly restore the patient's face and tongue, and provides a unified standard that can be applied in this field.

[0069] It should be noted that, in this article, terms such as "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0070] The above is only a specific implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. An adaptive light-filling system for a smart device for traditional Chinese medicine tongue and face diagnosis, characterized in that: The device comprises a first light sensor (1), a second light sensor (2), a third light sensor (3), a main control unit (4), a relay module (5), an amplification circuit module (6) and a fill light (7). The intelligent device for tongue and face diagnosis in traditional Chinese medicine also comprises a housing (100) and an image acquisition unit (101) arranged on the front side (10a) of the housing (100); the fill light (7) is also located on the front side (10a) of the housing (100); a closed internal accommodation space is formed in the housing (100); the first light sensor (1) is arranged in the housing (100) of the intelligent device for tongue and face diagnosis in traditional Chinese medicine; the second light sensor (2) is arranged on the back side (10b) of the housing (100) and faces away from the image acquisition unit (101); and the third light sensor (3) is arranged on the front side (10a) of the housing (100); The main control unit (4) controls the operation of the relay module (5) through its IO port, and the relay module (5) triggers the on or off of the fill light (7); the first light sensor (1), the second light sensor (2) and the third light sensor (3) are respectively connected to the main control unit (4); the main control unit (4) is used to perform calculation and analysis on data received from the first light sensor (1), the second light sensor (2) and the third light sensor (3) according to a preset algorithm, and transmit the calculation and analysis results to a digital potentiometer (8) that communicates with the main control unit (4); the digital potentiometer (8) adjusts the output voltage of the fill light (7) through the amplification circuit module (6) according to the calculation and analysis results, so as to adjust the brightness of the fill light (7).

2. The adaptive light-filling system of the intelligent device for TCM tongue and face diagnosis according to claim 1 is characterized in that: The main control unit (4) comprises a main control chip (41) and a crystal oscillator (42); the main control chip (41) is provided with a pin VBAT, a pin PD0-OSC_IN, a pin PA0-WKUP, a pin PA1, a pin PA2, a pin PA4, a pin PA5, a pin PA6, a pin VSS_1, a pin VDD_1, a pin VSS_2, a pin VDD_2, a pin PB3, a pin VSS_3 and a pin VDD_3; the crystal oscillator (42) is provided with a tri-state control pin, a ground pin, an output pin and a power pin. The pin VBAT and the pin VDD_3 are connected to the chip power supply V33M, the pin PD0-OSC_IN is connected to the output pin of the crystal oscillator (42), the pin PA0-WKUP is connected to the pin PA0 set at the first light sensor (1) through the PA0 channel, the pin PA1 is connected to the pin PA1 set at the second light sensor (2) through the PA1 channel, the pin PA2 is connected to the pin PA2 set at the third light sensor (3) through the PA2 channel, the pin PA4 is connected to the pin CS# set at the digital potentiometer (8) through the PA4 channel, and the pin P A5 is connected to the pin SCK set on the digital potentiometer (8) through the PA5 channel, the pin PA6 is connected to the pin SI set on the digital potentiometer (8) through the channel PA6, the pin VSS_1 is connected to the chip power supply V33M, the pin VDD_1 is grounded, the pin VSS_2 is grounded, the pin VDD_2 is connected to the chip power supply V33M, the pin PB3 is connected to the channel PB3, the relay module (5) is provided with a first operational amplifier (51), the non-inverting input terminal of the first operational amplifier (51) is grounded through the channel PB3 via the resistor R3, the pin VSS_3 is grounded, The tri-state control pin of the crystal oscillator (42) is connected to the chip power supply V33M via the resistor R7, and the power supply pin of the crystal oscillator (42) is connected to the chip power supply V33M.

3. The adaptive light-filling system of the intelligent device for TCM tongue and face diagnosis according to claim 2 is characterized in that: The first light sensor (1) comprises a first sensor needle holder (11), the first sensor needle holder (11) being provided with five pins, the first pin of the first sensor needle holder (11) being connected to a sensor power supply V33C, the second pin of the first sensor needle holder (11) being a pin PA0 connected to a pin PA0-WKUP of a main control chip via a channel PA0, the third pin of the first sensor needle holder (11) being grounded, the fourth pin of the first sensor needle holder (11) being grounded via a channel CN1, and the fifth pin of the first sensor needle holder (11) being grounded; The second light sensor (2) comprises a second sensor needle holder (21), the second sensor needle holder (21) being provided with five pins, the first pin of the second sensor needle holder (21) being connected to a sensor power supply V33C, the second pin of the second sensor needle holder (21) being a pin PA1 connected to a pin PA1 of a main control chip via a channel PA1, the third pin of the second sensor needle holder (21) being grounded, the fourth pin of the second sensor needle holder (21) being grounded via a channel CN2, and the fifth pin of the second sensor needle holder (21) being grounded; The third light sensor (3) comprises a third sensor needle holder (31), wherein the third sensor needle holder (31) is provided with five pins, wherein the first pin of the third sensor needle holder (31) is connected to a sensor power supply V33C, the second pin of the third sensor needle holder (31) is a pin PA2 connected to a pin PA2 of a main control chip via a channel PA2, the third pin of the third sensor needle holder (31) is grounded, the fourth pin of the third sensor needle holder (31) is grounded via a channel CN2, and the fifth pin of the third sensor needle holder (31) is grounded.

4. The adaptive light-filling system of the intelligent device for TCM tongue and face diagnosis according to claim 2 is characterized in that: The digital potentiometer (8) is provided with eight pins, the first pin of the digital potentiometer (8) is pin CS#, the second pin of the digital potentiometer (8) is pin SCK, the third pin of the digital potentiometer (8) is pin SI, the fourth pin and the fifth pin of the digital potentiometer (8) are grounded, the sixth pin of the digital potentiometer (8) is pin PW0 connected to channel VDD_M, the seventh pin of the digital potentiometer (8) is pin PB0, the eighth pin of the digital potentiometer (8) is connected to chip power supply V33M, and the node between the eighth pin of the digital potentiometer (8) and chip power supply V33M is also connected to channel VDD_M through resistor R1.

5. The adaptive light-filling system of the intelligent device for TCM tongue and face diagnosis according to claim 4 is characterized in that: The amplification loop module (6) comprises a second operational amplifier (61), the in-phase input terminal of the second operational amplifier (61) is connected to ground via a channel VDD_M via a resistor R2, the inverting input terminal of the second operational amplifier (61) is connected to ground via a resistor R4, the output terminal of the second operational amplifier (61) is connected to a fill light power supply VCC_LED, the node between the output terminal of the second operational amplifier (61) and the fill light power supply VCC_LED is also connected to a node between the inverting input terminal of the second operational amplifier (61) and the resistor R4 via a channel U5.1, the positive power supply contact of the second operational amplifier (61) is connected to an input power supply VCC_IN, and the negative power supply contact of the second operational amplifier (61) is grounded.

6. The adaptive light-filling system of the intelligent device for TCM tongue and face diagnosis according to claim 5, characterized in that: The fill light (7) comprises a fill light pin socket (71), wherein the fill light pin socket (71) is provided with four pins, wherein the first pin of the fill light pin socket (71) is connected to the channel LED+ via the channel LEDA+ via a 0 ohm resistor R8, the second pin of the fill light pin socket (71) is connected to the channel LED- via the channel LEDA- via a 0 ohm resistor R9, the third pin of the fill light pin socket (71) is grounded via a channel CN4, and the fourth pin of the fill light pin socket (71) is grounded.

7. The adaptive light-filling system of the intelligent device for TCM tongue and face diagnosis according to claim 6, characterized in that: The relay module (5) further comprises a relay seat (52) having eight pins, the first pin of the relay seat (52) being connected to a relay power source VCC_GDQ, the first pin of the relay seat (52) being connected to an eighth pin of the relay seat (52) through an electromagnet, the eighth pin of the relay seat (52) being grounded, the second pin and the seventh pin of the relay seat (52) being static contacts of the same group, the third pin and the sixth pin of the relay seat (52) being moving contacts, the fourth pin and the fifth pin of the relay seat (52) being static contacts of another group, the third pin of the relay seat (52) being connected to a fill light power source VCC_LED, the fourth pin of the relay seat (52) being connected to a channel LED+, the fifth pin of the relay seat (52) being connected to a channel LED-, and the sixth pin of the relay seat (52) being grounded; The inverting input terminal of the first operational amplifier (51) is grounded via a resistor R5, the output terminal of the first operational amplifier (51) is connected to a relay power supply VCC_GDQ, and the output terminal of the first operational amplifier (51) is also connected to a node between the inverting input terminal of the first operational amplifier (51) and the resistor R5 via a resistor R6.

8. The adaptive light-filling system of the intelligent device for traditional Chinese medicine tongue and face diagnosis according to any one of claims 1 to 7, characterized in that: The adaptive fill light system further comprises a power module (9) for supplying power to the main control unit (4), the first light sensor (1), the second light sensor (2) and the third light sensor (3); the power module (9) comprises a power interface (91), a first power converter chip (92) and a second power converter chip (93). The power interface (91) is provided with four pins, the first pin of the power interface (91) is connected to the input power supply VCC_IN, the second pin of the power interface (91) is grounded, the third pin of the power interface (91) is grounded through the channel CN3, and the fourth pin of the power interface (91) is grounded; The first power converter chip (92) is provided with five pins, the first pin of the first power converter chip (92) is a power input pin, connected to the input power VCC_IN, the node between the first pin of the first power converter chip (92) and the input power VCC_IN is grounded through a capacitor C2, the second pin of the first power converter chip (92) is a ground pin, the third pin of the first power converter chip (92) is an enable pin, connected to the node between the first pin of the first power converter chip (92) and the input power VCC_IN, the fourth pin of the first power converter chip (92) is unconnected, the fifth pin of the first power converter chip (92) is a power output pin, the output is connected to the chip power V33M, and the node between the fifth pin of the first power converter chip (92) and the chip power V33M is grounded through a capacitor C3; The second power converter chip (93) is provided with five pins, the first pin of the second power converter chip (93) is a power input pin, connected to the input power VCC_IN, the node between the first pin of the second power converter chip (93) and the input power VCC_IN is grounded through a capacitor C4, the second pin of the second power converter chip (93) is a ground pin, the third pin of the second power converter chip (93) is an enable pin, connected to the node between the first pin of the second power converter chip (93) and the input power VCC_IN, the fourth pin of the second power converter chip (93) is unconnected, the fifth pin of the second power converter chip (93) is a power output pin, the output is connected to the sensor power V33C, and the node between the fifth pin of the second power converter chip (93) and the sensor power V33C is grounded through a capacitor C5.

9. An intelligent device for traditional Chinese medicine tongue and face diagnosis, characterized in that: The invention comprises an adaptive fill-light system as claimed in any one of claims 1 to 8, a housing (100) and an image acquisition unit (101), wherein the fill-light (7), a third light sensor (3) and the image acquisition unit (101) of the adaptive fill-light system are all arranged in the same direction on the front side (10a) of the housing (100), and the third light sensor (3) is adjacent to the image acquisition unit (101).

10. The intelligent device for TCM tongue and face diagnosis according to claim 9, characterized in that: The intelligent device for traditional Chinese medicine tongue and face diagnosis also includes a display screen (102) arranged on the front side (10a) of the housing (100), and the fill light (7) is arranged around the display screen (102), and the color temperature of the fill light (7) is 6500K.