CN108897300B - Test equipment, method and device for air conditioner controller and storage medium - Google Patents

Test equipment, method and device for air conditioner controller and storage medium Download PDF

Info

Publication number
CN108897300B
CN108897300B CN201810510809.7A CN201810510809A CN108897300B CN 108897300 B CN108897300 B CN 108897300B CN 201810510809 A CN201810510809 A CN 201810510809A CN 108897300 B CN108897300 B CN 108897300B
Authority
CN
China
Prior art keywords
rotating shaft
photoelectric switch
receiving
control unit
rotation
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
CN201810510809.7A
Other languages
Chinese (zh)
Other versions
CN108897300A (en
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.)
Gree Electric Appliances Inc of Zhuhai
Gree Wuhan Electric Appliances Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Gree Wuhan Electric Appliances 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 Gree Electric Appliances Inc of Zhuhai, Gree Wuhan Electric Appliances Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810510809.7A priority Critical patent/CN108897300B/en
Publication of CN108897300A publication Critical patent/CN108897300A/en
Application granted granted Critical
Publication of CN108897300B publication Critical patent/CN108897300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses a test device, a method, a device and a storage medium of an air conditioner controller, which are used for solving the problems of inaccuracy and even omission in checking whether the air conditioner controller can work normally. The test apparatus includes: the blades are fixed on a rotating shaft of the motor; the motor enables the rotating shaft to rotate forward or reversely under the control of the air conditioner controller; the fixing device is used for fixing the two photoelectric switches, the blades shield light beams emitted by each photoelectric switch in each rotation period, the shielding duration is shorter than the rotation period, and the shielding time of the blades to the two light beams is different; when the photoelectric switch detects that the emitted light beam is blocked, the photoelectric switch sends an electric signal to the control unit; the control unit records the receiving time of the electric signal sent by each photoelectric switch, determines the rotating direction of the rotating shaft according to at least three receiving times, and stores the rotating direction. According to the accurate record, whether each controller can work normally or not is clearly recorded, the detection accuracy is improved, and the omission is avoided.

Description

