CN102175265B - Probe simulator of code disc type sun sensor - Google Patents

Probe simulator of code disc type sun sensor Download PDF

Info

Publication number
CN102175265B
CN102175265B CN 201110035914 CN201110035914A CN102175265B CN 102175265 B CN102175265 B CN 102175265B CN 201110035914 CN201110035914 CN 201110035914 CN 201110035914 A CN201110035914 A CN 201110035914A CN 102175265 B CN102175265 B CN 102175265B
Authority
CN
China
Prior art keywords
output
voltage
processing unit
code
sun sensor
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.)
Expired - Fee Related
Application number
CN 201110035914
Other languages
Chinese (zh)
Other versions
CN102175265A (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.)
Harbin Institute of Technology
Original Assignee
Harbin Institute of Technology
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 Harbin Institute of Technology filed Critical Harbin Institute of Technology
Priority to CN 201110035914 priority Critical patent/CN102175265B/en
Publication of CN102175265A publication Critical patent/CN102175265A/en
Application granted granted Critical
Publication of CN102175265B publication Critical patent/CN102175265B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The invention provides a probe simulator of a code disc type sun sensor. The probe simulator comprises a processing unit, a communication unit, a digital-to-analogue conversion circuit, a voltage-dependent current source, a driving circuit and two quantity of state output units, wherein the communication unit is connected with the processing unit; a first output end of the processing unit is connected with an input end of the digital-to-analogue conversion circuit; an output end of the digital-to-analogue conversion circuit is connected with the input end of the voltage-dependent current source; a second output end of the processing unit is connected with the input end of the driving circuit; and the output end of the driving circuit is connected with the output ends of the two quantity of state output units. The probe simulator of the code disc type sun sensor provided by the invention can meet the test requirements of a processing circuit of the code disc type sun sensor; and the circuit is simply designed, safe and reliable, and can meet the service requirements on electrical test of a satellite system.

Description