Test equipment, method and device for air conditioner controller and storage medium
Technical Field
The present invention relates to the field of air conditioning technologies, and in particular, to a test device, a test method, a test device, and a storage medium for an air conditioner controller.
Background
Air conditioners have been put into many families, the compressor of the air conditioner is the core of refrigeration, and an air conditioner controller controls the compressor to work and can be simply called as a controller. Before leaving the factory, the controller needs to be tested, whether the controller can normally work or not is determined by testing whether the controller can output a positive and negative rotation signal or not, and the purpose that the controller controls the compressor to work is met. The controller, when performing load function tests (load Circuit Test, DCT), typically carries the load as a plain bearing compressor.
In the prior art, a compressor includes an intake port and an exhaust port, which perform intake and exhaust when performing forward and reverse motions. When the controller is tested, an inspector can check whether the controller can control the compressors to rotate positively and negatively by observing the air suction and exhaust conditions of the air suction ports and the air exhaust ports of the compressors, and when the number of the controllers to be tested is large, the inspector needs to observe the air suction and exhaust conditions of a plurality of compressors at the same time, and at the moment, the inaccuracy of the positive and negative rotation inspection can occur, and even the inspection of a certain controller is missed.
Disclosure of Invention
The embodiment of the invention discloses test equipment, a method, a device and a storage medium of an air conditioner controller, which are used for solving the problems of inaccuracy and even omission in the prior art when checking whether the air conditioner controller can normally work.
To achieve the above object, an embodiment of the present invention discloses a test apparatus for an air conditioner controller, the test apparatus including: the device comprises a motor, a blade, two photoelectric switches, a control unit and a fixing device;
wherein the motor comprises a rotating shaft, and the blades are fixed on the rotating shaft; the motor is used for being connected with the air conditioner controller and enabling the rotating shaft to rotate positively or reversely under the control of the air conditioner controller;
the fixing device is used for fixing the two photoelectric switches, the blades are used for shielding light beams emitted by each photoelectric switch in each rotation period, the shielding time is shorter than the rotation period, and the shielding time of the blades for the two light beams is different;
the control unit is connected with each photoelectric switch;
each photoelectric switch sends an electric signal to the control unit when detecting that the emitted light beam is blocked;
the control unit records the receiving time of the electric signals sent by each photoelectric switch, determines the rotating direction of the rotating shaft according to at least three receiving times, and stores the rotating direction.
Further, the control unit sequentially determines the duration difference value of two adjacent receiving times; and determining the rotation direction of the rotating shaft according to the magnitude of two adjacent time length difference values and the photoelectric switch corresponding to each receiving time in each time length difference value.
Further, the test apparatus further includes: a forward/reverse rotation prompting device;
the control unit is connected with the forward and reverse rotation prompting device;
after determining the rotation direction of the rotating shaft, the controller controls the forward and reverse rotation prompting device to perform corresponding prompting.
Further, the forward and reverse rotation prompting device comprises: a forward rotation indicator lamp and a reverse rotation indicator lamp;
and the controller is used for controlling the forward rotation indicator lamp or the reverse rotation indicator lamp to be lightened when the rotation direction of the rotating shaft is determined.
Further, the blades form a circular plane when rotating, and the second plane where the light beams emitted by the two photoelectric switches are located is the same as the first plane where the circular plane is located.
Further, the blades form a circular plane when rotating, the projection point of the light beam emitted by each photoelectric switch on the first plane where the circular plane is located in the circular plane, and the projection point of the rotating shaft on the circular plane and the projection points of the two light beams on the circular plane are not located on the same straight line.
Further, the fixing device is a box body, the motor is fixed in the box body, and the photoelectric switch is fixed on the inner side wall of the box body.
Further, the motor is a brushless direct current motor.
The embodiment of the invention discloses a method for testing an air conditioner controller based on the testing equipment of any one of the air conditioner controllers, which comprises the following steps:
receiving the electric signals sent by the two photoelectric switches, and recording the receiving time of the electric signals sent by each photoelectric switch;
and determining the rotation direction of the rotating shaft according to at least three receiving times, and storing.
Further, determining the rotation direction of the rotating shaft according to at least three receiving times includes:
sequentially determining the duration difference value of two adjacent receiving times;
and determining the rotation direction of the rotating shaft according to the magnitude of two adjacent time length difference values and the photoelectric switch corresponding to each receiving time in each time length difference value.
The embodiment of the invention discloses a testing device of an air conditioner controller, which comprises:
the receiving module is used for receiving the electric signals sent by the two photoelectric switches;
the recording module is used for recording the receiving time of the electric signal sent by each photoelectric switch;
the determining module is used for determining the rotation direction of the rotating shaft according to at least three receiving times;
the recording module is used for recording the rotation direction of the rotating shaft.
Further, the determining module is specifically configured to sequentially determine a duration difference value of two adjacent receiving times; and determining the rotation direction of the rotating shaft according to the magnitude of two adjacent time length difference values and the photoelectric switch corresponding to each receiving time in each time length difference value.
An embodiment of the invention discloses a computer readable storage medium storing a computer program executable by an electronic device, which when run on the electronic device causes the electronic device to perform the steps of any one of the methods described above.
The embodiment of the invention discloses a test device, a method, a device and a storage medium of an air conditioner controller, wherein the test device comprises: the device comprises a motor, a blade, two photoelectric switches, a control unit and a fixing device; wherein the motor comprises a rotating shaft, and the blades are fixed on the rotating shaft; the motor is used for being connected with the air conditioner controller and enabling the rotating shaft to rotate positively or reversely under the control of the air conditioner controller; the fixing device is used for fixing the two photoelectric switches, the blades are used for shielding light beams emitted by each photoelectric switch in each rotation period, the shielding time is shorter than the rotation period, and the shielding time of the blades for the two light beams is different; the control unit is connected with each photoelectric switch; each photoelectric switch sends an electric signal to the control unit when detecting that the emitted light beam is blocked; the control unit records the receiving time of the electric signals sent by each photoelectric switch, determines the rotating direction of the rotating shaft according to at least three receiving times, and stores the rotating direction. In the embodiment of the invention, the rotating shaft in the motor in the test equipment can drive the blades fixed on the rotating shaft to rotate when the rotating shaft rotates forward or reversely under the control of the air conditioner controller, the light beams emitted by the two photoelectric switches can be shielded when the blades rotate, the control unit can determine the direction of the rotating shaft according to the time of the received electric signals emitted by the two photoelectric switches and store the electric signals, so that an inspector can accurately record whether each controller can normally work according to the storage record even when testing a plurality of controllers, the detection accuracy is improved, and the condition of missed detection is avoided to a certain extent.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a test apparatus of an air conditioner controller according to embodiment 1 of the present invention;
FIG. 2 is a diagram showing a position structure of a blade and a photoelectric switch according to an embodiment of the present invention;
FIG. 3 is a diagram showing a position structure of a blade and a photoelectric switch according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a position structure of a blade and a photoelectric switch according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a testing process of an air conditioner controller according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a testing device of an air conditioner controller according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1:
fig. 1 is a test apparatus for an air conditioner controller according to embodiment 1 of the present invention, which includes a motor 11, a blade 12, two photoelectric switches 13, a control unit 14, and a fixing device 15;
wherein the motor comprises a rotating shaft 111, and the blade 12 is fixed on the rotating shaft 111; the motor 11 is used for being connected with an air conditioner controller and enabling the rotating shaft 111 to rotate positively or reversely under the control of the air conditioner controller;
the fixing device 15 is used for fixing the two photoelectric switches 13, the blades block light beams emitted by each photoelectric switch in each rotation period, the blocking time is shorter than the rotation period, and the blocking time of the blades to the two light beams is different, namely, when the blades block the two photoelectric switches, the time is asynchronous;
the control unit 14 is respectively connected with each photoelectric switch 13, and each photoelectric switch sends an electric signal to the control unit when detecting that the emitted light beam is blocked;
the control unit records the receiving time of the electric signals sent by each photoelectric switch, determines the rotating direction of the rotating shaft according to at least three receiving times, and stores the rotating direction.
The dashed lines in fig. 1 indicate that there is a relationship between the two, which may be a relative positional relationship, or a fixed connection relationship, and the solid lines in fig. 1 indicate that there is a connection between the two, which may be an electrical connection.
The test equipment provided by the embodiment of the invention can comprise a motor, the motor comprises a rotating shaft, the motor can be connected with an air conditioner controller, the air conditioner controller can be simply called a controller, and the controller can control the motor in the test equipment to enable the rotating shaft in the motor to rotate positively or reversely. The motor and the controller can be connected through a three-phase circuit, a specific connection structure belongs to the prior art, and detailed description is omitted in the embodiment of the invention.
The test equipment also comprises a blade which can be fixed on the rotating shaft of the motor, and the rotating shaft can drive the blade to rotate when rotating. When the rotating shaft rotates positively, the blades also rotate positively, and when the rotating shaft rotates reversely, the blades also rotate reversely. The clockwise rotation and the counterclockwise rotation of the rotating shaft can be understood as clockwise rotation and counterclockwise rotation. The blade can be a fan blade on a common fan, and when the blade is fixed on the rotating shaft, the blade can be provided with a hole corresponding to the rotating shaft, and the rotating shaft penetrates through the hole to be connected and fixed with the blade, and particularly can be adhered or connected in a matching way. The connection of the blade and the rotating shaft is not limited thereto, and connection modes which are easily conceivable by those skilled in the art are all within the protection scope of the embodiment of the present invention.
The test equipment comprises two photoelectric switches and a fixing device of the photoelectric switches, wherein each photoelectric switch is fixed on the fixing device, and the fixing device can be a plate, a box body or any other device capable of fixing the photoelectric switches. The time of rotating the blade for one circle is taken as a rotation period, the blade shields the light beam emitted by each photoelectric switch in each rotation period, and the shielding time is shorter than the rotation period, so that the blade can move in a cutting light beam when rotating, namely, the blade shields and does not shield the light beam emitted by the photoelectric switch when rotating. When the blades rotate, the light beam is blocked for a while, and the light beam is not blocked for a while.
The test equipment comprises a control unit, and each photoelectric switch is connected with the control unit, specifically through circuit connection, and the connection belongs to the prior art, and details are not repeated in the embodiment of the invention. When the photoelectric switches detect that the light beams emitted by the photoelectric switches are blocked by the blades, the photoelectric switches send electric signals to the control unit, and the control unit can receive the electric signals sent by each photoelectric switch.
The control unit may record the time of reception, called reception time, upon receiving the electrical signal transmitted by each of the photoelectric switches, and record which of the corresponding photoelectric switches is for each reception time. The blades can not shade the light beams emitted by the two photoelectric switches at the same time, and in one rotation period, the blades shade the light beams emitted by each photoelectric switch once, and when the rotation period is determined, the sequence of the light beams emitted by the photoelectric switches in each rotation period is determined. The photoelectric switches corresponding to the adjacent two receiving times recorded by the control unit are different.
The control unit can determine the rotation direction of the rotating shaft according to the recorded at least three receiving times and the photoelectric switch corresponding to each receiving time, and the rotation direction is stored after the rotation direction is determined.
When three receiving times are selected, in order to ensure accuracy, the receiving time when the rotating shaft rotates smoothly may be selected.
The process of storing the control unit belongs to the prior art, and in the embodiment of the present invention, details are not described.
The motor in the embodiment of the invention can be any existing motor with a rotating shaft, and preferably can be a brushless direct current motor.
When the air conditioner controller tests the test equipment provided by the embodiment of the invention, a relatively open place can be selected, so that no sundries are ensured around the test equipment, and the problem that the light beams emitted by the photoelectric switch are blocked by the sundries, so that inaccurate detection is caused is avoided.
In the embodiment of the invention, the rotating shaft in the motor in the test equipment can drive the blades fixed on the rotating shaft to rotate when the rotating shaft rotates forward or reversely under the control of the air conditioner controller, the light beams emitted by the two photoelectric switches can be shielded when the blades rotate, the control unit can determine the direction of the rotating shaft according to the time of the received electric signals emitted by the two photoelectric switches and store the electric signals, so that an inspector can accurately record whether each controller can normally work according to the storage record even when testing a plurality of controllers, the detection accuracy is improved, and the condition of missed detection is avoided to a certain extent.
Further, in the prior art, the adopted compressor is a sliding bearing compressor, when the controller is tested, the compressor is in an idle state, no refrigerant exists in the compressor, air is sucked by the compressor, air is exhausted, refrigerating oil in the compressor volatilizes and fills the cavity, and when the controller is tested, the possibility of ignition and deflagration exists in long-term idle running, so that serious potential safety hazards exist. The test equipment provided by the embodiment of the invention does not comprise a sliding bearing in structure, so that liquid frozen oil is removed, and potential safety hazards are avoided.
Example 2:
in the embodiment of the invention, when the control unit determines the rotation direction of the rotating shaft according to at least three receiving times, the control unit may specifically determine the time length difference value of two adjacent receiving times in sequence; and determining the rotation direction of the rotating shaft according to the magnitude of two adjacent time length difference values and the photoelectric switch corresponding to each receiving time in each time length difference value. The difference between two adjacent durations is different.
In the embodiment of the invention, at least three receiving times are stored in the control unit, the photoelectric switches corresponding to the two adjacent receiving times are different, and the two adjacent receiving times can determine a duration difference value. Assume that three reception times and corresponding photoelectric switches are respectively:
5:10, corresponding to the first photoelectric switch;
5.11, corresponding to the second photoelectric switch;
5.13, corresponding to the first photoelectric switch;
and 5.14, corresponding to the second photoelectric switch.
The difference between the time when the control unit receives the electrical signal sent by the first photoelectric switch and the time when the control unit receives the electrical signal sent by the second photoelectric switch can be understood as 1 minute according to the photoelectric switch corresponding to each receiving time in the first time difference, wherein the first time difference is 5:11-5:10=1 minute. Assuming that the time when the light beam emitted by the photoelectric switch is blocked is the same as the time when the control unit receives the electric signal emitted by the photoelectric switch, the blade blocks the light beam emitted by the first photoelectric switch, and 1 minute passes from when the blade blocks the light beam emitted by the second photoelectric switch.
The second time difference is 5:13-5:11=2 minutes, which means that the blade blocks the light beam emitted by the second photoelectric switch until the blade blocks the light beam emitted by the first photoelectric switch for 2 minutes.
The third time difference is 5:14-5:13=1 minute, which means that the blade blocks the light beam emitted by the first photoelectric switch until the blade blocks the light beam emitted by the second photoelectric switch for 1 minute.
When the control unit determines the rotation direction of the rotating shaft according to the magnitude of the two adjacent time length difference values and the photoelectric switch corresponding to each receiving time in each time length difference value, the control unit can save the corresponding relationship between the magnitude of the two adjacent time length difference values, the receiving sequence corresponding to the photoelectric switch and the forward and backward rotation, and determine the forward and backward rotation according to the magnitude of the two adjacent time length difference values and the receiving sequence corresponding to the photoelectric switch which are currently determined.
Assuming that two adjacent time length differences are the first time length difference and the second time length difference, whether the relationship between the two time length differences is positive rotation or negative rotation is determined, and the relationship between the two time length differences and the second time length difference is related to the placement positions of the two photoelectric switches, once the fixed positions of the two photoelectric switch tubes are determined, the user can know who is according to the two time length differences, and whether the two time length differences are positive rotation or negative rotation is determined.
In the embodiment of the present invention, the process of recording the receiving time of the electric signal transmitted by each photoelectric switch by the control unit belongs to the prior art, and the process of determining the duration difference between the adjacent two receiving times belongs to the prior art.
The process of storing the corresponding relation between the magnitude of the difference between the two adjacent time durations and the receiving sequence corresponding to the photoelectric switch and the forward and backward rotation in the control unit belongs to the prior art, and the process of determining the forward and backward rotation according to the magnitude of the difference between the two adjacent time durations and the receiving sequence corresponding to the photoelectric switch which are currently determined after the corresponding relation is stored belongs to the prior art.
Example 3:
in order to enable an inspector to know the testing condition in real time in the testing process, on the basis of the above embodiments, in the embodiment of the present invention, the testing device further includes: a forward/reverse rotation prompting device;
the control unit is connected with the forward and reverse rotation prompting device;
after determining the rotation direction of the rotating shaft, the controller controls the forward and reverse rotation prompting device to perform corresponding prompting.
In the embodiment of the invention, the test equipment further comprises a forward and reverse rotation prompting device, the control unit is connected with the forward and reverse rotation prompting device, and the forward and reverse rotation prompting device can be a display screen or a buzzer. The control unit is connected with the forward and reverse rotation prompting device through a circuit, and the connection belongs to the prior art, and details are omitted in the embodiment of the invention.
The control unit can control the forward and backward rotation prompting device to correspondingly prompt after determining the forward and backward rotation of the rotating shaft. If the control unit determines that the rotating shaft rotates positively, the positive and negative rotation prompting device is controlled to prompt the rotating shaft to rotate positively, and if the control unit determines that the rotating shaft rotates negatively, the positive and negative rotation prompting device is controlled to prompt the rotating shaft to rotate negatively. The process of controlling the forward and reverse rotation prompting device to perform corresponding prompting by the control device belongs to the prior art, and details are not repeated in the embodiment of the invention.
In an embodiment of the present invention, the forward and reverse rotation prompting device includes: a forward rotation indicator lamp and a reverse rotation indicator lamp;
and the controller is used for controlling the forward rotation indicator lamp or the reverse rotation indicator lamp to be lightened when the rotation direction of the rotating shaft is determined.
For convenience of user inspection, the forward rotation indicator light and the reverse rotation indicator light can be different in color when being lighted, and further, the word of forward rotation is marked on the position corresponding to the forward rotation indicator light, and the word of reverse rotation is marked on the position corresponding to the reverse rotation indicator light. The corresponding position may be within a preset range.
Example 4:
in order to facilitate storage of the test device and protect the test device, in the embodiment of the present invention, the fixing device of the photoelectric switch is a box.
The motor is fixed in the box, then the blade also is located in the box.
Each photoelectric switch is fixed in the box body, and can be fixed on the inner side wall of the box body.
The forward and reverse rotation prompting device is fixed outside the box body, and can be fixed on the outer side wall of the box body, so that a user can observe conveniently. Of course, in order to avoid damaging the forward and reverse rotation prompting device, the box body can be a transparent box body, and the forward and reverse rotation prompting device is fixed on the inner side wall of the box body.
The control unit may be fixed in the case, and in particular may be fixed on an inner side wall of the case.
The photoelectric switches are fixed on the inner side walls of the box body, and the two photoelectric switches can be positioned on the same inner side wall or on the two inner side walls which are perpendicular to each other.
Example 5:
based on the above embodiments, in the embodiments of the present invention, the positional relationship between the photoelectric switch and the blade may be:
the blades form a circular plane when rotating, and the second plane where the light beams emitted by the two photoelectric switches are located is the same as the first plane where the circular plane is located.
The circular plane formed when the blade rotates is only a circle swept by the blade when the blade rotates, the plane in which the circular plane is positioned is called a first plane, the plane in which two light beams are positioned is called a second plane, and the first plane is identical to the second plane.
The fixing device is used as a box body for description, and in order to enable the two photoelectric switches to accurately detect the rotation of the blade, the two photoelectric switches can be positioned at the same height of the inner side wall. Preferably, the two inner side walls are positioned at the same height of the inner side walls, or at the same height of the two inner side walls which are perpendicular to each other.
The inner side wall parallel to the height direction of the rotating shaft is called a first inner side wall, namely the projection length of the rotating shaft on the first inner side wall is the height of the rotating shaft. The inner side wall perpendicular to the first inner side wall is referred to as a second inner side wall.
If the fixing is performed on two inner side walls perpendicular to each other, the fixing may be performed on two first inner side walls perpendicular to each other.
As shown in fig. 2, the two photoelectric switches are respectively fixed on the left side wall and the rear side wall, the light beam emitted by the first photoelectric switch is a light beam 1, and the light beam emitted by the second photoelectric switch is a light beam 2.
The relative positional relationship among the light beam, the rotation shaft and the blade may be as shown in fig. 2, specifically including a top view from above, a front view from front to back, and a right view from right to left.
The beams emitted by the two photoelectric switches are equal in height, the blades shield the beam 1 at the position shown in fig. 2, and the first photoelectric switch sends an electric signal to the control unit. In the rotating process of the blade, the light beam 2 sent by the second photoelectric switch can be blocked by the blade, and then the second photoelectric switch sends an electric signal to the control unit.
When positive and negative rotation is determined, the control unit can determine the rotation direction of the rotating shaft according to at least three recorded receiving times and the photoelectric switch corresponding to each receiving time, specifically, the control unit can sequentially determine the time length difference value of two adjacent receiving times; and determining the rotation direction of the rotating shaft according to the magnitude of two adjacent time length difference values and the photoelectric switch corresponding to each receiving time in each time length difference value.
The difference between the time when the control unit receives the electric signal sent by the first photoelectric switch and the time when the control unit receives the electric signal sent by the second photoelectric switch is called a first time difference; the difference between the time when the control unit receives the electrical signal sent by the second photoelectric switch and the time when the control unit receives the electrical signal sent by the second photoelectric switch is called a second time duration difference.
If the first time length difference value is smaller than the second time length difference value, the rotating shaft rotates positively;
if the first time difference is greater than the second time difference, the rotation axis is reversed.
Simple modifications of the structure described with reference to fig. 2 are also within the scope of the embodiments of the present invention.
The optoelectronic switches may be located on the same inner side wall, in particular on the same first inner side wall.
The projection of the rotating shaft on the first inner side wall is perpendicular to and intersects with a line segment formed by projection points of at least two light beams on the first inner side wall;
taking the example that two photoelectric switches are respectively fixed on the left side wall for illustration, the relative positional relationship among the light beam, the rotating shaft and the blades can be shown in the top view, the front view and the right view in fig. 3. The light beam emitted by the first photoelectric switch is a light beam 1, and the light beam emitted by the second photoelectric switch is a light beam 2. The projection of the rotating shaft on the left side wall is a shaft in the height direction, the projections of the light beams 1 and 2 on the left side wall are projection points, and the projection of the rotating shaft is perpendicular to a line segment formed by the two projection points and is intersected.
When the blades rotate, the light beams 1 and 2 are shielded, and the corresponding first photoelectric switch and second photoelectric switch send electric signals to the control unit, and the positive and negative rotation mode of the control unit is similar to that of fig. 2, and the description is omitted here.
Simple modifications of the structure described with reference to fig. 3 are also within the scope of the embodiments of the present invention.
Example 6:
based on the above embodiments, in the embodiments of the present invention, the positional relationship between the photoelectric switch and the blade may be: the blade forms a circular plane when rotating, the projection point of the light beam emitted by each photoelectric switch on the first plane where the circular plane is located in the circular plane, and the projection point of the rotating shaft on the circular plane and the projection points of the two light beams on the circular plane are not located on the same straight line.
The circular plane formed when the blade rotates is only a circle swept by the blade when the blade rotates, the plane in which the circular plane is located is called a first plane, the projection of the light beam on the first plane is a point, namely the projection point, and two corresponding projection points of two light beams are both located in the circular plane. The projection of the rotating shaft on the circular plane is a projection point. The three proxels are not in a straight line. For clarity of description, the projection points will be simply converted, without affecting the overall concept of the present invention.
The two photoelectric switches are fixed on the same second inner side perpendicular to the first inner side wall, and the projection of the rotating shaft on the second inner side wall is positioned on a line segment formed by the projection points of the two light beams on the second inner side wall.
Taking the example that two photoelectric switches are positioned on the top side wall as an example, the relative positional relationship among the light beam, the rotation shaft and the blade can be seen from the top view, the front view and the right view as shown in fig. 4. The light beam emitted by the first photoelectric switch is a light beam 1, and the light beam emitted by the second photoelectric switch is a light beam 2. On the top side wall, the projection points of the two light beams are not in the same straight line with the projection points of the rotating shaft.
When the blades rotate, the light beams 1 and 2 are shielded, the corresponding first photoelectric switch and second photoelectric switch send electric signals to the control unit, and the control unit determines the rotating direction of the rotating shaft according to the first time length difference value and the second time length difference value.
If the first time length difference value is smaller than the second time length difference value, the rotating shaft rotates positively; if the first time length difference is greater than the second time length difference, the rotating shaft is reversed.
Simple modifications of the structure described with reference to fig. 4 are also within the scope of the embodiments of the present invention.
Example 7:
fig. 5 is a schematic diagram of a testing process of an air conditioner controller of a testing device based on any one of the above embodiments, applied to a control unit in the testing device, where the process includes the following steps:
s501: the electrical signals transmitted by the two photoelectric switches are received, and the receiving time of the electrical signals transmitted by each photoelectric switch is recorded.
S502: and determining the rotation direction of the rotating shaft according to at least three receiving times, and storing.
Further, determining the rotation direction of the rotating shaft according to at least three receiving times includes:
sequentially determining the duration difference value of two adjacent receiving times;
and determining the rotation direction of the rotating shaft according to the magnitude of two adjacent time length difference values and the photoelectric switch corresponding to each receiving time in each time length difference value.
Example 8:
fig. 6 is a test apparatus for an air conditioner controller according to an embodiment of the present invention, where the apparatus includes:
a receiving module 61 for receiving the electrical signals transmitted by the two photoelectric switches;
a recording module 62 for recording a reception time of receiving the electric signal transmitted by each of the photoelectric switches;
a determining module 63, configured to determine a rotation direction of the rotating shaft according to at least three receiving times;
the recording module 62 is configured to record a rotation direction of the rotating shaft.
Further, the determining module 63 is specifically configured to sequentially determine a duration difference value of two adjacent receiving times; and determining the rotation direction of the rotating shaft according to the magnitude of two adjacent time length difference values and the photoelectric switch corresponding to each receiving time in each time length difference value.
Example 9:
the embodiment of the invention discloses a computer readable storage medium storing a computer program executable by an electronic device, which when run on the electronic device, causes the electronic device to:
receiving the electric signals sent by the two photoelectric switches, and recording the receiving time of the electric signals sent by each photoelectric switch;
and determining the rotation direction of the rotating shaft according to at least three receiving times, and storing.
Further, determining the rotation direction of the rotating shaft according to at least three receiving times includes:
sequentially determining the duration difference value of two adjacent receiving times;
and determining the rotation direction of the rotating shaft according to the magnitude of two adjacent time length difference values and the photoelectric switch corresponding to each receiving time in each time length difference value.
The computer readable storage medium in the above embodiments may be any available medium or data storage device that can be accessed by a processor in an electronic device, including but not limited to magnetic memories such as floppy disks, hard disks, tapes, magneto-optical disks (MOs), etc., optical memories such as CD, DVD, BD, HVD, etc., and semiconductor memories such as ROM, EPROM, EEPROM, nonvolatile memories (NAND FLASH), solid State Disks (SSDs), etc.
For system/device embodiments, the description is relatively simple as it is substantially similar to method embodiments, with reference to the description of method embodiments in part.
It should be noted that in this document relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely application embodiment, or an embodiment combining application and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (10)