A kind of Weight and disk type sun sensor probe simulator
Technical field
The present invention relates to a kind of simulator, relate in particular to a kind of Weight and disk type sun sensor probe simulator.
Background technology
The electrical property test of satellite process comprises unit test, subsystem test and the test of whole star, in each stage test process, need some auxiliary equipment or devices, be used for on-board equipment that is virtually reality like reality, to reach the purpose of parts, subsystem or whole star electric performance test, utility appliance or the device of these Reality simulation equipment are called simulator.The input/output signal characteristic of the main Reality simulation on-board equipment of simulator electrical interface, communication protocol, characteristics of components etc.
Sun sensor is common equipment on the star, determines measurement mechanism and sun linear light angle by responsive sunshine, thereby is used for satellite attitude measurement and determines; Sun sensor comprises probe and treatment circuit two parts.
The Weight and disk type sun sensor is a kind of digital sun sensor, its probe mainly is parallel plane prism glass, this prism glass upper and lower surface is plated first lighttight metal film, then make the narrow slit of a printing opacity by lithography at this prism glass upper surface, the Gray code pattern at transparent at this prism glass lower surface light course in opaque interval, and every code channel on this Gray code pattern tightens the subsides silicon photocell.Sunshine is injected by entering seam, through forming a narrow light belt, i.e. sun picture at the code-disc pattern behind the glass refraction.When this sun looked like to drop on the clear area of certain code channel, corresponding code channel silicon photocell just produced a photosignal, and this photosignal becomes " 1 " through processing circuit processes; If this sun looks like to drop on the non-transparent area of certain code channel, then the photosignal of corresponding code channel silicon photocell generation becomes " 0 " through processing circuit processes; Utilize the Gray code of a series of " 0 " " 1 " different arrangement positions can measure the attitude angle of the sun.Weight and disk type sun sensitive sun sensor probe output comprises: 7 road thick codes (Gray code form), 4 tunnel segmentation codes, 1 road standard-sized sheet code, 2 tunnel monitor code, wherein the segmentation code is-100 μ A-0A electric currents, other signals are two-state amount (0 μ A or-100 μ A, 0 μ A or-50 μ A).
Weight and disk type sun sensor probe simulator is for detection of the treatment circuit of Weight and disk type sun sensor, its principle is to receive instruction (solar angle data) input to substitute the sunshine input, and convert the output signal consistent with real probe to by protocol requirement, and this output signal is sent to the treatment circuit of Weight and disk type sun sensor.Weight and disk type sun sensor probe simulator is used for sun sensor is detected, require during unit test a plurality of unique points in the measurement range are tested, accurately provide 37.5 ° such as the needs probe, adopt actual probe irradiation sunshine to be difficult to accurately provide.Satellite carries out the closed loop mould when flying to test, attitude and the orbital motion of analog satellite satellite within one or more orbital period, this moment, solar angle was real-time change, actual probe can't provide the solar angle with the corresponding real-time change of the attitude of satellite when ground test, in this case, need to adopt Weight and disk type sun sensor probe simulator to substitute real sun sensor new line and carry out satellite test.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of Weight and disk type sun sensor probe simulator, to satisfy a Weight and disk type sensor treatment circuit test request.
In order to achieve the above object, the invention provides a kind of Weight and disk type sun sensor probe simulator, comprise processing unit, communication unit, D/A converting circuit, voltage-controlled current source, driving circuit and two-state amount output unit, wherein,
Described communication unit is connected with described processing unit;
The first output terminal of described processing unit is connected with described D/A converting circuit input end;
The output terminal of described D/A converting circuit is connected with the input end of described voltage-controlled current source;
The second output terminal of described processing unit is connected with the input end of described driving circuit;
The output terminal of described driving circuit is connected with the output terminal of described two-state amount output unit;
Described processing unit receives the sun angle data, and these sun angle data is carried out floating-point operation process;
Described driving circuit carries out drive amplification with the digital signal of corresponding standard-sized sheet code, supervision code and the thick code of described processing unit output, and the digital signal behind the drive amplification is sent to described two-state amount output unit; The digital signal of described two-state amount output unit after with this drive amplification is converted to the two states amount and exports Weight and disk type sun sensor treatment circuit to;
Described D/A converting circuit is converted to the voltage analog signal with the digital signal of the correspondence segmentation code of described processing unit output, and this voltage analog signal is sent to described voltage-controlled current source; Described voltage-controlled current source is transformed to current analog amount signal with this voltage analog signal and exports Weight and disk type sun sensor treatment circuit to.
During enforcement, the floating-point operation that described processing unit carries out these sun angle data is processed as follows:
If the solar angle A of dynamics calculation or director data input is floating number, unit is degree;
Thick code calculation method is:
D=int (A+64); Wherein int () expression rounds to zero, and D is that two's complement represents;
G (D)=D xor (D>>1); Wherein xor represents that step-by-step carries out xor operation,>>expression moves to right;
C[1...8]=(G (D)<<1); Wherein G () is converted to Gray code for two's complement, C[1...7] the thick code 1 of representative is to thick code 7 totally 7 road thick codes, C[8] without the physics meaning,<<expression moves to left;
The standard-sized sheet code calculation method: if-64≤A≤64, then the output of standard-sized sheet code 1, otherwise exports 0;
Monitor code calculation method: if-64≤A≤64, then monitor code output 1, otherwise export 0;
4 tunnel segmentation code calculation methods are:
T=A+64;
B=T-int (T)+(int (T) %2); Wherein % represents the remainder number, such as 3%2=1;
B [0,2), the unit of B for the degree, 0≤B<2;
F1=-100μA/256×int{128×[1-cos(B×pi)]};
F2=-100μA/256×int{128×[1-cos(B×pi-pi/2)]};
F3=-100μA/256×int{128×[1-cos(B×pi-pi)]};
F4=-100μA/256×int{128×[1-cos(B×pi+pi/2)]};
Wherein pi represents circular constant, and F1, F2, F3, F4 represent respectively segmentation code 1, segmentation code 2, segmentation code 3, segmentation code 4.
During enforcement, described communication interface is RS232 interface and/or CAN bus interface.
During enforcement, described communication interface is RS232 interface and CAN bus interface;
If RS232 interface and CAN bus interface have the data input, then only process the data that the RS232 interface receives, do not process the data that the CAN interface receives.
Compared with prior art, Weight and disk type sun sensor probe simulator of the present invention can satisfy Weight and disk type sun sensor treatment circuit test request, and this circuit design is simple, safe and reliable, satisfies the request for utilization of satellite system electrical testing.
Description of drawings
Fig. 1 is the structural representation of Weight and disk type sun sensor probe simulator of the present invention;
Fig. 2 is an example structure schematic diagram of Weight and disk type sun sensor probe simulator of the present invention;
Fig. 3 is the circuit diagram of voltage-controlled current source;
Fig. 4 is the circuit diagram of two-state amount output unit.
Embodiment
As shown in Figure 1, Weight and disk type sun sensor probe simulator of the present invention comprises processing unit 11, communication unit 12, D/A converting circuit 13, voltage-controlled current source 14, driving circuit 15 and two-state amount output unit 16, wherein,
Described communication unit 12 is connected with described processing unit 11;
The first output terminal of described processing unit 11 is connected with described D/A converting circuit 13 input ends;
The output terminal of described D/A converting circuit 13 is connected with the input end of described voltage-controlled current source 14;
The second output terminal of described processing unit 11 is connected with the input end of described driving circuit 15;
The output terminal of described driving circuit 15 is connected with the output terminal of described two-state amount output unit 16.
Described processing unit 11 can be microprocessor.
Described communication unit 12 can be RS232 interface and CAN interface, is the input interface of Weight and disk type sun sensor probe simulator of the present invention, can be connected with kinetic model or director data, receives the sun angle data.
Be converted to the output of two states amount through described two-state amount output unit 16 behind the digital signal drive amplification of described driving circuit 15 with corresponding standard-sized sheet code, supervision code and the thick code of described processing unit 11 outputs, this two states amount can be 0 μ A or-100 μ A (slightly code, standard-sized sheet code), 0 μ A or-50 μ A (monitoring code).
Described D/A converting circuit 13 is converted to the voltage analog signal with the digital signal of the correspondence segmentation code of described processing unit 11 outputs, is transformed to the output of current analog amount signal through voltage-controlled current source 14.
Weight and disk type sun sensor probe simulator of the present invention receives input data (sun angle data) by described communication unit 12, and return communicate status information, in order to show whether data correctly receive, described processing unit 14 just carries out the data that receive floating-point operation to be processed; 4 tunnel segmentation code formation voltage analog quantitys are exported to Weight and disk type sun sensor treatment circuit through converting corresponding current analog amount to behind the described voltage-controlled current source 14; 7 road thick codes, 1 road standard-sized sheet code and 2 tunnel monitor code through after described processing unit 11 computings directly with digital output, through behind the described driving circuit 15, control described two-state amount output circuit 16 corresponding quantity of state is exported to Weight and disk type sun sensor treatment circuit.
The data that described processing unit 11 receives are the sun angle data, and these data can also can be the instruction data from the real time data of kinetic model, and the type of these data is the single precision floating datum of 4 byte wides.
The floating-point operation that described processing unit 11 carries out is as follows:
If the solar angle A of dynamics calculation or director data input is floating number, unit degree.
Thick code calculation method is:
D=int (A+64); Wherein int () expression rounds to zero, and D is that two's complement represents;
G (D)=D xor (D>>1); Wherein xor represents that step-by-step carries out xor operation,>>expression moves to right;
C[1...8]=(G (D)<<1); Wherein G () is converted to Gray code for two's complement, C[1...7] the thick code 1 of representative is to thick code 7 totally 7 road thick codes, C[8] without the physics meaning,<<expression moves to left;
The standard-sized sheet code calculation method: if-64≤A≤64, then the output of standard-sized sheet code 1, otherwise exports 0;
Monitor code calculation method: if-64≤A≤64, then monitor code output 1, otherwise export 0;
4 tunnel segmentation code calculation methods are:
T=A+64;
B=T-int (T)+(int (T) %2); Wherein % represents the remainder number, such as 3%2=1;
B [0,2), the unit of B for the degree, 0≤B<2;
F1=-100μA/256×int{128×[1-cos(B×pi)]};
F2=-100μA/256×int{128×[1-cos(B×pi-pi/2)]};
F3=-100μA/256×int{128×[1-cos(B×pi-pi)]};
F4=-100μA/256×int{128×[1-cos(B×pi+pi/2)]};
Wherein pi represents circular constant, and F1, F2, F3, F4 represent respectively segmentation code 1, segmentation code 2, segmentation code 3, segmentation code 4, is 4 tunnel segmentation codes (output of current analog amount) of the final output of probe simulator.
Specify an embodiment of Weight and disk type sun sensor probe simulator of the present invention below in conjunction with Fig. 2.
As shown in Figure 2, an embodiment of Weight and disk type sun sensor probe simulator of the present invention comprises microprocessor 21, RS232 interface 22, CAN bus interface 23, D/A converting circuit 24, voltage-controlled current source 25, driving circuit 26 and two-state amount output unit 27.
Described RS232 interface 22, described CAN bus interface 23 are connected with described microprocessor 21 respectively;
The first output terminal of described microprocessor 21 is connected with the input end of described digital to analog converter 24;
The output terminal of described D/A converting circuit 24 is connected with the input end of described voltage-controlled current source 25;
The second output terminal of described microprocessor 21 is connected with the input end of described driving circuit 26;
The output terminal of described driving circuit 26 is connected with the input end of described two-state amount output unit 27;
Described microprocessor 21 receives the data of outside input from described RS232 interface 22 or described CAN bus interface 23, be divided into two parts digital output after calculating; First's digital output outputs to described voltage-controlled current source 25 after by described digital to analog converter 24, finally export 0~-electric current of 100uA; The second portion digital output outputs to described two-state amount output unit 27 through described driving circuit 26, finally export 0uA or-50uA or-the 100uA electric current.
Described microprocessor 21 receives the data of outside input from described RS232 interface 22 or described CAN bus interface 23, if two interfaces have the data input, then only process the data that the RS232 interface receives, and does not process the data that the CAN interface receives.
Described voltage-controlled current source 25 is converted to corresponding magnitude of current data with voltage, and the circuit theory of described voltage-controlled current source 25 as shown in Figure 3.In Fig. 3, Rs is sampling resistor, and RL is pull-up resistor, and output voltage U o equals input voltage Ui, as sampling resistor Rs during much larger than pull-up resistor RL, and output current Io=Uo/ (Rs+RL)=Ui/Rs.
Therefore the voltage of the segmentation code correspondence of microprocessor output is:
Fu1=F1×Rs;
Fu2=F2×Rs;
Fu3=F3×Rs;
Fu4=F4×Rs。
The circuit diagram of described two-state amount output unit 27 as shown in Figure 4, the output of optical coupling isolator links to each other with the Enable Pin of Voltage stabilizing module after drawing on the pull-up resistor R, the output of control Voltage stabilizing module, if optical coupling isolator input high level, optical coupling isolator output two ends conducting, the Enable Pin of Voltage stabilizing module is low level, Voltage stabilizing module enables Low level effective, Voltage stabilizing module stable output voltage is then at pull-up resistor RL two ends generation current Io.If the optical coupling isolator input low level, optical coupling isolator output not conducting of two ends, the Enable Pin of Voltage stabilizing module is high level, the Voltage stabilizing module output voltage is zero, then the generation current not at pull-up resistor RL two ends.
As sampling resistor Rs during much larger than pull-up resistor RL, output current Io=V/ (Rs+RL)=V/Rs, wherein V is the Voltage stabilizing module output voltage.
If for 7 road thick code and 1 road standard-sized sheet code microprocessor outputs " 1 ", then the two-state amount is exported-100 μ A electric currents, microprocessor output " 0 ", then two-state amount output current is 0 μ A.
Monitor code for 2 the tunnel, if microprocessor output " 1 ", two-state amount output-50uA electric current then, otherwise output current is 0 μ A.
All magnitudes of current output of the present invention all is to adopt sampling resistor of string in the closed loop that voltage source and pull-up resistor form, and the sampling resistor resistance is far longer than pull-up resistor, and the electric current that flows through pull-up resistor has nothing to do with the sampling resistor size basically.This method for designing is compared with current source output commonly used, and load is zero the connection in other words under the loading condition, can not cause that circuit damages, and namely the security of this circuit is higher.
Above explanation is just illustrative for the purpose of the present invention; and nonrestrictive, those of ordinary skills understand, in the situation that does not break away from the spirit and scope that following claims limit; can make many modifications, variation or equivalence, but all will fall within the scope of protection of the present invention.

Claims (3)

1. a Weight and disk type sun sensor probe simulator is characterized in that, comprises processing unit, communication unit, D/A converting circuit, voltage-controlled current source, driving circuit and two-state amount output unit, wherein,
Described communication unit is connected with described processing unit;
The first output terminal of described processing unit is connected with described D/A converting circuit input end;
The output terminal of described D/A converting circuit is connected with the input end of described voltage-controlled current source;
The second output terminal of described processing unit is connected with the input end of described driving circuit;
The output terminal of described driving circuit is connected with the output terminal of described two-state amount output unit;
Whether described communication unit receives the sun angle data of input, and returns communicate status information, correctly receive in order to show data;
Described processing unit receives the sun angle data, and these sun angle data is carried out floating-point operation process;
Described driving circuit carries out drive amplification with the digital signal of corresponding standard-sized sheet code, supervision code and the thick code of described processing unit output, and the digital signal behind the drive amplification is sent to described two-state amount output unit; The digital signal of described two-state amount output unit after with this drive amplification is converted to the two states amount and exports Weight and disk type sun sensor treatment circuit to;
Described D/A converting circuit is converted to the voltage analog signal with the digital signal of the correspondence segmentation code of described processing unit output, and this voltage analog signal is sent to described voltage-controlled current source; Described voltage-controlled current source is transformed to current analog amount signal with this voltage analog signal and exports Weight and disk type sun sensor treatment circuit to.
2. Weight and disk type sun sensor probe simulator as claimed in claim 1 is characterized in that, described communication unit is RS232 interface and CAN bus interface; If RS232 interface and CAN bus interface have the data input, then only process the data that the RS232 interface receives, do not process the data that the CAN interface receives.
3. Weight and disk type sun sensor probe simulator as claimed in claim 1, it is characterized in that, described two-state amount output unit adopts photoelectrical coupler output to be controlled to be the Enable Pin of the Voltage stabilizing module of pull-up resistor power supply, and described two-state amount output unit is exported 0 μ A or-100 μ A, 0 μ A or-50 μ A current analog amounts.
CN 201110035914 2011-02-11 2011-02-11 Probe simulator of code disc type sun sensor Expired - Fee Related CN102175265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110035914 CN102175265B (en) 2011-02-11 2011-02-11 Probe simulator of code disc type sun sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110035914 CN102175265B (en) 2011-02-11 2011-02-11 Probe simulator of code disc type sun sensor

Publications (2)

Publication Number Publication Date
CN102175265A CN102175265A (en) 2011-09-07
CN102175265B true CN102175265B (en) 2013-02-27

Family

ID=44518475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110035914 Expired - Fee Related CN102175265B (en) 2011-02-11 2011-02-11 Probe simulator of code disc type sun sensor

Country Status (1)

Country Link
CN (1) CN102175265B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117387528A (en) * 2023-10-17 2024-01-12 北京控制工程研究所 High-precision photoelectric angular displacement sensor, coding method and measuring method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10325717A (en) * 1997-05-23 1998-12-08 Mitsubishi Electric Corp Detecting apparatus for solar direction
JP2000234925A (en) * 1998-12-14 2000-08-29 Nec Corp Attitude detector
AU1376001A (en) * 1999-11-19 2001-06-04 Centre For Research In Earth And Space Technology Sun sensors using multi-pinhole overlays for detection of satellite attitude
CN100460815C (en) * 2005-04-08 2009-02-11 清华大学 Minitype digital sun sensor
CN100348461C (en) * 2006-08-01 2007-11-14 北京航空航天大学 High precision APS sun sensor
CN100414253C (en) * 2007-07-06 2008-08-27 北京航空航天大学 Digital sun sensor calibration method and device
CN201116869Y (en) * 2007-10-25 2008-09-17 北京航空航天大学 Output error detecting device for solar sensor
CN101586954B (en) * 2009-05-27 2012-07-25 北京航空航天大学 Digital sun sensor for stable-spinning micro/nano satellite
CN101726299B (en) * 2009-12-09 2011-08-31 哈尔滨工业大学 Sun sensor simulator for satellite closed cycle simulation test
CN101937031B (en) * 2010-07-01 2012-07-04 哈尔滨工业大学 Electric simulator for star sensor

Also Published As

Publication number Publication date
CN102175265A (en) 2011-09-07

Similar Documents

Publication Publication Date Title
CN203949716U (en) A kind of digital weighing sensor
CN104485888A (en) Control system for monitoring outdoor real-time power generation and operation of photovoltaic components
CN102175265B (en) Probe simulator of code disc type sun sensor
CN204028707U (en) A kind of solar panel automatic tracking system
CN103576036A (en) Comprehensive quality evaluation technology for grid-connected photovoltaic (PV) power generation system
CN207070015U (en) A kind of solar cell panel assembly portable tester
CN202048909U (en) Detection circuit for illumination direction
CN205231703U (en) System based on optics current transformer improve reliability of relay protection
CN105425676A (en) Embedded photoelectric signal processing and control system and usage method thereof
CN104076313A (en) Online calibration device for solar simulator electronic load case
CN108489527A (en) Procedure parameter peculiar to vessel measures cabinet feature card intelligent checking device
CN2890852Y (en) Photoelectric water level meter
CN104515932A (en) Rapid line current fault detection method and rapid line current fault detection device
CN202197083U (en) Warming furnace open-phase protection control system
CN209134357U (en) A kind of tandem type photovoltaic battery plate blocks automatic checkout system
CN202677011U (en) System for testing transmittance of liquid crystal display (LCD) panel
CN205176575U (en) Embedded photoelectricity signal processing and control system
CN202282375U (en) Solar cell panel laser reticle detection apparatus
CN205232153U (en) Photovoltaic module trouble discrimination circuit
CN204244178U (en) Photovoltaic module outdoor energy output and operational monitoring control system in real time
CN206132083U (en) Helm angle signal converter
CN109342971A (en) Charging pile part quality detection system and AC DC charging pile component detection system
CN204065389U (en) Solar simulator electronic load box on-line calibration device
CN201335867Y (en) Connection test platform
CN203414478U (en) Intelligent measurer used for measuring rotating speed of aeroengine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130227

Termination date: 20140211