1. A test apparatus for an air conditioner controller, the test apparatus comprising: the device comprises a motor, a blade, two photoelectric switches, a control unit and a fixing device;
the motor comprises a rotating shaft, the blades are fixed on the rotating shaft, holes corresponding to the rotating shaft are formed in the blades, and the rotating shaft penetrates through the holes to be connected and fixed with the blades; the motor is used for being connected with the air conditioner controller and enabling the rotating shaft to rotate positively or reversely under the control of the air conditioner controller;
the fixing device is used for fixing the two photoelectric switches, the blades are used for shielding light beams emitted by each photoelectric switch in each rotation period, the shielding time is shorter than the rotation period, and the shielding time of the blades for the two light beams is different;
the control unit is connected with each photoelectric switch;
each photoelectric switch sends an electric signal to the control unit when detecting that the emitted light beam is blocked;
the control unit records and receives the receiving time of the electric signal sent by each photoelectric switch, determines the rotating direction of the rotating shaft according to at least three receiving times and stores the rotating direction;
the control unit sequentially determines the duration difference value of two adjacent receiving times; and determining the rotation direction of the rotating shaft according to the magnitude of two adjacent time length difference values and the photoelectric switch corresponding to each receiving time in each time length difference value.
2. The test apparatus of claim 1, wherein the test apparatus further comprises: a forward/reverse rotation prompting device;
the control unit is connected with the forward and reverse rotation prompting device;
after determining the rotation direction of the rotating shaft, the controller controls the forward and reverse rotation prompting device to perform corresponding prompting.
3. The test apparatus of claim 2, wherein the forward and reverse rotation prompting device comprises: a forward rotation indicator lamp and a reverse rotation indicator lamp;
and the controller is used for controlling the forward rotation indicator lamp or the reverse rotation indicator lamp to be lightened when the rotation direction of the rotating shaft is determined.
4. The test apparatus of claim 1, wherein the blade forms a circular plane when rotated, and wherein the second plane in which the light beams from the two photoelectric switches are located is identical to the first plane in which the circular plane is located.
5. The test apparatus of claim 1, wherein the blades, when rotated, form a circular plane, a projection point of the light beam emitted by each photoelectric switch on a first plane where the circular plane is located in the circular plane, and a projection point of the rotation axis on the circular plane is not located in a straight line with a projection point of the two light beams on the circular plane.
6. The test apparatus of any one of claims 1-5, wherein the fixture is a housing, the motor is secured within the housing, and the optoelectronic switch is secured to an interior sidewall of the housing.
7. The test apparatus of any one of claims 1-5, wherein the motor is a brushless dc motor.
8. A method of testing an air conditioner controller based on the testing apparatus of any one of claims 1-7, the method comprising:
receiving the electric signals sent by the two photoelectric switches, and recording the receiving time of the electric signals sent by each photoelectric switch;
determining the rotation direction of the rotating shaft according to at least three receiving times, and storing;
wherein, according to at least three receiving time, confirm the rotation direction of pivot includes:
sequentially determining the duration difference value of two adjacent receiving times;
and determining the rotation direction of the rotating shaft according to the magnitude of two adjacent time length difference values and the photoelectric switch corresponding to each receiving time in each time length difference value.
9. A test apparatus for an air conditioner controller, the apparatus comprising:
the receiving module is used for receiving the electric signals sent by the two photoelectric switches;
the recording module is used for recording the receiving time of the electric signal sent by each photoelectric switch;
the determining module is used for determining the rotation direction of the rotating shaft according to at least three receiving times;
the recording module is used for recording the rotation direction of the rotating shaft;
the determining module is specifically configured to sequentially determine a duration difference value of two adjacent receiving times; and determining the rotation direction of the rotating shaft according to the magnitude of two adjacent time length difference values and the photoelectric switch corresponding to each receiving time in each time length difference value.
10. A computer readable storage medium, characterized in that it stores a computer program executable by an electronic device, which when run on the electronic device causes the electronic device to perform the steps of the method according to claim 8.
CN201810510809.7A 2018-05-24 2018-05-24 Test equipment, method and device for air conditioner controller and storage medium Active CN108897300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810510809.7A CN108897300B (en) 2018-05-24 2018-05-24 Test equipment, method and device for air conditioner controller and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810510809.7A CN108897300B (en) 2018-05-24 2018-05-24 Test equipment, method and device for air conditioner controller and storage medium

Publications (2)

Publication Number Publication Date
CN108897300A CN108897300A (en) 2018-11-27
CN108897300B true CN108897300B (en) 2024-01-16

Family

ID=64343071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810510809.7A Active CN108897300B (en) 2018-05-24 2018-05-24 Test equipment, method and device for air conditioner controller and storage medium

Country Status (1)

Country Link
CN (1) CN108897300B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110095710A (en) * 2019-05-22 2019-08-06 格力电器(武汉)有限公司 Fault detection means and method
CN110514984B (en) * 2019-09-09 2021-11-16 广东合立鼎峰科技有限公司 Multifunctional circuit board intelligent detector

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049210A (en) * 2014-07-01 2014-09-17 格力电器(武汉)有限公司 Automatic detection device for photoelectric switch
CN104596073A (en) * 2014-12-29 2015-05-06 广东美的制冷设备有限公司 Air outlet angle positioning device and method for air conditioner
EP2871777A1 (en) * 2013-11-12 2015-05-13 Valeo Auto-Electric Hungary Switch device for optoelectronically detecting switch positions of a mechanically operable switch of a motor vehicle, steering column switch device, motor vehicle and corresponding method
CN105021409A (en) * 2015-08-03 2015-11-04 山东科大微机应用研究所有限公司 Double-slide-plate double-steering-axle automobile sideslip test table and automobile sideslip test method
CN106154072A (en) * 2015-04-07 2016-11-23 上海炬力集成电路设计有限公司 A kind of Testing System for Electronic Equipment and method
CN107063659A (en) * 2017-03-28 2017-08-18 深圳市安车检测股份有限公司 A kind of pair of photo-electric automobile double-front axle sideslip check-out console and detection method
CN107401823A (en) * 2017-07-27 2017-11-28 广东美的制冷设备有限公司 Ducting assembly, air conditioner and air outlet anglec of rotation control method
CN107632260A (en) * 2017-10-19 2018-01-26 台山市江口电器制造有限公司 A kind of worm shaft motor comprehensive test frock
CN108016841A (en) * 2017-12-13 2018-05-11 格力电器(武汉)有限公司 One kind stands leakage detection apparatus
CN208172601U (en) * 2018-05-24 2018-11-30 格力电器(武汉)有限公司 A kind of test equipment of air-conditioner controller

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9217413B2 (en) * 2011-05-04 2015-12-22 Vestas Wind Systems A/S Wind turbine optical wind sensor
WO2017093453A1 (en) * 2015-12-03 2017-06-08 Trinamix Gmbh Detector for optically detecting at least one object

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2871777A1 (en) * 2013-11-12 2015-05-13 Valeo Auto-Electric Hungary Switch device for optoelectronically detecting switch positions of a mechanically operable switch of a motor vehicle, steering column switch device, motor vehicle and corresponding method
CN104049210A (en) * 2014-07-01 2014-09-17 格力电器(武汉)有限公司 Automatic detection device for photoelectric switch
CN104596073A (en) * 2014-12-29 2015-05-06 广东美的制冷设备有限公司 Air outlet angle positioning device and method for air conditioner
CN106154072A (en) * 2015-04-07 2016-11-23 上海炬力集成电路设计有限公司 A kind of Testing System for Electronic Equipment and method
CN105021409A (en) * 2015-08-03 2015-11-04 山东科大微机应用研究所有限公司 Double-slide-plate double-steering-axle automobile sideslip test table and automobile sideslip test method
CN107063659A (en) * 2017-03-28 2017-08-18 深圳市安车检测股份有限公司 A kind of pair of photo-electric automobile double-front axle sideslip check-out console and detection method
CN107401823A (en) * 2017-07-27 2017-11-28 广东美的制冷设备有限公司 Ducting assembly, air conditioner and air outlet anglec of rotation control method
CN107632260A (en) * 2017-10-19 2018-01-26 台山市江口电器制造有限公司 A kind of worm shaft motor comprehensive test frock
CN108016841A (en) * 2017-12-13 2018-05-11 格力电器(武汉)有限公司 One kind stands leakage detection apparatus
CN208172601U (en) * 2018-05-24 2018-11-30 格力电器(武汉)有限公司 A kind of test equipment of air-conditioner controller

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
关节臂式坐标测量机标定系统的设计;裘祖荣;孙增玉;张国雄;;计算机测量与控制(第01期);全文 *

Also Published As

Publication number Publication date
CN108897300A (en) 2018-11-27

Similar Documents

Publication Publication Date Title
CN109323370B (en) Air conditioner and defrosting method and device thereof
CN109323369B (en) Air conditioner and defrosting method and device thereof
CN108897300B (en) Test equipment, method and device for air conditioner controller and storage medium
ES2642670T3 (en) A method for diagnostic monitoring of a wind turbine generator system
CA3029657A1 (en) Fresh air handling unit control method and fresh air handling unit
CN110500710B (en) Air conditioner fault self-diagnosis method
CN104676855A (en) Variable-frequency air conditioner and coolant leakage detection method thereof
US9765789B2 (en) Pump testing for predicting lifetime and wear conditions
CN110173812A (en) The control method of air conditioner and air conditioner, device
US10323871B2 (en) Method for diagnosing ice-making apparatus
CN110376005B (en) Data processing method, refrigerant leakage detection method, system failure detection method, and system performance detection method
CN111156662B (en) Cross-flow fan blade assembly detection method, computer readable storage medium and air conditioner
WO2018188520A1 (en) Online detection method for refrigeration energy efficiency ratio and refrigeration capacity of air conditioner
CN110595137B (en) Refrigeration equipment and method and device for identifying fan locked rotor
CN114688698B (en) Air conditioner accurate control method and device and storage medium thereof
JP2012067611A (en) Fan inspection device, blower, device with fan, and fan failure predicting method
CN208172601U (en) A kind of test equipment of air-conditioner controller
CN115899946A (en) Fault detection method and device for air conditioning unit, air conditioner and storage medium
CN113028586B (en) Control protection method, device and system for compressor
CN109708245A (en) Air-conditioning maintains based reminding method, device, control equipment, medium and assembled air-conditioner
RU2795112C1 (en) Method for monitoring the technical condition of compressor and condenser units of air conditioning systems and a device for its implementation
CN113124539A (en) Automatic protection control method and device for unopened air conditioner valve and air conditioner
CN113028585A (en) Control protection method and system for compressor
CN111442468A (en) Air conditioner, control method and control device thereof, and computer readable storage medium
CN111076360A (en) Multi-split refrigerant leakage detection method and device and air conditioner

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant